Skip to content

Commit

Permalink
Merge pull request #44 from domhanak/fix-images-no4-1.33
Browse files Browse the repository at this point in the history
[9.100.x-prod] SRVLOGIC-232: Fix io.openshift.tags expectation
  • Loading branch information
domhanak authored May 15, 2024
2 parents 1001d79 + 134893c commit 87ec560
Show file tree
Hide file tree
Showing 6 changed files with 5 additions and 24 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
19 changes: 0 additions & 19 deletions tests/features/kogito-swf-devmode.feature
Original file line number Diff line number Diff line change
Expand Up @@ -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 |
Expand Down

0 comments on commit 87ec560

Please sign in to comment.