Declare fedmsg endpoints for odcs backend.

This commit is contained in:
Ralph Bean 2018-06-21 13:27:39 +00:00
parent 00be7fd514
commit 6cf2425a61
2 changed files with 15 additions and 0 deletions

View file

@ -118,6 +118,7 @@
- endpoints-bugzilla2fedmsg.py
- endpoints-bodhi.py
- endpoints-autocloud.py
- endpoints-odcs-backend.py
- relay.py
- logging.py
- base.py

View file

@ -0,0 +1,14 @@
{% if env == 'staging' %}
suffix = 'stg.phx2.fedoraproject.org'
{% else %}
suffix = 'phx2.fedoraproject.org'
{% endif %}
config = dict(
endpoints={
"mbs.mbs-backend01": [
"tcp://mbs-backend01.%s:30%0.2i" % (suffix, i)
for i in range(8)
],
},
)