Skip to content

feat: add support for messageId - #510

Merged
asyncapi-bot merged 10 commits into
asyncapi:2022-04-releasefrom
WaleedAshraf:issue-414
Apr 22, 2022
Merged

asyncapi-bot merged 10 commits into
asyncapi:2022-04-releasefrom
WaleedAshraf:issue-414

Conversation

@WaleedAshraf

@WaleedAshraf WaleedAshraf commented Apr 1, 2022 •

Copy link
Copy Markdown
Contributor

Description

  • add support for messageId
  • If messageId is present, check for duplicates
  • messageId takes precedence in message.uid() method
  • update/add tests

Related issue(s)
closes #414

@magicmatatjahu magicmatatjahu left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Overall good but we need improvements :)

Comment thread lib/customValidators.js Resolved
Comment thread lib/customValidators.js Resolved
Comment thread lib/customValidators.js Resolved
Comment thread test/customValidators_test.js Resolved
@smoya smoya mentioned this pull request Apr 5, 2022
54 of 55 tasks
Comment thread lib/customValidators.js Resolved
@magicmatatjahu

Copy link
Copy Markdown
Member

@WaleedAshraf I made rereview :) We should fix only think, related to the oneOf messages. Rest is good.

@magicmatatjahu magicmatatjahu left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@magicmatatjahu

Copy link
Copy Markdown
Member

@smoya Could we merge it as next prerelease?

@magicmatatjahu
magicmatatjahu changed the base branch from master to 2022-04-release April 19, 2022 14:12
@smoya

smoya commented Apr 19, 2022

Copy link
Copy Markdown
Member

@smoya Could we merge it as next prerelease?

There are pending things still to work on the spec PR asyncapi/spec#458

@smoya

smoya commented Apr 20, 2022

Copy link
Copy Markdown
Member

@WaleedAshraf would you mind fixing merge conflicts? We are very close to merge all the PR's of your new contribution!

@WaleedAshraf

WaleedAshraf commented Apr 20, 2022 •

Copy link
Copy Markdown
Contributor Author

@smoya @magicmatatjahu It's showing changes in .github folder because 2022-04-release branch is not up to date with master. Maybe you should do that, before merging this?

@WaleedAshraf
WaleedAshraf force-pushed the issue-414 branch 2 times, most recently from 9aff5a7 to 679dcee Compare April 20, 2022 16:36
@WaleedAshraf

Copy link
Copy Markdown
Contributor Author

link checker is failing because this link is updated,
https://apidevtools.org/json-schema-ref-parser/docs/options.html

to this,
https://apitools.dev/json-schema-ref-parser/docs/options.html

I'm not sure why it wasn't caught in recent PRs by @smoya
Can someone fix this in the release branch? and I'll rebase.

@derberg

derberg commented Apr 21, 2022

Copy link
Copy Markdown
Member

Hey, since you edited API.md there are some broken links discovered with one of CI checks. There are 2 options:

  • fix links
  • or just remove any changes to API.md as we will anyway rebuild it by CI after release

@WaleedAshraf

Copy link
Copy Markdown
Contributor Author

@derberg still fails. It seems the checker is using the base branch.

@derberg derberg left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@magicmatatjahu please also approve again, just to make sure you are ok as I see you revied and approved before

@magicmatatjahu

Copy link
Copy Markdown
Member

@derberg Accepted. Please merge when you want.

@smoya

smoya commented Apr 22, 2022

Copy link
Copy Markdown
Member

Good news @WaleedAshraf! We are almost done with merging your feature into the release branch! 🎉
However, for merging this PR, I need to ask you to:

  • Fix the conflicts with the upstream branch (2022-04-release)
  • Update @asyncapi/specs package to the latest prereleased version (which includes your changes). It is v2.14.0-2022-04-release.3.

Once you push those changes, all will be ready to merge this. Thanks!

@sonarqubecloud

Copy link
Copy Markdown

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@WaleedAshraf

Copy link
Copy Markdown
Contributor Author

@smoya Done 🎉

@smoya

smoya commented Apr 22, 2022

Copy link
Copy Markdown
Member

/rtm

@asyncapi-bot
asyncapi-bot merged commit d3ee61c into asyncapi:2022-04-release Apr 22, 2022
@asyncapi-bot

Copy link
Copy Markdown
Contributor

🎉 This PR is included in version 1.15.0-2022-04-release.4 🎉

The release is available on:

Your semantic-release bot 📦🚀

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add support for messageId

6 participants