# moksha configuration without fedmsg

[app:main]

# Some configuration for our workers
bugzilla.products = Fedora, Fedora EPEL

# If you have 8 worker threads you *also* need 8 fedmsg endpoints in fedmsg.d/
# and 8 open holes in the firewall
bugzilla.num_workers = 1
moksha.workers_per_consumer = 2
moksha.threadpool_size = 5

# These are credentials used to log in to bugzilla
{% if env == 'staging' %}
bugzilla.url = https://partner-bugzilla.redhat.com
{% else %}
bugzilla.url = https://bugzilla.redhat.com
{% endif %}
bugzilla.username = {{ bugzilla_user }}
bugzilla.password = {{ bugzilla_password }}

# Stomp broker configuration.
{% if env == 'staging' %}
#stomp_uri = fuse-fabric-01-stg.jboss.org:61617,fuse-fabric-02-stg.jboss.org:61617,fuse-fabric-03-stg.jboss.org:61617
#stomp_uri = 10.34.40.176:61617,10.34.40.177:61617,10.34.40.178:61617 

# Only temporarily point staging at the prod fabric due to https://issues.jboss.org/browse/ENTMQ-812
stomp_uri = fuse-fabric-01.jboss.org:61617,fuse-fabric-02.jboss.org:61617,fuse-fabric-03.jboss.org:61617

stomp_ssl_crt = /etc/pki/fedmsg/fedora.devel.engineering.redhat.com.crt
stomp_ssl_key = /etc/pki/fedmsg/fedora.devel.engineering.redhat.com.key
{% else %}
stomp_uri = fuse-fabric-01.jboss.org:61617,fuse-fabric-02.jboss.org:61617,fuse-fabric-03.jboss.org:61617
stomp_ssl_crt = /etc/pki/fedmsg/fuse-fabric-fedoraproject.org.crt
stomp_ssl_key = /etc/pki/fedmsg/fuse-fabric-fedoraproject.org.key
{% endif %}

stomp_user = {{ redhat_dmz_broker_username }}
stomp_pass = {{ redhat_dmz_broker_password }}
stomp_heartbeat = 1000

moksha.monitoring.socket = ipc:///var/run/fedmsg/monitoring-moksha-hub.socket
moksha.monitoring.socket.mode = 770
