-
Sub-task
-
Resolution: Done
-
Medium
-
None
-
None
Investigation:
Yes re-registration can be done after removing of already failed cmhandle from cps using below request to ncmp.
curl --location --request POST 'http://172.17.0.1:8883/ncmpInventory/v1/ch' \ --header 'Authorization: Basic Y3BzdXNlcjpjcHNyMGNrcyE=' \ --header 'Content-Type: application/json' \ --header 'Cookie: JSESSIONID=node0piur5vxwaqls1p462vukie1515.node0' \ --data-raw '{ "dmiPlugin": "onap-dmi-plugin", "removedCmHandles": [ "cmHandle123" ] }'
Above request will only remove data from dmi-registry but not from anchor or other tables if existed.