Skip to content

refactor: use container-provided channel registry #106

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

Merged
merged 3 commits into from
Aug 2, 2022

Conversation

aaron-steinfeld
Copy link
Contributor

Description

Small refactor to use the container's channel registry rather than building our own internally

@aaron-steinfeld aaron-steinfeld requested a review from a team as a code owner August 2, 2022 19:17

@Inject
DefaultGrpcChannelRegistry(GraphQlServiceLifecycle serviceLifecycle) {
serviceLifecycle.shutdownCompletion().thenRun(this.delegate::shutdown);
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No longer required, the channel registry is managed by the container.

@codecov
Copy link

codecov bot commented Aug 2, 2022

Codecov Report

Merging #106 (fe2e841) into main (25000d1) will decrease coverage by 0.17%.
The diff coverage is 41.66%.

@@             Coverage Diff              @@
##               main     #106      +/-   ##
============================================
- Coverage     58.36%   58.18%   -0.18%     
  Complexity      255      255              
============================================
  Files            87       87              
  Lines          1309     1313       +4     
  Branches         39       39              
============================================
  Hits            764      764              
- Misses          515      519       +4     
  Partials         30       30              
Flag Coverage Δ
unit 58.18% <41.66%> (-0.18%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
...ace/core/graphql/utils/grpc/GraphQlGrpcModule.java 0.00% <0.00%> (ø)
...g/hypertrace/core/graphql/impl/GraphQlFactory.java 0.00% <0.00%> (ø)
...graphql/utils/grpc/DefaultGrpcChannelRegistry.java 80.00% <100.00%> (-3.34%) ⬇️
...rg/hypertrace/core/graphql/impl/GraphQlModule.java 100.00% <100.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us.

surajpuvvada
surajpuvvada previously approved these changes Aug 2, 2022
@github-actions
Copy link

github-actions bot commented Aug 2, 2022

Test Results

96 tests   96 ✔️  28s ⏱️
32 suites    0 💤
32 files      0

Results for commit fe2e841.

@aaron-steinfeld aaron-steinfeld merged commit b3f39e7 into main Aug 2, 2022
@aaron-steinfeld aaron-steinfeld deleted the external-grpc-registry branch August 2, 2022 20:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants