Skip to content
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

closes #2068: Enable gRPC reflection #1853

Merged
merged 5 commits into from
Sep 29, 2022
Merged

Conversation

mpenick
Copy link
Contributor

@mpenick mpenick commented May 25, 2022

What this PR does:

Enables gRPC reflection. This is useful for gRPC tools that can utilize reflection information
e.g. Postman.

Checklist

  • Changes manually tested
  • Automated Tests added/updated
  • Documentation added/updated
  • CLA Signed: DataStax CLA

@@ -77,6 +78,7 @@ public GrpcImpl(
.intercept(
new TaggingMetricCollectingServerInterceptor(
metrics.getMeterRegistry(), grpcMetricsTagProvider))
.addService(ProtoReflectionService.newInstance())
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Maybe make this optional?

Copy link
Contributor

Choose a reason for hiding this comment

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

Done. Enabled by default.

@mpenick
Copy link
Contributor Author

mpenick commented Aug 25, 2022

This can be merged after a review.

mpenick and others added 3 commits September 27, 2022 14:08
This is useful for gRPC tools that can utilize reflection information
e.g. Postman.
@ivansenic ivansenic marked this pull request as ready for review September 27, 2022 12:35
@ivansenic ivansenic requested a review from a team as a code owner September 27, 2022 12:35
@ivansenic
Copy link
Contributor

/gcbrun

@ivansenic ivansenic changed the title Enable gRPC reflection closes #2068: Enable gRPC reflection Sep 27, 2022
@tatu-at-datastax
Copy link
Collaborator

Nice simplification of tests @ivansenic! Looks good.

@ivansenic
Copy link
Contributor

/gcbrun

@ivansenic
Copy link
Contributor

/gcbrun

@ivansenic ivansenic merged commit 4947057 into master Sep 29, 2022
@ivansenic ivansenic deleted the mpenick/grpc-reflection branch September 29, 2022 14:10
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.

None yet

3 participants