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)
Wed, Jun 12, 11:16 PM
Unknown Object (File)
Mon, Jun 10, 3:52 AM
Unknown Object (File)
Thu, Jun 6, 1:46 PM
Unknown Object (File)
Mon, Jun 3, 6:32 PM
Unknown Object (File)
Mon, Jun 3, 6:20 PM
Unknown Object (File)
Thu, May 30, 1:59 AM
Unknown Object (File)
Sat, May 18, 10:20 AM
Unknown Object (File)
May 7 2024, 2:06 AM
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