This is an automated email from the ASF dual-hosted git repository.
jkevan pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/unomi.git
The following commit(s) were added to refs/heads/master by this push:
new 99fe54949 UNOMI-757: add more logs during scope migration (2.0.0)
(#600)
99fe54949 is described below
commit 99fe549495baa41b81ccdeefdda85320ccca26ff
Author: kevan Jahanshahi <[email protected]>
AuthorDate: Mon Mar 27 15:53:14 2023 +0200
UNOMI-757: add more logs during scope migration (2.0.0) (#600)
---
.../resources/META-INF/cxs/migration/migrate-2.0.0-20-scopes.groovy | 3 +++
1 file changed, 3 insertions(+)
diff --git
a/tools/shell-commands/src/main/resources/META-INF/cxs/migration/migrate-2.0.0-20-scopes.groovy
b/tools/shell-commands/src/main/resources/META-INF/cxs/migration/migrate-2.0.0-20-scopes.groovy
index 1f63d1b82..7f2300e2d 100644
---
a/tools/shell-commands/src/main/resources/META-INF/cxs/migration/migrate-2.0.0-20-scopes.groovy
+++
b/tools/shell-commands/src/main/resources/META-INF/cxs/migration/migrate-2.0.0-20-scopes.groovy
@@ -62,7 +62,10 @@
context.performMigrationStep("2.0.0-create-scopes-from-existing-events", () -> {
}
if (!scopeAlreadyExists) {
+ context.printMessage("Scope: " + bucket.key + " will
be created")
bulkSaveRequest.append(saveScopeRequestBulk.replace("##scope##", bucket.key))
+ } else {
+ context.printMessage("Scope: " + bucket.key + "
already exists, won't be created")
}
}
}