-
Notifications
You must be signed in to change notification settings - Fork 566
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
Implements the gRPC MP Client API #9026
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
oracle-contributor-agreement
bot
added
the
OCA Verified
All contributors have signed the Oracle Contributor Agreement.
label
Jul 23, 2024
spericas
force-pushed
the
grpc-client-mp-2
branch
2 times, most recently
from
July 23, 2024 15:08
5fae6e0
to
b4fc614
Compare
spericas
force-pushed
the
grpc-client-mp-2
branch
3 times, most recently
from
July 24, 2024 18:21
8e355d8
to
025935d
Compare
...microprofile/grpc/src/test/java/io/helidon/examples/microprofile/grpc/StringServiceTest.java
Outdated
Show resolved
Hide resolved
...file/grpc/client/src/main/java/io/helidon/microprofile/grpc/client/GrpcChannelsProvider.java
Outdated
Show resolved
Hide resolved
Example has been moved here helidon-io/helidon-examples#65 |
… client proxies. It introduces two new annotations, GrpcProxy and GrpcChannel (also defined as part of the Grpc namespace). Client proxies can be injected into CDI beans to access remote gRPC services.
Signed-off-by: Santiago Pericas-Geertsen <[email protected]>
…ime. Signed-off-by: Santiago Pericas-Geertsen <[email protected]>
Signed-off-by: Santiago Pericas-Geertsen <[email protected]>
Signed-off-by: Santiago Pericas-Geertsen <[email protected]>
Signed-off-by: Santiago Pericas-Geertsen <[email protected]>
Signed-off-by: Santiago Pericas-Geertsen <[email protected]>
…els are now defined under grpc.client.channels. Signed-off-by: Santiago Pericas-Geertsen <[email protected]>
…t can be used to update the server's listening port dynamically. This is very useful during testing. Removes reflective code from the client gRPC library and updates tests.
…te repo in 4.x. A new PR against the examples repo will be created. Signed-off-by: Santiago Pericas-Geertsen <[email protected]>
romain-grecourt
force-pushed
the
grpc-client-mp-2
branch
from
August 6, 2024 23:12
e5facf0
to
05a22b6
Compare
tomas-langer
requested changes
Aug 8, 2024
Signed-off-by: Santiago Pericas-Geertsen <[email protected]>
tomas-langer
approved these changes
Aug 9, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
4.x
Version 4.x
client
grpc
OCA Verified
All contributors have signed the Oracle Contributor Agreement.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
Implements the gRPC MP Client API. This API uses interfaces to create client proxies. It introduces two new annotations,
@GrpcProxy
for injection and@GrpcChannel
to associate a channel with a proxy. Client proxies can be injected into CDI beans to access remote gRPC services.A sample client interface is shown below:
A proxy instance can be injected as follows:
Documentation
Will be provided in a follow-up PR.