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

Ability to tag resources (Event Types, Functions, and Subscriptions) with metadata #435

Closed
alexdebrie opened this issue Jun 1, 2018 · 0 comments

Comments

@alexdebrie
Copy link
Contributor

When registering Event Types, Functions, or Subscriptions, a user may want to tag them with particular metadata, such as the service it belongs to. This is comparable to Kubernetes labels -- metadata that is meaningful to the user but not to Event Gateway itself.

Example implementation:

{
    "functionId": "createUser",
    "type": "awslambda",
    "provider":{
      "arn": "arn:aws:lambda:us-east-1:377024778620:function:users-service-dev-createUser",
      "region": "us-east-1"
    },
    "metadata": {
        "service": "users-service"
    }
}

For now, this would allow for client-side filtering of resources based on metadata.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant