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

feat: decorate metadata from an AsyncAPI Document + couple of metric shortcuts #2

Merged
merged 1 commit into from
Oct 19, 2023

Conversation

smoya
Copy link
Owner

@smoya smoya commented Oct 19, 2023

Description

This PR adds a new method that creates a new Metadata object based on an AsyncAPI document. It decorates it with:

  • AsyncAPI document version
  • Num of servers
  • Num of channels
  • Num of messages
  • Num of send operations
  • Num of receive operations
  • Num of schemas

It additionally adds two new shortcuts called recordGenerateActionExecution and recordValidateActionExecution.

@smoya
Copy link
Owner Author

smoya commented Oct 19, 2023

FYI @peter-rr I'm merging this so we can move forward. The next step, unless you see something is wrong in this implementation, would be to proceed with a POC on the CLI or Studio. Ping me if you want to help with that as well!

@smoya smoya merged commit 8407956 into main Oct 19, 2023
@smoya smoya deleted the feat/metadataFromDocument branch October 19, 2023 23:27
@smoya
Copy link
Owner Author

smoya commented Oct 22, 2023

🎉 This PR is included in version 1.0.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

@smoya smoya added the released label Oct 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant