diff options
3 files changed, 14 insertions, 5 deletions
diff --git a/feature-healthcheck/src/main/feature/config/feature-healthcheck.properties b/feature-healthcheck/src/main/feature/config/feature-healthcheck.properties index 70a010cd..7739c6e7 100644 --- a/feature-healthcheck/src/main/feature/config/feature-healthcheck.properties +++ b/feature-healthcheck/src/main/feature/config/feature-healthcheck.properties @@ -24,8 +24,8 @@ http.server.services.HEALTHCHECK.port=6969 http.server.services.HEALTHCHECK.restClasses=org.onap.policy.drools.healthcheck.RestHealthCheck http.server.services.HEALTHCHECK.managed=false http.server.services.HEALTHCHECK.swagger=true -http.server.services.HEALTHCHECK.userName=${env:HEALTHCHECK_USER} -http.server.services.HEALTHCHECK.password=${env:HEALTHCHECK_PASSWORD} -http.server.services.HEALTHCHECK.https=true -http.server.services.HEALTHCHECK.aaf=${env:AAF} +http.server.services.HEALTHCHECK.userName=${envd:HEALTHCHECK_USER} +http.server.services.HEALTHCHECK.password=${envd:HEALTHCHECK_PASSWORD} +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 diff --git a/packages/install/src/files/base.conf b/packages/install/src/files/base.conf index bf9b72ea..aac21256 100644 --- a/packages/install/src/files/base.conf +++ b/packages/install/src/files/base.conf @@ -81,6 +81,14 @@ AAF_NAMESPACE=org.onap.policy AAF_HOST=aaf-onap-test.osaaf.org CADI_KEYFILE=/opt/app/policy/config/aaf-cadi.keyfile +# Prometheus + +PROMETHEUS=false + +# HTTP Servers https enabled + +HTTP_SERVER_HTTPS=false + # PDP-D DMaaP configuration channel PDPD_CONFIGURATION_TOPIC=PDPD-CONFIGURATION diff --git a/policy-management/src/main/server/config/engine.properties b/policy-management/src/main/server/config/engine.properties index 85a24f08..89a749c9 100644 --- a/policy-management/src/main/server/config/engine.properties +++ b/policy-management/src/main/server/config/engine.properties @@ -29,8 +29,9 @@ http.server.services.CONFIG.password=${envd:TELEMETRY_PASSWORD} http.server.services.CONFIG.restPackages=org.onap.policy.drools.server.restful http.server.services.CONFIG.managed=false http.server.services.CONFIG.swagger=true -http.server.services.CONFIG.https=false +http.server.services.CONFIG.https=${envd:HTTP_SERVER_HTTPS:false} http.server.services.CONFIG.aaf=${envd:AAF:false} +http.server.services.CONFIG.prometheus=${envd:PROMETHEUS:true} http.server.services.CONFIG.serialization.provider=org.onap.policy.common.gson.JacksonHandler,org.onap.policy.common.endpoints.http.server.YamlJacksonHandler aaf.namespace=${envd:AAF_NAMESPACE:false} |