diff options
author | Pamela Dragosh <pdragosh@research.att.com> | 2020-03-08 10:41:26 -0400 |
---|---|---|
committer | Pamela Dragosh <pdragosh@research.att.com> | 2020-03-09 14:12:45 -0400 |
commit | a0ad29cdb6d6f541aac59f9e265f79d3ad085560 (patch) | |
tree | e86ea9484f21d56bacf7c7c0d8fd6e85ab3121b3 /applications/guard/src/test/resources/vDNS.policy.guard.frequency.output.tosca.yaml | |
parent | e89d4c2ab8033c9482965f0e2f811e059378d37d (diff) |
Updates to support fixed guard policy types
Because the new TOSCA compliant policy types support required
fields, we can simplify the guard translator to utilize Match
in the target vs the previous complicated Condition usage.
Added test coverage to bump above 90% specifically for the
guard and coordination code.
Added a sonar exclusion for the test module.
Issue-ID: POLICY-2244
Change-Id: Ia90d117bd7b86d28a2268fd5ab8315dce7bf0c12
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
Diffstat (limited to 'applications/guard/src/test/resources/vDNS.policy.guard.frequency.output.tosca.yaml')
-rw-r--r-- | applications/guard/src/test/resources/vDNS.policy.guard.frequency.output.tosca.yaml | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/applications/guard/src/test/resources/vDNS.policy.guard.frequency.output.tosca.yaml b/applications/guard/src/test/resources/vDNS.policy.guard.frequency.output.tosca.yaml deleted file mode 100644 index 506a44ed..00000000 --- a/applications/guard/src/test/resources/vDNS.policy.guard.frequency.output.tosca.yaml +++ /dev/null @@ -1,20 +0,0 @@ -tosca_definitions_version: tosca_simple_yaml_1_0_0 -topology_template: - policies: - - - guard.frequency.scaleout: - type: onap.policies.controlloop.guard.FrequencyLimiter - version: 1.0.0 - metadata: - policy-id: guard.frequency.scaleout - policy-version: 1 - properties: - actor: SO - recipe: VF Module Create - targets: .* - clname: ControlLoop-vDNS-6f37f56d-a87d-4b85-b6a9-cc953cf779b3 - limit: 2 - timeWindow: 10 - timeUnits: minute - guardActiveStart: 00:00:00Z - guardActiveEnd: 23:59:59Z |