message-tagging-service: fix fedmsg config
Set proper relay_inbound address in order to publish messages. Signed-off-by: Chenxiong Qi <cqi@redhat.com>
This commit is contained in:
parent
2d38cdf8da
commit
7ad62ce6c0
1 changed files with 16 additions and 10 deletions
|
@ -58,18 +58,24 @@ data:
|
|||
'mts-consumer': True,
|
||||
'validate_signatures': False,
|
||||
'active': True,
|
||||
'environment': {% if env == 'staging' %}'stg'{% else %}'prod'{% endif %},
|
||||
|
||||
{% if env == 'staging' %}
|
||||
|
||||
'environment': 'stg',
|
||||
'endpoints': {
|
||||
'fedora-infrastructure': [
|
||||
{% if env == 'staging' %}
|
||||
'tcp://stg.fedoraproject.org:9940',
|
||||
{% else %}
|
||||
'tcp://hub.fedoraproject.org:9940',
|
||||
{% endif %}
|
||||
],
|
||||
'relay_outbound': ["tcp://127.0.0.1:4001"],
|
||||
'fedora-infrastructure': ['tcp://stg.fedoraproject.org:9940'],
|
||||
},
|
||||
'relay_inbound': ["tcp://127.0.0.1:2003"],
|
||||
'relay_inbound': ['tcp://busgateway01.stg.phx2.fedoraproject.org:9941'],
|
||||
|
||||
{% else %}
|
||||
|
||||
'environment': 'prod',
|
||||
'endpoints': {
|
||||
'fedora-infrastructure': ['tcp://hub.fedoraproject.org:9940'],
|
||||
},
|
||||
'relay_inbound': ['tcp://busgateway01.phx2.fedoraproject.org:9941'],
|
||||
|
||||
{% endif %}
|
||||
}
|
||||
logging.py: |-
|
||||
config = dict(logging={
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue