summaryrefslogtreecommitdiffstats
path: root/feature-lifecycle/src/test/resources/tosca-policy-native-controller-foo.json
diff options
context:
space:
mode:
authorjhh <jorge.hernandez-herrero@att.com>2020-03-22 19:37:21 -0500
committerjhh <jorge.hernandez-herrero@att.com>2020-03-22 22:29:07 -0500
commit97e19c931535a5b474d4942a9982f0b7a1cf7414 (patch)
treeea2f83efb976bf7bda159097dbff50c0b99e451a /feature-lifecycle/src/test/resources/tosca-policy-native-controller-foo.json
parentcc69c5a3f56a3e90c17c4fdcf38dc93c37cf93f2 (diff)
Fix op policies distribution to controllers
Fix a bug when distributing a policy to the right controller plus additional junits to catch similar issues. Issue-ID: POLICY-2356 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Change-Id: I25fefa64ad54c55e6516ae18c6895b6de9407419 Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
Diffstat (limited to 'feature-lifecycle/src/test/resources/tosca-policy-native-controller-foo.json')
-rw-r--r--feature-lifecycle/src/test/resources/tosca-policy-native-controller-foo.json21
1 files changed, 21 insertions, 0 deletions
diff --git a/feature-lifecycle/src/test/resources/tosca-policy-native-controller-foo.json b/feature-lifecycle/src/test/resources/tosca-policy-native-controller-foo.json
new file mode 100644
index 00000000..7ee0149b
--- /dev/null
+++ b/feature-lifecycle/src/test/resources/tosca-policy-native-controller-foo.json
@@ -0,0 +1,21 @@
+{
+ "tosca_definitions_version": "tosca_simple_yaml_1_0_0",
+ "topology_template": {
+ "policies": [
+ {
+ "foo.controller": {
+ "type": "onap.policies.native.drools.Controller",
+ "type_version": "1.0.0",
+ "version": "1.0.0",
+ "name": "foo.controller",
+ "metadata": {
+ "policy-id": "foo.controller"
+ },
+ "properties": {
+ "controllerName": "foo"
+ }
+ }
+ }
+ ]
+ }
+} \ No newline at end of file