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.controlloop.guard.FrequencyLimiter.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.controlloop.guard.FrequencyLimiter.yaml')
-rw-r--r-- | models-examples/src/main/resources/policytypes/onap.policies.controlloop.guard.FrequencyLimiter.yaml | 76 |
1 files changed, 38 insertions, 38 deletions
diff --git a/models-examples/src/main/resources/policytypes/onap.policies.controlloop.guard.FrequencyLimiter.yaml b/models-examples/src/main/resources/policytypes/onap.policies.controlloop.guard.FrequencyLimiter.yaml index 2a7b6247f..45e5471fc 100644 --- a/models-examples/src/main/resources/policytypes/onap.policies.controlloop.guard.FrequencyLimiter.yaml +++ b/models-examples/src/main/resources/policytypes/onap.policies.controlloop.guard.FrequencyLimiter.yaml @@ -1,50 +1,50 @@ tosca_definitions_version: tosca_simple_yaml_1_0_0 policy_types: - - onap.policies.controlloop.Guard: + onap.policies.controlloop.Guard: derived_from: tosca.policies.Root version: 1.0.0 description: Guard Policies for Control Loop Operational Policies - - onap.policies.controlloop.guard.FrequencyLimiter: + onap.policies.controlloop.guard.FrequencyLimiter: derived_from: onap.policies.controlloop.Guard version: 1.0.0 description: Supports limiting the frequency of actions being taken by a Actor. properties: - frequency_policy: - type: map - description: - entry_schema: - type: onap.datatypes.guard.FrequencyLimiter + frequency_policy: + type: map + description: null + entry_schema: + type: onap.datatypes.guard.FrequencyLimiter data_types: - - onap.datatypes.guard.FrequencyLimiter: + onap.datatypes.guard.FrequencyLimiter: derived_from: tosca.datatypes.Root properties: - actor: - type: string - description: Specifies the Actor - required: true - recipe: - type: string - description: Specified the Recipe - required: true - time_window: - type: scalar-unit.time - description: The time window to count the actions against. - required: true - limit: - type: integer - description: The limit - required: true - constraints: - - greater_than: 0 - time_range: - type: tosca.datatypes.TimeInterval - description: An optional range of time during the day the frequency is valid for. - required: false - controlLoopName: - type: string - description: An optional specific control loop to apply this guard to. - required: false - target: - type: string - description: An optional specific VNF to apply this guard to. - required: false
\ No newline at end of file + actor: + type: string + description: Specifies the Actor + required: true + recipe: + type: string + description: Specified the Recipe + required: true + time_window: + type: scalar-unit.time + description: The time window to count the actions against. + required: true + limit: + type: integer + description: The limit + required: true + constraints: + - greater_than: 0 + time_range: + type: tosca.datatypes.TimeInterval + description: An optional range of time during the day the frequency is valid for. + required: false + controlLoopName: + type: string + description: An optional specific control loop to apply this guard to. + required: false + target: + type: string + description: An optional specific VNF to apply this guard to. + required: false
\ No newline at end of file |