Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Manage valid items for Attribute Values #339

Open
nateiam opened this issue May 13, 2017 · 0 comments
Open

Manage valid items for Attribute Values #339

nateiam opened this issue May 13, 2017 · 0 comments

Comments

@nateiam
Copy link
Contributor

nateiam commented May 13, 2017

As a Herd Publisher I want to manage valid items that can be used as Attribute values so I can later enforce Attribute Values can only be one of these items

This story is to manage the items that are in the list of valid items. This story does not enforce anything, it just allows items to be added and removed from the list of valid items.

Acceptance Criteria

  • New AllowedAttributeValue POST endpoint takes Namespace, List Name, and list of allowed string values
  • POST is used to add values to the list. If no values exist, they are all added.
  • POST is also used to append new values. When values exist, return an error if the list contains any existing values.
  • New AllowedAttributeValues GET endpoint takes Namespace, List Name and returns list of allowed values
  • New AllowedAttributeValues DELETE endpoint takes Namespace, List Name, and list of allowed values
    • Endpoint deletes all allowed Values provided
    • Endpoint fails with appropriate 40x error and does not delete anything if any of the provided values does not exist in the list
  • Namespace-level requirements are: GET endpoint requires READ on the Namespace of the List – POST, PUT and DELETE endpoints need WRITE on the Namespace of the List
@nateiam nateiam added this to the Release 0.43.0 milestone May 13, 2017
FINRAOSS pushed a commit that referenced this issue Jun 18, 2018
…velop

* commit '7d4a32524b446f6e872148968964e64fbd8dea19':
  herd-sdk-angular-client
  herd-sdk-angular-client
  herd-sdk-angular-client
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant