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
F3244020: D6252.id21749.diff
Thu, Nov 14, 10:28 AM
Unknown Object (File)
Tue, Nov 12, 1:22 AM
Unknown Object (File)
Fri, Nov 8, 10:03 AM
Unknown Object (File)
Fri, Nov 8, 3:57 AM
Unknown Object (File)
Sat, Oct 26, 9:58 PM
Unknown Object (File)
Sat, Oct 26, 9:58 PM
Unknown Object (File)
Sat, Oct 26, 9:58 PM
Unknown Object (File)
Sat, Oct 26, 9:58 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.