Use datatype in matchable translator
[policy/xacml-pdp.git] / applications / common / src / test / resources / matchable / test.policies.input.tosca.yaml
1 tosca_definitions_version: tosca_simple_yaml_1_0_0
2 topology_template:
3     policies:
4     -   Test.policy:
5             type: onap.policies.base.middle.Test
6             type_version: 1.0.0
7             version: 1.0.0
8             metadata:
9                 policy-id: Test.policy
10                 policy-version: 1
11             properties:
12                 baseNoMatch: Do not match the base
13                 baseMatch: base Match
14                 middleNoMatch: Do not match the middle
15                 middleMatch: middle Match
16                 nonmatachableString: I am NON matchable
17                 matchableString: I should be matched
18                 nonmatachableInteger: 0
19                 matachableInteger: 1000
20                 nonmatachableFloat: 0.0
21                 matchableFloat: 1.1
22                 nonmatachableBoolean: false
23                 matachableBoolean: true
24                 nonmatchableListInteger: {0, 1, 2}
25                 matchableListString:
26                 - match A
27                 - match B
28                 propertyOneMap:
29                     oneString: One is NOT matchable
30                     oneStringMatchable: One should be matched
31                     propertyTwoList:
32                     -   twoString: Two is NOT matchable
33                         twoStringMatchable: Two should be matched
34                         propertyThreeMap:
35                             threeString: Three is NOT matchable
36                             threeStringMatchable: Three should be matched