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, Jun 23, 10:26 PM
Unknown Object (File)
Fri, Jun 21, 11:58 PM
Unknown Object (File)
Fri, Jun 21, 11:58 PM
Unknown Object (File)
Fri, Jun 21, 11:58 PM
Unknown Object (File)
Fri, Jun 21, 11:57 PM
Unknown Object (File)
Fri, Jun 21, 11:40 PM
Unknown Object (File)
Tue, Jun 18, 8:08 PM
Unknown Object (File)
Fri, Jun 14, 8:10 AM

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
Lint
Lint Not Applicable
Unit
Tests Not Applicable

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.