summaryrefslogtreecommitdiffstats
path: root/kubernetes
diff options
context:
space:
mode:
authorramverma <ram.krishna.verma@est.tech>2019-08-23 11:32:46 +0000
committerRam Krishna Verma <ram.krishna.verma@est.tech>2019-08-23 13:27:32 +0000
commit40280cf08bd8f05918c10fe5ef42b88927514496 (patch)
treebc24edde1fd7b4be78b900486d7ce0736f1c5f91 /kubernetes
parentd7b6ac82af6349f96910c059aa50432c1c04b5e8 (diff)
Update policy/distribution config
Updating the config file of distribution chart as per the new code changes done in El Alto release. Issue-ID: POLICY-1892 Change-Id: I516bdb3306b88ecd123f6340ae1afe28e4a96eac Signed-off-by: ramverma <ram.krishna.verma@est.tech>
Diffstat (limited to 'kubernetes')
-rw-r--r--kubernetes/policy/charts/policy-distribution/resources/config/config.json30
1 files changed, 27 insertions, 3 deletions
diff --git a/kubernetes/policy/charts/policy-distribution/resources/config/config.json b/kubernetes/policy/charts/policy-distribution/resources/config/config.json
index 5591e58e32..da2823158f 100644
--- a/kubernetes/policy/charts/policy-distribution/resources/config/config.json
+++ b/kubernetes/policy/charts/policy-distribution/resources/config/config.json
@@ -52,6 +52,11 @@
"forwarderType":"ApexForwarder",
"forwarderClassName":"org.onap.policy.distribution.forwarding.apex.pdp.ApexPdpPolicyForwarder",
"forwarderConfigurationName": "apexForwarderConfiguration"
+ },
+ "LifeCycleApiForwarder":{
+ "forwarderType":"LifeCycleAPI",
+ "forwarderClassName":"org.onap.policy.distribution.forwarding.lifecycle.api.LifecycleApiPolicyForwarder",
+ "forwarderConfigurationName": "lifecycleApiConfiguration"
}
}
}
@@ -99,8 +104,8 @@
"apexDecoderConfiguration":{
"parameterClassName":"org.onap.policy.distribution.reception.decoding.policy.file.PolicyDecoderFileInCsarToPolicyParameterGroup",
"parameters":{
- "policyFileName": "SamplePolicyModelJAVASCRIPT",
- "policyType": "APEX"
+ "policyFileName": "apex_policy",
+ "policyTypeFileName": "apex_policy_type"
}
}
},
@@ -126,6 +131,25 @@
"ignoreConflicts": true,
"forceUpdate": true
}
+ },
+ "lifecycleApiConfiguration":{
+ "parameterClassName":"org.onap.policy.distribution.forwarding.lifecycle.api.LifecycleApiForwarderParameters",
+ "parameters":{
+ "apiParameters": {
+ "hostName": "policy-api",
+ "port": 6969,
+ "userName": "healthcheck",
+ "password": "zb!XztG34"
+ },
+ "papParameters": {
+ "hostName": "policy-pap",
+ "port": 6969,
+ "userName": "healthcheck",
+ "password": "zb!XztG34"
+ },
+ "isHttps": true,
+ "deployPolicies": true
+ }
}
}
-}
+} \ No newline at end of file