31 Commits
Author SHA1 Message Date
Andy Wilkinson 85535ce81f Merge branch '4.1.x'
Closes gh-51607
2026-09-07 12:20:42 +01:00
Andy Wilkinson 50350d0c83 Merge branch '4.0.x' into 4.1.x
Closes gh-51606
2026-09-07 12:20:30 +01:00
Andy Wilkinson 57b44b0594 Merge branch '4.1.x'
Closes gh-51600
2026-09-07 08:27:14 +01:00
Andy Wilkinson ea613dc511 Merge branch '4.0.x' into 4.1.x
Closes gh-51599
2026-09-07 08:26:42 +01:00
Phillip Webb ef4f1404a1 Merge branch '4.1.x'
Closes gh-51455
2026-08-25 14:19:47 -07:00
Phillip Webb 914f39384c Merge branch '4.0.x' into 4.1.x
Closes gh-51454
2026-08-25 14:07:23 -07:00
Stéphane Nicoll 834203dba5 Merge branch '4.1.x'
Closes gh-51106
2026-07-23 14:23:55 +02:00
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 57aa6d26d8 Merge branch '4.1.x' 2026-07-15 13:26:15 +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 e3e01fe9d5 Polish "Add self-reference to ApplicationContextAssertProvider"
See gh-50500
2026-07-15 12:05:39 +02:00
Stefano Cordio cb9b32bd22 Add self-reference to ApplicationContextAssertProvider
See gh-50500

Signed-off-by: Stefano Cordio <stefano.cordio@gmail.com>
2026-07-15 12:05:23 +02:00
Venkata Naga Sai Srikanth Gollapudi 87c4755a86 Harmonize use of Collections and Maps in configuration properties
See gh-50367

Signed-off-by: Venkata Naga Sai Srikanth Gollapudi <42247688+gollapudisrikanth@users.noreply.github.com>
2026-07-15 11:37:31 +02:00
Stéphane Nicoll 5bf2a32b11 Merge branch '4.0.x' 2026-05-30 14:39:57 +02:00
Andy Wilkinson 6a74bb85a3 Merge branch '4.0.x'
Closes gh-50440
2026-05-14 15:03:44 +01: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