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

Query CM Handles using CpsPath

XMLWordPrintable

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

      extend cm-handle query (on public properties) to include a filter on cm handle state so the user can find any CM Handles which are in state 'READY' (or in any other state)

      Existing endpoint: 
      /v1/ch/searches
      /v1/ch/id-searches

       
      conditionName: "cmHandleWithCpsPath"

      "conditionParameters": [

      { "cpsPath": "//state[@cm-handle-state="READY"] }

      ]

      No change to body, will return list of cmhandle details

      invalid entries:
      cpsPath mispell 400

      A/C:
      Demo
      User Guide
      Update openapi extensive examples common use cases
      Always return ancestor + document
      Double check dmi-registry model in Read the Docs

      Can Query private properties? NO return not found
      What returns if cpspath invalid? Not found

      Not in scope: logic operands: AND, OR, NOT. The query will be implement apply AND operand for all given condition (filters)

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

              Created:
              Updated:
              Resolved: