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, Dec 16, 3:20 AM
Unknown Object (File)
Fri, Dec 13, 4:32 AM
Unknown Object (File)
Thu, Nov 21, 5:18 AM
Unknown Object (File)
Tue, Nov 19, 12:37 PM
Unknown Object (File)
Tue, Nov 19, 12:37 PM
Unknown Object (File)
Tue, Nov 19, 12:37 PM
Unknown Object (File)
Tue, Nov 19, 12:24 PM
Unknown Object (File)
Nov 18 2024, 7:27 PM
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
Branch
add-disable-deviceid-validation-flag
Lint
No Lint Coverage
Unit
No Test Coverage

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