-
Story
-
Resolution: Fixed
-
Normal
-
None
-
None
-
NDS Sprint 7
As the end-user of NDS Labs, I should be able to maintain my own private catalog of specs. This would allow me to run custom specs without needing to go through the process of submitting them for review to be put into the system catalog.
Supported functions might include:
- GET /services - retrieve catalog of specs
- Optional: query string to filter which catalog we are retrieving
- ?catalog=[all,system,personal]
- POST /services - create a new personal catalog entry
- Optional: "-g" flag to create global catalog entries as well from CLI
- PUT /services/{{ id }} - update an existing personal catalog entry
- Optional: "-g" flag to update global catalog entries as well from CLI
- DELETE /services/{{ id }} - remove a catalog entry from the user's personal catalog
- Optional: "-g" flag to delete global catalog entries as well from CLI
Other points to consider:
- Names may need to be unique to prevent collisions between global / personal catalog
- Permissions may be needed to adjusted to allow for the user to access /services without administrative rights
- Services should be keyed by id, not "key"
This story is complete when the user is able to maintain their own personal catalog via the CLI's current "add service" functionality. The admin password should be required when specifying the "-g" flag.