Details
-
Story
-
Status: Closed
-
Medium
-
Resolution: Done
-
None
-
None
Description
- Currently, as part of
CPS-1136- the following REST URL is implemented
/ncmpInventory/v1/ch/searches
However, for a use-case that when a subsystem is removed from a system, the client would want to access which specific subsystem a cm Handle belongs to and this is only accessible in private properties
Therefore, this user story is to propose an implementation that filters cmHandles with certain properties under a registered dmi-plugin-identifier
Filtering based on private properties:
-
- endpoint (POST): /ncmpInventory/v1/ch/searches
{ additional-properties: [ {name: xx, value: xx}... ] }
- endpoint (POST): /ncmpInventory/v1/ch/searches
Questions:
- Return type? (object(NcmpServiceCmHandle) or id?)
- Custom exceptions (wrong structure for req. body?)
not available (no match) additional-properties or dmi-cm-plugin-identifier = Return: 200 with empty [] – 'no cm handles'
AC:
- Demo to team and stakeholders
- Testing (unit) Part of Definition-of-Done really