-
Story
-
Resolution: Done
-
Medium
-
None
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/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)