[BUG] Fix handling of special characters in moduleSetTag 98/138398/2
authordanielhanrahan <daniel.hanrahan@est.tech>
Fri, 5 Jul 2024 12:20:31 +0000 (13:20 +0100)
committerdanielhanrahan <daniel.hanrahan@est.tech>
Fri, 5 Jul 2024 12:39:49 +0000 (13:39 +0100)
commit8b6882c68290520fe238562d0bd3739de61beaef
treea18a29be634ff9392f0c2b648076ad0a8e1b6fa6
parentc1c26ec8a97ce7de7d976665ae0c147fbf9ad80d
[BUG] Fix handling of special characters in moduleSetTag

During CM-handle registration, moduleSetTag is sent as part of the
JSON request body when getting modules from DMI. However, it
incorrectly parses the moduleSetTag as JSON, instead of encoding to
JSON. This results in parsing errors when moduleSetTag includes
characters such as ':'

Issue-ID: CPS-2302
Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech>
Change-Id: Ie38008e0effac2423a4d069a91587e47d8747d66
cps-ncmp-service/src/main/java/org/onap/cps/ncmp/impl/inventory/sync/DmiModelOperations.java
cps-ncmp-service/src/test/groovy/org/onap/cps/ncmp/impl/inventory/sync/DmiModelOperationsSpec.groovy
docs/release-notes.rst