aboutsummaryrefslogtreecommitdiffstats
path: root/kubernetes/policy
diff options
context:
space:
mode:
authorramverma <ram.krishna.verma@est.tech>2019-04-30 13:18:33 +0000
committerramverma <ram.krishna.verma@est.tech>2019-04-30 13:18:33 +0000
commitc239fbfdd831ba4769e57b0c38783b06a83a861a (patch)
treea24f81504e2748b547934cde7cc1c5e9492cdac0 /kubernetes/policy
parent40807650419fe5eb569adaa5145494ddf265e614 (diff)
Change Policy PAP & API to https by default
1) Changing policy PAP & API components to start in https mode by default. 2) Changing supportedPolicyTypes for apex to fix the ineterference between apex & drools for legacy operational policies. 3) Changing the replicaCount of xacml to 3 so that we have enough instances of it running to support controlloop, monitoring & optimization PdpGroups. Change-Id: I5271878db4c4adebc418ef63ecb09880c02082ff Issue-ID: POLICY-1693 Signed-off-by: ramverma <ram.krishna.verma@est.tech>
Diffstat (limited to 'kubernetes/policy')
-rw-r--r--kubernetes/policy/charts/policy-apex-pdp/resources/config/OnapPfConfig.json2
-rw-r--r--kubernetes/policy/charts/policy-api/resources/config/config.json6
-rw-r--r--kubernetes/policy/charts/policy-pap/resources/config/config.json4
-rw-r--r--kubernetes/policy/charts/policy-xacml-pdp/values.yaml2
4 files changed, 9 insertions, 5 deletions
diff --git a/kubernetes/policy/charts/policy-apex-pdp/resources/config/OnapPfConfig.json b/kubernetes/policy/charts/policy-apex-pdp/resources/config/OnapPfConfig.json
index 8edca606e4..9de4a8b5b5 100644
--- a/kubernetes/policy/charts/policy-apex-pdp/resources/config/OnapPfConfig.json
+++ b/kubernetes/policy/charts/policy-apex-pdp/resources/config/OnapPfConfig.json
@@ -11,6 +11,6 @@
"timeIntervalMs": 120000,
"pdpType":"apex",
"description":"Pdp Heartbeat",
- "supportedPolicyTypes":[{"name":"onap.policies.controlloop.Operational","version":"1.0.0"}]
+ "supportedPolicyTypes":[{"name":"onap.policies.controlloop.operational.Apex","version":"1.0.0"}]
}
}
diff --git a/kubernetes/policy/charts/policy-api/resources/config/config.json b/kubernetes/policy/charts/policy-api/resources/config/config.json
index 16e0a51682..397f850095 100644
--- a/kubernetes/policy/charts/policy-api/resources/config/config.json
+++ b/kubernetes/policy/charts/policy-api/resources/config/config.json
@@ -21,7 +21,9 @@
"host":"0.0.0.0",
"port":6969,
"userName":"healthcheck",
- "password":"zb!XztG34"
+ "password":"zb!XztG34",
+ "https": true,
+ "aaf": false
},
"databaseProviderParameters": {
"name": "PolicyProviderParameterGroup",
@@ -32,4 +34,4 @@
"databasePassword": "cG9saWN5X3VzZXI=",
"persistenceUnit": "PolicyMariaDb"
}
-} \ No newline at end of file
+}
diff --git a/kubernetes/policy/charts/policy-pap/resources/config/config.json b/kubernetes/policy/charts/policy-pap/resources/config/config.json
index 995c951b81..fa80bf2190 100644
--- a/kubernetes/policy/charts/policy-pap/resources/config/config.json
+++ b/kubernetes/policy/charts/policy-pap/resources/config/config.json
@@ -21,7 +21,9 @@
"host":"0.0.0.0",
"port":6969,
"userName":"healthcheck",
- "password":"zb!XztG34"
+ "password":"zb!XztG34",
+ "https": true,
+ "aaf": false
},
"pdpParameters": {
"updateParameters": {
diff --git a/kubernetes/policy/charts/policy-xacml-pdp/values.yaml b/kubernetes/policy/charts/policy-xacml-pdp/values.yaml
index fcfbab2471..ff0fc0a89f 100644
--- a/kubernetes/policy/charts/policy-xacml-pdp/values.yaml
+++ b/kubernetes/policy/charts/policy-xacml-pdp/values.yaml
@@ -36,7 +36,7 @@ debugEnabled: false
# application configuration
# default number of instances
-replicaCount: 1
+replicaCount: 3
nodeSelector: {}