Unit/SONAR/Checkstyle in ONAP-REST 11/98611/3
authorliamfallon <liam.fallon@est.tech>
Tue, 19 Nov 2019 12:17:44 +0000 (12:17 +0000)
committerliamfallon <liam.fallon@est.tech>
Tue, 19 Nov 2019 17:23:07 +0000 (17:23 +0000)
commit0a16964d442fca9ee8e628e43e4f2aee5b8fb182
tree099683f09cbd5f4e3bb230cc4947e74313ccc362
parent779125e31adbcc59a9864843b523bd6ed2751cbb
Unit/SONAR/Checkstyle in ONAP-REST

Refactor of the PolicyValidationRequestWrapper class to make it
testable and unit tests for the class.

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