This is an automated email from the ASF dual-hosted git repository.
shuber pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/unomi.git.
from 7e077f5 Merge pull request #107 from jbonofre/KARAF42
add c0c944c UNOMI-225 Initial work on ElasticSearch 7 support. Includes
switching to Java High Level Rest Client This is very prelimiinary work, it
doesn't even compile yet.
add 87c9223 Update gitignore
add a605e27 WIP [UNOMI-225]
add 838fc1c UNOMI-225 ElasticSearch 7 support - Rewrote all the code in
the persistence service - Working on getting the import package statements
right, probably still some problems in them - Karaf starts but Unomi doesn't
start properly yet
add a9268fa UNOMI-225 ElasticSearch 7 support - Connection to
ElasticSearch is not starting, but still some errors
add 1a69880 UNOMI-225 ElasticSearch 7 support - Connection to
ElasticSearch is now working, still lots of things to fix, notably in mappings.
add 39e6070 UNOMI-225 ElasticSearch 7 support Model changes: - change
geonames to use context prefix (will require re-import) - added mapping types
for all types - Unomi should now start, but there are still known issues
(integration tests do not run, actions are not properly register on first
start). - index.name was changed to index.prefix
add 3abb04b UNOMI-225 ElasticSearch 7 support Model changes: - bug fixes
to get queries to work properly - fixed index template setup
add aa93b2e remove cluster health check at ES persistence service start,
as it could introduce 30sec tiemout per index when cluster is not green.
add 3f87ede adapt PropertyConditionEvaluator.getDate to Joda ES7 parser
add 7e5df35 fix scoring plan mapping creation
add 0f4a133 fix aggregation cast issue ES7
add 3a95b1a fix aggregation cast issue ES7 (clean import)
add 71149bc UNOMI-225 ElasticSearch 7 support Model changes: - fix issue
with full text search not working
add f694fac ES7 support code cleanup mostly Persistence Service Impl,
removing unnecessary stuff.
new 1c50357 Merge pull request #111 from apache/UNOMI-225-ES7
The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
.gitignore | 2 +-
docker/docker-compose.yml | 1 -
.../unomi/geonames/services/GeonameEntry.java | 1 -
.../geonames/services/GeonamesServiceImpl.java | 6 +-
.../META-INF/cxs/mappings/geonameEntry.json | 47 +-
.../resources/META-INF/cxs/mappings/userList.json | 46 +-
manual/src/main/asciidoc/configuration.adoc | 4 +-
.../main/resources/etc/custom.system.properties | 6 +-
persistence-elasticsearch/core/pom.xml | 180 +++--
.../ElasticSearchPersistenceServiceImpl.java | 824 +++++++++------------
.../resources/META-INF/cxs/mappings/_default_.json | 22 -
.../META-INF/cxs/mappings/actiontype.json | 20 +
.../resources/META-INF/cxs/mappings/campaign.json | 64 +-
.../META-INF/cxs/mappings/campaignevent.json | 58 +-
.../META-INF/cxs/mappings/conditiontype.json | 20 +
.../resources/META-INF/cxs/mappings/event.json | 24 +-
.../META-INF/cxs/mappings/exportconfig.json | 20 +
.../main/resources/META-INF/cxs/mappings/goal.json | 47 +-
.../META-INF/cxs/mappings/importconfig.json | 20 +
.../resources/META-INF/cxs/mappings/persona.json | 38 +
.../META-INF/cxs/mappings/personaSession.json | 53 +-
.../resources/META-INF/cxs/mappings/profile.json | 45 +-
.../META-INF/cxs/mappings/propertyType.json | 90 ++-
.../main/resources/META-INF/cxs/mappings/rule.json | 64 +-
.../resources/META-INF/cxs/mappings/rulestats.json | 20 +
.../resources/META-INF/cxs/mappings/scoring.json | 47 +-
.../resources/META-INF/cxs/mappings/segment.json | 48 +-
.../resources/META-INF/cxs/mappings/session.json | 53 +-
.../resources/OSGI-INF/blueprint/blueprint.xml | 22 +-
.../org.apache.unomi.persistence.elasticsearch.cfg | 10 +-
.../ElasticsearchPersistenceTest.java | 173 +++++
.../unomi/persistence/spi/PersistenceService.java | 12 +-
.../conditions/PropertyConditionEvaluator.java | 13 +-
plugins/request/pom.xml | 6 +-
pom.xml | 2 +-
.../services/impl/segments/SegmentServiceImpl.java | 24 +-
36 files changed, 1267 insertions(+), 865 deletions(-)
delete mode 100644
persistence-elasticsearch/core/src/main/resources/META-INF/cxs/mappings/_default_.json
create mode 100644
persistence-elasticsearch/core/src/main/resources/META-INF/cxs/mappings/actiontype.json
create mode 100644
persistence-elasticsearch/core/src/main/resources/META-INF/cxs/mappings/conditiontype.json
create mode 100644
persistence-elasticsearch/core/src/main/resources/META-INF/cxs/mappings/exportconfig.json
create mode 100644
persistence-elasticsearch/core/src/main/resources/META-INF/cxs/mappings/importconfig.json
create mode 100644
persistence-elasticsearch/core/src/main/resources/META-INF/cxs/mappings/persona.json
create mode 100644
persistence-elasticsearch/core/src/main/resources/META-INF/cxs/mappings/rulestats.json
create mode 100644
persistence-elasticsearch/core/src/test/java/org/apache/unomi/persistence/elasticsearch/ElasticsearchPersistenceTest.java