Commit Graph

5356 Commits

Author SHA1 Message Date
Tom Page
8e2327b1d1 SEARCH-2324 Update base Docker image. 2020-07-29 14:05:59 +01:00
Elia Porciani
2f16e5f0b9 SEARCH-2317: Add support of nested queries (#833)
* [SEARCH-2317]
- date field substitutions in nested and join queries
- optimized code with the use of streams

* [SEARCH-2317]
code refactoring

* [SEARCH-2317]
Added unit tests

* [SEARCH-2317]
fixed broken tests

* [SEARCH-2317]
removed duplicated test

* SEARCH-2317 Adding e2e-test coverage for date filter fields

* [SEARCH-2317]
initial work on translation of timestamp in having clause

* [SEARCH-2317]
update calcite to 1.15

* [SEARCH-2317]
- timestamp tranlation into long value
- fix aliasing in nested queries

* [SEARCH-2317]
add test for timestamp translation

* [SEARCH-2317]
downgrade calcite to 1.13

* [SEARCH-2317]
fix error in complex where clauses

* [SEARCH-2317]
Coder refactoring.
Updated notice.txt with the new version of calcite and avatica

* [SEARCH-2317]
fix E2E tests

* [SEARCH-2317]
Managed group by buckets with no fields defined.

* [SEARCH-2317]
Added e2e tests

* [SEARCH-2317]
modified tuple values from NaN to 0 at retrieving time

* [SEARCH-2317]
- Fix tests accoring with new aggregation results (0 instead of NaN)
- Added e2e tests

* [SEARCH-2317]
fixed test

* [SEARCH-2317]
translated date into epoch in comparison with aggregate functions

* [SEARCH-2317]
fix wrong number of results in test

* [SEARCH-2317]
added sql date to epoch translation in having clause

* [SEARCH-2317]
Fix indentations

* [SEARCH-2317]
date are converted from UTC into epoch

Co-authored-by: Keerat <keerat.lalia@alfresco.com>
2020-07-29 12:44:27 +02:00
Alex Mukha
e4b6502103 Add (internal) release stage 2020-07-27 17:45:06 +01:00
Alex Mukha
b1e4342be8 Merge branch 'master' into feature/search-2318-travis-build 2020-07-27 16:01:51 +01:00
Alessandro Benedetti
604ac1a8f0 Fix/search 2304 (#853)
* [SEARCH-2304]
using correct parser for solr dates

* [SEARCH-2304]
fix bug then fieldList is empty

* [SEARCH-2304] minor

* [SEARCH-2304] select, grouping and where support + tests

* [SEARCH-2304] code clean-up + tests

* [SEARCH-2304] SqlDateTransformer code conventions + review feedback

* [SEARCH-2304] DistributedCastTests code conventions + review feedback

* [SEARCH-2304] Distributed Grouping tests code conventions + review feedback

* [SEARCH-2304] e2e test

* [SEARCH-2304] e2e test

* [SEARCH-2304] e2e test

Co-authored-by: elia <e.porciani@sease.io>
2020-07-27 14:52:52 +02:00
Andrea Gazzarini
a3d0986125 SEARCH-2330: enable/disable indexing (#856)
* [ SEARCH-2330 ] AlfrescoCoreAdminHandler START/STOP (no logic) + Unit tests

* [ SEARCH-2330 ] Activatable + ActivatableTracker

* [ SEARCH-2330 ] AbstractShardInformationPublisher and NodeStatePublisher removed (replaced by ShardStatePublisher)

* [ SEARCH-2330 ] Test fixes

* [ SEARCH-2330 ] Fix ClassCastException on ShardStatePublisher

* [ SEARCH-2330 ] Fix Unnecessary Stubbing

* [ SEARCH-2330 ] ActivatableTrackerTest

* [ SEARCH-2330 ] Fix action changes (it depends on the indexing state)

* [ SEARCH-2330 ] Purge on stop/start

* [ SEARCH-2330 ] Rollback on scheduled maintenance + Unit tests

* [ SEARCH-2330 ] Persist indexing state across core reloads

* [ SEARCH-2330 ] Minor renaming on tests

* [ SEARCH-2330 ] Fix Unit test failures

* [ SEARCH-2330 ] Fix E2E

* [ SEARCH-2330 ] Fix Retry expectation

* [ SEARCH-2330 ] Fix Json Path in retry expectaction

* [ SEARCH-2330 ] Fix ClassCastException

* [ SEARCH-2330 ] Review comments addressed

* [ SEARCH-2330 ] Review comments addressed (additional comments in the code)
2020-07-24 11:41:40 +02:00
dependabot[bot]
0f427a32ec Bump lodash in /e2e-test/generator-alfresco-docker-compose
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.15 to 4.17.19.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.17.15...4.17.19)

Signed-off-by: dependabot[bot] <support@github.com>
2020-07-23 15:18:29 +00:00
dependabot[bot]
169da685da Merge pull request #848 from Alfresco/dependabot/maven/com.googlecode.maven-download-plugin-download-maven-plugin-1.6.0 2020-07-23 15:17:46 +00:00
Alex Mukha
32b77d7577 SEARCH-2198 Exclude solr dependencies 2020-07-23 14:29:31 +01:00
dependabot[bot]
823b306f2e Bump download-maven-plugin from 1.5.0 to 1.6.0
Bumps [download-maven-plugin](https://github.com/maven-download-plugin/maven-download-plugin) from 1.5.0 to 1.6.0.
- [Release notes](https://github.com/maven-download-plugin/maven-download-plugin/releases)
- [Commits](https://github.com/maven-download-plugin/maven-download-plugin/compare/1.5.0...1.6.0)

Signed-off-by: dependabot[bot] <support@github.com>
2020-07-23 12:35:26 +00:00
Alex Mukha
888fb690e1 SEARCH-2198 Move dependabot config in .github 2020-07-23 13:34:40 +01:00
Alex Mukha
cf6ac0a547 SEARCH-2198 Add dependabot (#846) 2020-07-23 13:25:53 +01:00
Alex Mukha
66c89ec5ae Merge branch 'master' into feature/search-2318-travis-build 2020-07-21 09:35:44 +01:00
Alessandro Benedetti
ae21e90b21 Merge pull request #832 from Alfresco/feature/SEARCH-2255
SEARCH-2255 SQL avg(field) function is broken with multiple group by
2020-07-20 11:43:09 +02:00
Alex Mukha
5b5fab47ad Update name of a job 2020-07-20 08:59:35 +01:00
Alex Mukha
ec12b702a0 Allow configuring the search log level in the Python generator. 2020-07-17 16:41:56 +01:00
Alex Mukha
6be78159b1 Merge branch 'master' into feature/search-2318-travis-build 2020-07-17 16:40:10 +01:00
Alex Mukha
1d0762d49c Add retry to docker push 2020-07-17 16:32:59 +01:00
Alex Mukha
8e6f33767c Rename deploy job 2020-07-17 16:16:30 +01:00
Alex Mukha
4d2152ad51 Change alpha version 2020-07-17 16:15:24 +01:00
Tom Page
b7ba124bd7 Merge pull request #843 from Alfresco/dependabot/maven/search-services/org.alfresco-alfresco-data-model-8.135
Dependabot/maven/search services/org.alfresco alfresco data model 8.135
2020-07-16 16:00:40 +01:00
Alex Mukha
823a70e8e3 Merge pull request #844 from Alfresco/dependabot/maven/e2e-test/org.alfresco.tas-utility-3.0.26
Dependabot/maven/e2e test/org.alfresco.tas utility 3.0.26
2020-07-16 15:40:15 +01:00
Tom Page
edb5bc4f6c Merge branch 'master' into dependabot/maven/e2e-test/org.alfresco.tas-utility-3.0.26 2020-07-16 11:49:13 +01:00
Tom Page
6519a85242 Update expected value of first name.
This change was made in tas-utility for consistency between first and last names.
2020-07-16 11:47:37 +01:00
Alex Mukha
3a2494a52c Merge pull request #840 from Alfresco/dependabot/maven/e2e-test/rm.version-3.3.1
Bump rm.version from 3.3.0.1 to 3.3.1 in /e2e-test
2020-07-16 11:17:19 +01:00
Alex Mukha
14e5aa8d0d Merge pull request #841 from Alfresco/dependabot/maven/search-services/com.carrotsearch.randomizedtesting-randomizedtesting-runner-2.7.8
Bump randomizedtesting-runner from 2.7.7 to 2.7.8 in /search-services
2020-07-16 11:16:48 +01:00
Tom Page
c79a4ffa36 Update notice.txt for dom4j-2.1.3.
See https://github.com/dom4j/dom4j/blob/master/LICENSE
2020-07-16 11:16:29 +01:00
Alex Mukha
1d4bc81f25 Merge pull request #842 from Alfresco/dependabot/maven/search-services/org.mockito-mockito-core-3.4.0
Bump mockito-core from 3.3.0 to 3.4.0 in /search-services
2020-07-16 11:16:01 +01:00
Tom Page
535100822a Merge branch 'master' into dependabot/maven/e2e-test/rm.version-3.3.1 2020-07-16 11:10:36 +01:00
Tom Page
c7043b1a46 Merge pull request #834 from Alfresco/feature/SearchLogLevel
Allow configuring the search log level in the Yeoman generator.
2020-07-16 10:02:14 +01:00
Tom Page
06a1649f14 Merge pull request #835 from Alfresco/feature/SEARCH-2356_DockerLogLevel
Feature/search 2356 docker log level
2020-07-16 10:02:00 +01:00
Tom Page
d35606b3ce SEARCH-2356 Add documentation to the README about the various environment variables available. 2020-07-15 15:57:57 +01:00
Tom Page
bce3d9c0fb SEARCH-2356 Add support for setting the default log level for search.
This can be passed in as an environment variable when starting the container.
2020-07-15 15:25:29 +01:00
Tom Page
5a47f748d3 Allow configuring the search log level. 2020-07-15 11:08:42 +01:00
alfresco-build
e5d0c8b61b [maven-release-plugin] prepare for next development iteration 2.0.0-A2 2020-07-15 10:01:36 +00:00
alfresco-build
aa7b32e981 [maven-release-plugin] prepare release 2.0.0-A2 2020-07-15 10:01:27 +00:00
dependabot-preview[bot]
379227122c Bump alfresco-data-model from 8.123 to 8.135 in /search-services
Bumps [alfresco-data-model](https://github.com/Alfresco/alfresco-data-model) from 8.123 to 8.135.
- [Release notes](https://github.com/Alfresco/alfresco-data-model/releases)
- [Commits](https://github.com/Alfresco/alfresco-data-model/compare/8.123...8.135)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-07-14 21:15:35 +00:00
dependabot-preview[bot]
b36804d01e Bump utility from 3.0.21 to 3.0.26 in /e2e-test
Bumps [utility](https://github.com/Alfresco/alfresco-tas-utility) from 3.0.21 to 3.0.26.
- [Release notes](https://github.com/Alfresco/alfresco-tas-utility/releases)
- [Changelog](https://github.com/Alfresco/alfresco-tas-utility/blob/master/docs/CHANGELOG.md)
- [Commits](https://github.com/Alfresco/alfresco-tas-utility/compare/utility-3.0.21...utility-3.0.26)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-07-14 21:14:39 +00:00
Alex Mukha
3f0b95e965 Add deploy stage 2020-07-13 17:28:57 +01:00
dependabot-preview[bot]
9d52f990dc Bump mockito-core from 3.3.0 to 3.4.0 in /search-services
Bumps [mockito-core](https://github.com/mockito/mockito) from 3.3.0 to 3.4.0.
- [Release notes](https://github.com/mockito/mockito/releases)
- [Commits](https://github.com/mockito/mockito/compare/v3.3.0...v3.4.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-07-10 21:14:57 +00:00
Alex Mukha
9bdf0b4e56 Change the location of zepplin zip 2020-07-10 20:02:59 +01:00
Alex Mukha
5788dc6561 Rename whitesource config to be picked up 2020-07-10 19:42:54 +01:00
Alex Mukha
c5e827afc8 Add defaut config file for whitesource 2020-07-10 19:41:51 +01:00
Alex Mukha
f47f8e85fb Correct zeppelin folder location 2020-07-10 18:13:41 +01:00
Alex Mukha
6266e7018e Correct whitesource cli params 2020-07-10 18:11:24 +01:00
Alex Mukha
9e5d5347e4 Add whitesource scans 2020-07-10 17:35:33 +01:00
Alex Mukha
ccdda07ec1 Cleanup unnecessary docker image creation 2020-07-10 16:23:15 +01:00
Alessandro Benedetti
315b4b4560 Merge remote-tracking branch 'origin/master' into feature/SEARCH-2255 2020-07-10 09:34:40 +02:00
Alex Mukha
b79554f3b9 Add docker images verification 2020-07-09 14:04:53 +01:00
Alex Mukha
992357c90e Fix unit test mvn cleanup 2020-07-09 13:33:52 +01:00