change host configuration for liveness checks 81/128381/1
authorjhh <jorge.hernandez-herrero@att.com>
Fri, 8 Apr 2022 01:55:40 +0000 (20:55 -0500)
committerjhh <jorge.hernandez-herrero@att.com>
Fri, 8 Apr 2022 01:55:40 +0000 (20:55 -0500)
Issue-ID: POLICY-3386
Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
Change-Id: I66e11bb0baf4a713b1f167f8b8e88494aaf40232

feature-healthcheck/src/main/feature/config/feature-healthcheck.properties

index dc7566b..98247a8 100644 (file)
@@ -31,7 +31,7 @@ http.server.services.HEALTHCHECK.https=${envd:HTTP_SERVER_HTTPS:false}
 http.server.services.HEALTHCHECK.aaf=${envd:AAF:false}
 http.server.services.HEALTHCHECK.serialization.provider=org.onap.policy.common.gson.JacksonHandler,org.onap.policy.common.endpoints.http.server.YamlJacksonHandler
 
-http.server.services.LIVENESS.host=localhost
+http.server.services.LIVENESS.host=0.0.0.0
 http.server.services.LIVENESS.port=6968
 http.server.services.LIVENESS.restClasses=org.onap.policy.drools.healthcheck.RestHealthCheck
 http.server.services.LIVENESS.managed=false
@@ -56,5 +56,5 @@ http.client.services.PDPX.https=${envd:HTTP_SERVER_HTTPS}
 http.client.services.PDPX.managed=true
 http.client.services.PDPX.contextUriPath=policy/pdpx/v1/healthcheck
 
-liveness.controllers=${envd:LIVENESS_CONTROLLERS}
+liveness.controllers=${envd:LIVENESS_CONTROLLERS:*}
 liveness.controllers.timeout=${envd:LIVENESS_TIMEOUT_SECONDS:10}