GH-3424: Document required dependencies for JsonToGrpc filter#4207
Open
won-seoop wants to merge 2 commits into
Open
GH-3424: Document required dependencies for JsonToGrpc filter#4207won-seoop wants to merge 2 commits into
won-seoop wants to merge 2 commits into
Conversation
Documents how to include Spring Security in Spring Cloud Gateway Server WebFlux and WebMVC projects, including dependency configuration, HTTP firewall customization with StrictHttpFirewall / StrictServerWebExchangeFirewall, and links to Spring Security reference documentation. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…lter The JsonToGrpc GatewayFilter depends on gRPC and Protobuf libraries that are optional (not pulled in transitively). Add a Required Dependencies section with Maven and Gradle snippets so users know what to add before they encounter a NoClassDefFoundError at runtime. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
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.
What's included
Adds a Required Dependencies section to the
JsonToGrpcGatewayFilterFactory documentation, listing the four optional gRPC/Protobuf artifacts that must be added explicitly:io.grpc:grpc-nettyio.grpc:grpc-protobufio.grpc:grpc-stubcom.google.protobuf:protobuf-java-utilThe section includes both Maven and Gradle snippets, and notes that versions are managed by the Spring Cloud Gateway BOM so no explicit version is needed when importing
spring-cloud-dependencies.Also explains that the filter bean is only auto-configured when
io.grpc.Channelis on the classpath, so missing dependencies result in the filter not being registered.Related issue
Closes #3424
🤖 Generated with Claude Code