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

Get all cm handles that support all modules in a given list of modules

    XMLWordPrintable

Details

    • Story
    • Status: Closed
    • High
    • Resolution: Done
    • None
    • Jakarta Release
    • NCMP

    Description

      See no.2 in https://wiki.onap.org/display/DW/CPS-391Spike%3A+Define+and+Agree+NCMP+REST+Interface

      Request Body

      {
      "conditions": {
      "hasAllModules": [

      { "moduleName": "", (Mandatory) "revision": "" (Optional) }

      ]
      }
      }

      Out of scope
      Cps core rest interface
      Implement OR query

      Sample of AND query
      cm1 (m1,m2,m3)
      cm2(m1,m2)
      cm3(m3,m4)

      m1-> cm1,cm2
      m2,m3-> cm1
      m2 AND m3 -> cm1
      m2 OR m3 -> cm1, cm2, cm3
      m2 AND m3 -> cm1
      m2 or m3
      m2 -> cm1, cm2
      m3 -> cm1, cm3

      A/C
      Create an implementation proposal
      Implement AND query
      Create a native query in the anchor repository / Write a method that returns all module refs for a namespace - iterate over and filter based on request

      Implementation Proposal
      https://wiki.onap.org/display/DW/CPS-644+Get+all+cm+handles+that+support+all+modules+in+a+given+list+of+modules

      Attachments

        Issue Links

          # Subject Branch Project Status CR V

          Activity

            People

              niamhcore Niamh Core
              niamhcore Niamh Core
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: