This is an automated email from the ASF dual-hosted git repository.
jsinovassinnaik pushed a commit to branch upgrade-es-client
in repository https://gitbox.apache.org/repos/asf/unomi.git
The following commit(s) were added to refs/heads/upgrade-es-client by this push:
new 45ebfa375 test: fix it tests
45ebfa375 is described below
commit 45ebfa3758419e99d13dd4f4c96dc890ab75b657
Author: jsinovassin <[email protected]>
AuthorDate: Tue Sep 9 15:15:15 2025 +0200
test: fix it tests
---
itests/README.md | 2 +-
itests/pom.xml | 6 ++++--
.../resources/migration/snapshots_repository.zip | Bin 7743842 -> 3252696
bytes
pom.xml | 2 +-
.../internal/UnomiManagementServiceImpl.java | 1 +
5 files changed, 7 insertions(+), 4 deletions(-)
diff --git a/itests/README.md b/itests/README.md
index b49831889..2f89e32dc 100644
--- a/itests/README.md
+++ b/itests/README.md
@@ -82,7 +82,7 @@
https://maven.apache.org/surefire/maven-failsafe-plugin/examples/single-test.htm
Here's an example:
- mvn clean install -Dit.karaf.debug=hold:true
-Dit.test=org.apache.unomi.itests.graphql.GraphQLEventIT
+ mvn clean install -Dit.karaf.debug=hold:true
-Dit.test=org.apache.unomi.itests.BasicIT
## Migration tests
diff --git a/itests/pom.xml b/itests/pom.xml
index 6f6e71089..d4ebc427a 100644
--- a/itests/pom.xml
+++ b/itests/pom.xml
@@ -207,8 +207,10 @@
<groupId>com.github.alexcojocaru</groupId>
<artifactId>elasticsearch-maven-plugin</artifactId>
<!-- REPLACE THE FOLLOWING WITH THE PLUGIN VERSION YOU
NEED -->
- <version>6.23</version>
+ <version>6.29</version>
<configuration>
+ <!--
<downloadUrl>https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-9.1.3-darwin-aarch64.tar
+ .gz</downloadUrl> -->
<clusterName>contextElasticSearchITests</clusterName>
<transportPort>9500</transportPort>
<httpPort>9400</httpPort>
@@ -223,7 +225,7 @@
<xpack.ml.enabled>false</xpack.ml.enabled>
<path.repo>${project.build.directory}/snapshots_repository</path.repo>
<cluster.routing.allocation.disk.threshold_enabled>false</cluster.routing.allocation.disk.threshold_enabled>
-
<http.cors.allow-origin>*</http.cors.allow-origin>
+
<!--http.cors.allow-origin>*</http.cors.allow-origin-->
<http.cors.allow-methods>OPTIONS,HEAD,GET,POST,PUT,DELETE</http.cors.allow-methods>
<http.cors.allow-headers>Authorization,X-Requested-With,X-Auth-Token,Content-Type,Content-Length</http.cors.allow-headers>
</properties>
diff --git a/itests/src/test/resources/migration/snapshots_repository.zip
b/itests/src/test/resources/migration/snapshots_repository.zip
index 010569bc0..d8af55cd4 100644
Binary files a/itests/src/test/resources/migration/snapshots_repository.zip and
b/itests/src/test/resources/migration/snapshots_repository.zip differ
diff --git a/pom.xml b/pom.xml
index 47bf43d7d..961dce41f 100644
--- a/pom.xml
+++ b/pom.xml
@@ -66,7 +66,7 @@
<karaf.version>4.4.8</karaf.version>
<elasticsearch.version>9.0.3</elasticsearch.version>
<old.elasticsearch.version>7.4.2</old.elasticsearch.version>
- <elasticsearch.test.version>7.11.0</elasticsearch.test.version>
+ <elasticsearch.test.version>9.1.3</elasticsearch.test.version>
<javax-validation.version>1.1.0.Final</javax-validation.version>
<commons-lang3.version>3.18.0</commons-lang3.version>
<commons-io.version>2.20.0</commons-io.version>
diff --git
a/tools/shell-commands/src/main/java/org/apache/unomi/shell/services/internal/UnomiManagementServiceImpl.java
b/tools/shell-commands/src/main/java/org/apache/unomi/shell/services/internal/UnomiManagementServiceImpl.java
index af7dba982..dbba56fe4 100644
---
a/tools/shell-commands/src/main/java/org/apache/unomi/shell/services/internal/UnomiManagementServiceImpl.java
+++
b/tools/shell-commands/src/main/java/org/apache/unomi/shell/services/internal/UnomiManagementServiceImpl.java
@@ -106,6 +106,7 @@ public class UnomiManagementServiceImpl implements
UnomiManagementService {
bundleSymbolicNames.add("org.apache.unomi.metrics");
bundleSymbolicNames.add("org.apache.unomi.persistence-spi");
bundleSymbolicNames.add("org.apache.unomi.persistence-elasticsearch-9-core");
+
bundleSymbolicNames.add("org.apache.unomi.persistence-elasticsearch-9-conditions");
bundleSymbolicNames.add("org.apache.unomi.services");
bundleSymbolicNames.add("org.apache.unomi.cxs-lists-extension-services");
bundleSymbolicNames.add("org.apache.unomi.cxs-lists-extension-rest");