{
    "tosca_definitions_version": "tosca_simple_yaml_1_0_0",
    "topology_template": {
        "policies": [
            {
                "example.controller": {
                    "type": "onap.policies.native.drools.Controller",
                    "type_version": "1.0.0",
                    "version": "1.0.0",
                    "name": "example.controller",
                    "metadata": {
                        "policy-id": "example.controller"
                    },
                    "properties": {
                        "controllerName": "lifecycle",
                        "sourceTopics": [
                            {
                                "topicName": "DCAE_TOPIC",
                                "events": [
                                    {
                                        "eventClass": "java.util.HashMap",
                                        "eventFilter": "[?($.closedLoopEventStatus == 'ONSET')]"
                                    },
                                    {
                                        "eventClass": "java.util.HashMap",
                                        "eventFilter": "[?($.closedLoopEventStatus == 'ABATED')]"
                                    }
                                ]
                            }
                        ],
                        "sinkTopics": [
                            {
                                "topicName": "APPC-CL",
                                "events": [
                                    {
                                        "eventClass": "java.util.HashMap",
                                        "eventFilter": "[?($.CommonHeader && $.Status)]"
                                    }
                                ]
                            }
                        ],
                        "customConfig": {
                            "field1" : "value1"
                        }
                    }
                }
            }
        ]
    }
}