Skip to content

feat: add googlepubsub bindings - #836

Merged
asyncapi-bot merged 2 commits into
asyncapi:next-specfrom
whitlockjc:next-spec
Sep 27, 2022
Merged

asyncapi-bot merged 2 commits into
asyncapi:next-specfrom
whitlockjc:next-spec

Conversation

@whitlockjc

Copy link
Copy Markdown
Contributor

Adds support for Google Cloud Pub/Sub to the Channel Binding Object and Message Binding Object lists.

Related issue(s):
Bindings PR: asyncapi/bindings#141
JSON Schema PR: asyncapi/spec-json-schemas#253

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Welcome to AsyncAPI. Thanks a lot for creating your first pull request. Please check out our contributors guide useful for opening a pull request.
Keep in mind there are also other channels you can use to interact with AsyncAPI community. For more details check out this issue.

@char0n char0n mentioned this pull request Sep 20, 2022
52 of 61 tasks
@char0n

char0n commented Sep 20, 2022

Copy link
Copy Markdown
Member

Added as pending candidate for 2.5 release - #830

@derberg

derberg commented Sep 20, 2022

Copy link
Copy Markdown
Member

@whitlockjc please also mention it under other bindings, even if for now they do not contain any official binding definition. It is for consistency, and to keep the word reserved for the same protocol along all bindings. Have a look at solace as example

also please list googlepubsub under protocols in Server Object

@whitlockjc

Copy link
Copy Markdown
Contributor Author

@whitlockjc please also mention it under other bindings, even if for now they do not contain any official binding definition. It is for consistency, and to keep the word reserved for the same protocol along all bindings. Have a look at solace as example

also please list googlepubsub under protocols in Server Object

I'm not sure I follow. Does adding Google Cloud Pub/Sub bindings require a relating protocol? I assume that adding a new protocol would mean modifying the JSON Schemas PR as well?

@whitlockjc

Copy link
Copy Markdown
Contributor Author

Done.

Comment thread spec/asyncapi.md Resolved
Adds support for Google Cloud Pub/Sub bindings.

See: asyncapi/bindings#141

@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

@fmvilas @dalelane I think all is there for final review

@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
No Duplication information No Duplication information

@derberg

derberg commented Sep 26, 2022

Copy link
Copy Markdown
Member

@char0n I think we are ready to merge this one. There was one merge conflict I had to solve manually, it was related to recent IBM MQ bug fix, addition of missing binding, and it was conflicting with new googlepubsub

@char0n

char0n commented Sep 26, 2022 •

Copy link
Copy Markdown
Member

@derberg I'm a bit worried about the timing here. Merging this work will trigger rounds of work that would need to be done. Given that we're just days before the release deadline I would opt postponing (I'm not sure If I have this option) this work to the next release.

As far as I understand this would require providing implementation to parser-js, right @magicmatatjahu?

What do you think guys?

@derberg

derberg commented Sep 26, 2022

Copy link
Copy Markdown
Member

@char0n there is no need to do anything in parser-js, so we just need to merge this one and asyncapi/spec-json-schemas#253. There is also no need for any followup implementation in other AsyncAPI tools

@magicmatatjahu

Copy link
Copy Markdown
Member

Yeah, as @derberg wrote, due to fact that bindings are "dynamic" objects and their shape is determined by binding's version, we treat bindings in tooling as raw JSON data - we don't have any models/api for bindings.

@derberg

derberg commented Sep 26, 2022

Copy link
Copy Markdown
Member

@char0n so, are we merging? asyncapi/spec-json-schemas#253 is approved, so all ready

@char0n

char0n commented Sep 27, 2022

Copy link
Copy Markdown
Member

@derberg @magicmatatjahu thanks guys for explanations.

Merging.

@char0n

char0n commented Sep 27, 2022

Copy link
Copy Markdown
Member

/rtm

@asyncapi-bot
asyncapi-bot merged commit babc3be into asyncapi:next-spec Sep 27, 2022
@asyncapi-bot

Copy link
Copy Markdown
Contributor

🎉 This PR is included in version 2.5.0-next-spec.4 🎉

The release is available on GitHub release

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.

7 participants