Adding 'name' to yamls and json in model
[policy/models.git] / models-examples / src / main / resources / policytypes / onap.policies.optimization.service.QueryPolicy.yaml
1 tosca_definitions_version: tosca_simple_yaml_1_1_0
2 policy_types:
3    onap.policies.optimization.service.QueryPolicy:
4       derived_from: onap.policies.optimization.Service
5       version: 1.0.0
6       name: onap.policies.optimization.service.QueryPolicy
7       properties:
8          queryProperties:
9             type: list
10             required: true
11             entry_schema:
12                type: policy.data.queryProperties_properties
13 data_types:
14    policy.data.queryProperties_properties:
15       derived_from: tosca.nodes.Root
16       properties:
17          attribute:
18             type: string
19             required: true
20          value:
21             type: string
22             required: true
23          attribute_location:
24             type: string
25             required: true