From 36e0629f20e320639525da50bf22956eae33ca59 Mon Sep 17 00:00:00 2001 From: Dominik Hanak Date: Tue, 14 May 2024 18:29:06 +0200 Subject: [PATCH 1/2] SRVLOGIC-232: Fix io.openshift.tags expectation --- tests/features/data-index/kogito-data-index-ephemeral.feature | 2 +- tests/features/data-index/kogito-data-index-postgresql.feature | 2 +- .../jobs-service/kogito-jobs-service-all-in-one.feature | 2 +- .../features/jobs-service/kogito-jobs-service-ephemeral.feature | 2 +- .../jobs-service/kogito-jobs-service-postgresql.feature | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/tests/features/data-index/kogito-data-index-ephemeral.feature b/tests/features/data-index/kogito-data-index-ephemeral.feature index b124cd6bc..3b47d7fc8 100644 --- a/tests/features/data-index/kogito-data-index-ephemeral.feature +++ b/tests/features/data-index/kogito-data-index-ephemeral.feature @@ -7,7 +7,7 @@ Feature: Kogito-data-index ephemeral postgresql feature. And the image should contain label io.openshift.expose-services with value 8080:http And the image should contain label io.k8s.description with value Red Hat build of Runtime image for Kogito Data Index Service for ephemeral PostgreSQL persistence provider And the image should contain label io.k8s.display-name with value Red Hat build of Kogito Data Index Service - ephemeral PostgreSQL - And the image should contain label io.openshift.tags with value kogito,data-index,data-index-ephemeral + And the image should contain label io.openshift.tags with value logic-data-index,kogito,data-index,data-index-ephemeral Scenario: verify if of kogito-data-index-ephemeral container is correctly started When container is started with env diff --git a/tests/features/data-index/kogito-data-index-postgresql.feature b/tests/features/data-index/kogito-data-index-postgresql.feature index 39f25aa8a..b41859699 100644 --- a/tests/features/data-index/kogito-data-index-postgresql.feature +++ b/tests/features/data-index/kogito-data-index-postgresql.feature @@ -7,7 +7,7 @@ Feature: Kogito-data-index postgresql feature. And the image should contain label io.openshift.expose-services with value 8080:http And the image should contain label io.k8s.description with value Red Hat build of Runtime image for Kogito Data Index Service for PostgreSQL persistence provider And the image should contain label io.k8s.display-name with value Red Hat build of Kogito Data Index Service - PostgreSQL - And the image should contain label io.openshift.tags with value kogito,data-index,data-index-postgresql + And the image should contain label io.openshift.tags with value logic-data-index,kogito,data-index,data-index-postgresql Scenario: check if the default quarkus profile is correctly set on data index When container is started with env diff --git a/tests/features/jobs-service/kogito-jobs-service-all-in-one.feature b/tests/features/jobs-service/kogito-jobs-service-all-in-one.feature index 6553c94c5..6c93e19d7 100644 --- a/tests/features/jobs-service/kogito-jobs-service-all-in-one.feature +++ b/tests/features/jobs-service/kogito-jobs-service-all-in-one.feature @@ -7,7 +7,7 @@ Feature: Kogito-jobs-service-all-in-one feature. And the image should contain label io.openshift.expose-services with value 8080:http And the image should contain label io.k8s.description with value Red Hat build of Runtime image for Kogito Jobs Service with all available jdbc providers And the image should contain label io.k8s.display-name with value Red Hat build of Kogito Jobs Service All-in-One - And the image should contain label io.openshift.tags with value kogito,jobs-service,postgresql,ephemeral + And the image should contain label io.openshift.tags with value logic-job-service,kogito,jobs-service,postgresql,ephemeral Scenario: Verify if all jobs-service flavors are in the image When container is started with command bash diff --git a/tests/features/jobs-service/kogito-jobs-service-ephemeral.feature b/tests/features/jobs-service/kogito-jobs-service-ephemeral.feature index 21e243ef9..a28302906 100644 --- a/tests/features/jobs-service/kogito-jobs-service-ephemeral.feature +++ b/tests/features/jobs-service/kogito-jobs-service-ephemeral.feature @@ -7,7 +7,7 @@ Feature: Kogito-jobs-service-ephemeral feature. And the image should contain label io.openshift.expose-services with value 8080:http And the image should contain label io.k8s.description with value Red Hat build of Runtime image for Kogito in memory Jobs Service And the image should contain label io.k8s.display-name with value Red Hat build of Kogito in memory Jobs Service - And the image should contain label io.openshift.tags with value kogito,jobs-service-ephemeral + And the image should contain label io.openshift.tags with value logic-job-service,kogito,jobs-service-ephemeral Scenario: Verify if the application jar exists When container is started with command bash diff --git a/tests/features/jobs-service/kogito-jobs-service-postgresql.feature b/tests/features/jobs-service/kogito-jobs-service-postgresql.feature index 52d64a95f..080487f1e 100644 --- a/tests/features/jobs-service/kogito-jobs-service-postgresql.feature +++ b/tests/features/jobs-service/kogito-jobs-service-postgresql.feature @@ -7,7 +7,7 @@ Feature: Kogito-jobs-service-postgresql feature. And the image should contain label io.openshift.expose-services with value 8080:http And the image should contain label io.k8s.description with value Red Hat build of Runtime image for Kogito Jobs Service based on Postgresql And the image should contain label io.k8s.display-name with value Red Hat build of Kogito Jobs Service based on Postgresql - And the image should contain label io.openshift.tags with value kogito,jobs-service-postgresql + And the image should contain label io.openshift.tags with value logic-job-service,kogito,jobs-service-postgresql Scenario: Verify if the application jar exists When container is started with command bash From 134893cc361952acc565d7fc5541b823766148e2 Mon Sep 17 00:00:00 2001 From: Dominik Hanak Date: Tue, 14 May 2024 18:31:47 +0200 Subject: [PATCH 2/2] SRVLOGIC-232: Remove DevUI check for devmode image --- tests/features/kogito-swf-devmode.feature | 19 ------------------- 1 file changed, 19 deletions(-) diff --git a/tests/features/kogito-swf-devmode.feature b/tests/features/kogito-swf-devmode.feature index c17ff1f9e..b9417cea2 100644 --- a/tests/features/kogito-swf-devmode.feature +++ b/tests/features/kogito-swf-devmode.feature @@ -107,25 +107,6 @@ Feature: Serverless Workflow devmode images | expected_status_code | 200 | | expected_phrase | {"data":{"ProcessInstances":[]}} | - Scenario: verify that the serverless workflow devui is running - When container is started with env - | variable | value | - | QUARKUS_DEVSERVICES_ENABLED | false | - Then check that page is served - | property | value | - | port | 8080 | - | path | /q/dev-v1/org.kie.kogito-addons-quarkus-data-index-inmemory/dataindex | - | request_method | GET | - | wait | 480 | - | expected_status_code | 200 | - And check that page is served - | property | value | - | port | 8080 | - | path | /q/dev-ui/org.apache.kie.sonataflow.sonataflow-quarkus-devui/workflows | - | request_method | GET | - | wait | 480 | - | expected_status_code | 200 | - Scenario: Verify if container starts in devmode with service discovery enabled When container is started with env | variable | value |