Page MenuHomePhabricator

[keyserver] Refactoring rust-node-addon API names
AbandonedPublic

Authored by max on Feb 10 2023, 8:02 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Nov 2, 3:27 PM
Unknown Object (File)
Sun, Oct 27, 6:17 PM
Unknown Object (File)
Thu, Oct 24, 2:00 AM
Unknown Object (File)
Sat, Oct 19, 2:15 AM
Unknown Object (File)
Sat, Oct 19, 2:14 AM
Unknown Object (File)
Sat, Oct 19, 2:07 AM
Unknown Object (File)
Sep 9 2024, 4:32 AM
Unknown Object (File)
Sep 5 2024, 1:12 PM
Subscribers

Details

Reviewers
varun
tomek
Summary

This diff introduces refactoring of the rust-node-addon function name to reflect that it's only related to the Identity service instead of the global napi-rs Rust library. I think it makes sense to distinguish "getter" between identity and Tunnelbroker client to return a specific flow type in this case and distinguish usage. The Tunnelbroker API client getter will be added in the following D6690.

Linear task: ENG-2613

Test Plan

Passing the CI is enough for these changes.

Diff Detail

Repository
rCOMM Comm
Branch
ks-refactor-addon-rust-api
Lint
No Lint Coverage
Unit
No Test Coverage

Event Timeline

max held this revision as a draft.
max edited the test plan for this revision. (Show Details)
max added reviewers: varun, tomek.
max published this revision for review.Feb 13 2023, 5:57 AM

i'm good with renaming this, but let's say getIdentityAPI instead of getIdentityRustAPI

keyserver/addons/rust-node-addon/index.js
15
41
This revision is now accepted and ready to land.Feb 13 2023, 2:30 PM