KIE_SERVER_HOST is not used by kieserver but it still there and on the behave tests:
unset KIE_SERVER_HOST
Test errors:
Scenario: Test the KIE_SERVER_HOST configuration to default value # features/jboss-kie-modules/common/kieserver-common.feature:34 When container is ready # steps/container_steps.py:13 1.482s Then container log should contain Fail to query the route name using Kubernetes API # steps/container_steps.py:27 30.866s Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/behave/model.py", line 1456, in run match.run(runner.context) File "/usr/lib/python2.7/site-packages/behave/model.py", line 1903, in run self.func(context, *args, **kwargs) File "steps/container_steps.py", line 30, in log_contains_msg raise Exception("Message '%s' was not found in the logs" % message) Exception: Message 'Fail to query the route name using Kubernetes API' was not found in the logs 2018-11-21 19:33:07,093 - dock.middleware.container - INFO - Removing container 'aa4a8e65f777f80af68891e8e71f4740908f5fafb1d51824bd3386d717fb8e19', 1 try... 2018-11-21 19:33:07,412 - dock.middleware.container - INFO - Container 'aa4a8e65f777f80af68891e8e71f4740908f5fafb1d51824bd3386d717fb8e19' removed Scenario: Test the KIE_SERVER_HOST configuration with custom host # features/jboss-kie-modules/common/kieserver-common.feature:38 When container is started with env # steps/container_steps.py:68 2.016s | variable | value | | KIE_SERVER_HOST | my-custon-host.example.com | | KIE_SERVER_PORT | 80 | Then container log should contain -Dorg.kie.server.location=http://my-custon-host.example.com:80/services/rest/server # steps/container_steps.py:27 30.670s Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/behave/model.py", line 1456, in run match.run(runner.context) File "/usr/lib/python2.7/site-packages/behave/model.py", line 1903, in run self.func(context, *args, **kwargs) File "steps/container_steps.py", line 30, in log_contains_msg raise Exception("Message '%s' was not found in the logs" % message) Exception: Message '-Dorg.kie.server.location=http://my-custon-host.example.com:80/services/rest/server' was not found in the logs 2018-11-21 19:33:42,423 - dock.middleware.container - INFO - Removing container '0fc97a13270bc475a6cc8b5a59064d16a41fafccacce301c349694f304ee6856', 1 try... 2018-11-21 19:33:42,602 - dock.middleware.container - INFO - Container '0fc97a13270bc475a6cc8b5a59064d16a41fafccacce301c349694f304ee6856' removed Scenario: Test the KIE_SERVER_HOST configuration with custom host with default port # features/jboss-kie-modules/common/kieserver-common.feature:45 When container is started with env # steps/container_steps.py:68 1.732s | variable | value | | KIE_SERVER_HOST | my-custon-host.example.com | Then container log should contain -Dorg.kie.server.location=http://my-custon-host.example.com:80/services/rest/server # steps/container_steps.py:27 30.866s Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/behave/model.py", line 1456, in run match.run(runner.context) File "/usr/lib/python2.7/site-packages/behave/model.py", line 1903, in run self.func(context, *args, **kwargs) File "steps/container_steps.py", line 30, in log_contains_msg raise Exception("Message '%s' was not found in the logs" % message) Exception: Message '-Dorg.kie.server.location=http://my-custon-host.example.com:80/services/rest/server' was not found in the logs
- is related to
-
KIECLOUD-42 maintain KIE_SERVER_* location env vars for backwards compatibility
- Closed