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)
Sun, Apr 21, 9:19 PM
Unknown Object (File)
Sun, Apr 21, 9:18 PM
Unknown Object (File)
Sun, Apr 21, 9:18 PM
Unknown Object (File)
Sun, Apr 21, 9:16 PM
Unknown Object (File)
Mar 25 2024, 2:12 PM
Unknown Object (File)
Mar 25 2024, 2:12 PM
Unknown Object (File)
Mar 25 2024, 2:12 PM
Unknown Object (File)
Mar 25 2024, 2:11 PM
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