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)
Tue, Nov 12, 12:33 PM
Unknown Object (File)
Fri, Nov 8, 4:18 PM
Unknown Object (File)
Sun, Oct 27, 6:16 AM
Unknown Object (File)
Sun, Oct 27, 6:16 AM
Unknown Object (File)
Sun, Oct 27, 6:16 AM
Unknown Object (File)
Sun, Oct 27, 6:12 AM
Unknown Object (File)
Oct 7 2024, 5:01 AM
Unknown Object (File)
Sep 27 2024, 4:19 AM

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.