debian-koji/tests
Ken Dreyer dbacf1f985 protonmsg: allow users to specify router-specific topic prefixes
Prior to this change, Koji would always send messages with a hard-coded
topic:// prefix.

This works fine for ActiveMQ 5 and Artemis, but RabbitMQ does not
support that syntax. Instead, RabbitMQ brokers expect clients to use
topic addresses with a "/topic/" prefix.

The RFE for RabbitMQ to support "topic://" prefixes is
https://github.com/rabbitmq/rabbitmq-server/issues/2583

In the meantime, allow users to specify "topic://" or "/topic/"
explicitly in their configuration.

For backwards-compatibility, if the user chose neither "topic://" nor
"/topic/", prepend the "topic://" string, preserving the plugin's
existing behavior.

(Note: ActiveMQ 5 advertises its expected topic:// prefix in the initial
connection properties, so we could read that value dynamically, but
RabbitMQ and Artemis do not send an expected topic prefix connection
properties, so we just make the user choose explicitly here.)
2021-12-20 08:44:27 +01:00
..
test_builder Pytest instead of nose in unittest 2021-12-06 12:17:29 +01:00
test_cli Remove rename-channel CLI and use editChannel in renameChannel 2021-12-15 15:28:19 +01:00
test_hub Add limits on name values 2021-12-09 07:11:57 +01:00
test_kojira importlib instead of imp 2021-06-02 11:19:33 +02:00
test_lib Pytest instead of nose in unittest 2021-12-06 12:17:29 +01:00
test_plugins protonmsg: allow users to specify router-specific topic prefixes 2021-12-20 08:44:27 +01:00
test_www importlib instead of imp 2021-06-02 11:19:33 +02:00
__init__.py Coverage tracking for the test suite. 2016-03-15 11:29:41 -04:00
test_docs_version.py importlib instead of imp 2021-06-02 11:19:33 +02:00
test_scm.py Pytest instead of nose in unittest 2021-12-06 12:17:29 +01:00