aboutsummaryrefslogtreecommitdiffstats
path: root/feature-lifecycle/src/test/resources/example.policy.drools.controller.tosca.json
diff options
context:
space:
mode:
authorjhh <jorge.hernandez-herrero@att.com>2020-03-05 22:32:58 -0600
committerjhh <jorge.hernandez-herrero@att.com>2020-03-10 11:29:27 -0500
commit3f563fe552e35b3bc3d95c47a3cabdfe7645ad07 (patch)
tree9439dc357096b69b670e7dad666084a5cb08dcfb /feature-lifecycle/src/test/resources/example.policy.drools.controller.tosca.json
parent845cbbc74445909613aff1912d3cfc9083c57d53 (diff)
policy routing and reorg into policy-domains
- Native Drools Controller Policy support. - Move domain policies into the policy-domains project. - Route legacy/compliant operational policies to one or all controller supporting the policy's policy type. - Enhancements to scripts to invoke commands external to the container. Issue-ID: POLICY-2388 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Change-Id: Id41f04d10a28d2ea86bdd41334e499c28d0438ae Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
Diffstat (limited to 'feature-lifecycle/src/test/resources/example.policy.drools.controller.tosca.json')
-rw-r--r--feature-lifecycle/src/test/resources/example.policy.drools.controller.tosca.json54
1 files changed, 0 insertions, 54 deletions
diff --git a/feature-lifecycle/src/test/resources/example.policy.drools.controller.tosca.json b/feature-lifecycle/src/test/resources/example.policy.drools.controller.tosca.json
deleted file mode 100644
index f5a9151f..00000000
--- a/feature-lifecycle/src/test/resources/example.policy.drools.controller.tosca.json
+++ /dev/null
@@ -1,54 +0,0 @@
-{
- "tosca_definitions_version": "tosca_simple_yaml_1_0_0",
- "topology_template": {
- "policies": [
- {
- "example": {
- "type": "onap.policies.drools.Controller",
- "type_version": "1.0.0",
- "version": "1.0.0",
- "name": "example",
- "metadata": {
- "policy-id": "example"
- },
- "properties": {
- "controllerName": "lifecycle",
- "sourceTopics": [
- {
- "topicName": "DCAE_TOPIC",
- "serialization": [
- {
- "eventClass": "org.onap.policy.controlloop.CanonicalOnset",
- "eventFilter": "[?($.closedLoopEventStatus == 'ONSET')]",
- "customSerializer": {
- "customSerializerClass": "org.onap.policy.controlloop.util.Serialization",
- "jsonParser": "gson"
- }
- }
- ]
- }
- ],
- "sinkTopics": [
- {
- "topicName": "APPC-CL",
- "serialization": [
- {
- "eventClass": "org.onap.policy.appc.Response",
- "eventFilter": "[?($.CommonHeader && $.Status)]",
- "customSerializer": {
- "customSerializerClass": "org.onap.policy.appc.util.Serialization",
- "jsonParser": "gsonPretty"
- }
- }
- ]
- }
- ],
- "customConfig": {
- "field1" : "value1"
- }
- }
- }
- }
- ]
- }
-} \ No newline at end of file