summaryrefslogtreecommitdiffstats
path: root/models-examples/src
diff options
context:
space:
mode:
Diffstat (limited to 'models-examples/src')
-rw-r--r--models-examples/src/main/resources/policies/usecases.native.controller.policy.input.tosca.json16
-rw-r--r--models-examples/src/main/resources/policies/usecases.native.controller.policy.input.tosca.yaml16
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: