Use datatype in matchable translator
[policy/xacml-pdp.git] / applications / common / src / test / resources / matchable / onap.policies.Test-1.0.0.yaml
1 tosca_definitions_version: tosca_simple_yaml_1_0_0
2 policy_types:
3     onap.policies.Base:
4         derived_from: tosca.policies.Root
5         version: 1.0.0
6         properties:
7             baseNoMatch:
8                 type: string
9             baseMatch:
10                 type: string
11                 metadata:
12                    matchable: true
13     onap.policies.base.Middle:
14         derived_from: onap.policies.Base
15         version: 1.0.0
16         properties:
17             middleNoMatch:
18                 type: string
19             middleMatch:
20                 type: string
21                 metadata:
22                    matchable: true
23     onap.policies.base.middle.Test:
24         derived_from: onap.policies.base.Middle
25         type_version: 1.0.0
26         version: 1.0.0
27         properties:
28             nonmatachableString:
29                 type: string
30             matchableString:
31                 type: string
32                 metadata:
33                    matchable: true
34             nonmatachableInteger:
35                 type: integer
36                 metadata:
37                    matchable: false
38             matachableInteger:
39                 type: integer
40                 metadata:
41                    matchable: true
42             nonmatachableFloat:
43                 type: float
44             matchableFloat:
45                 type: float
46                 metadata:
47                    matchable: true
48             nonmatachableBoolean:
49                 type: boolean
50             matachableBoolean:
51                 type: boolean
52                 metadata:
53                    matchable: true
54             nonmatchableListInteger:
55                 type: list
56                 entry_schema:
57                    type: integer
58             matchableListString:
59                 type: list
60                 metadata:
61                    matchable: true
62                 entry_schema:
63                    type: string
64             propertyOneMap:
65                 type: map
66                 entry_schema:
67                     type: onap.datatype.one
68 data_types:
69     onap.datatype.one:
70         derived_from: tosca.datatypes.Root
71         properties:
72             oneString:
73                 type: string
74             oneStringMatchable:
75                 type: string
76                 metadata:
77                     matchable: true
78             propertyTwoList:
79                 type: list
80                 entry_schema:
81                     type: onap.datatype.two
82     onap.datatype.two:
83         derived_from: tosca.datatypes.Root
84         properties:
85             twoString:
86                 type: string
87             twoStringMatchable:
88                 type: string
89                 metadata:
90                     matchable: true
91             propertyThreeMap:
92                 type: map
93                 entry_schema:
94                     type: onap.datatype.three
95     onap.datatype.three:
96         derived_from: tosca.datatypes.Root
97         properties:
98             threeString:
99                 type: string
100             threeStringMatchable:
101                 type: string
102                 metadata:
103                     matchable: true