From 45c6ad950a6f49ea663c024fe3b3673fce1b4647 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aur=C3=A9lien=20Bompard?= Date: Wed, 6 Mar 2019 10:35:18 +0000 Subject: [PATCH] Fix the messaging bridges config --- .../messaging-bridges/templates/configmap.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/roles/openshift-apps/messaging-bridges/templates/configmap.yml b/roles/openshift-apps/messaging-bridges/templates/configmap.yml index 9474e0aaed..766e319960 100644 --- a/roles/openshift-apps/messaging-bridges/templates/configmap.yml +++ b/roles/openshift-apps/messaging-bridges/templates/configmap.yml @@ -67,6 +67,9 @@ data: auto_delete = false exclusive = false arguments = {} + + [consumer_config] + publish_endpoint = "tcp://busgateway01{{ env_suffix }}.phx2.fedoraproject.org:9941" [qos] prefetch_size = 0 @@ -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': {