Address Sonar Qube issues 58/124358/6
authorToineSiebelink <toine.siebelink@est.tech>
Mon, 20 Sep 2021 12:29:09 +0000 (13:29 +0100)
committerToineSiebelink <toine.siebelink@est.tech>
Tue, 21 Sep 2021 09:29:52 +0000 (10:29 +0100)
commit4f736db2a0ab0df49b5cae6599da8e655c5ea8cd
tree5f9bc85212bcd9c4cae11b2d4705a4569714180b
parente896016a3bde25d1a83e7bc368dbf267f1b1ac57
Address Sonar Qube issues

- Add some basic test for missed coverage
- Refactored NetworkCmProxyDataServiceImpl to addres duplcaied code and code coverage
- Increased Coverage treshold where possible

Issue-ID: CPS-475
Signed-off-by: ToineSiebelink <toine.siebelink@est.tech>
Change-Id: Id05f41ac242aeaf57606748009c0e370199e054f
cps-ncmp-rest/pom.xml
cps-ncmp-rest/src/test/groovy/org/onap/cps/ncmp/rest/exceptions/NetworkCmProxyRestExceptionHandlerSpec.groovy
cps-ncmp-service/pom.xml
cps-ncmp-service/src/main/java/org/onap/cps/ncmp/api/impl/NetworkCmProxyDataServiceImpl.java
cps-ncmp-service/src/test/groovy/org/onap/cps/ncmp/api/impl/NetworkCmProxyDataServiceImplSpec.groovy
cps-ncmp-service/src/test/groovy/org/onap/cps/ncmp/api/impl/client/DmiRestClientSpec.groovy
cps-ncmp-service/src/test/groovy/org/onap/cps/ncmp/api/impl/config/NcmpConfigurationSpec.groovy
cps-ncmp-service/src/test/groovy/org/onap/cps/ncmp/api/models/YangResourceTest.groovy [new file with mode: 0644]