[fedora-messaging] Adding topic_prefix back
Removing the topic_prefix from fedora messaging config files was a bit premature. So let's put them back in place. Signed-off-by: Michal Konecny <mkonecny@redhat.com>
This commit is contained in:
parent
e4e9f1ca3c
commit
6b0a66cb37
21 changed files with 149 additions and 0 deletions
|
@ -128,6 +128,9 @@ faf_web_throttle_burst: 1
|
|||
# fedora-messaging config #
|
||||
##############################
|
||||
faf_fedmsg_server:
|
||||
# The topic_prefix configuration value will add a prefix to the topics of every sent message.
|
||||
# This is used for migrating from fedmsg, and should not be used afterwards.
|
||||
faf_fedmsg_topic_prefix:
|
||||
|
||||
# [TLS]
|
||||
faf_fedmsg_ca_cert:
|
||||
|
|
|
@ -7,6 +7,10 @@ amqp_url = "amqp://{{ faf_fedmsg_server }}?connection_attempts=3&retry_delay=5"
|
|||
|
||||
passive_declares = true
|
||||
|
||||
# The topic_prefix configuration value will add a prefix to the topics of every sent message.
|
||||
# This is used for migrating from fedmsg, and should not be used afterwards.
|
||||
topic_prefix = {{ faf_fedmsg_topic_prefix }}
|
||||
|
||||
[tls]
|
||||
ca_cert = {{ faf_fedmsg_ca_cert }}
|
||||
keyfile = {{ faf_fedmsg_keyfile }}
|
||||
|
|
|
@ -5,6 +5,14 @@
|
|||
# Broker address
|
||||
amqp_url = "amqps://batcave{{ env_suffix }}:@rabbitmq{{ env_suffix }}.fedoraproject.org/%2Fpubsub"
|
||||
|
||||
# The topic_prefix configuration value will add a prefix to the topics of every sent message.
|
||||
# This is used for migrating from fedmsg, and should not be used afterwards.
|
||||
{% if env == "staging" %}
|
||||
topic_prefix = "org.fedoraproject.stg"
|
||||
{% else %}
|
||||
topic_prefix = "org.fedoraproject.prod"
|
||||
{% endif %}
|
||||
|
||||
[tls]
|
||||
ca_cert = "/etc/pki/rabbitmq/batcave.ca"
|
||||
keyfile = "/etc/pki/rabbitmq/batcave.key"
|
||||
|
|
|
@ -3,6 +3,14 @@
|
|||
|
||||
amqp_url = "amqps://pagure{{ env_suffix }}:@rabbitmq{{ env_suffix }}.fedoraproject.org/%2Fpubsub"
|
||||
|
||||
# The topic_prefix configuration value will add a prefix to the topics of every sent message.
|
||||
# This is used for migrating from fedmsg, and should not be used afterwards.
|
||||
{% if env == "staging" %}
|
||||
topic_prefix = "org.fedoraproject.stg"
|
||||
{% else %}
|
||||
topic_prefix = "org.fedoraproject.prod"
|
||||
{% endif %}
|
||||
|
||||
[tls]
|
||||
ca_cert = "/etc/pki/rabbitmq/pagurecert/src.fp.o.ca"
|
||||
keyfile = "/etc/pki/rabbitmq/pagurecert/src.fp.o.key"
|
||||
|
|
|
@ -3,6 +3,14 @@
|
|||
|
||||
amqp_url = "amqps://koji{{ env_suffix }}:@rabbitmq{{ env_suffix }}.fedoraproject.org/%2Fpubsub"
|
||||
|
||||
# The topic_prefix configuration value will add a prefix to the topics of every sent message.
|
||||
# This is used for migrating from fedmsg, and should not be used afterwards.
|
||||
{% if env == "staging" %}
|
||||
topic_prefix = "org.fedoraproject.stg"
|
||||
{% else %}
|
||||
topic_prefix = "org.fedoraproject.prod"
|
||||
{% endif %}
|
||||
|
||||
[tls]
|
||||
ca_cert = "/etc/pki/rabbitmq/kojicert/koji.ca"
|
||||
{% if koji_instance == "secondary" %}
|
||||
|
|
|
@ -1,5 +1,13 @@
|
|||
amqp_url = "amqps://{{ msg_username }}{{ env_suffix }}:@rabbitmq{{ env_suffix }}.fedoraproject.org/%2Fpubsub"
|
||||
|
||||
# The topic_prefix configuration value will add a prefix to the topics of every sent message.
|
||||
# This is used for migrating from fedmsg, and should not be used afterwards.
|
||||
{% if env == "staging" %}
|
||||
topic_prefix = "org.fedoraproject.stg"
|
||||
{% else %}
|
||||
topic_prefix = "org.fedoraproject.prod"
|
||||
{% endif %}
|
||||
|
||||
[tls]
|
||||
ca_cert = "/etc/pki/rabbitmq/{{ msg_username }}/ca.crt"
|
||||
keyfile = "/etc/pki/rabbitmq/{{ msg_username }}/{{ msg_username }}.key"
|
||||
|
|
|
@ -6,6 +6,14 @@ amqp_url = "amqps://fedbadges{{ env_suffix }}:@rabbitmq{{ env_suffix }}.fedorapr
|
|||
callback = "fedbadges.consumer:FedoraBadgesConsumer"
|
||||
passive_declares = true
|
||||
|
||||
# The topic_prefix configuration value will add a prefix to the topics of every sent message.
|
||||
# This is used for migrating from fedmsg, and should not be used afterwards.
|
||||
{% if env == "staging" %}
|
||||
topic_prefix = "org.fedoraproject.stg"
|
||||
{% else %}
|
||||
topic_prefix = "org.fedoraproject.prod"
|
||||
{% endif %}
|
||||
|
||||
[tls]
|
||||
ca_cert = "/etc/pki/fedora-messaging/ca/cacert.pem"
|
||||
certfile = "/etc/pki/fedora-messaging/crt/fedbadges-cert.pem"
|
||||
|
|
|
@ -5,6 +5,14 @@
|
|||
amqp_url = "amqps://tahrir{{ env_suffix }}:@rabbitmq{{ env_suffix }}.fedoraproject.org/%2Fpubsub"
|
||||
passive_declares = true
|
||||
|
||||
# The topic_prefix configuration value will add a prefix to the topics of every sent message.
|
||||
# This is used for migrating from fedmsg, and should not be used afterwards.
|
||||
{% if env == "staging" %}
|
||||
topic_prefix = "org.fedoraproject.stg"
|
||||
{% else %}
|
||||
topic_prefix = "org.fedoraproject.prod"
|
||||
{% endif %}
|
||||
|
||||
[tls]
|
||||
ca_cert = "/etc/pki/fedora-messaging/ca/cacert.pem"
|
||||
certfile = "/etc/pki/fedora-messaging/crt/tahrir-cert.pem"
|
||||
|
|
|
@ -3,6 +3,14 @@ amqp_url = "amqps://datanommer:@rabbitmq{{ env_suffix }}.fedoraproject.org/%2Fpu
|
|||
# Just check if the queue exist, don't try to create it (the server does not allow it).
|
||||
passive_declares = true
|
||||
|
||||
# The topic_prefix configuration value will add a prefix to the topics of every sent message.
|
||||
# This is used for migrating from fedmsg, and should not be used afterwards.
|
||||
{% if env == "staging" %}
|
||||
topic_prefix = "org.fedoraproject.stg"
|
||||
{% else %}
|
||||
topic_prefix = "org.fedoraproject.prod"
|
||||
{% endif %}
|
||||
|
||||
[tls]
|
||||
ca_cert = "/etc/pki/fedora-messaging/cacert.pem"
|
||||
keyfile = "/etc/pki/fedora-messaging/datanommer-key.pem"
|
||||
|
|
|
@ -5,6 +5,14 @@
|
|||
# Broker address
|
||||
amqp_url = "amqps://elections{{ env_suffix }}:@rabbitmq{{ env_suffix }}.fedoraproject.org/%2Fpubsub"
|
||||
|
||||
# The topic_prefix configuration value will add a prefix to the topics of every sent message.
|
||||
# This is used for migrating from fedmsg, and should not be used afterwards.
|
||||
{% if env == "staging" %}
|
||||
topic_prefix = "org.fedoraproject.stg"
|
||||
{% else %}
|
||||
topic_prefix = "org.fedoraproject.prod"
|
||||
{% endif %}
|
||||
|
||||
[tls]
|
||||
ca_cert = "/etc/pki/rabbitmq/ca/elections.ca"
|
||||
keyfile = "/etc/pki/rabbitmq/key/elections.key"
|
||||
|
|
|
@ -5,6 +5,14 @@
|
|||
# Broker address
|
||||
amqp_url = "amqps://fedocal{{ env_suffix }}:@rabbitmq{{ env_suffix }}.fedoraproject.org/%2Fpubsub"
|
||||
|
||||
# The topic_prefix configuration value will add a prefix to the topics of every sent message.
|
||||
# This is used for migrating from fedmsg, and should not be used afterwards.
|
||||
{% if env == "staging" %}
|
||||
topic_prefix = "org.fedoraproject.stg"
|
||||
{% else %}
|
||||
topic_prefix = "org.fedoraproject.prod"
|
||||
{% endif %}
|
||||
|
||||
[tls]
|
||||
ca_cert = "/etc/pki/rabbitmq/ca/fedocal.ca"
|
||||
keyfile = "/etc/pki/rabbitmq/key/fedocal.key"
|
||||
|
|
|
@ -5,6 +5,14 @@
|
|||
amqp_url = "amqps://fmn{{ env_suffix }}:@rabbitmq{{ env_suffix }}.fedoraproject.org/%2Fpubsub"
|
||||
passive_declares = true
|
||||
|
||||
# The topic_prefix configuration value will add a prefix to the topics of every sent message.
|
||||
# This is used for migrating from fedmsg, and should not be used afterwards.
|
||||
{% if env == "staging" %}
|
||||
topic_prefix = "org.fedoraproject.stg"
|
||||
{% else %}
|
||||
topic_prefix = "org.fedoraproject.prod"
|
||||
{% endif %}
|
||||
|
||||
[tls]
|
||||
ca_cert = "/etc/pki/fedora-messaging/ca/cacert.pem"
|
||||
certfile = "/etc/pki/fedora-messaging/crt/fmn-cert.pem"
|
||||
|
|
|
@ -4,6 +4,12 @@
|
|||
|
||||
amqp_url = "amqps://greenwave{{ env_suffix }}:@rabbitmq{{ env_suffix }}.fedoraproject.org/%2Fpubsub"
|
||||
|
||||
{% if env == "staging" %}
|
||||
topic_prefix = "org.fedoraproject.stg"
|
||||
{% else %}
|
||||
topic_prefix = "org.fedoraproject.prod"
|
||||
{% endif %}
|
||||
|
||||
publish_exchange = "amq.topic"
|
||||
passive_declares = true
|
||||
|
||||
|
|
|
@ -3,6 +3,14 @@ amqp_url = "amqps://kerneltest{{ env_suffix }}:@rabbitmq{{ env_suffix }}.fedorap
|
|||
# Just check if the queue exist, don't try to create it (the server does not allow it).
|
||||
passive_declares = true
|
||||
|
||||
# The topic_prefix configuration value will add a prefix to the topics of every sent message.
|
||||
# This is used for migrating from fedmsg, and should not be used afterwards.
|
||||
{% if env == "staging" %}
|
||||
topic_prefix = "org.fedoraproject.stg"
|
||||
{% else %}
|
||||
topic_prefix = "org.fedoraproject.prod"
|
||||
{% endif %}
|
||||
|
||||
[tls]
|
||||
ca_cert = "/etc/pki/fedora-messaging/cacert.pem"
|
||||
keyfile = "/etc/pki/fedora-messaging/kerneltest-key.pem"
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
amqp_url = "amqps://koschei{{ env_suffix }}:@rabbitmq{{ env_suffix }}.fedoraproject.org/%2Fpubsub"
|
||||
topic_prefix = "org.fedoraproject.{{ fedmsg_env }}"
|
||||
passive_declares = true
|
||||
|
||||
[tls]
|
||||
|
|
|
@ -3,6 +3,14 @@ amqp_url = "amqps://mirrormanager{{ env_suffix }}:@rabbitmq{{ env_suffix }}.fedo
|
|||
# Just check if the queue exist, don't try to create it (the server does not allow it).
|
||||
passive_declares = true
|
||||
|
||||
# The topic_prefix configuration value will add a prefix to the topics of every sent message.
|
||||
# This is used for migrating from fedmsg, and should not be used afterwards.
|
||||
{% if env == "staging" %}
|
||||
topic_prefix = "org.fedoraproject.stg"
|
||||
{% else %}
|
||||
topic_prefix = "org.fedoraproject.prod"
|
||||
{% endif %}
|
||||
|
||||
[tls]
|
||||
ca_cert = "/etc/pki/fedora-messaging/ca/cacert.pem"
|
||||
keyfile = "/etc/pki/fedora-messaging/key/key.pem"
|
||||
|
|
|
@ -3,6 +3,14 @@ amqp_url = "amqps://noggin:@rabbitmq{{ env_suffix }}.fedoraproject.org/%2Fpubsub
|
|||
# Just check if the queue exist, don't try to create it (the server does not allow it).
|
||||
passive_declares = true
|
||||
|
||||
# The topic_prefix configuration value will add a prefix to the topics of every sent message.
|
||||
# This is used for migrating from fedmsg, and should not be used afterwards.
|
||||
{% if env == "staging" %}
|
||||
topic_prefix = "org.fedoraproject.stg"
|
||||
{% else %}
|
||||
topic_prefix = "org.fedoraproject.prod"
|
||||
{% endif %}
|
||||
|
||||
[tls]
|
||||
ca_cert = "/etc/pki/fedora-messaging/cacert.pem"
|
||||
keyfile = "/etc/pki/fedora-messaging/noggin-key.pem"
|
||||
|
|
|
@ -9,6 +9,14 @@ callback = "toddlers.plugins.{{ toddler.callback }}"
|
|||
# to (this is done in the ansible playbook)
|
||||
passive_declares = true
|
||||
|
||||
# The topic_prefix configuration value will add a prefix to the topics of every sent message.
|
||||
# This is used for migrating from fedmsg, and should not be used afterwards.
|
||||
{% if env == "staging" %}
|
||||
topic_prefix = "org.fedoraproject.stg"
|
||||
{% else %}
|
||||
topic_prefix = "org.fedoraproject.prod"
|
||||
{% endif %}
|
||||
|
||||
[tls]
|
||||
ca_cert = "/etc/pki/rabbitmq/ca/toddlers.ca"
|
||||
keyfile = "/etc/pki/rabbitmq/key/toddlers.key"
|
||||
|
|
|
@ -3,6 +3,14 @@ amqp_url = "amqps://webhook2fedmsg{{ env_suffix }}:@rabbitmq{{ env_suffix }}.fed
|
|||
# Just check if the queue exist, don't try to create it (the server does not allow it).
|
||||
passive_declares = true
|
||||
|
||||
# The topic_prefix configuration value will add a prefix to the topics of every sent message.
|
||||
# This is used for migrating from fedmsg, and should not be used afterwards.
|
||||
{% if env == "staging" %}
|
||||
topic_prefix = "org.fedoraproject.stg"
|
||||
{% else %}
|
||||
topic_prefix = "org.fedoraproject.prod"
|
||||
{% endif %}
|
||||
|
||||
[tls]
|
||||
ca_cert = "/etc/pki/fedora-messaging/cacert.pem"
|
||||
keyfile = "/etc/pki/fedora-messaging/webhook2fedmsg-key.pem"
|
||||
|
|
|
@ -7,6 +7,13 @@ amqp_url = "amqps://pagure.stg:@rabbitmq.stg.fedoraproject.org/%2Fpubsub"
|
|||
amqp_url = "amqps://pagure:@rabbitmq.fedoraproject.org/%2Fpubsub"
|
||||
{% endif %}
|
||||
|
||||
# The topic_prefix configuration value will add a prefix to the topics of every sent message.
|
||||
# This is used for migrating from fedmsg, and should not be used afterwards.
|
||||
{% if env == "pagure-staging" %}
|
||||
topic_prefix = "io.pagure.stg"
|
||||
{% else %}
|
||||
topic_prefix = "io.pagure.prod"
|
||||
{% endif %}
|
||||
publish_exchange = "amq.topic"
|
||||
|
||||
|
||||
|
|
|
@ -3,6 +3,14 @@ amqp_url = "amqps://{{ botname }}:@rabbitmq{{ env_suffix }}.fedoraproject.org/%2
|
|||
# Just check if the queue exist, don't try to create it (the server does not allow it).
|
||||
passive_declares = true
|
||||
|
||||
# The topic_prefix configuration value will add a prefix to the topics of every sent message.
|
||||
# This is used for migrating from fedmsg, and should not be used afterwards.
|
||||
{% if env == "staging" %}
|
||||
topic_prefix = "org.fedoraproject.stg"
|
||||
{% else %}
|
||||
topic_prefix = "org.fedoraproject.prod"
|
||||
{% endif %}
|
||||
|
||||
[tls]
|
||||
ca_cert = "/etc/pki/fedora-messaging/rabbitmq-ca.crt"
|
||||
keyfile = "/etc/pki/fedora-messaging/{{ botname }}.key"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue