-
Notifications
You must be signed in to change notification settings - Fork 1
chore: expose hybrid service framework #110
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 ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #110 +/- ##
=========================================
Coverage 68.53% 68.53%
Complexity 107 107
=========================================
Files 17 17
Lines 623 623
Branches 32 32
=========================================
Hits 427 427
Misses 177 177
Partials 19 19
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
| return List.of(); | ||
| } | ||
|
|
||
| protected List<HybridHttpHandlerFactory> getHybridHttpHandlerFactories() { |
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.
The extra interface is a variant of the existing HttpHandlerFactory that gives the construction context access to the GRPC environment as well. The handlers the factory returns are no different, but these extra arguments are only available to hybrid containers. This is typically used for an HTTP handler to then turn around and make a call to the GRPC container.
We have various hybrid grpc/http services that have some version of this PR in their local codebase. Moving it to central location.