From e072875733656a8f6a276c403641aa611e661a8a Mon Sep 17 00:00:00 2001 From: Michal Kuratczyk Date: Mon, 15 Mar 2021 18:01:51 +0100 Subject: [PATCH] Adjust definitions for the examples namespace --- docs/examples/federation-over-tls/definitions.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/examples/federation-over-tls/definitions.json b/docs/examples/federation-over-tls/definitions.json index 1e7e402cc..c56378d64 100644 --- a/docs/examples/federation-over-tls/definitions.json +++ b/docs/examples/federation-over-tls/definitions.json @@ -1 +1 @@ -{"rabbit_version":"3.8.9","rabbitmq_version":"3.8.9","product_name":"RabbitMQ","product_version":"3.8.9","users":[{"name":"federation","password_hash":"m3R0yEjfO0fv/Ye/oMn//10Uq5F3j49Ro2P8HE0z27DSJ9iT","hashing_algorithm":"rabbit_password_hashing_sha256","tags":""},{"name":"admin","password_hash":"0l9GJ5sSPU5FGnf95CKOyT/+/CLK+My13+G9fTgK0tn5EyDH","hashing_algorithm":"rabbit_password_hashing_sha256","tags":"administrator"}],"vhosts":[{"name":"/"},{"name":"downstream"},{"name":"upstream"}],"permissions":[{"user":"admin","vhost":"/","configure":".*","write":".*","read":".*"},{"user":"admin","vhost":"downstream","configure":".*","write":".*","read":".*"},{"user":"federation","vhost":"downstream","configure":".*","write":".*","read":".*"},{"user":"admin","vhost":"upstream","configure":".*","write":".*","read":".*"},{"user":"federation","vhost":"upstream","configure":".*","write":".*","read":".*"}],"topic_permissions":[],"parameters":[{"value":{"ack-mode":"on-confirm","trust-user-id":false,"uri":"amqps://federation:federation@federation-nodes.default.svc.cluster.local/upstream"},"vhost":"downstream","component":"federation-upstream","name":"example"},{"value":{"ack-mode":"on-confirm","trust-user-id":false,"uri":"amqps://federation:federation@federation-nodes.default.svc.cluster.local?certfile=/etc/rabbitmq-tls/tls.crt&keyfile=/etc/rabbitmq-tls/tls.key&verify=verify_peer"},"vhost":"upstream","component":"federation-upstream","name":"spike"}],"global_parameters":[{"name":"cluster_name","value":"upstream"},{"name":"internal_cluster_id","value":"rabbitmq-cluster-id-xKURl_Z4LyQqc1SlYvT5lw"}],"policies":[{"vhost":"downstream","name":"federation-policy","pattern":"example","apply-to":"exchanges","definition":{"federation-upstream":"example"},"priority":1}],"queues":[{"name":"qq1","vhost":"downstream","durable":true,"auto_delete":false,"arguments":{"x-queue-type":"quorum"}},{"name":"cq1","vhost":"downstream","durable":true,"auto_delete":false,"arguments":{"x-queue-type":"classic"}},{"name":"federation: example -> upstream:downstream:example","vhost":"upstream","durable":true,"auto_delete":false,"arguments":{"x-internal-purpose":"federation"}},{"name":"qq2","vhost":"upstream","durable":true,"auto_delete":false,"arguments":{"x-queue-type":"quorum"}}],"exchanges":[{"name":"example","vhost":"downstream","type":"fanout","durable":true,"auto_delete":false,"internal":false,"arguments":{}},{"name":"federation: example -> upstream:downstream:example B","vhost":"upstream","type":"x-federation-upstream","durable":true,"auto_delete":true,"internal":true,"arguments":{"x-downstream-name":"upstream","x-downstream-vhost":"downstream","x-internal-purpose":"federation","x-max-hops":1}},{"name":"example","vhost":"upstream","type":"fanout","durable":true,"auto_delete":false,"internal":false,"arguments":{}}],"bindings":[{"source":"example","vhost":"downstream","destination":"cq1","destination_type":"queue","routing_key":"","arguments":{}},{"source":"example","vhost":"downstream","destination":"qq1","destination_type":"queue","routing_key":"","arguments":{}},{"source":"example","vhost":"upstream","destination":"federation: example -> upstream:downstream:example B","destination_type":"exchange","routing_key":"","arguments":{"x-bound-from":[{"cluster-name":"upstream","exchange":"downstream:example B","hops":1,"vhost":"downstream"}]}},{"source":"example","vhost":"upstream","destination":"qq2","destination_type":"queue","routing_key":"","arguments":{}},{"source":"federation: example -> upstream:downstream:example B","vhost":"upstream","destination":"federation: example -> upstream:downstream:example","destination_type":"queue","routing_key":"","arguments":{}}]} \ No newline at end of file +{"rabbit_version":"3.8.9","rabbitmq_version":"3.8.9","product_name":"RabbitMQ","product_version":"3.8.9","users":[{"name":"federation","password_hash":"m3R0yEjfO0fv/Ye/oMn//10Uq5F3j49Ro2P8HE0z27DSJ9iT","hashing_algorithm":"rabbit_password_hashing_sha256","tags":""},{"name":"admin","password_hash":"0l9GJ5sSPU5FGnf95CKOyT/+/CLK+My13+G9fTgK0tn5EyDH","hashing_algorithm":"rabbit_password_hashing_sha256","tags":"administrator"}],"vhosts":[{"name":"/"},{"name":"downstream"},{"name":"upstream"}],"permissions":[{"user":"admin","vhost":"/","configure":".*","write":".*","read":".*"},{"user":"admin","vhost":"downstream","configure":".*","write":".*","read":".*"},{"user":"federation","vhost":"downstream","configure":".*","write":".*","read":".*"},{"user":"admin","vhost":"upstream","configure":".*","write":".*","read":".*"},{"user":"federation","vhost":"upstream","configure":".*","write":".*","read":".*"}],"topic_permissions":[],"parameters":[{"value":{"ack-mode":"on-confirm","trust-user-id":false,"uri":"amqps://federation:federation@federation-nodes.examples.svc.cluster.local/upstream"},"vhost":"downstream","component":"federation-upstream","name":"example"},{"value":{"ack-mode":"on-confirm","trust-user-id":false,"uri":"amqps://federation:federation@federation-nodes.examples.svc.cluster.local?certfile=/etc/rabbitmq-tls/tls.crt&keyfile=/etc/rabbitmq-tls/tls.key&verify=verify_peer"},"vhost":"upstream","component":"federation-upstream","name":"spike"}],"global_parameters":[{"name":"cluster_name","value":"upstream"},{"name":"internal_cluster_id","value":"rabbitmq-cluster-id-xKURl_Z4LyQqc1SlYvT5lw"}],"policies":[{"vhost":"downstream","name":"federation-policy","pattern":"example","apply-to":"exchanges","definition":{"federation-upstream":"example"},"priority":1}],"queues":[{"name":"qq1","vhost":"downstream","durable":true,"auto_delete":false,"arguments":{"x-queue-type":"quorum"}},{"name":"cq1","vhost":"downstream","durable":true,"auto_delete":false,"arguments":{"x-queue-type":"classic"}},{"name":"federation: example -> upstream:downstream:example","vhost":"upstream","durable":true,"auto_delete":false,"arguments":{"x-internal-purpose":"federation"}},{"name":"qq2","vhost":"upstream","durable":true,"auto_delete":false,"arguments":{"x-queue-type":"quorum"}}],"exchanges":[{"name":"example","vhost":"downstream","type":"fanout","durable":true,"auto_delete":false,"internal":false,"arguments":{}},{"name":"federation: example -> upstream:downstream:example B","vhost":"upstream","type":"x-federation-upstream","durable":true,"auto_delete":true,"internal":true,"arguments":{"x-downstream-name":"upstream","x-downstream-vhost":"downstream","x-internal-purpose":"federation","x-max-hops":1}},{"name":"example","vhost":"upstream","type":"fanout","durable":true,"auto_delete":false,"internal":false,"arguments":{}}],"bindings":[{"source":"example","vhost":"downstream","destination":"cq1","destination_type":"queue","routing_key":"","arguments":{}},{"source":"example","vhost":"downstream","destination":"qq1","destination_type":"queue","routing_key":"","arguments":{}},{"source":"example","vhost":"upstream","destination":"federation: example -> upstream:downstream:example B","destination_type":"exchange","routing_key":"","arguments":{"x-bound-from":[{"cluster-name":"upstream","exchange":"downstream:example B","hops":1,"vhost":"downstream"}]}},{"source":"example","vhost":"upstream","destination":"qq2","destination_type":"queue","routing_key":"","arguments":{}},{"source":"federation: example -> upstream:downstream:example B","vhost":"upstream","destination":"federation: example -> upstream:downstream:example","destination_type":"queue","routing_key":"","arguments":{}}]}