diff options
author | liamfallon <liam.fallon@est.tech> | 2019-09-05 21:10:46 +0000 |
---|---|---|
committer | liamfallon <liam.fallon@est.tech> | 2019-09-05 21:10:46 +0000 |
commit | b0e460abe43d40528da4856f2f3d5ee162ac1830 (patch) | |
tree | 6cbacdbe977abab77e2b65d9e62d650d1433c21e /models-examples/src/main/resources/policytypes/onap.policies.Optimization.yaml | |
parent | ff4c8525a70ef5b514d803b5093b91e45564f973 (diff) |
Repair policy types in TOSCA service template
Changed policy types from a list of maps to a map.
Changed data types from a list of maps to a map.
Made all knock on changes to adapters and tests.
Updated Issue ID.
Added
onap.policies.controlloop.guard.coordination.FirstBlocksSecond.yaml
policy type that is required to be preloaded in policy-api.
Issue-ID: POLICY-2047
Change-Id: Ic8e809eab248fd7242f0e565fa2e3da75bcfbdeb
Signed-off-by: liamfallon <liam.fallon@est.tech>
Diffstat (limited to 'models-examples/src/main/resources/policytypes/onap.policies.Optimization.yaml')
-rw-r--r-- | models-examples/src/main/resources/policytypes/onap.policies.Optimization.yaml | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/models-examples/src/main/resources/policytypes/onap.policies.Optimization.yaml b/models-examples/src/main/resources/policytypes/onap.policies.Optimization.yaml new file mode 100644 index 000000000..49470ba3b --- /dev/null +++ b/models-examples/src/main/resources/policytypes/onap.policies.Optimization.yaml @@ -0,0 +1,41 @@ +tosca_definitions_version: tosca_simple_yaml_1_0_0 +policy_types: + onap.policies.Optimization: + derived_from: tosca.policies.Root + version: 1.0.0 + description: The base policy type for all policies that govern optimization + properties: + scope: + description: Scope for the policy - could be for a specific release. + type: list + matchable: true + required: true + services: + description: One or more services that the policy applies to. + type: list + matchable: true + required: true + entry_schema: + type: string + resources: + description: One or more VNF resources that the policy applies to. + type: list + matchable: true + required: true + entry_schema: + type: string + geography: + description: One or more geographic regions + type: list + matchable: true + required: true + entry_schema: + type: string + constraints: + - valid_values: + - US + - International + identity: + description: Used internally for identification + type: string + required: true
\ No newline at end of file |