diff options
author | 2022-02-08 23:02:27 +0530 | |
---|---|---|
committer | 2022-02-14 20:13:50 +0530 | |
commit | f7cb11a5d53d4964c236a6ecb2e2f4264f2437fd (patch) | |
tree | 053350881ae064315c729e58d48f09f41c358ab5 /cps-ncmp-rest/src/main/java/org | |
parent | d6578881eae5c7fb6f0731fad382b05ab2a4f8a6 (diff) |
Improve logging in NCMP
- Code to change to apply logs at runtime
- Fix for minor code smell
Issue-ID: CPS-855
Signed-off-by: sourabh_sourabh <sourabh.sourabh@est.tech>
Change-Id: I93a556fe0fb7ca05a42e84eb5ec4f84afaa8fd92
Diffstat (limited to 'cps-ncmp-rest/src/main/java/org')
-rwxr-xr-x | cps-ncmp-rest/src/main/java/org/onap/cps/ncmp/rest/exceptions/NetworkCmProxyRestExceptionHandler.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/cps-ncmp-rest/src/main/java/org/onap/cps/ncmp/rest/exceptions/NetworkCmProxyRestExceptionHandler.java b/cps-ncmp-rest/src/main/java/org/onap/cps/ncmp/rest/exceptions/NetworkCmProxyRestExceptionHandler.java index 8c6f9f1d7..d3450e596 100755 --- a/cps-ncmp-rest/src/main/java/org/onap/cps/ncmp/rest/exceptions/NetworkCmProxyRestExceptionHandler.java +++ b/cps-ncmp-rest/src/main/java/org/onap/cps/ncmp/rest/exceptions/NetworkCmProxyRestExceptionHandler.java @@ -20,6 +20,8 @@ package org.onap.cps.ncmp.rest.exceptions; +import lombok.AccessLevel; +import lombok.NoArgsConstructor; import lombok.extern.slf4j.Slf4j; import org.onap.cps.ncmp.api.impl.exception.DmiRequestException; import org.onap.cps.ncmp.api.impl.exception.NcmpException; @@ -37,6 +39,7 @@ import org.springframework.web.bind.annotation.RestControllerAdvice; */ @Slf4j @RestControllerAdvice(assignableTypes = {NetworkCmProxyController.class}) +@NoArgsConstructor(access = AccessLevel.PACKAGE) public class NetworkCmProxyRestExceptionHandler { private static final String CHECK_LOGS_FOR_DETAILS = "Check logs for details."; |