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

ARTEMIS-4637 - Allow unordered xml conf elements for clusters and bri… #4810

Merged
merged 1 commit into from
Feb 6, 2024

Conversation

AntonRoskvist
Copy link
Contributor

…dges

I hope this change makes sense as it's a little bit outside of my comfort zone... it's purpose is to fix a minor annoyance of mine and something Ive seen confuse some other users as well, where moving or adding a configuration element in the wrong place causes the config to be invalidated.

A side effect of this change is that the cluster property/attribute allow-direct-connections-only in static-connectors would pass validation even on core-bridges... setting this property has no effect on the core-bridges either way so I'm hoping it's not a cause for concern. I made it that way to have current configurations validate as before this change instead if adding it as a separate element within the cluster config or similar. Ideas on how to make this better if it's an issue are welcome.

Ideally this would apply to all configuration at some point but I believe that would require moving to xsd version 1.1 which is not scoped in this change.

@clebertsuconic
Copy link
Contributor

this LGTM.

Thanks a lot for this!

@clebertsuconic clebertsuconic merged commit c4c2a9e into apache:main Feb 6, 2024
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants