[TECHDEBT] Align CPS NCMP REST API Specification and Implementation 23/126723/7 mr/823/126723/7
authorJosephKeenan <joseph.keenan@est.tech>
Thu, 20 Jan 2022 16:30:18 +0000 (16:30 +0000)
committerJosephKeenan <joseph.keenan@est.tech>
Wed, 26 Jan 2022 10:36:17 +0000 (10:36 +0000)
commit38dbf3378f54bdab34de342f736e30160d65353d
treee36b503889fc225adac74af5db122928982da41c
parent9e7559c59342d5e15b7d18066fe615c986c45847
[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

Issue-ID: CPS-823
Signed-off-by: JosephKeenan <joseph.keenan@est.tech>
Change-Id: Ic646db5cc4dfc8d14106c8374b7c62cc9f9ab6e7
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/impl/operations/DmiOperations.java
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/NetworkCmProxyDataServiceImplSpec.groovy