Merge "Messaging multi-backend support"
This commit is contained in:
commit
30fdd98681
|
@ -0,0 +1,8 @@
|
||||||
|
{% macro rabbit(cfg_type) -%}
|
||||||
|
{% if cfg_type == 'rpc_config' -%}
|
||||||
|
[DEFAULT]
|
||||||
|
{%- elif cfg_type == 'notifications_config' -%}
|
||||||
|
[oslo_messaging_notifications]
|
||||||
|
{%- endif %}
|
||||||
|
transport_url=rabbit://{{ rabbitmq.user }}:{{ rabbitmq.password }}@{{ address('rabbitmq') }}
|
||||||
|
{%- endmacro %}
|
|
@ -1,4 +1,10 @@
|
||||||
configs:
|
configs:
|
||||||
|
messaging:
|
||||||
|
backend:
|
||||||
|
rpc: rabbit
|
||||||
|
notifications: rabbit
|
||||||
|
dependencies:
|
||||||
|
rabbit: rabbitmq
|
||||||
rabbitmq:
|
rabbitmq:
|
||||||
port:
|
port:
|
||||||
cont: 5672
|
cont: 5672
|
||||||
|
|
Loading…
Reference in New Issue