This is an automated email from the ASF dual-hosted git repository. jkevan pushed a commit to branch moreLogsInScopeMigration in repository https://gitbox.apache.org/repos/asf/unomi.git
commit c6ce6f569e8438dc873f2bc3885969f23e41e23c Author: Kevan <ke...@jahia.com> AuthorDate: Mon Mar 27 11:41:50 2023 +0200 UNOMI-757: add more logs during scope migration (2.0.0) --- .../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") } } }