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