Details
-
Bug
-
Status: Closed
-
High
-
Resolution: Done
-
Jakarta Release
-
None
Description
Current behavior
Searches endpoint gives back empty list even if there are cmhandles in ready state
Tried to query the cmhandles:
POST https://<ncmp_url>/ncmp/v1/ch/searches
{ "conditions": [ { "name": "hasAllModules", "conditionParameters": [ {"moduleName": "ericsson-enm-GNBDU"} ] } ] }
POST https://<ncmp_url>/ncmp/v1/ch/searches
{ "cmHandleQueryParameters": [ { "conditionName": "hasAllModules", "conditionParameters": [ {"moduleName": "ericsson-enm-GNBDU"} , {"moduleName": "ericsson-enm-LratEe"} ] } ] }
id-searches endpoint gives back empty list if we call it with the new filtering:
POST https://<ncmp_url>/ncmp/v1/ch/id-searches
{ "conditions": [ { "name": "hasAllModules", "conditionParameters": [ {"moduleName": "ericsson-enm-GNBDU"} ] } ] }
But gives back cmhandles if we call it with old one:
POST https://<ncmp_url>/ncmp/v1/ch/id-searches
{ "cmHandleQueryParameters": [ { "conditionName": "hasAllModules", "conditionParameters": [ {"moduleName": "ericsson-enm-GNBDU"} , {"moduleName": "ericsson-enm-LratEe"} ] } ] }
**
Expected behavior
Both searches and id-searches should give back the ready cmhandles
Reproduction
See current behavior section
CPS version
https://gerrit.onap.org/r/gitweb?p=cps.git;a=commit;h=060499cb5a89a0fd3d8480132ed82d2e291839dc