Uploaded image for project: 'National Data Service'
  1. National Data Service
  2. NDS-356

API server should support personal catalog

XMLWordPrintableJSON

    • Icon: Story Story
    • Resolution: Fixed
    • Icon: Normal Normal
    • Labs Workbench - Beta
    • None
    • Backend
    • None

      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:

      1. GET /services - retrieve catalog of specs
        • Optional: query string to filter which catalog we are retrieving
        • ?catalog=[all,system,personal]
      2. POST /services - create a new personal catalog entry
        • Optional: "-g" flag to create global catalog entries as well from CLI
      3. PUT /services/{{ id }} - update an existing personal catalog entry
        • Optional: "-g" flag to update global catalog entries as well from CLI
      4. 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.

              willis8 Craig Willis
              lambert8 Sara Lambert
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved:

                  Estimated:
                  Original Estimate - 2 hours
                  2h
                  Remaining:
                  Remaining Estimate - 2 hours
                  2h
                  Logged:
                  Time Spent - Not Specified
                  Not Specified