Ignore SonarQube Deprecation Warnings 07/141607/2
authorToineSiebelink <toine.siebelink@est.tech>
Wed, 30 Jul 2025 14:29:55 +0000 (15:29 +0100)
committerToine Siebelink <toine.siebelink@est.tech>
Wed, 30 Jul 2025 14:33:54 +0000 (14:33 +0000)
- 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 <toine.siebelink@est.tech>
cps-ncmp-rest/src/main/java/org/onap/cps/ncmp/rest/controller/NetworkCmProxyController.java
cps-ncmp-rest/src/main/java/org/onap/cps/ncmp/rest/controller/NetworkCmProxyInventoryController.java

index fd4ced3..7977991 100644 (file)
@@ -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<List<RestOutputCmHandle>> searchCmHandles(
index 950fb88..c0744e9 100644 (file)
@@ -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<List<RestOutputCmHandle>> searchCmHandles(
             final CmHandleQueryParameters cmHandleQueryParameters,
             final Boolean outputDmiProperties) {