2dda556a632420773cd968d00fc5e1654d00a8d4
[policy/models.git] / models-tosca / src / test / resources / onap.policies.NoVersion.yaml
1 tosca_definitions_version: tosca_simple_yaml_1_0_0
2 policy_types:
3    onap.policies.Optimization:
4       derived_from: tosca.policies.Root
5       version: 1.0.0
6       description: The base policy type for all policies that govern optimization
7    onap.policies.NoVersion:
8       derived_from: onap.policies.Optimization
9       version: 0.0.1
10       properties:
11          applicableResources:
12             type: list
13             required: true
14             entry_schema:
15                type: string
16                constraints:
17                -  valid_values:
18                   - any
19                   - all
20          affinityProperties:
21             type: policy.data.affinityProperties_properties
22             required: true
23 data_types:
24    policy.data.affinityProperties_properties:
25       derived_from: tosca.nodes.Root
26       properties:
27          qualifier:
28             type: string
29             constraints:
30             -  valid_values:
31                - same
32                - different
33          category:
34             type: string
35             required: true