294dcdf42fc1a5590424751d305e95868098cfa7
[policy/api.git] / main / src / test / resources / policytypes / onap.policies.optimization.SubscriberPolicy.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: a base policy type for all policies that govern optimization
7     - onap.policies.optimization.SubscriberPolicy:
8         derived_from: onap.policies.Optimization
9         properties:
10             policyScope:
11                 type: list
12                 description: scope where the policy is applicable
13                 required: true
14                 matchable: true
15                 entry_schema:
16                     type: string
17             policyType:
18                 type: list
19                 description: type of a policy
20                 required: true
21                 matchable: true
22                 entry_schema:
23                     type: string
24                     constraints:
25                     -   valid_values:
26                         - subscriberPolicy
27             identity:
28                 type: string
29                 required: true
30             properties:
31                 type: policy.data.properties_properties
32                 required: true
33 data_types:
34   -
35     policy.data.properties_properties:
36         derived_from: tosca.nodes.Root
37         properties:
38             subscriberName:
39                 type: list
40                 required: true
41                 entry_schema:
42                     type: string
43             subscriberRole:
44                 type: list
45                 required: true
46                 entry_schema:
47                     type: string
48             provStatus:
49                 type: list
50                 required: true
51                 entry_schema:
52                     type: string