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, Nov 11, 11:38 PM
Unknown Object (File)
Sat, Nov 2, 4:50 AM
Unknown Object (File)
Fri, Oct 18, 11:02 AM
Unknown Object (File)
Fri, Oct 18, 11:02 AM
Unknown Object (File)
Fri, Oct 18, 11:01 AM
Unknown Object (File)
Fri, Oct 18, 10:57 AM
Unknown Object (File)
Oct 1 2024, 8:43 PM
Unknown Object (File)
Oct 1 2024, 6:29 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