Integrate using Policy Type to find Matchable
[policy/xacml-pdp.git] / applications / common / src / test / resources / matchable / test.policies.input.tosca.yaml
diff --git a/applications/common/src/test/resources/matchable/test.policies.input.tosca.yaml b/applications/common/src/test/resources/matchable/test.policies.input.tosca.yaml
new file mode 100644 (file)
index 0000000..434f7a9
--- /dev/null
@@ -0,0 +1,23 @@
+tosca_definitions_version: tosca_simple_yaml_1_0_0
+topology_template:
+  policies:
+    -
+      Test.policy:
+         type: onap.policies.Test
+         type_version: 1.0.0
+         version: 1.0.0
+         metadata:
+             policy-id: Test.policy
+             policy-version: 1
+         properties:
+            nonmatachableString: "I am NON matchable"
+            matchableString: "I should be matched"
+            nonmatachableInteger: 0
+            matachableInteger: 1000
+            nonmatachableDouble: 0.0
+            matchableDouble: 1.1
+            nonmatachableBoolean: false
+            matachableBoolean: true
+            matchableListString:
+               - match A
+               - match B
\ No newline at end of file