-
Notifications
You must be signed in to change notification settings - Fork 0
refactor: add registry support for secure channels #18
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
Codecov Report
@@ Coverage Diff @@
## main #18 +/- ##
============================================
+ Coverage 72.10% 72.42% +0.32%
- Complexity 80 85 +5
============================================
Files 16 16
Lines 233 243 +10
Branches 13 14 +1
============================================
+ Hits 168 176 +8
- Misses 54 55 +1
- Partials 11 12 +1
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
This comment has been minimized.
This comment has been minimized.
|
Thanks @aaron-steinfeld for taking this up. |
| private final Map<String, ManagedChannel> channelMap = new ConcurrentHashMap<>(); | ||
| private volatile boolean isShutdown = false; | ||
|
|
||
| /** Use either {@link #forSecureAddress(String, int) or} */ |
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.
| /** Use either {@link #forSecureAddress(String, int) or} */ | |
| /** Use either {@link #forSecureAddress(String, int)} or {@link #forPlaintextAddress(String, int)} */ |
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.
whoops, did I not finish writing that...
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.
fixed
Description
Add supports to the channel registry to create different plaintext and secure channels, differentiating the two.
Testing
Added UTs
Checklist: