forked from apache/incubator-kie-kogito-images
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #14 from jakubschwan/9.99.x-prod
[9.99.x-prod] Add logic behave test annotations back to mid-stream repo after depre…
- Loading branch information
Showing
11 changed files
with
56 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
25 changes: 25 additions & 0 deletions
25
tests/features/openshift-serverless-logic/logic-data-index-ephemeral.feature
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
@openshift-serverless-1-tech-preview/logic-data-index-ephemeral-rhel8 | ||
Feature: logic-data-index-ephemeral-rhel8 feature | ||
|
||
Scenario: verify if all labels are correctly set on logic-data-index-ephemeral-rhel8 image | ||
Given image is built | ||
Then the image should contain label io.openshift.expose-services with value 8080:http | ||
And the image should contain label maintainer with value Apache KIE <[email protected]> | ||
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 logic-data-index,kogito,data-index,data-index-ephemeral | ||
And the image should contain label com.redhat.component with value openshift-serverless-1-logic-data-index-ephemeral-rhel8-container | ||
|
||
Scenario: verify if of logic-data-index-ephemeral-rhel8 container is correctly started | ||
When container is started with env | ||
| variable | value | | ||
| SCRIPT_DEBUG | true | | ||
Then container log should contain -Djava.library.path=/home/kogito/lib -Dquarkus.http.host=0.0.0.0 -Dquarkus.http.port=8080 -jar /home/kogito/bin/quarkus-app/quarkus-run.jar | ||
And container log should contain Embedded Postgres started at port | ||
And container log should not contain Application failed to start | ||
|
||
Scenario: check if the default quarkus profile is correctly set on data index | ||
When container is started with env | ||
| variable | value | | ||
| SCRIPT_DEBUG | true | | ||
Then container log should contain -Dquarkus.profile=http-events-support |
11 changes: 11 additions & 0 deletions
11
tests/features/openshift-serverless-logic/logic-swf-builder.feature
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
@openshift-serverless-1-tech-preview/logic-swf-builder-rhel8 | ||
Feature: logic-swf-builder-rhel8 feature | ||
|
||
Scenario: verify if all labels are correctly set on logic-swf-builder-rhel8 image | ||
Given image is built | ||
Then the image should contain label io.openshift.expose-services with value 8080:http | ||
And the image should contain label maintainer with value Apache KIE <[email protected]> | ||
And the image should contain label io.k8s.description with value Red Hat build of Runtime image for Kogito Serverless Workflow builder with Quarkus extensions libraries preinstalled | ||
And the image should contain label io.k8s.display-name with value Red Hat OpenShift Serverless Logic Builder image | ||
And the image should contain label io.openshift.tags with value logic-swf-builder,kogito,swf-builder | ||
And the image should contain label com.redhat.component with value openshift-serverless-1-logic-swf-builder-rhel8-container |
11 changes: 11 additions & 0 deletions
11
tests/features/openshift-serverless-logic/logic-swf-devmode.feature
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
@openshift-serverless-1-tech-preview/logic-swf-devmode-rhel8 | ||
Feature: logic-swf-devmode-rhel8 feature | ||
|
||
Scenario: verify if all labels are correctly set on logic-swf-devmode-rhel8 image | ||
Given image is built | ||
Then the image should contain label io.openshift.expose-services with value 8080:http,5005:http | ||
And the image should contain label maintainer with value Apache KIE <[email protected]> | ||
And the image should contain label io.k8s.description with value Red Hat build of Kogito Serverless Workflow development mode image with Quarkus extensions libraries preinstalled. | ||
And the image should contain label io.k8s.display-name with value Red Hat OpenShift Serverless Logic SWF Devmode | ||
And the image should contain label io.openshift.tags with value logic,devmode,kogito,kogito,development,serverless,workflow | ||
And the image should contain label com.redhat.component with value openshift-serverless-1-logic-swf-devmode-rhel8-container |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters