Integrate using Policy Type to find Matchable
[policy/xacml-pdp.git] / applications / common / src / test / resources / matchable / onap.policies.Test-1.0.0.yaml
diff --git a/applications/common/src/test/resources/matchable/onap.policies.Test-1.0.0.yaml b/applications/common/src/test/resources/matchable/onap.policies.Test-1.0.0.yaml
new file mode 100644 (file)
index 0000000..089aad6
--- /dev/null
@@ -0,0 +1,38 @@
+tosca_definitions_version: tosca_simple_yaml_1_0_0
+policy_types:
+    onap.policies.Test:
+        derived_from: tosca.policies.Root
+        version: 1.0.0
+        properties:
+            nonmatachableString:
+                type: string
+            matchableString:
+                type: string
+                metadata:
+                   matchable: true
+            nonmatachableInteger:
+                type: integer
+                metadata:
+                   matchable: false
+            matachableInteger:
+                type: integer
+                metadata:
+                   matchable: true
+            nonmatachableDouble:
+                type: double
+            matchableDouble:
+                type: double
+                metadata:
+                   matchable: true
+            nonmatachableBoolean:
+                type: boolean
+            matachableBoolean:
+                type: boolean
+                metadata:
+                   matchable: true
+            matchableListString:
+                type: list
+                metadata:
+                   matchable: true
+                entry_schema:
+                   type: string
\ No newline at end of file