summaryrefslogtreecommitdiffstats
path: root/packages/policy-distribution-tarball/src/main/resources/etc
diff options
context:
space:
mode:
Diffstat (limited to 'packages/policy-distribution-tarball/src/main/resources/etc')
-rw-r--r--packages/policy-distribution-tarball/src/main/resources/etc/defaultConfig.json37
-rw-r--r--packages/policy-distribution-tarball/src/main/resources/etc/s3pConfig.json37
2 files changed, 66 insertions, 8 deletions
diff --git a/packages/policy-distribution-tarball/src/main/resources/etc/defaultConfig.json b/packages/policy-distribution-tarball/src/main/resources/etc/defaultConfig.json
index bda3b11f..4c14f75b 100644
--- a/packages/policy-distribution-tarball/src/main/resources/etc/defaultConfig.json
+++ b/packages/policy-distribution-tarball/src/main/resources/etc/defaultConfig.json
@@ -19,13 +19,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"
}
}
}
@@ -65,10 +75,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": {
@@ -89,6 +105,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"
+ }
+ }
}
}
}
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"
+ }
+ }
}
}
}