Page MenuHomePhabricator

[services] Tunnelbroker - Adding boolean config parameters to be used in the config file
ClosedPublic

Authored by max on Feb 16 2023, 7:18 AM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Nov 13, 3:56 PM
Unknown Object (File)
Sat, Nov 9, 3:47 AM
Unknown Object (File)
Fri, Nov 8, 9:50 PM
Unknown Object (File)
Sat, Oct 26, 9:58 PM
Unknown Object (File)
Sat, Oct 26, 9:58 PM
Unknown Object (File)
Sat, Oct 26, 9:58 PM
Unknown Object (File)
Sat, Oct 26, 9:56 PM
Unknown Object (File)
Wed, Oct 23, 7:31 AM
Subscribers

Details

Summary

This diff introduces changes that add the ability to use boolean config parameters be used in the config ini file. By default, it is used as a CLI parameter in the case of the boolean.
By adding the boolean type and default value we can use boolean parameters in the config ini file by providing them in appropriate sections.

Linear task: ENG-3022

Test Plan

Adding parameters to the config file:

[sessions]
skip_authentication = true
disable_deviceid_validation = true

resulting in a true on calling isConfigParameterSet

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.Feb 16 2023, 7:28 AM
max retitled this revision from [services] Tunnelbroker - Fixing boolean config parameters to be used in the config file to [services] Tunnelbroker - Adding boolean config parameters to be used in the config file.
max edited the summary of this revision. (Show Details)
max edited the test plan for this revision. (Show Details)
max added a reviewer: bartek.
This revision is now accepted and ready to land.Feb 20 2023, 3:57 AM