Fix the messaging bridges config

This commit is contained in:
Aurélien Bompard 2019-03-06 10:35:18 +00:00
parent 162cae8a5b
commit 45c6ad950a

View file

@ -68,6 +68,9 @@ data:
exclusive = false
arguments = {}
[consumer_config]
publish_endpoint = "tcp://busgateway01{{ env_suffix }}.phx2.fedoraproject.org:9941"
[qos]
prefetch_size = 0
prefetch_count = 25
@ -234,7 +237,6 @@ metadata:
app: messaging-bridges
data:
fedmsg-migration-tools.py: |-
# TODO: fedmsg configuration
import socket
hostname = socket.gethostname().split('.', 1)[0]
config = {
@ -242,7 +244,7 @@ data:
'active': True,
'cert_prefix': 'fedmsg-migration-tools',
'certnames': {'fedmsg-migration-tools.{}'.format(socket.gethostname()): 'fedmsg-migration-tools'},
'relay_inbound': ['tcp://busgateway01{{ env_suffix }}.phx2.fedoraproject.org:9941'],
'relay_inbound': 'tcp://busgateway01{{ env_suffix }}.phx2.fedoraproject.org:9941',
{% if env == 'staging' %}
# stg should listen to the stg bus
'endpoints': {