CPS-1872 Fetch a list of Cm Handles along with their private properties

CPS-1872 Fetch a list of Cm Handles along with their private properties

Related Jira

https://lf-onap.atlassian.net/browse/CPS-1872

 

Endpoint description

The /ncmpInventory/v1/ch/searchCmHandles endpoint requires the following request body and parameter:

 

Item

Description

Location

 

Item

Description

Location

1

CmHandleQueryParameters

This object contains the query parameters to fetch Cm Handles

Request body

2

includeAdditionalProperties

This is an optional parameter to control weather the response should contain private properties or not.

Query parameter

Example request body

The endpoint is able to query cm handles by cps path, public properties, private properties and dmi service name.

Example request to query by DMI Service Name:

{ "cmHandleQueryParameters": [ { "conditionName": "cmHandleWithDmiPlugin", "conditionParameters": [ { "dmiPluginName": "http://ncmp-dmi-plugin-demo-and-csit-stub:8092" } ] } ] }

 

Response

The response is a list of RestOutputCmHandle objects