diff --git a/docs/source/conf.py b/docs/source/conf.py index 8a6ca804f98730651c57120454e1b8622ad2381a..c5abddea21d14a9540fd28ddd7965533ae33d93c 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -58,7 +58,11 @@ html_static_path = ['_static'] # start the server and dump the schema with tempfile.NamedTemporaryFile(delete=False) as f: - bogus_config = {'inventory': 'http://bogus'} + bogus_config = { + 'inventory': 'http://bogus', + 'reporting': 'https://bogus', + 'correlator_exchange': 'bogus', + } with open(f.name, 'w') as f: json.dump(bogus_config, f) f.flush() diff --git a/mapping_provider/backends/rmq/queue.py b/mapping_provider/backends/rmq/queue.py index a53cb79f898206213d9eed8000453579df282fa4..1aa8ffdf67d8df126cc8ad79275c6c03390df8b9 100644 --- a/mapping_provider/backends/rmq/queue.py +++ b/mapping_provider/backends/rmq/queue.py @@ -145,7 +145,7 @@ def setup_channel( if not routing_keys: # in case no routing keys are provided (as for fanout exchanges), # ensure the queue is still bound to the exchange - routing_keys = [None] + channel.queue_bind(exchange=exchange_name, queue=queue_name) for rk in routing_keys: channel.queue_bind(exchange=exchange_name, queue=queue_name, routing_key=rk)