diff options
author | Pamela Dragosh <pdragosh@research.att.com> | 2020-08-18 12:24:04 -0400 |
---|---|---|
committer | Pamela Dragosh <pdragosh@research.att.com> | 2020-08-18 12:24:08 -0400 |
commit | c663e0061b92542d961db5f88039151acb7f63df (patch) | |
tree | 0bb1f2f61d74f6489ea77a872273b57680e25faa /applications/guard/src/test/resources/test-directive.yaml | |
parent | ad9d827a43211c087fe4bcf575134aea3a5b316e (diff) |
Fix sonar issue and add code coverage
Fixing too much complexity for GuardPolicyRequest by breaking
it up into methods.
Added more code coverage to guard translator.
Added missing code coverage for coordination guard, it was below
66% and there were some trivial fixes that were needed. Seems that
a test resource was never really used, or perhaps got omitted in a
previous review.
Issue-ID: POLICY-2590
Change-Id: I1be4ff166e6c43c1c4ea54fdf7e761e22adcaa2d
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
Diffstat (limited to 'applications/guard/src/test/resources/test-directive.yaml')
-rw-r--r-- | applications/guard/src/test/resources/test-directive.yaml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/applications/guard/src/test/resources/test-directive.yaml b/applications/guard/src/test/resources/test-directive.yaml index 44dfa74b..1f477766 100644 --- a/applications/guard/src/test/resources/test-directive.yaml +++ b/applications/guard/src/test/resources/test-directive.yaml @@ -1,4 +1,4 @@ controlLoop: - cl1 - cl2 -directive: whatisthisvaluesupposedtobe +coordinationFunction: whatisthisvaluesupposedtobe |