2 "tosca_definitions_version": "tosca_simple_yaml_1_0_0",
6 "example.controller": {
7 "type": "onap.policies.native.drools.Controller",
8 "type_version": "1.0.0",
10 "name": "example.controller",
12 "policy-id": "example.controller"
15 "controllerName": "lifecycle",
18 "topicName": "DCAE_TOPIC",
21 "eventClass": "org.onap.policy.controlloop.CanonicalOnset",
22 "eventFilter": "[?($.closedLoopEventStatus == 'ONSET')]",
23 "customSerialization": {
24 "customSerializerClass": "org.onap.policy.controlloop.util.Serialization",
29 "eventClass": "org.onap.policy.controlloop.CanonicalAbated",
30 "eventFilter": "[?($.closedLoopEventStatus == 'ABATED')]"
37 "topicName": "APPC-CL",
40 "eventClass": "org.onap.policy.appc.Response",
41 "eventFilter": "[?($.CommonHeader && $.Status)]",
42 "customSerialization": {
43 "customSerializerClass": "org.onap.policy.appc.util.Serialization",
44 "jsonParser": "gsonPretty"