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,
|
'mts-consumer': True,
|
||||||
'validate_signatures': False,
|
'validate_signatures': False,
|
||||||
'active': True,
|
'active': True,
|
||||||
'environment': {% if env == 'staging' %}'stg'{% else %}'prod'{% endif %},
|
|
||||||
'endpoints': {
|
|
||||||
'fedora-infrastructure': [
|
|
||||||
{% if env == 'staging' %}
|
{% if env == 'staging' %}
|
||||||
'tcp://stg.fedoraproject.org:9940',
|
|
||||||
{% else %}
|
'environment': 'stg',
|
||||||
'tcp://hub.fedoraproject.org:9940',
|
'endpoints': {
|
||||||
{% endif %}
|
'fedora-infrastructure': ['tcp://stg.fedoraproject.org:9940'],
|
||||||
],
|
|
||||||
'relay_outbound': ["tcp://127.0.0.1:4001"],
|
|
||||||
},
|
},
|
||||||
'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: |-
|
logging.py: |-
|
||||||
config = dict(logging={
|
config = dict(logging={
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue