Page MenuHomePhabricator

[services] Tunnelbroker - Change RabbitMQ queue name for a sandbox mode
ClosedPublic

Authored by max on Aug 5 2022, 5:30 AM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Dec 16, 6:34 PM
Unknown Object (File)
Mon, Dec 16, 12:53 AM
Unknown Object (File)
Sun, Dec 15, 10:19 PM
Unknown Object (File)
Sat, Nov 30, 1:55 PM
Unknown Object (File)
Tue, Nov 26, 1:02 PM
Unknown Object (File)
Tue, Nov 26, 4:19 AM
Unknown Object (File)
Nov 22 2024, 11:18 PM
Unknown Object (File)
Nov 12 2024, 12:33 PM

Details

Summary

When running in a sandbox mode Tunnelbroker uses a different config file which is tunnelbroker-dev.ini. In a sandbox mode, we are using a test prefix for database table names.
To follow this approach we should use a test name for a RabbitMQ queue instead of the default one.

Related Linear task: ENG-1491

Test Plan

Successfully passing unit tests from D4749.

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

max held this revision as a draft.
max published this revision for review.Aug 5 2022, 5:44 AM
max edited the summary of this revision. (Show Details)
max edited the test plan for this revision. (Show Details)
max added reviewers: karol, tomek.
tomek added inline comments.
services/tunnelbroker/tunnelbroker-dev.ini
2 ↗(On Diff #15356)

Is the plan, for each instance of tunnelbroker, to modify the number by hand? Or maybe we're planning to set it automatically?

This revision is now accepted and ready to land.Aug 9 2022, 10:01 AM
max added inline comments.
services/tunnelbroker/tunnelbroker-dev.ini
2 ↗(On Diff #15356)

Is the plan, for each instance of tunnelbroker, to modify the number by hand? Or maybe we're planning to set it automatically?

There is no plan at the moment to assign the instance IDs automatically.