Page MenuHomePhabricator

[services] Tunnelbroker - Move tools to the scope.
ClosedPublic

Authored by max on Mar 31 2022, 5:33 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Nov 10, 4:00 PM
Unknown Object (File)
Sun, Nov 10, 1:57 PM
Unknown Object (File)
Sun, Nov 10, 1:06 PM
Unknown Object (File)
Sun, Nov 10, 5:43 AM
Unknown Object (File)
Fri, Nov 8, 7:27 PM
Unknown Object (File)
Tue, Nov 5, 11:04 AM
Unknown Object (File)
Tue, Oct 29, 5:31 AM
Unknown Object (File)
Sep 28 2024, 12:06 PM

Details

Summary

Our 'tools' functions now reside in Tools.h,.cpp as a global scope which is not a good practice and will lead to functions confusion. The Tools functions must reside in their own tools namespace scope.

Linear task: ENG-958

Test Plan

Successfully built and run service using yarn run-tunnelbroker-service.

Diff Detail

Repository
rCOMM Comm
Branch
tools-to-scope
Lint
No Lint Coverage
Unit
No Test Coverage

Event Timeline

Are we going to do the same for other services?

This revision is now accepted and ready to land.Mar 31 2022, 8:44 AM
In D3581#97843, @palys-swm wrote:

Are we going to do the same for other services?

@karol-bisztyga what do you think? Should I create the task for blob and backup services?

In D3581#98754, @geekbrother wrote:
In D3581#97843, @palys-swm wrote:

Are we going to do the same for other services?

@karol-bisztyga what do you think? Should I create the task for blob and backup services?

Landing this and raised https://linear.app/comm/issue/ENG-976/move-services-tools-to-its-scope task for other services.

This revision was landed with ongoing or failed builds.Apr 6 2022, 4:36 AM
This revision was automatically updated to reflect the committed changes.