Add Error messages in rest response 24/11624/2
authoraravind.est <aravindhan.a@est.tech>
Wed, 16 Aug 2023 15:40:01 +0000 (16:40 +0100)
committerJohn Keeney <john.keeney@est.tech>
Mon, 21 Aug 2023 15:04:19 +0000 (15:04 +0000)
commitd01a7931b29554786a41c7212ba00fdc810a80a7
treec6bdb93569e53224f966e345429496b4461b9ec1
parentc128f98cacc3823b8e01070a2be98720a2b2be7c
Add Error messages in rest response

Include messages on the http response in the controller.

Issue-ID: NONRTRIC-905
Signed-off-by: aravind.est <aravindhan.a@est.tech>
Change-Id: Icd0e5079a7f3eda38da725fff4d3e75bf41dcce1
rapp-manager-application/src/main/java/com/oransc/rappmanager/rest/RappController.java
rapp-manager-application/src/main/java/com/oransc/rappmanager/rest/RappInstanceController.java
rapp-manager-application/src/test/java/com/oransc/rappmanager/rest/RappControllerTest.java
rapp-manager-models/src/main/java/com/oransc/rappmanager/models/exception/ErrorResponse.java [new file with mode: 0755]
rapp-manager-models/src/main/java/com/oransc/rappmanager/models/exception/ExceptionControllerHandler.java [new file with mode: 0755]
rapp-manager-models/src/main/java/com/oransc/rappmanager/models/exception/RappHandlerException.java [new file with mode: 0755]