Commit Graph

5401 Commits

Author SHA1 Message Date
Elia Porciani
a37e441847 [SEARCH-2354] (#876)
* [SEARCH-2354]
- Added support for DAYOFWEEK and DAYOFYEAR sql functions.
- Added unit tests
- Added e2e tests

* [SEARCH-2354]
updated alfresco-data-model dependency

* [SEARCH-2354] dep update

* [SEARCH-2354] review comments

* [SEARCH-2354] removed syntax not supported for EXTRACT

* [SEARCH-2354] removed syntax not supported for EXTRACT

Co-authored-by: Alessandro Benedetti <a.benedetti@sease.io>
2020-08-05 16:11:13 +02:00
Alex Mukha
2e84ffe939 SEARCH-2372 Update base docker image (#882) 2020-08-05 14:57:16 +01:00
dependabot[bot]
529ee1b7db Bump dependency.jackson.version from 2.11.1 to 2.11.2 (#889) 2020-08-05 13:53:14 +00:00
dependabot[bot]
fb8526b17b Bump alfresco-super-pom from 10 to 12 (#886) 2020-08-05 12:38:48 +00:00
dependabot[bot]
1b18dec7a4 Bump utility from 3.0.26 to 3.0.27 (#885) 2020-08-05 12:38:06 +00:00
dependabot[bot]
b79d080f3c Bump restapi from 1.42 to 1.46 (#884) 2020-08-05 11:29:38 +00:00
dependabot[bot]
75169dee2a Bump mockito-core from 3.4.0 to 3.4.6 (#883) 2020-08-05 10:56:25 +00:00
dependabot[bot]
ffa58d9c19 Bump dependency.jackson.version from 2.10.3 to 2.11.1 (#847) 2020-08-05 10:36:25 +00:00
dependabot[bot]
59150f2c16 Merge pull request #855 from Alfresco/dependabot/npm_and_yarn/e2e-test/generator-alfresco-docker-compose/lodash-4.17.19 2020-08-05 10:05:08 +00:00
Alex Mukha
43805c9be8 Revert "SEARCH-2318: Add Travis configuration to Insight Engine" (#872) 2020-07-31 16:10:39 +01:00
Travis CI User
463ed3941c [maven-release-plugin][skip ci]prepare for next development iteration 2020-07-31 14:17:24 +00:00
Travis CI User
20de4e855d [maven-release-plugin][skip ci]prepare release alfresco-search-and-insight-parent-2.0.0-A3 2020-07-31 14:17:17 +00:00
Alex Mukha
d6a4201186 Merge 9e26681dcde8cba891e1b7f83b850ba82f07fceb into 0aba9bcf92d6ae1e6222c2dcb248d0f0d6e76921 2020-07-31 12:51:46 +00:00
Alex Mukha
8637bf5c23 Fix a typo in the scm url 2020-07-31 13:51:37 +01:00
Alex Mukha
e68dd76c4f Merge branch 'master' into feature/search-2318-travis-build 2020-07-31 12:10:37 +01:00
Alex Mukha
d4c0b26983 Change scm tags to https 2020-07-31 12:04:21 +01:00
Tom Page
4f61b3229c Merge pull request #868 from Alfresco/feature/SEARCH-2213_UseTLS
SEARCH-2213 Replace SSL with TLS to use TLS 1.2 by default when accessing Repo.
2020-07-31 11:30:22 +01:00
Elia Porciani
23ea188838 [SEARCH-2330] (#866)
changed log messages at tracking enabling and disabling
2020-07-30 15:39:41 +02:00
elia
05b9c29a06 [SEARCH-2330]
fix formatting
2020-07-30 15:38:34 +02:00
elia
5ca47e88be [SEARCH-2330]
changed log messages at tracking enabling and disabling
2020-07-30 14:17:06 +02:00
Elia Porciani
8fb763f10a Fix/search 2330 state persisten across reloads (#865)
* [SEARCH-2330]
managed persistence accross reloads with static variable

* [SEARCH-2330]
fix unit test
2020-07-30 11:41:40 +02:00
Alex Mukha
36804ba332 Modify release command 2020-07-30 10:07:09 +01:00
Alex Mukha
3fc406e256 Merge branch 'master' into feature/search-2318-travis-build 2020-07-29 16:40:56 +01:00
Tom Page
bb1b65cac2 Merge pull request #864 from Alfresco/feature/SEARCH-2324_UpdateBaseDockerImage
SEARCH-2324 Update base Docker image.
2020-07-29 15:38:21 +01:00
Tom Page
5cdc58f6be SEARCH-2324 Update base Docker image. 2020-07-29 14:05:59 +01:00
Elia Porciani
5c6fb9148b 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
fbc1f5eab0 Merge branch 'master' into feature/search-2318-travis-build 2020-07-27 16:01:51 +01:00
Alessandro Benedetti
eac4019948 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
4925ed95b7 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]
d2b52f06bf 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]
e4933b279b 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
dependabot[bot]
ff4fde2eb3 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
df9c2819ca 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
507e756513 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
3be1029266 Allow configuring the search log level in the Python generator. 2020-07-17 16:41:56 +01:00
Alex Mukha
b5c2bc3775 Merge branch 'master' into feature/search-2318-travis-build 2020-07-17 16:40:10 +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