From a0ad29cdb6d6f541aac59f9e265f79d3ad085560 Mon Sep 17 00:00:00 2001 From: Pamela Dragosh Date: Sun, 8 Mar 2020 10:41:26 -0400 Subject: 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 --- applications/guard/src/test/resources/test-directive.yaml | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 applications/guard/src/test/resources/test-directive.yaml (limited to 'applications/guard/src/test/resources/test-directive.yaml') diff --git a/applications/guard/src/test/resources/test-directive.yaml b/applications/guard/src/test/resources/test-directive.yaml new file mode 100644 index 00000000..44dfa74b --- /dev/null +++ b/applications/guard/src/test/resources/test-directive.yaml @@ -0,0 +1,4 @@ +controlLoop: + - cl1 + - cl2 +directive: whatisthisvaluesupposedtobe -- cgit 1.2.3-korg