Implement DMI Registration (NCMP-Side) 18/122418/22
authorDylanB95EST <dylan.byrne@est.tech>
Fri, 2 Jul 2021 12:30:42 +0000 (13:30 +0100)
committerDylanB95EST <dylan.byrne@est.tech>
Tue, 3 Aug 2021 15:47:24 +0000 (16:47 +0100)
commit4f4178c7af4ca5571a0813a5c79f35b11c825d35
tree0167aaaf7f51498499acb572c8e7995474b9ac9f
parent15b93e7ad7db7372d51c4c1ad45f95d463aaaffc
Implement DMI Registration (NCMP-Side)

Implementing registration of CM-Handles to NCMP from DMI

CM Handles are Written to fragment tables

Moved NetworkCmProxyDataServiceImplSpec.groovy as it was not in the same
package as the class it was testing. Meaning it didn't cover this when
it came to code coverage

Have included Json structure validation also within open api

Deprecating old API's along with old API Methods

Issue-ID: CPS-442

Change-Id: I819b9bf65280b1d968d3b75ca5ef2f9eb5617579
Signed-off-by: DylanB95EST <dylan.byrne@est.tech>
22 files changed:
cps-ncmp-rest/docs/openapi/components.yaml
cps-ncmp-rest/docs/openapi/ncmproxy.yml
cps-ncmp-rest/docs/openapi/openapi.yml
cps-ncmp-rest/src/main/java/org/onap/cps/ncmp/rest/controller/NetworkCmProxyController.java
cps-ncmp-rest/src/test/groovy/org/onap/cps/ncmp/rest/controller/NetworkCmProxyControllerSpec.groovy
cps-ncmp-rest/src/test/java/org/onap/cps/TestUtils.java [new file with mode: 0644]
cps-ncmp-rest/src/test/resources/dmi-registration.json [new file with mode: 0644]
cps-ncmp-service/pom.xml
cps-ncmp-service/src/main/java/org/onap/cps/ncmp/api/NetworkCmProxyDataService.java
cps-ncmp-service/src/main/java/org/onap/cps/ncmp/api/impl/NetworkCmProxyDataServiceImpl.java
cps-ncmp-service/src/main/java/org/onap/cps/ncmp/api/models/CmHandle.java [new file with mode: 0644]
cps-ncmp-service/src/main/java/org/onap/cps/ncmp/api/models/DmiPluginRegistration.java [new file with mode: 0644]
cps-ncmp-service/src/main/java/org/onap/cps/ncmp/api/models/PersistenceCmHandle.java [new file with mode: 0644]
cps-ncmp-service/src/main/java/org/onap/cps/ncmp/api/models/PersistenceCmHandlesList.java [new file with mode: 0644]
cps-ncmp-service/src/test/groovy/org/onap/cps/ncmp/api/impl/NetworkCmProxyDataServiceImplSpec.groovy [moved from cps-ncmp-service/src/test/groovy/org/onap/cps/api/impl/NetworkCmProxyDataServiceImplSpec.groovy with 69% similarity]
cps-ncmp-service/src/test/resources/application.yml [new file with mode: 0644]
cps-parent/pom.xml
cps-ri/src/main/resources/changelog/changelog-master.yaml
cps-ri/src/main/resources/changelog/db/changes/09-loadData-dmi-registry-schema-set.yaml
cps-ri/src/main/resources/changelog/db/changes/10-loadData-dmi-registry-fragment.yaml [new file with mode: 0644]
cps-ri/src/main/resources/changelog/db/changes/data/dmi/fragment.csv [new file with mode: 0644]
spotbugs/src/main/resources/spotbugs-exclude.xml