1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00
community.general/lib/ansible/modules/messaging/rabbitmq
Jon Bergli Heier 12c37802e8 rabbitmq_binding: Fix using empty routing key (#48597)
* rabbitmq_binding: Fix using empty routing key

If the routing key is an empty string we need to use the special props
value ~ in the URL. Otherwise the last part of the URL will be empty,
which will instead be equivalent to the "list all bindings" API call
which always returns 200 OK (as long as the exchange and queue exists).

* rabbitmq_binding: Move routing_key test outside format

Test the routing_key value and set the props value outside the format
call. We leave the original routing_key untouched since its original
value is later needed in create().
2018-12-19 08:30:41 -05:00
..
__init__.py BOTMETA: Move rabbitmq modules to own directory (#46064) 2018-10-30 14:54:38 -05:00
rabbitmq_binding.py rabbitmq_binding: Fix using empty routing key (#48597) 2018-12-19 08:30:41 -05:00
rabbitmq_exchange.py BOTMETA: Move rabbitmq modules to own directory (#46064) 2018-10-30 14:54:38 -05:00
rabbitmq_global_parameter.py Convert to reduced list of known types (#50010) 2018-12-19 07:25:30 +10:00
rabbitmq_parameter.py ignore empty lines in rabbitmqctl output (#43722) 2018-11-29 13:55:05 +00:00
rabbitmq_plugin.py BOTMETA: Move rabbitmq modules to own directory (#46064) 2018-10-30 14:54:38 -05:00
rabbitmq_policy.py BOTMETA: Move rabbitmq modules to own directory (#46064) 2018-10-30 14:54:38 -05:00
rabbitmq_queue.py BOTMETA: Move rabbitmq modules to own directory (#46064) 2018-10-30 14:54:38 -05:00
rabbitmq_user.py Rabbitmq user permission fixes (#49404) 2018-12-07 13:19:08 +00:00
rabbitmq_vhost.py BOTMETA: Move rabbitmq modules to own directory (#46064) 2018-10-30 14:54:38 -05:00
rabbitmq_vhost_limits.py rabbitmq_vhost_limits: Move to rabbitmq subdirectory (#49650) 2018-12-08 23:41:59 +01:00