[TECHDEBT] Align CPS NCMP REST API Specification and Implementation 47/126847/3 mr/823/126847/3
authorJosephKeenan <joseph.keenan@est.tech>
Fri, 28 Jan 2022 11:22:22 +0000 (11:22 +0000)
committerJosephKeenan <joseph.keenan@est.tech>
Fri, 28 Jan 2022 16:14:47 +0000 (16:14 +0000)
commit71b072f3605b0b63d35e0db78e4c5903dc9a6c21
tree475bdab4acf7d40a2a0842439471514d725c6799
parent63132cec2c18363a8224646039cc23b6144d8e6c
[TECHDEBT] Align CPS NCMP REST API Specification and Implementation

- Updated ncmp.yml to align implementation with specification
- Added new Exception classes to differentiate between server NCMP
  issues and client based NCMP issues
- Added 500 error to specification
- To be merged after https://gerrit.onap.org/r/c/cps/+/126848

Signed-off-by: JosephKeenan <joseph.keenan@est.tech>
Change-Id: If1c9c6c29c6ea2daa07753d7f766ef15c1ba4ca0
cps-ncmp-rest/docs/openapi/components.yaml
cps-ncmp-rest/docs/openapi/ncmp-inventory.yml
cps-ncmp-rest/docs/openapi/ncmp.yml
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/impl/exception/DmiRequestException.java [new file with mode: 0644]
cps-ncmp-service/src/main/java/org/onap/cps/ncmp/api/impl/exception/ServerNcmpException.java [new file with mode: 0644]
cps-ncmp-service/src/main/java/org/onap/cps/ncmp/api/models/DmiPluginRegistration.java
cps-ncmp-service/src/test/groovy/org/onap/cps/ncmp/api/impl/NetworkCmProxyDataServiceImplRegistrationSpec.groovy
cps-ncmp-service/src/test/groovy/org/onap/cps/ncmp/api/impl/NetworkCmProxyDataServiceImplSpec.groovy