-
Notifications
You must be signed in to change notification settings - Fork 242
Tokens plugins now support a remote name #900
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
2d9b435 to
3b47d54
Compare
Codecov Report
@@ Coverage Diff @@
## main #900 +/- ##
=======================================
Coverage 99.96% 99.96%
=======================================
Files 298 298
Lines 19563 19600 +37
=======================================
+ Hits 19557 19594 +37
Misses 5 5
Partials 1 1
Continue to review full report at Codecov.
|
3b47d54 to
c2f0bb7
Compare
|
Seems I accidentally pulled in some changes from #896, gonna fix them now. |
c2f0bb7 to
b3ec5ba
Compare
awrichar
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good. We should probably add an E2E test.
Signed-off-by: Alex Shorsher <alex.shorsher@kaleido.io>
Signed-off-by: Alex Shorsher <alex.shorsher@kaleido.io>
- introduce a new `remotename` key for tokens plugins - `remotename` must be unique The definitions package now utilizes the `remotename` of tokens plugins. `defsender` will replace the local token plugin name with the remote name before sending the definition. The `defhandler` will then replace the `remotename` with the local name after receiving a broadcast. Signed-off-by: Alex Shorsher <alex.shorsher@kaleido.io>
Signed-off-by: Alex Shorsher <alex.shorsher@kaleido.io>
Signed-off-by: Alex Shorsher <alex.shorsher@kaleido.io>
371c602 to
17dfa78
Compare
remotenameconfig key for tokens pluginsremotenamemust be uniqueremotenamewill default to the pluginnameremotenameshould never be stored in the local database.The definitions package now utilizes the
remotenameof tokens plugins.defsenderwill replace the local token plugin name with the remote name before broadcasting the definition. Thedefhandlerwill then replace theremotenamewith the local name after receiving a broadcast.