diff options
author | Toine Siebelink <toine.siebelink@est.tech> | 2024-11-07 09:57:13 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2024-11-07 09:57:13 +0000 |
commit | b718a200ee1da4b65ce87ea2a004317a363fdcb3 (patch) | |
tree | 6ad9e676b91f57263237855df33b599cc76b3322 /cps-ncmp-rest/src/main | |
parent | 3399fdea15b9c7e6d05148f82f9ceeeee813b84a (diff) | |
parent | 9eeb8e9641163e1c7fc9bba85fedaa965a5d7e2f (diff) |
Merge "Removing ONAP O-Parent as parent from CPS"
Diffstat (limited to 'cps-ncmp-rest/src/main')
-rw-r--r-- | cps-ncmp-rest/src/main/java/org/onap/cps/ncmp/rest/util/DeprecationHelper.java | 17 |
1 files changed, 11 insertions, 6 deletions
diff --git a/cps-ncmp-rest/src/main/java/org/onap/cps/ncmp/rest/util/DeprecationHelper.java b/cps-ncmp-rest/src/main/java/org/onap/cps/ncmp/rest/util/DeprecationHelper.java index 7492c1fcac..f5804d73ad 100644 --- a/cps-ncmp-rest/src/main/java/org/onap/cps/ncmp/rest/util/DeprecationHelper.java +++ b/cps-ncmp-rest/src/main/java/org/onap/cps/ncmp/rest/util/DeprecationHelper.java @@ -36,13 +36,19 @@ public class DeprecationHelper { private final JsonObjectMapper jsonObjectMapper; /** - * Convert the old condition properties to the new schema. - * !!! remove it after the old condition removed !!! - * it only works for module names + * Converts the old condition properties from {@link CmHandleQueryParameters} + * to the new schema defined in {@link CmHandleQueryApiParameters}. * - * @deprecated this method will be removed in Release 12 (No Name know yet) + * <p>This method transforms the old module name-based condition properties to the new format. + * It should only be used for backward compatibility until the old conditions + * are removed in future releases. * - * @param cmHandleQueryParameters the original input parameter + * <p><b>Important:</b> This method will be removed in next release(release name not finalized yet).</p> + * + * @param cmHandleQueryParameters the original query parameters containing old condition properties + * @return an instance of {@link CmHandleQueryApiParameters} with the transformed condition properties + * @deprecated This method is deprecated and will be removed in Release 12. + * Use the new condition handling approach instead. */ @Deprecated public CmHandleQueryApiParameters mapOldConditionProperties( @@ -69,7 +75,6 @@ public class DeprecationHelper { } ); } - return cmHandleQueryApiParameters; } } |