Fix bug about custom exceptions not being used 01/50301/7
authorPawelSzalapski <pawel.szalapski@nokia.com>
Tue, 5 Jun 2018 08:54:27 +0000 (10:54 +0200)
committerPawelSzalapski <pawel.szalapski@nokia.com>
Mon, 11 Jun 2018 08:11:41 +0000 (10:11 +0200)
commitb48ea0e307f5977b5d2b9dcc4ebb22a7bc3f1710
treec7a64db3efb07f41fde28e232e47a12c4e620c75
parent071fb8779fd4c8c4abfcb72c1ed266280461bed2
Fix bug about custom exceptions not being used

The bug was that custom exception config was never actually queried
because of the mismatch between the production code usages and .json config file.

Change-Id: I416ef5f45770f9bb55d5dff143277b6c62fa25ba
Issue-ID: DCAEGEN2-518
Signed-off-by: PawelSzalapski <pawel.szalapski@nokia.com>
etc/ExceptionConfig.json [deleted file]
etc/collector.properties
src/main/java/org/onap/dcae/commonFunction/CommonStartup.java
src/main/java/org/onap/dcae/commonFunction/CustomExceptionLoader.java [deleted file]
src/main/java/org/onap/dcae/restapi/ApiException.java [new file with mode: 0644]
src/main/java/org/onap/dcae/restapi/endpoints/EventReceipt.java
src/test/java/org/onap/dcae/commonFunction/ApiExceptionTest.java [new file with mode: 0644]
src/test/java/org/onap/dcae/vestest/TestCustomExceptionLoader.java [deleted file]