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
F2028684: D6523.id22639.diff
Mon, Jun 17, 11:07 PM
F2028683: D6523.id21842.diff
Mon, Jun 17, 11:07 PM
Unknown Object (File)
Thu, Jun 13, 10:59 PM
Unknown Object (File)
Tue, Jun 11, 3:07 PM
Unknown Object (File)
Tue, Jun 11, 8:24 AM
Unknown Object (File)
Tue, Jun 11, 8:24 AM
Unknown Object (File)
Mon, Jun 10, 3:03 PM
Unknown Object (File)
Sun, Jun 9, 8:06 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
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