7d1262b7ddb2bd3238d36777073e36dc96106fea
[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.NoVersion:
4       derived_from: onap.policies.Optimization
5       properties:
6          applicableResources:
7             type: list
8             required: true
9             entry_schema:
10                type: string
11                constraints:
12                -  valid_values:
13                   - any
14                   - all
15          affinityProperties:
16             type: policy.data.affinityProperties_properties
17             required: true
18 data_types:
19    policy.data.affinityProperties_properties:
20       derived_from: tosca.nodes.Root
21       properties:
22          qualifier:
23             type: string
24             constraints:
25             -  valid_values:
26                - same
27                - different
28          category:
29             type: string
30             required: true