Uploaded image for project: 'Configuration Persistence Service'
  1. Configuration Persistence Service
  2. CPS-1236

DMI audit support for NCMP: Filter on any properties of CM Handles

    XMLWordPrintable

Details

    • Story
    • Status: Closed
    • Medium
    • Resolution: Done
    • None
    • London Release
    • NCMP
    • 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}...
             ]
          }

       

      Questions:

      1.  Return type? (object(NcmpServiceCmHandle) or id?)
      2. 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:

      1.   Demo to team and stakeholders
      2.   Testing (unit) Part of Definition-of-Done really  

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              leventecsanyi Levente Csanyi
              emaclee Lee Anjella Macabuhay
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: