summaryrefslogtreecommitdiffstats
path: root/feature-lifecycle/src/test/resources
diff options
context:
space:
mode:
authorjhh <jorge.hernandez-herrero@att.com>2020-04-14 12:36:49 -0500
committerjhh <jorge.hernandez-herrero@att.com>2020-04-14 12:42:59 -0500
commit09f593ae4faca45070f26a5eaafd765eadb08801 (patch)
tree4f3ecdaf406f47d9c8f49aed3e81b4fad0a438b0 /feature-lifecycle/src/test/resources
parent0eebda49d2a552edd3f202bd5b50af923f123ace (diff)
native controller generates invalid properties
Additional instrumetation and tests have been added as well. Issue-ID: POLICY-2489 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Change-Id: I65df586f3a44acf3d6f825ebfb8bd73107255a1f Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
Diffstat (limited to 'feature-lifecycle/src/test/resources')
-rw-r--r--feature-lifecycle/src/test/resources/tosca-policy-native-controller-example.json18
1 files changed, 5 insertions, 13 deletions
diff --git a/feature-lifecycle/src/test/resources/tosca-policy-native-controller-example.json b/feature-lifecycle/src/test/resources/tosca-policy-native-controller-example.json
index 2b98a242..642ecc0e 100644
--- a/feature-lifecycle/src/test/resources/tosca-policy-native-controller-example.json
+++ b/feature-lifecycle/src/test/resources/tosca-policy-native-controller-example.json
@@ -18,15 +18,11 @@
"topicName": "DCAE_TOPIC",
"events": [
{
- "eventClass": "org.onap.policy.controlloop.CanonicalOnset",
- "eventFilter": "[?($.closedLoopEventStatus == 'ONSET')]",
- "customSerialization": {
- "customSerializerClass": "org.onap.policy.controlloop.util.Serialization",
- "jsonParser": "gson"
- }
+ "eventClass": "java.util.HashMap",
+ "eventFilter": "[?($.closedLoopEventStatus == 'ONSET')]"
},
{
- "eventClass": "org.onap.policy.controlloop.CanonicalAbated",
+ "eventClass": "java.util.HashMap",
"eventFilter": "[?($.closedLoopEventStatus == 'ABATED')]"
}
]
@@ -37,12 +33,8 @@
"topicName": "APPC-CL",
"events": [
{
- "eventClass": "org.onap.policy.appc.Response",
- "eventFilter": "[?($.CommonHeader && $.Status)]",
- "customSerialization": {
- "customSerializerClass": "org.onap.policy.appc.util.Serialization",
- "jsonParser": "gsonPretty"
- }
+ "eventClass": "java.util.HashMap",
+ "eventFilter": "[?($.CommonHeader && $.Status)]"
}
]
}