Adding controller exception handling 33/133033/1
authorwaqas.ikram <waqas.ikram@est.tech>
Thu, 26 Jan 2023 11:29:08 +0000 (11:29 +0000)
committerwaqas.ikram <waqas.ikram@est.tech>
Thu, 26 Jan 2023 11:37:56 +0000 (11:37 +0000)
commit5789cdb2073db0a01fce9474affdb58230c71c46
tree3d10f53306be877feddf0e1cb8d7a54d1fb86b95
parent7d2b19e9b65c045675381b5f352e67650bdd068d
Adding controller exception handling

and fixing code smells

Change-Id: Icd5c64b910eeae0a063466f3f996e0292d02a2f9
Issue-ID: SO-4068
Signed-off-by: waqas.ikram <waqas.ikram@est.tech>
so-cnfm/so-cnfm-lcm/so-cnfm-lcm-application/src/main/java/org/onap/so/cnfm/lcm/app/DefaultToShortClassNameBeanNameGenerator.java
so-cnfm/so-cnfm-lcm/so-cnfm-lcm-service/src/main/java/org/onap/so/cnfm/lcm/rest/AsLcmOperationOccurrencesController.java
so-cnfm/so-cnfm-lcm/so-cnfm-lcm-service/src/main/java/org/onap/so/cnfm/lcm/rest/exceptions/AsLcmControllerExceptionHandler.java [new file with mode: 0644]
so-cnfm/so-cnfm-lcm/so-cnfm-lcm-service/src/main/java/org/onap/so/cnfm/lcm/rest/exceptions/AsLcmOpOccControllerExceptionHandler.java [new file with mode: 0644]
so-cnfm/so-cnfm-lcm/so-cnfm-lcm-service/src/main/java/org/onap/so/cnfm/lcm/rest/exceptions/AsLcmOpOccStatusNotFoundException.java [new file with mode: 0644]
so-cnfm/so-cnfm-lcm/so-cnfm-lcm-service/src/test/java/org/onap/so/cnfm/lcm/rest/AsLcmOperationOccurrencesControllerTest.java