You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@unomi.apache.org by jk...@apache.org on 2022/07/08 14:43:18 UTC
[unomi] branch master updated (f73a229b1 -> b00fbf2c6)
This is an automated email from the ASF dual-hosted git repository.
jkevan pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/unomi.git
from f73a229b1 UNOMI-612 : remove increment interest action (#456)
add b00fbf2c6 UNOMI-626: improve migration system to prepare Unomi 2.0.0 data model (#458)
No new revisions were added by this update.
Summary of changes:
tools/shell-commands/pom.xml | 12 ++
.../apache/unomi/shell/migration/Migration.java | 34 +---
.../unomi/shell/migration/MigrationScript.java | 135 ++++++++++++++
.../unomi/shell/migration/actions/Migrate.java | 197 ++++++++++++++-------
.../unomi/shell/migration/impl/MigrationTo121.java | 22 +--
.../unomi/shell/migration/impl/MigrationTo122.java | 22 +--
.../unomi/shell/migration/impl/MigrationTo150.java | 24 +--
.../unomi/shell/migration/impl/MigrationTo200.java | 52 ++----
.../unomi/shell/migration/utils/HttpUtils.java | 5 +-
.../shell/migration/utils/MigrationUtils.java | 44 +++++
.../migration/migrate-1.2.1-00-migrateTags.groovy | 7 +-
.../migrate-1.2.2-00-deleteOldIndexTemplate.groovy | 7 +-
.../migrate-1.5.0-00-elasticSearch7.4.groovy | 7 +-
...migrate-2.0.0-00-scopesAndProfileAliases.groovy | 7 +-
.../migrate-2.0.0-01-segmentReindex.groovy | 19 +-
.../resources/OSGI-INF/blueprint/blueprint.xml | 8 -
.../requestBody/2.0.0/base_reindex_request.json | 8 +
.../2.0.0/base_set_index_readonly_request.json | 5 +
.../segment_index.json} | 30 +++-
19 files changed, 402 insertions(+), 243 deletions(-)
create mode 100644 tools/shell-commands/src/main/java/org/apache/unomi/shell/migration/MigrationScript.java
copy graphql/cxs-impl/src/main/java/org/apache/unomi/graphql/types/resolvers/CDPPropertyInterfaceResolver.java => tools/shell-commands/src/main/resources/META-INF/cxs/migration/migrate-1.2.1-00-migrateTags.groovy (85%)
copy graphql/cxs-impl/src/main/java/org/apache/unomi/graphql/types/resolvers/CDPPropertyInterfaceResolver.java => tools/shell-commands/src/main/resources/META-INF/cxs/migration/migrate-1.2.2-00-deleteOldIndexTemplate.groovy (85%)
copy graphql/cxs-impl/src/main/java/org/apache/unomi/graphql/types/resolvers/CDPPropertyInterfaceResolver.java => tools/shell-commands/src/main/resources/META-INF/cxs/migration/migrate-1.5.0-00-elasticSearch7.4.groovy (85%)
copy graphql/cxs-impl/src/main/java/org/apache/unomi/graphql/types/resolvers/CDPPropertyInterfaceResolver.java => tools/shell-commands/src/main/resources/META-INF/cxs/migration/migrate-2.0.0-00-scopesAndProfileAliases.groovy (85%)
copy api/src/main/java/org/apache/unomi/api/TimestampedItem.java => tools/shell-commands/src/main/resources/META-INF/cxs/migration/migrate-2.0.0-01-segmentReindex.groovy (73%)
create mode 100644 tools/shell-commands/src/main/resources/requestBody/2.0.0/base_reindex_request.json
create mode 100644 tools/shell-commands/src/main/resources/requestBody/2.0.0/base_set_index_readonly_request.json
copy tools/shell-commands/src/main/resources/requestBody/{scopeMapping.json => 2.0.0/segment_index.json} (53%)