docs(showcase): Add developer guide for local server testing and dynamic cert rotation - #14042
Open
macastelaz wants to merge 1 commit into
Open
docs(showcase): Add developer guide for local server testing and dynamic cert rotation#14042macastelaz wants to merge 1 commit into
macastelaz wants to merge 1 commit into
Conversation
Contributor
There was a problem hiding this comment.
Code Review
This pull request introduces a comprehensive developer guide for using the Java Showcase Library for local server testing, along with a reference to it in the main README. The feedback highlights two improvements in the guide's code examples: correcting a non-standard class usage that would cause compilation errors when configuring OpenTelemetry, and refactoring a JUnit 5 exception assertion to use the idiomatic assertThrows instead of a try-catch block with fail().
…mic cert rotation * Add docs/showcase_local_server_testing_guide.md detailing programmatic local Showcase server testing for gRPC plaintext and HTTP/REST configurations. * Document infrastructure verification patterns, including OpenTelemetry tracer configuration and dynamic mTLS certificate rotation with ChannelPool and RefreshingHttpJsonChannel refreshes. * Cross-reference java-showcase/README.md as authoritative for server CLI installation and startup to avoid redundancy. * Include full JUnit 5 integration test recipe with assertThrows error injection verification and troubleshooting matrix. Fixes / Addresses: https://b.corp.google.com/issues/515074892
macastelaz
force-pushed
the
doc/showcase-local-server-testing
branch
from
August 11, 2026 16:58
a451dab to
e99057f
Compare
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Summary
Adds a comprehensive developer guide (
docs/showcase_local_server_testing_guide.md) detailing how to programmatically configure Java client libraries (EchoClient,IdentityClient, etc.) in unit and integration tests against a localgapic-showcaseserver.Highlights
ManagedChannelBuilder::usePlaintext) and HTTP/REST (doNotValidateCertificate) local server setups usingNoCredentialsProvider.ChannelPool/ HTTPRefreshingHttpJsonChanneldynamic certificate rotation testing and transparent retry verification.java-showcase/README.mdfor server binary download and CLI startup to avoid documentation duplication.Fixes / Addresses: https://b.corp.google.com/issues/515074892