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

Get all schema sets for a dataspace

XMLWordPrintable

      We want to implement an endpoint which will return all of the schema sets associated with a <dataspace-name>.
      Endpoint:
      GET http://IP:PORT/cps/api/v1/admin/dataspaces/<dataspace-name>/schema-sets
      Body:

      [
      {"name":“schemaset-1”, dataspaceName:"dataspace-1", moduleReferences:[{"name":"module-1","namespace":"namespace-1","revision":"revision-1"}]},
      {"name":“schemaset-2”, dataspaceName:"dataspace-2", moduleReferences:[{"name":"module-2","namespace":"namespace-2","revision":"revision-2"}]}
      ]
      

      These schemaSetNames are the user defined schema set names.

      For future role based access control we want this to be used through the admin interface of CPS: CPS-E-07
      See https://wiki.onap.org/display/DW/ARC+Configuration+Persistence+Service+%28CPS%29+Component+Description+-+Jakarta-R10

      A/C:
      New endpoint is created with above body
      Endpoint is located under the admin interface - (checked)
      Demo

            rajesh.kumar Rajesh kumar
            lukegleeson lukegleeson
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: