fantonangeli commented on code in PR #2750:
URL: 
https://github.com/apache/incubator-kie-tools/pull/2750#discussion_r1871899270


##########
packages/sonataflow-management-console-image/test-resources/tests/features/sonataflow-management-console.feature:
##########
@@ -0,0 +1,37 @@
[email protected]/apache/incubator-kie-sonataflow-management-console
+Feature: Serverless Workflow Management Console images
+
+  Scenario: verify that the home page is served
+    When container is started with env
+      | variable                    | value |
+    Then container log should contain httpd -D FOREGROUND
+    Then check that page is served
+      | property             | value             |
+      | port                 | 8080              |
+      | path                 | /                 |
+      | request_method       | GET               |
+      | wait                 | 480               |
+      | expected_status_code | 200               |
+
+  Scenario: Verify that the rewrite rule for /graphql is in httpd.conf
+    When container is started with env
+      | variable | value |
+    Then container log should contain httpd -D FOREGROUND
+    Then file /etc/httpd/conf/httpd.conf should contain /graphql
+
+
+  Scenario: verify that the data-index is available from the container
+    When container is started with env
+      | variable                    | value |
+      | SONATAFLOW_MANAGEMENT_CONSOLE_DATA_INDEX_ENDPOINT | 
http://192.168.138.171:4000/graphql |

Review Comment:
   @ricardozanini  I'm trying to find a way not to use the IP here. Can you 
help me?
   



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to