Commit Graph
19 Commits
Author SHA1 Message Date
Stéphane Nicoll e2b4c93c57 Polish "Honor gRPC overall health setting"
See gh-50799
2026-07-23 14:17:38 +02:00
Ahmed El amraouiyine da318b2540 Honor gRPC overall health setting
See gh-50799

Signed-off-by: Ahmed El amraouiyine <amraouiyine@gmail.com>
2026-07-23 14:16:01 +02:00
Stéphane Nicoll 7ef46fb87a Merge branch '4.0.x' into 4.1.x 2026-07-15 13:25:59 +02:00
Stéphane Nicoll 5bf2a32b11 Merge branch '4.0.x' 2026-05-30 14:39:57 +02:00
Phillip Webb c5cd580073 Support GrpcServerHealthScheduler in servlet environments
Refine `GrpcServerHealthScheduler` so that it will start when gRPC
is running behind a servlet.

Closes gh-50209
2026-04-30 21:25:57 -07:00
Phillip Webb e62a0409c9 Add @GrpcAdvice exception handling support
Closes gh-49053
2026-04-21 20:03:03 -07:00
Phillip Webb 752be34e1c Fix GrpcDisableCsrfHttpConfigurer logic and add metadata
Fix the `GrpcDisableCsrfHttpConfigurer` logic so that the property
`spring.grpc.server.security.csrf.enabled` is used correctly.

Also add missing metadata.

Fixes gh-50145
2026-04-21 19:58:39 -07:00
Stéphane Nicoll 4d074fcb64 Polish 2026-03-26 10:51:27 +01:00
Stéphane Nicoll d7a4561da8 Harmonize ObservationConvention parameters in gRPC support
Such parameters are usually named "customConvention" so this commit
aligns to that naming.

See gh-49730
2026-03-26 08:38:42 +01:00
Stéphane Nicoll 3ebc8653d5 Polish "Add server-side support for custom gRPC conventions"
See gh-49730
2026-03-25 10:47:41 +01:00
Andrey Litvitski 7c268112a1 Add server-side support for custom gRPC conventions
In this commit, we make `GrpcServerObservationAutoConfiguration` and
`GrpcClientObservationAutoConfiguration` consistent by supporting a
custom `GrpcClientObservationConvention` and adding the
`@ConditionalOnMissingBean` annotation to the
`observationGrpcServerInterceptor` bean.

See gh-49730

Signed-off-by: Andrey Litvitski <andrey1010102008@gmail.com>
2026-03-25 10:40:49 +01:00
Stéphane Nicoll fe8fcaeaff Polish 2026-03-24 11:28:37 +01:00
Stéphane Nicoll bf5562359d Polish configuration properties for gRPC support
This commit aligns convention for configuration properties description:

- Do not start with 'The' or 'A'.
- Do not document default value when it is specified.
- Document default change to unit
2026-03-24 11:13:19 +01:00
Stéphane Nicoll 5b7a6a9cc6 Consistently document default duration unit in gRPC support
Closes gh-49722
2026-03-24 10:48:43 +01:00
Chris BonoandPhillip Webb 1cb8d02ed7 Add Spring gRPC server and client security support
Add auto-configuration to integrate gRPC server applications
with Spring Security. This commit provides both standard
Spring Security support as well as OAuth support.

Closes gh-49047

Co-authored-by: Phillip Webb <phil.webb@broadcom.com>
2026-03-19 15:12:31 -07:00
Chris BonoandPhillip Webb 1b41cb20c1 Add Spring gRPC client and server observation support
Update client and server code to support micrometer observations.

Closes gh-49056

Co-authored-by: Phillip Webb <phil.webb@broadcom.com>
2026-03-19 15:12:31 -07:00
Phillip Webb d6b28375c0 Validate 'server.http2.enabled' for gRPC Servlet applications
Throw an error is a Spring gRPC Servlet based server application
has forgotten to configure HTTP/2 support.

There is also the option of suppressing the error if HTTP/2 has
been configured directly and not using the configuration property.

Closes gh-49050
2026-03-19 15:12:31 -07:00
Phillip WebbandChris Bono 67ac57fb77 Add Spring gRPC server health check support
Add integration between Spring Boot's health module and gRPC
health checking service support.

Closes gh-49048

Co-authored-by: Chris Bono <chris.bono@broadcom.com>
2026-03-19 15:12:31 -07:00
Chris BonoandPhillip Webb e61bb6df5b Add Spring gRPC server support
Add support for Spring gRPC server applications.

Closes gh-49044

Co-authored-by: Phillip Webb <phil.webb@broadcom.com>
2026-03-19 15:12:30 -07:00