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 2023/03/01 16:01:49 UTC

[unomi] branch reduceIndicesItems3 updated: UNOMI-736: feedback

This is an automated email from the ASF dual-hosted git repository.

jkevan pushed a commit to branch reduceIndicesItems3
in repository https://gitbox.apache.org/repos/asf/unomi.git


The following commit(s) were added to refs/heads/reduceIndicesItems3 by this push:
     new 47a825bdd UNOMI-736: feedback
47a825bdd is described below

commit 47a825bddaeade7cf611c8ac0b5abdfdece821b7
Author: Kevan <ke...@jahia.com>
AuthorDate: Wed Mar 1 17:01:42 2023 +0100

    UNOMI-736: feedback
---
 .../unomi/groovy/actions/services/impl/GroovyActionsServiceImpl.java  | 2 +-
 .../java/org/apache/unomi/itests/migration/Migrate16xTo220IT.java     | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/extensions/groovy-actions/services/src/main/java/org/apache/unomi/groovy/actions/services/impl/GroovyActionsServiceImpl.java b/extensions/groovy-actions/services/src/main/java/org/apache/unomi/groovy/actions/services/impl/GroovyActionsServiceImpl.java
index 450acaa9f..5761cc1c5 100644
--- a/extensions/groovy-actions/services/src/main/java/org/apache/unomi/groovy/actions/services/impl/GroovyActionsServiceImpl.java
+++ b/extensions/groovy-actions/services/src/main/java/org/apache/unomi/groovy/actions/services/impl/GroovyActionsServiceImpl.java
@@ -97,7 +97,7 @@ public class GroovyActionsServiceImpl implements GroovyActionsService {
         this.persistenceService = persistenceService;
     }
 
-    @Reference()
+    @Reference
     public void setSchedulerService(SchedulerService schedulerService) {
         this.schedulerService = schedulerService;
     }
diff --git a/itests/src/test/java/org/apache/unomi/itests/migration/Migrate16xTo220IT.java b/itests/src/test/java/org/apache/unomi/itests/migration/Migrate16xTo220IT.java
index fdcb40fb0..8ae93daf4 100644
--- a/itests/src/test/java/org/apache/unomi/itests/migration/Migrate16xTo220IT.java
+++ b/itests/src/test/java/org/apache/unomi/itests/migration/Migrate16xTo220IT.java
@@ -40,7 +40,7 @@ public class Migrate16xTo220IT extends BaseIT {
     private int sessionCount = 0;
 
     private static final int NUMBER_DUPLICATE_SESSIONS = 3;
-    private static final int NUMBER_PERSONASESSIONS = 2;
+    private static final int NUMBER_PERSONA_SESSIONS = 2;
     @Override
     @Before
     public void waitForStartup() throws InterruptedException {
@@ -117,7 +117,7 @@ public class Migrate16xTo220IT extends BaseIT {
             newSessioncount += jsonNode.get("count").asInt();
         }
         Assert.assertEquals(eventCount, newEventcount);
-        Assert.assertEquals(sessionCount - NUMBER_DUPLICATE_SESSIONS + NUMBER_PERSONASESSIONS, newSessioncount);
+        Assert.assertEquals(sessionCount - NUMBER_DUPLICATE_SESSIONS + NUMBER_PERSONA_SESSIONS, newSessioncount);
     }
 
     /**