Page MenuHomePhabricator

[services] Tunnelbroker - Expose `isConfigParameterSet` function to the Rust
ClosedPublic

Authored by max on Jan 12 2023, 8:04 AM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, May 13, 6:52 PM
Unknown Object (File)
Sun, Apr 28, 5:32 PM
Unknown Object (File)
Sun, Apr 21, 9:19 PM
Unknown Object (File)
Sun, Apr 21, 9:19 PM
Unknown Object (File)
Sun, Apr 21, 9:19 PM
Unknown Object (File)
Sun, Apr 21, 9:19 PM
Unknown Object (File)
Sun, Apr 21, 9:18 PM
Unknown Object (File)
Sun, Apr 21, 9:16 PM
Subscribers

Details

Summary

This function exposes the isConfigParameterSet function from the C++ codebase to the Rust by using the CXX function.
This function will be used in the next D6253 diff to retrieve the boolean status if the config file flag.

Linear task: ENG-2642

Test Plan

Adding the skip_authentication flag to the [sessions] section of the config file results in a true return from the isConfigParameterSet('sessions.skip_authentication') function call from the Rust codebase.

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 added 1 blocking reviewer(s): jon.
max published this revision for review.Jan 12 2023, 8:22 AM
This revision is now accepted and ready to land.Jan 12 2023, 11:30 AM

Rebasing on parent changes.