REST level exception handling cleanup 99/115499/2
authorRuslan Kashapov <ruslan.kashapov@pantheon.tech>
Mon, 30 Nov 2020 07:45:09 +0000 (09:45 +0200)
committerRuslan Kashapov <ruslan.kashapov@pantheon.tech>
Mon, 30 Nov 2020 07:51:28 +0000 (09:51 +0200)
commit828136eb69a7b53939083b25f7c18a9ccb865376
tree62ba4f9edac9ccb0ca209fd527a7f847b301fba0
parente731118eca0540792a140803f18c298fb3be132d
REST level exception handling cleanup

- removed direct handling of persistence exceptions
- error message model is now described via OpenAPI config

Issue-ID: CPS-79
Change-Id: Ib460b020ae9c650e1f81b46ab01dab641c953170
Signed-off-by: Ruslan Kashapov <ruslan.kashapov@pantheon.tech>
cps-rest/docs/api/swagger/openapi.yml
cps-rest/src/main/java/org/onap/cps/rest/exceptions/CpsRestExceptionHandler.java
cps-rest/src/main/java/org/onap/cps/rest/exceptions/ErrorMessage.java [deleted file]