From 779fdaea1cb0a3b7910ab1bde0845b3c8502fb86 Mon Sep 17 00:00:00 2001 From: Enrique Gonzalez Martinez Date: Tue, 27 Feb 2024 10:20:41 +0100 Subject: [PATCH] [incubator-kie-issues-916] PIM --- .../java/org/kie/kogito/index/AbstractProcessDataIndexIT.java | 4 ++-- .../it/InfinispanQuarkusAddonDataIndexPersistenceIT.java | 4 ++-- .../index/it/MongoQuarkusAddonDataIndexPersistenceIT.java | 4 ++-- .../it/PostgreSQLQuarkusAddonDataIndexPersistenceIT.java | 4 ++-- pom.xml | 1 + 5 files changed, 9 insertions(+), 8 deletions(-) diff --git a/apps-integration-tests/integration-tests-data-index-service/integration-tests-data-index-service-common/src/test/java/org/kie/kogito/index/AbstractProcessDataIndexIT.java b/apps-integration-tests/integration-tests-data-index-service/integration-tests-data-index-service-common/src/test/java/org/kie/kogito/index/AbstractProcessDataIndexIT.java index a5c910067a..64bfe4f2cb 100644 --- a/apps-integration-tests/integration-tests-data-index-service/integration-tests-data-index-service-common/src/test/java/org/kie/kogito/index/AbstractProcessDataIndexIT.java +++ b/apps-integration-tests/integration-tests-data-index-service/integration-tests-data-index-service-common/src/test/java/org/kie/kogito/index/AbstractProcessDataIndexIT.java @@ -308,10 +308,10 @@ public void testProcessGatewayAPI() throws IOException { .statusCode(200) .body("data.ProcessInstances[0].nodeDefinitions", notNullValue()) .body("data.ProcessInstances[0].nodeDefinitions.size()", is(4)) - .body("data.ProcessInstances[0].nodeDefinitions[0].id", is("1")) + .body("data.ProcessInstances[0].nodeDefinitions[0].id", is("_8B62D3CA-5D03-4B2B-832B-126469288BB4")) .body("data.ProcessInstances[0].nodeDefinitions[0].name", is("First Line Approval")) .body("data.ProcessInstances[0].nodeDefinitions[0].type", is("HumanTaskNode")) - .body("data.ProcessInstances[0].nodeDefinitions[0].uniqueId", is("1")) + .body("data.ProcessInstances[0].nodeDefinitions[0].uniqueId", is("_8B62D3CA-5D03-4B2B-832B-126469288BB4")) .body("data.ProcessInstances[0].nodeDefinitions[0].metadata.UniqueId", is("_8B62D3CA-5D03-4B2B-832B-126469288BB4")) .body("data.ProcessInstances[0].nodes.size()", is(2)) .body("data.ProcessInstances[0].nodes.name", hasItem("First Line Approval")) diff --git a/data-index/kogito-addons-quarkus-data-index-persistence/kogito-addons-quarkus-data-index-persistence-infinispan/integration-tests-process/src/test/java/org/kie/kogito/addons/quarkus/data/index/it/InfinispanQuarkusAddonDataIndexPersistenceIT.java b/data-index/kogito-addons-quarkus-data-index-persistence/kogito-addons-quarkus-data-index-persistence-infinispan/integration-tests-process/src/test/java/org/kie/kogito/addons/quarkus/data/index/it/InfinispanQuarkusAddonDataIndexPersistenceIT.java index e085a08b21..551bb02edf 100644 --- a/data-index/kogito-addons-quarkus-data-index-persistence/kogito-addons-quarkus-data-index-persistence-infinispan/integration-tests-process/src/test/java/org/kie/kogito/addons/quarkus/data/index/it/InfinispanQuarkusAddonDataIndexPersistenceIT.java +++ b/data-index/kogito-addons-quarkus-data-index-persistence/kogito-addons-quarkus-data-index-persistence-infinispan/integration-tests-process/src/test/java/org/kie/kogito/addons/quarkus/data/index/it/InfinispanQuarkusAddonDataIndexPersistenceIT.java @@ -63,10 +63,10 @@ void testDataIndexAddon() { .body("data.ProcessDefinitions[0].addons", hasItem("infinispan-persistence")) .body("data.ProcessDefinitions[0].source", is(not(emptyOrNullString()))) .body("data.ProcessDefinitions[0].nodes.size()", is(2)) - .body("data.ProcessDefinitions[0].nodes[0].id", is("1")) + .body("data.ProcessDefinitions[0].nodes[0].id", is("_B3241ACF-97BE-443B-A49F-964AB3DD006C")) .body("data.ProcessDefinitions[0].nodes[0].name", is("End")) .body("data.ProcessDefinitions[0].nodes[0].type", is("EndNode")) - .body("data.ProcessDefinitions[0].nodes[0].uniqueId", is("1")) + .body("data.ProcessDefinitions[0].nodes[0].uniqueId", is("_B3241ACF-97BE-443B-A49F-964AB3DD006C")) .body("data.ProcessDefinitions[0].nodes[0].metadata.UniqueId", is("_B3241ACF-97BE-443B-A49F-964AB3DD006C")); given().contentType(ContentType.JSON) diff --git a/data-index/kogito-addons-quarkus-data-index-persistence/kogito-addons-quarkus-data-index-persistence-mongodb/integration-tests-process/src/test/java/org/kie/kogito/addons/quarkus/data/index/it/MongoQuarkusAddonDataIndexPersistenceIT.java b/data-index/kogito-addons-quarkus-data-index-persistence/kogito-addons-quarkus-data-index-persistence-mongodb/integration-tests-process/src/test/java/org/kie/kogito/addons/quarkus/data/index/it/MongoQuarkusAddonDataIndexPersistenceIT.java index cd1e5bad7b..8307d5b6f4 100644 --- a/data-index/kogito-addons-quarkus-data-index-persistence/kogito-addons-quarkus-data-index-persistence-mongodb/integration-tests-process/src/test/java/org/kie/kogito/addons/quarkus/data/index/it/MongoQuarkusAddonDataIndexPersistenceIT.java +++ b/data-index/kogito-addons-quarkus-data-index-persistence/kogito-addons-quarkus-data-index-persistence-mongodb/integration-tests-process/src/test/java/org/kie/kogito/addons/quarkus/data/index/it/MongoQuarkusAddonDataIndexPersistenceIT.java @@ -63,10 +63,10 @@ void testDataIndexAddon() { .body("data.ProcessDefinitions[0].addons", hasItem("mongodb-persistence")) .body("data.ProcessDefinitions[0].source", is(not(emptyOrNullString()))) .body("data.ProcessDefinitions[0].nodes.size()", is(2)) - .body("data.ProcessDefinitions[0].nodes[0].id", is("1")) + .body("data.ProcessDefinitions[0].nodes[0].id", is("_B3241ACF-97BE-443B-A49F-964AB3DD006C")) .body("data.ProcessDefinitions[0].nodes[0].name", is("End")) .body("data.ProcessDefinitions[0].nodes[0].type", is("EndNode")) - .body("data.ProcessDefinitions[0].nodes[0].uniqueId", is("1")) + .body("data.ProcessDefinitions[0].nodes[0].uniqueId", is("_B3241ACF-97BE-443B-A49F-964AB3DD006C")) .body("data.ProcessDefinitions[0].nodes[0].metadata.UniqueId", is("_B3241ACF-97BE-443B-A49F-964AB3DD006C")); given().contentType(ContentType.JSON) diff --git a/data-index/kogito-addons-quarkus-data-index-persistence/kogito-addons-quarkus-data-index-persistence-postgresql/integration-tests-process/src/test/java/org/kie/kogito/addons/quarkus/data/index/it/PostgreSQLQuarkusAddonDataIndexPersistenceIT.java b/data-index/kogito-addons-quarkus-data-index-persistence/kogito-addons-quarkus-data-index-persistence-postgresql/integration-tests-process/src/test/java/org/kie/kogito/addons/quarkus/data/index/it/PostgreSQLQuarkusAddonDataIndexPersistenceIT.java index f45b83f670..9264581958 100644 --- a/data-index/kogito-addons-quarkus-data-index-persistence/kogito-addons-quarkus-data-index-persistence-postgresql/integration-tests-process/src/test/java/org/kie/kogito/addons/quarkus/data/index/it/PostgreSQLQuarkusAddonDataIndexPersistenceIT.java +++ b/data-index/kogito-addons-quarkus-data-index-persistence/kogito-addons-quarkus-data-index-persistence-postgresql/integration-tests-process/src/test/java/org/kie/kogito/addons/quarkus/data/index/it/PostgreSQLQuarkusAddonDataIndexPersistenceIT.java @@ -67,10 +67,10 @@ void testDataIndexAddon() { .body("data.ProcessDefinitions[0].addons", hasItem("jdbc-persistence")) .body("data.ProcessDefinitions[0].source", is(not(emptyOrNullString()))) .body("data.ProcessDefinitions[0].nodes.size()", is(2)) - .body("data.ProcessDefinitions[0].nodes[0].id", is("1")) + .body("data.ProcessDefinitions[0].nodes[0].id", is("_B3241ACF-97BE-443B-A49F-964AB3DD006C")) .body("data.ProcessDefinitions[0].nodes[0].name", is("End")) .body("data.ProcessDefinitions[0].nodes[0].type", is("EndNode")) - .body("data.ProcessDefinitions[0].nodes[0].uniqueId", is("1")) + .body("data.ProcessDefinitions[0].nodes[0].uniqueId", is("_B3241ACF-97BE-443B-A49F-964AB3DD006C")) .body("data.ProcessDefinitions[0].nodes[0].metadata.UniqueId", is("_B3241ACF-97BE-443B-A49F-964AB3DD006C")); given().contentType(ContentType.JSON) diff --git a/pom.xml b/pom.xml index 79026f8a88..12ce381108 100644 --- a/pom.xml +++ b/pom.xml @@ -22,6 +22,7 @@ + 4.0.0