Page MenuHomePhabricator

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

Authored by max on Mar 31 2022, 5:33 AM.
Tags
None
Referenced Files
F2834723: D3581.diff
Sat, Sep 28, 12:06 PM
Unknown Object (File)
Fri, Sep 27, 7:15 AM
Unknown Object (File)
Fri, Sep 27, 7:15 AM
Unknown Object (File)
Fri, Sep 27, 7:15 AM
Unknown Object (File)
Fri, Sep 27, 7:15 AM
Unknown Object (File)
Fri, Sep 27, 7:14 AM
Unknown Object (File)
Mon, Sep 16, 11:09 PM
Unknown Object (File)
Thu, Sep 12, 1:43 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.