From: ToineSiebelink Date: Wed, 30 Jul 2025 14:29:55 +0000 (+0100) Subject: Ignore SonarQube Deprecation Warnings X-Git-Tag: 3.7.0~3 X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=ad0686279b807ed77b80635c73f29bed14cc1cc1;p=cps.git Ignore SonarQube Deprecation Warnings - Supressed warning for DeprecationHelper#mapOldConditionProperties - Actual removal will be done later as part of CPS-2914 Issue-Id: CPS-2914 Change-Id: I3ca9a6f1754af5c34e7925ab76484aaceb482474 Signed-off-by: ToineSiebelink --- diff --git a/cps-ncmp-rest/src/main/java/org/onap/cps/ncmp/rest/controller/NetworkCmProxyController.java b/cps-ncmp-rest/src/main/java/org/onap/cps/ncmp/rest/controller/NetworkCmProxyController.java index fd4ced3f74..7977991476 100644 --- a/cps-ncmp-rest/src/main/java/org/onap/cps/ncmp/rest/controller/NetworkCmProxyController.java +++ b/cps-ncmp-rest/src/main/java/org/onap/cps/ncmp/rest/controller/NetworkCmProxyController.java @@ -258,7 +258,7 @@ public class NetworkCmProxyController implements NetworkCmProxyApi { * @return collection of cm handles */ @Override - @SuppressWarnings("deprecation") // mapOldConditionProperties method will be removed in Release 12 + @SuppressWarnings("deprecation") // mapOldConditionProperties method will be removed in Release 17 @CountCmHandleSearchExecution(methodName = "searchCmHandles", interfaceName = "CPS-E-05", description = "Search for cm handles within CPS-E-05 interface") public ResponseEntity> searchCmHandles( diff --git a/cps-ncmp-rest/src/main/java/org/onap/cps/ncmp/rest/controller/NetworkCmProxyInventoryController.java b/cps-ncmp-rest/src/main/java/org/onap/cps/ncmp/rest/controller/NetworkCmProxyInventoryController.java index 950fb884a5..c0744e91eb 100644 --- a/cps-ncmp-rest/src/main/java/org/onap/cps/ncmp/rest/controller/NetworkCmProxyInventoryController.java +++ b/cps-ncmp-rest/src/main/java/org/onap/cps/ncmp/rest/controller/NetworkCmProxyInventoryController.java @@ -87,6 +87,7 @@ public class NetworkCmProxyInventoryController implements NetworkCmProxyInventor * @return collection of cm handles */ @Override + @SuppressWarnings("deprecation") // mapOldConditionProperties method will be removed in Release 17 public ResponseEntity> searchCmHandles( final CmHandleQueryParameters cmHandleQueryParameters, final Boolean outputDmiProperties) {