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

Extend method for module definitions retrieval with option for single module

    XMLWordPrintable

Details

    • Story
    • Status: Open
    • Medium
    • Resolution: Unresolved
    • None
    • New Delhi Release
    • NCMP
    • None

    Description

      The current endpoint for retrieving module definitions is 

      • /v1/ch/{cm-handle}/modules/definitions/

      which gives all the module definitions (module name, revision, and yang resource content) for a given cm handle name 

      The aim of this story is to be able to specify the module name returned i.e.

      • /v1/ch/{cm-handle}/modules/definitions/{moduleName}
      • /v1/ch/{cm-handle}/modules/definitions?moduleName=myModuleName
      • /v1/ch/{cm-handle}/modules/definitions?moduleName=myModuleName&revision=myRevision

      so it returns only a specific yang resource 

       

      Open Issue: Define just name or name and version, if only name is used it could still return several yang resources

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              Unassigned Unassigned
              emaclee Lee Anjella Macabuhay
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: