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