diff options
author | adheli.tavares <adheli.tavares@est.tech> | 2024-04-24 10:16:34 +0100 |
---|---|---|
committer | adheli.tavares <adheli.tavares@est.tech> | 2024-04-24 10:20:08 +0100 |
commit | 0e8d38b16de3532b75470970403c22a6c635675e (patch) | |
tree | 202194a3e5c7ab788c394f16e1b57ff0f0735d8a /models-examples | |
parent | 22afe401ca130eba6543f740039e8a3c13d11861 (diff) |
Fix actors interactions for drools issues.
- adjust topics in policies for drools usecases controller
- add kafka runtime dependencies.
Issue-ID: POLICY-4955
Change-Id: I5bd4f3898ca63cc9f6fce5aa1f95dc503b4b2419
Signed-off-by: adheli.tavares <adheli.tavares@est.tech>
Diffstat (limited to 'models-examples')
2 files changed, 16 insertions, 16 deletions
diff --git a/models-examples/src/main/resources/policies/usecases.native.controller.policy.input.tosca.json b/models-examples/src/main/resources/policies/usecases.native.controller.policy.input.tosca.json index 9e6f5f9ea..1504323dc 100644 --- a/models-examples/src/main/resources/policies/usecases.native.controller.policy.input.tosca.json +++ b/models-examples/src/main/resources/policies/usecases.native.controller.policy.input.tosca.json @@ -15,7 +15,7 @@ "controllerName": "usecases", "sourceTopics": [ { - "topicName": "DCAE_TOPIC", + "topicName": "dcae_topic", "events": [ { "eventClass": "org.onap.policy.controlloop.CanonicalOnset", @@ -36,7 +36,7 @@ ] }, { - "topicName": "APPC-CL", + "topicName": "appc-cl", "events": [ { "eventClass": "org.onap.policy.appc.Response", @@ -49,7 +49,7 @@ ] }, { - "topicName": "APPC-LCM-WRITE", + "topicName": "appc-lcm-write", "events": [ { "eventClass": "org.onap.policy.appclcm.AppcLcmMessageWrapper", @@ -62,7 +62,7 @@ ] }, { - "topicName": "SDNR-CL-RSP", + "topicName": "sdnr-cl-rsp", "events": [ { "eventClass": "org.onap.policy.sdnr.PciResponseWrapper", @@ -77,7 +77,7 @@ ], "sinkTopics": [ { - "topicName": "APPC-CL", + "topicName": "appc-cl", "events": [ { "eventClass": "org.onap.policy.appc.Request", @@ -89,7 +89,7 @@ ] }, { - "topicName": "APPC-LCM-READ", + "topicName": "appc-lcm-read", "events": [ { "eventClass": "org.onap.policy.appclcm.AppcLcmMessageWrapper", @@ -101,7 +101,7 @@ ] }, { - "topicName": "POLICY-CL-MGT", + "topicName": "policy-cl-mgt", "events": [ { "eventClass": "org.onap.policy.controlloop.VirtualControlLoopNotification", @@ -113,7 +113,7 @@ ] }, { - "topicName": "DCAE_CL_RSP", + "topicName": "dcae_cl_rsp", "events": [ { "eventClass": "org.onap.policy.controlloop.ControlLoopResponse", diff --git a/models-examples/src/main/resources/policies/usecases.native.controller.policy.input.tosca.yaml b/models-examples/src/main/resources/policies/usecases.native.controller.policy.input.tosca.yaml index 950b49308..6abb81bd0 100644 --- a/models-examples/src/main/resources/policies/usecases.native.controller.policy.input.tosca.yaml +++ b/models-examples/src/main/resources/policies/usecases.native.controller.policy.input.tosca.yaml @@ -11,7 +11,7 @@ topology_template: properties: controllerName: usecases sourceTopics: - - topicName: DCAE_TOPIC + - topicName: dcae_topic events: - eventClass: org.onap.policy.controlloop.CanonicalOnset eventFilter: '[?($.closedLoopEventStatus == ''ONSET'')]' @@ -23,21 +23,21 @@ topology_template: customSerialization: customSerializerClass: org.onap.policy.controlloop.util.Serialization jsonParser: gson - - topicName: APPC-CL + - topicName: appc-cl events: - eventClass: org.onap.policy.appc.Response eventFilter: '[?($.CommonHeader && $.Status)]' customSerialization: customSerializerClass: org.onap.policy.appc.util.Serialization jsonParser: gsonPretty - - topicName: APPC-LCM-WRITE + - topicName: appc-lcm-write events: - eventClass: org.onap.policy.appclcm.AppcLcmMessageWrapper eventFilter: '[?($.type == ''response'')]' customSerialization: customSerializerClass: org.onap.policy.appclcm.util.Serialization jsonParser: gson - - topicName: SDNR-CL-RSP + - topicName: sdnr-cl-rsp events: - eventClass: org.onap.policy.sdnr.PciResponseWrapper eventFilter: '[?($.type == ''response'')]' @@ -45,25 +45,25 @@ topology_template: customSerializerClass: org.onap.policy.sdnr.util.Serialization jsonParser: gson sinkTopics: - - topicName: APPC-CL + - topicName: appc-cl events: - eventClass: org.onap.policy.appc.Request customSerialization: customSerializerClass: org.onap.policy.appc.util.Serialization jsonParser: gsonPretty - - topicName: APPC-LCM-READ + - topicName: appc-lcm-read events: - eventClass: org.onap.policy.appclcm.AppcLcmMessageWrapper customSerialization: customSerializerClass: org.onap.policy.appclcm.util.Serialization jsonParser: gson - - topicName: POLICY-CL-MGT + - topicName: policy-cl-mgt events: - eventClass: org.onap.policy.controlloop.VirtualControlLoopNotification customSerialization: customSerializerClass: org.onap.policy.controlloop.util.Serialization jsonParser: gsonPretty - - topicName: DCAE_CL_RSP + - topicName: dcae_cl_rsp events: - eventClass: org.onap.policy.controlloop.ControlLoopResponse customSerialization: |