Fix the messaging bridges config
This commit is contained in:
parent
162cae8a5b
commit
45c6ad950a
1 changed files with 4 additions and 2 deletions
|
@ -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': {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue