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: add IBM MQ binding #52

Merged
merged 1 commit into from
Feb 9, 2021
Merged

feat: add IBM MQ binding #52

merged 1 commit into from
Feb 9, 2021

Conversation

rcoppen
Copy link
Collaborator

@rcoppen rcoppen commented Jan 26, 2021

Description

  • Contribute IBM MQ AsyncAPI binding under Apache 2.0 license
  • Created ibmmq bindings directory
  • README updated to link to IBM MQ binding in ibmmq subdirectory
  • NOTE: ibm-messaging fork created to facilitate this PR

Related issue(s)
Resolves #48

Copy link

@github-actions github-actions bot left a comment

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.

Keep in mind there are also other channels you can use to interact with AsyncAPI community. For more details check out this issue.

@derberg derberg changed the title Add IBM MQ binding feat: add IBM MQ binding Jan 26, 2021
Copy link
Member

@derberg derberg left a comment

Choose a reason for hiding this comment

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

@rcoppen thanks a lot for this PR. Once we process it and merge consider writing a short blog post about it on asyncapi.com/blog

@fmvilas I think I'll leave it up to you as for me I don't see any bigger issues with this PR, especially that it is an initial release, except for one comment, which I guess means I suck at it and you should have a look 😄


AsyncAPI Object Fixed Field Name | Reserved Value for IBM MQ Protocol | Description
---|:---|:---
<a name="serverObjectProtocolFieldValueIbmmq"></a>`server.protocol` | ibmmq | IBM MQ protocol.
Copy link
Member

Choose a reason for hiding this comment

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

@fmvilas shouldn't we consider this new protocol and binding as something reserved, like names we already have in the spec https://github.com/asyncapi/asyncapi/blob/master/versions/2.0.0/asyncapi.md#server-object and therefor this part should also be extended in the spec? I don't think it is must-have, but nice to have anyway?

Copy link
Member

Choose a reason for hiding this comment

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

Absolutely. In AsyncAPI 1, protocols were reserved because the list was fixed. This changed in v2 and we made a free-form list, i.e., anyone can put there whatever they want. As long as tooling understands it, that's fine. It would be great to have a middle way between v1 and v2 and add some names to a reserved list of names 👍 Should we create a new issue maybe?

Copy link
Member

Choose a reason for hiding this comment

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

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

@fmvilas sure, no problem. Is there a convention to the ordering of the protocol list?

Copy link
Member

Choose a reason for hiding this comment

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

Actually, it used to be sorted alphabetically but mercure got there at the end by mistake. If you can fix it at the same time that would be awesome.

Copy link
Member

@fmvilas fmvilas left a comment

Choose a reason for hiding this comment

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

Great work, @rcoppen 👏 I think the structure of your document should serve as a guide for the other protocol bindings defined in this repo.

@fmvilas fmvilas merged commit 2b42cd3 into asyncapi:master Feb 9, 2021
derberg pushed a commit to asyncapi/spec that referenced this pull request Jun 22, 2021
Added protocol constant that was defined in
asyncapi/bindings#52

Contributes to: asyncapi/bindings#48

Signed-off-by: Dale Lane <dale.lane@uk.ibm.com>
derberg pushed a commit to asyncapi/spec-json-schemas that referenced this pull request Jun 22, 2021
Added protocol constant that was defined in
asyncapi/bindings#52

Contributes to: asyncapi/bindings#48

Signed-off-by: Dale Lane <dale.lane@uk.ibm.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants