aboutsummaryrefslogtreecommitdiffstats
path: root/packages/policy-distribution-tarball/src/main/resources/etc/s3pConfig.json
diff options
context:
space:
mode:
authorSirisha_Manchikanti <sirisha.manchikanti@est.tech>2021-12-14 18:12:07 +0000
committerSirisha_Manchikanti <sirisha.manchikanti@est.tech>2022-01-06 13:12:50 +0000
commit3d170c6e14976549cd2edc405c5c242110bff2ff (patch)
tree2201c54f4c9a227b4337c9a640ab2e2b8c1cc630 /packages/policy-distribution-tarball/src/main/resources/etc/s3pConfig.json
parent5f46449a3a73a101fb6e7926dd48e1672ad3ed7b (diff)
Add ControlLoop distribution to runtime
This commit unpacks the csar received either from SDC or for local verification from file-system, prepares the toscaservicetemplate with needed node-types and data-types, forwards the template to controlloop runtime components for commisioning of controlloop. Issue-ID: POLICY-3808 Signed-off-by: Sirisha_Manchikanti <sirisha.manchikanti@est.tech> Change-Id: Ib3600542aca7b32ae19242c2f924bdaf2ab870a8
Diffstat (limited to 'packages/policy-distribution-tarball/src/main/resources/etc/s3pConfig.json')
-rw-r--r--packages/policy-distribution-tarball/src/main/resources/etc/s3pConfig.json37
1 files changed, 33 insertions, 4 deletions
diff --git a/packages/policy-distribution-tarball/src/main/resources/etc/s3pConfig.json b/packages/policy-distribution-tarball/src/main/resources/etc/s3pConfig.json
index 7059f5b4..cea48547 100644
--- a/packages/policy-distribution-tarball/src/main/resources/etc/s3pConfig.json
+++ b/packages/policy-distribution-tarball/src/main/resources/etc/s3pConfig.json
@@ -17,13 +17,23 @@
"decoderType": "ToscaPolicyDecoder",
"decoderClassName": "org.onap.policy.distribution.reception.decoding.policy.file.PolicyDecoderFileInCsarToPolicy",
"decoderConfigurationName": "toscaPolicyDecoderConfiguration"
+ },
+ "ToscaControlLoopDecoder": {
+ "decoderType": "ToscaControlLoopDecoder",
+ "decoderClassName": "org.onap.policy.distribution.reception.decoding.policy.file.ControlLoopDecoderFileInCsar",
+ "decoderConfigurationName": "toscaControlLoopDecoderConfiguration"
}
},
"policyForwarders": {
- "LifeCycleApiForwarder": {
- "forwarderType": "LifeCycleAPI",
+ "LifeCycleApiPolicyForwarder": {
+ "forwarderType": "LifeCyclePolicyAPI",
"forwarderClassName": "org.onap.policy.distribution.forwarding.lifecycle.api.LifecycleApiPolicyForwarder",
- "forwarderConfigurationName": "lifecycleApiConfiguration"
+ "forwarderConfigurationName": "lifecycleApiPolicyConfiguration"
+ },
+ "LifeCycleApiControlLoopForwarder": {
+ "forwarderType": "LifeCycleControlLoopAPI",
+ "forwarderClassName": "org.onap.policy.distribution.forwarding.lifecycle.api.LifecycleApiControlLoopForwarder",
+ "forwarderConfigurationName": "lifecycleApiControlLoopConfiguration"
}
}
}
@@ -44,10 +54,16 @@
"policyFileName": "tosca_policy",
"policyTypeFileName": "tosca_policy_type"
}
+ },
+ "toscaControlLoopDecoderConfiguration": {
+ "parameterClassName": "org.onap.policy.distribution.reception.decoding.policy.file.ControlLoopDecoderFileInCsarParameterGroup",
+ "parameters": {
+ "controlLoopType": "controlloop"
+ }
}
},
"policyForwarderConfigurationParameters": {
- "lifecycleApiConfiguration": {
+ "lifecycleApiPolicyConfiguration": {
"parameterClassName": "org.onap.policy.distribution.forwarding.lifecycle.api.LifecycleApiForwarderParameters",
"parameters": {
"apiParameters": {
@@ -68,6 +84,19 @@
},
"deployPolicies": true
}
+ },
+ "lifecycleApiControlLoopConfiguration": {
+ "parameterClassName": "org.onap.policy.distribution.forwarding.lifecycle.api.LifecycleApiControlLoopForwarderParameters",
+ "parameters": {
+ "controlLoopRuntimeParameters": {
+ "clientName": "policy-clamp-cl-runtime",
+ "hostname": "policy-clamp-cl-runtime",
+ "port": 6969,
+ "useHttps": true,
+ "userName": "policyadmin",
+ "password": "zb!XztG34"
+ }
+ }
}
}
}