Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[9.100.x-prod] SRVLOGIC-232: Fix io.openshift.tags expectation #44

Merged
merged 2 commits into from
May 15, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading