-
Notifications
You must be signed in to change notification settings - Fork 4k
cuttlefish tls schema for amqp_client #11415
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
Conversation
|
Note that the test case fails, as rabbit is not loading the config schema file for me when running the test (bazel). It does load it fine when I start up rabbit with |
|
@pjk25 I am somehow messing something up, as the testcase is not picking up the schema file... |
gomoripeti
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I wonder if it would make sense to add the same for amqp10_client for symmetry? (Or if there is any other way to not have to duplicate everything)
#11369
| {mapping, "amqp_client.ssl_options.verify", "amqp_client.ssl_options.verify", [ | ||
| {datatype, {enum, [verify_peer, verify_none]}}]}. | ||
|
|
||
| {mapping, "amqp_client.ssl_options.fail_if_no_peer_cert", "amqp_client.ssl_options.fail_if_no_peer_cert", [ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I might be mistaken but isn't fail_if_no_peer_cert a server only option, and new OTP 26 ssl will complain if set for a client?
rabbitmq/rabbitmq-website#1933
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@gomoripeti you are correct, we should leave it out.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Right I was a bit aggressive in my schema copy/pasting. I'll go through it and remove all server_options!
|
@SimonUnge when you start a node, the When you run integration tests of this client, I suspect some of our Bazel helpers do not consider that a project would not have |
|
This could agruably go into |
Aha good hint! I'll figure it out this weekend! |
Ah ok yeah even simpler! |
|
Moved the schema into rabbit, and the tests. As for what to do with amqp 1.0 - either duplicate the schema (or just use the same config?) |
90a53f3 to
ca887bf
Compare
|
AMQP 1.0 client can use |
Ah ok, got it! And, naming aside, we do want to separate the two I take it? i.e give the option to configure amqp 0.9 client and 1.0 clients differently. |
ca887bf to
cf05d92
Compare
|
The forced push was a rebase. |
|
I'll leave it as |
1ed463b to
24fb033
Compare
|
The CI failures have to do with the (new) Bazel cache storage permission for external contributions. I've tested this locally with |
|
I had to revert this PR #11531. |
Proposed Changes
With OTP 26, would be nice to config some amqp client settings easier, for example when using the federation plugin.
Types of Changes
What types of changes does your code introduce to this project?
Put an
xin the boxes that applyChecklist
Put an
xin the boxes that apply.You can also fill these out after creating the PR.
If you're unsure about any of them, don't hesitate to ask on the mailing list.
We're here to help!
This is simply a reminder of what we are going to look for before merging your code.
CONTRIBUTING.mddocumentFurther Comments
If this is a relatively large or complex change, kick off the discussion by explaining why you chose the solution
you did and what alternatives you considered, etc.