rabbitmq / rabbitmq-server

Open source RabbitMQ: core server and tier 1 (built-in) plugins
https://www.rabbitmq.com/
Other
12.26k stars 3.91k forks source link

Definitions export from management UI is not sorted in Alphabetical Order #12297

Closed mrs01dev closed 1 month ago

mrs01dev commented 1 month ago

Is your feature request related to a problem? Please describe.

comparing definitions from different servers is not easy

Describe the solution you'd like

Definitions Items array should be sorted sorted in Alphabetical Order "users": [], "vhosts": [ ], "permissions": [ ], "topic_permissions": [ ], "parameters": [ ], "global_parameters": [ ], "policies": [ ], "queues": [ ], "exchanges": [ ], "bindings": [ ]

Describe alternatives you've considered

No response

Additional context

No response

lukebakken commented 1 month ago

This would be a great first issue for someone to tackle, if they cared about it enough.

michaelklishin commented 1 month ago

@mrs01dev so what? These exports are not meant to be looked at or edited by humans all that often.

Those who really care about ordering of keys in JSON documents can use tools such as jq to get their fix. Our small team has infinitely bigger fish to fry.

michaelklishin commented 1 month ago

There are also tools such as JSON Diff.