Unit/SONAR/Checkstyle in ONAP-REST 91/98891/1
authorliamfallon <liam.fallon@est.tech>
Wed, 27 Nov 2019 11:10:04 +0000 (11:10 +0000)
committerliamfallon <liam.fallon@est.tech>
Wed, 27 Nov 2019 11:10:10 +0000 (11:10 +0000)
commit35f44d97d569ef4da46d17c30cae71e75bcfe0c9
treebe681ec3af44c4f7f8f9eb7676bb05e8784e0dfa
parent9bad71c7150ea6f94b2a08b68f356b4ee96c3d66
Unit/SONAR/Checkstyle in ONAP-REST

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

Issue-ID: POLICY-2131
Change-Id: Ie059db312918021683fe27cc2aaeed86b04046f2
Signed-off-by: liamfallon <liam.fallon@est.tech>
ONAP-REST/src/main/java/org/onap/policy/rest/util/MsModelUtils.java
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/MicroServicePolicy.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