FINRAOS/herd

Manage global Attribute Definitions

nateiam opened this issue · 0 comments

As a Herd Publisher I want to manage global Attribute Definitions so I can enforce that Attributes are registered on all resources at various levels of the Herd metadata model

This story will initially allow users to declare global Attribute Definitions that will apply at the Format level. Future stories will enable applying at other levels and will enforce that the Attributes are present. This story simply allows for managing the Attribute Definitions themselves

Acceptance Criteria

  • New GlobalAttributeDefinition POST takes Attribute Name, Model Level and creates a global Attribute Definition
    • If any Model Level besides Format is supplied, return appropriate 40x error. Only Format-level is supported at this time.
  • New GlobalAttributeDefinitions GET returns list of Attribute Name, Model Level for all global Attribute Definitions
  • New GlobalAttributeDefinitions DELETE takes Attribute Name, Model Level and removes the global Attribute Definition of that name at that level
  • No Namespace-level authorization