Unit/SONAR/Checkstyle in ONAP-REST 84/98984/2
authorliamfallon <liam.fallon@est.tech>
Sun, 1 Dec 2019 21:44:47 +0000 (21:44 +0000)
committerliamfallon <liam.fallon@est.tech>
Mon, 2 Dec 2019 16:24:42 +0000 (16:24 +0000)
commit51d9bb17422ae08042971e9cb87bd6a2576a5cdb
treeab8b289a89e02bafb402e75ef9f0e619d8ef76b5
parent58c44ae81489deca05f57812c19f25c3897fe57a
Unit/SONAR/Checkstyle in ONAP-REST

Util package of ONAP-REST, with JUnit added and
SONAR/Checkstyle issues addressed. Coverage increased from 51% to 73% in
large PolicyValidation class.

Issue-ID: POLICY-2131
Change-Id: Iffa90e2dfa155d3e9cac114032fb9ca0df2cbab0
Signed-off-by: liamfallon <liam.fallon@est.tech>
ONAP-REST/src/main/java/org/onap/policy/rest/util/PolicyValidation.java
ONAP-REST/src/test/java/org/onap/policy/rest/util/PolicyValidationTest.java
ONAP-REST/src/test/resources/policies/MicroServicePolicyContent0.json [new file with mode: 0644]
ONAP-REST/src/test/resources/policies/MicroServicePolicyContent1.json [new file with mode: 0644]

© 2017 ONAP. Copyright © The Linux Foundation ®. All Rights Reserved.
The Linux Foundation has registered trademarks and uses trademarks.
For a list of trademarks of The Linux Foundation, please see our Trademark Usage page.
Linux is a registered trademark of Linus Torvalds.
Privacy Policy and Terms of Use