HomePhabricator
Diffusion Comm 5a05f25ddd00

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

Description

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

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.

Reviewers: jon, bartek

Reviewed By: jon

Subscribers: ashoat, tomek, atul

Differential Revision: https://phab.comm.dev/D6523