diff options
author | Vikas Varma <vv8305@att.com> | 2019-04-22 12:51:59 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2019-04-22 12:51:59 +0000 |
commit | 153223d6c985aba266df11243a0c112cb33377e8 (patch) | |
tree | c33cab3751fc8af2298349ac7801ea0f7cae6a5d /osdf/models/policy/placement/tosca_upload/onap.policies.optimization.QueryPolicy.yaml | |
parent | 9eadcba0fa858a031f6269fc127c9dc738bb7d8b (diff) | |
parent | 3a0866a29f8eb8910e950e699ce71ffacfcf06f7 (diff) |
Merge "Insert tosca models for policy model uploading"
Diffstat (limited to 'osdf/models/policy/placement/tosca_upload/onap.policies.optimization.QueryPolicy.yaml')
-rw-r--r-- | osdf/models/policy/placement/tosca_upload/onap.policies.optimization.QueryPolicy.yaml | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/osdf/models/policy/placement/tosca_upload/onap.policies.optimization.QueryPolicy.yaml b/osdf/models/policy/placement/tosca_upload/onap.policies.optimization.QueryPolicy.yaml new file mode 100644 index 0000000..f7036dc --- /dev/null +++ b/osdf/models/policy/placement/tosca_upload/onap.policies.optimization.QueryPolicy.yaml @@ -0,0 +1,47 @@ +tosca_definitions_version: tosca_simple_yaml_1_0_0 +policy_types: + - onap.policies.Optimization: + derived_from: tosca.policies.Root + version: 1.0.0 + description: a base policy type for all policies that govern optimization + - onap.policies.optimization.QueryPolicy: + derived_from: onap.policies.Optimization + properties: + policyScope: + type: list + description: scope where the policy is applicable + required: true + matchable: true + entry_schema: + type: string + policyType: + type: list + description: type of a policy + required: true + matchable: true + entry_schema: + type: string + consraints: + - valid_values: + - request_param_query + identity: + type: string + required: true + queryProperties: + type: list + required: true + entry_schema: + type:policy.data.queryProperties_properties +data_types: + policy.data.queryProperties_properties: + derived_from: tosca.nodes.Root + properties: + attribute: + type: string + required: true + value: + type: string + required: true + attribute_location: + type: string + required: true |