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

Retrieve yang-resources for one or more modules for a cmHandle (DMI Plugin impl)

XMLWordPrintable

    • Icon: Story Story
    • Resolution: Done
    • Icon: Medium Medium
    • Istanbul Release
    • None
    • DMI

      See https://jira.onap.org/browse/CPS-394 for details on how to use ODL Interface for this

      Get a list of yang module sources for one or more modules for the given cm handles.

      A/C
      Implement a POST request for

      {dmi-root}

      /dmi/v1/ch/<cm-handle>/modules
      cm-handle will be provided as a path param
      Implement a method to support this request in the service layer (this should not depend on the rest API) and client layer
      ODL can only support getting one yang module. ietf-monitoring yang module is the name of the interface that supports this. DMI Plugin will make multiple requests to xNF and combine the result in a list
      Request and response body examples are here in no.4. The Plugin should combine the results into a list https://wiki.onap.org/display/DW/CPS-390+Spike%3A+Define+and+Agree+DMI+Plugin+REST+Interface#CPS390Spike:DefineandAgreeDMIPluginRESTInterface-DMIInventory,Model&DataSyncAPI (no.4)
      NCMP will be responsible for doing a check of the format (out of scope)

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

              Created:
              Updated:
              Resolved: