X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=kubernetes%2Fpolicy%2Fcomponents%2Fpolicy-apex-pdp%2Fresources%2Fconfig%2FOnapPfConfig.json;h=7614a8c5b1def1ca555b17a4b6e39b5cc7d205e4;hb=c78cc6b182237e2d39f894614f686144aa654a3c;hp=767d1452cc3bbfcd8fd22b9f15d0a846e05322b5;hpb=40274dba45d21fc5e70cfc79a4c40ae69056329a;p=oom.git diff --git a/kubernetes/policy/components/policy-apex-pdp/resources/config/OnapPfConfig.json b/kubernetes/policy/components/policy-apex-pdp/resources/config/OnapPfConfig.json index 767d1452cc..7614a8c5b1 100755 --- a/kubernetes/policy/components/policy-apex-pdp/resources/config/OnapPfConfig.json +++ b/kubernetes/policy/components/policy-apex-pdp/resources/config/OnapPfConfig.json @@ -5,7 +5,8 @@ "port": 6969, "userName": "${RESTSERVER_USER}", "password": "${RESTSERVER_PASSWORD}", - "https": true + "https": {{ (eq "true" (include "common.needTLS" .)) | ternary "true" "false" }}, + "prometheus": true }, "pdpStatusParameters":{ "pdpGroup": "defaultGroup", @@ -13,10 +14,6 @@ "pdpType":"apex", "description":"Pdp Heartbeat", "supportedPolicyTypes": [ - { - "name": "onap.policies.controlloop.operational.Apex", - "version": "1.0.0" - }, { "name": "onap.policies.native.Apex", "version": "1.0.0" @@ -31,13 +28,14 @@ "topicSources" : [{ "topic" : "POLICY-PDP-PAP", "servers" : [ "message-router" ], - "useHttps" : true, + "useHttps" : {{ (eq "true" (include "common.needTLS" .)) | ternary "true" "false" }}, + "fetchTimeout": 15000, "topicCommInfrastructure" : "dmaap" }], "topicSinks" : [{ "topic" : "POLICY-PDP-PAP", "servers" : [ "message-router" ], - "useHttps" : true, + "useHttps" : {{ (eq "true" (include "common.needTLS" .)) | ternary "true" "false" }}, "topicCommInfrastructure" : "dmaap" }] }