Page MenuHomePhabricator

[services] Tunnelbroker - Add disable `deviceID` format validation config parameter
ClosedPublic

Authored by max on Feb 2 2023, 4:42 AM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Apr 29, 8:17 PM
Unknown Object (File)
Sun, Apr 14, 1:58 PM
Unknown Object (File)
Sun, Apr 14, 1:58 PM
Unknown Object (File)
Sun, Apr 14, 1:58 PM
Unknown Object (File)
Sun, Apr 14, 1:53 PM
Unknown Object (File)
Mar 21 2024, 7:18 PM
Unknown Object (File)
Mar 20 2024, 5:33 AM
Unknown Object (File)
Mar 20 2024, 5:33 AM
Subscribers

Details

Summary

This diff introduces adding the sessions.disable_deviceid_validation config flag to disable a deviceID format validation in Tunnelbroker.
We are disabling the validation of the deviceID format for using the Tunnelbroker as a Redis replacement, in this case, the deviceID format will be different and we should not validate it.

Linear task: ENG-2640

Test Plan
  1. CI checks are successfully passed.
  2. This flag is used in the following D6523.

Manual testing:
Adding the disable_deviceid_validation flag to the [sessions] section of the config file results in a true return from the isParameterSet('sessions.disable_deviceid_validation') function call.

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

max held this revision as a draft.
max edited the test plan for this revision. (Show Details)
max added a reviewer: bartek.
max edited the summary of this revision. (Show Details)
This revision is now accepted and ready to land.Feb 2 2023, 10:18 AM