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

Merge 2 'query' end points in NCMP

XMLWordPrintable

    • Icon: Story Story
    • Resolution: Done
    • Icon: Medium Medium
    • Kohn Release
    • None
    • NCMP

      current endpoints

      1. ResponseEntity<CmHandles> executeCmHandleSearch(final Conditions conditions)
      2. ResponseEntity<List<String>> queryCmHandles(
        final CmHandleQueryRestParameters cmHandleQueryRestParameters)

      as implemented by 

      Required endpoints:

      1. ResponseEntity<CmHandles> executeCmHandleSearch(CmHandleQueryRestParameters)
      2. ResponseEntity<List<String>> executeCmHandleIdSearch(CmHandleQueryRestParameters)

      Component updates:

      1. Remove CmHandles definition in docs/openapi/components.yaml (line 166)
      2. Create a 'array' of RestOutputCmHandle -> RestOutputCmHandles for endpoint #1 above

      The input objects need to be merged into 1 (in OpenAPI components.yaml)

      A/C

      1. Agree URL for 2 thow (refactored) endpoints with Team
      2. Agree single OpenAPI CmHandleQueryRestParameters object for all (future) conditions and agree with team 
      3. (demo/CSIT) Two endpoints executing same functionality just different return types
        1. public properties should be included in output for rest endpoint #1

      Out-of-Scope

      State is not (yet) part of CmHandle response

       

       

       

       

       

            kissand kissand
            ToineSiebelink Toine Siebelink
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: