Commit Graph

22619 Commits

Author SHA1 Message Date
Andy Wilkinson
81dc0cc3cf Eliminate race condition in Tomcat's graceful shutdown
There was a race condition between the thread that's waiting for
Tomcat to become inactive or the graceful shutdown to be aborted
and the thread that aborts the shutdown and stops Tomcat when the
grace period has elapsed. This race can lead to Tomcat appearing
to have become inactive before the abort of the shutdown is
noticed. When this happens, the result of the shutdown is reported
as IDLE when it should have been REQUESTS_ACTIVE. The consequences
of this are mostly benign although it does affect the log messages
that are emitted. It is also causing some of our graceful shutdown
tests to be flaky.

This commit eliminates the race condition by considering the
state of the aborted flag before logging and returning the result
of the shutdown.

Closes gh-39942
2024-03-15 15:30:41 +00:00
Andy Wilkinson
781b14cffd Upgrade to Neo4j Java Driver 5.18.0
Closes gh-39935
2024-03-13 19:14:34 +00:00
Andy Wilkinson
e170d0652e Start building against Spring Authorization Server 1.1.6 snapshots
See gh-39914
2024-03-12 19:18:32 +00:00
Andy Wilkinson
4af8f97a00 Upgrade to Reactor Bom 2022.0.17
Closes gh-39906
2024-03-12 11:39:17 +00:00
Andy Wilkinson
3e25933779 Upgrade to Micrometer Tracing 1.1.11
Closes gh-39871
2024-03-12 11:39:12 +00:00
Andy Wilkinson
de086cd650 Upgrade to Micrometer 1.11.10
Closes gh-39870
2024-03-12 11:39:11 +00:00
Andy Wilkinson
c67be7635f Start building against Spring Session 3.1.5 snapshots
See gh-39878
2024-03-11 17:22:46 +00:00
Andy Wilkinson
15b687c889 Start building against Spring Security 6.1.8 snapshots
See gh-39877
2024-03-11 17:22:41 +00:00
Andy Wilkinson
7a511c2a10 Start building against Spring Kafka 3.0.15 snapshots
See gh-39876
2024-03-11 17:22:36 +00:00
Andy Wilkinson
b978188096 Start building against Spring Integration 6.1.7 snapshots
See gh-39875
2024-03-11 17:22:32 +00:00
Andy Wilkinson
bfe37b3630 Start building against Spring Data Bom 2023.0.10 snapshots
See gh-39873
2024-03-11 17:22:22 +00:00
Andy Wilkinson
4ad7f22188 Start building against Spring AMQP 3.0.12 snapshots
See gh-39872
2024-03-11 17:22:18 +00:00
Andy Wilkinson
9ae375f818 Start building against Micrometer Tracing 1.1.11 snapshots
See gh-39871
2024-03-11 17:22:13 +00:00
Andy Wilkinson
339bb3a44c Start building against Micrometer 1.11.10 snapshots
See gh-39870
2024-03-11 17:22:09 +00:00
Andy Wilkinson
16b6400bdf Improve BuildpackReference's handling of URL-like strings on Windows
Closes gh-39792
2024-02-28 17:15:02 +00:00
Andy Wilkinson
dd38fb8b65 Limit wait time when checking process's availability
Closes gh-39788
2024-02-28 15:04:08 +00:00
Tim Grohmann
bd6edeaa94 Allow creation of SpringProfileArbiter without Environment
See gh-39403
2024-02-28 13:07:43 +01:00
Piyal Ahmed
3028fe703e Fix Typo in Spring Boot Docs Section 10.1 Custom HTTP Exchange Recording
See gh-39777
2024-02-28 12:58:53 +01:00
Stéphane Nicoll
f6e4bede09 Stop throwing BindingException in tests
This commit adapts the error controller tests that need the request
to fail with a bind issue, and simulate the behavior of
ModelAttributeMethodProcessor.

As of Spring Framework 6.0.x, this processor no longer throws a
BindingException, but rather a MethodArgumentNotValidException and
the handing of BindException itself is deprecated.

This makes sure that those tests can smoothly be executed against
Spring Framework 6.2.x as throwing a BindingException now results
into an unresolved exception, and an internal server error rather than
the expected bad request.

See gh-39767
2024-02-27 14:12:19 -06:00
Stéphane Nicoll
c259a673d3 Make resolution algorithm of ConnectionDetailsFactory more explicit
This commit moves the resolution check for ConnectionDetailsFactory
to a dedicated method to make it more clear that it is meant to verify
that the implementation is resolved and can be loaded from the
classpath.

The previous algorithm relied on a behavior of ResolvableType that only
resolves the first level generics. Further improvements in Spring
Framework 6.2 make this check invalid as some implementations use a
Container that can hold a nested generic.

See gh-39737
2024-02-27 12:46:51 -06:00
Andy Wilkinson
54cdc83337 Only reference Gradle tasks beneath org.gradle.api
Fixes gh-39584
2024-02-27 12:38:07 +00:00
Phillip Webb
2c4909a89a Update copyright year of changed files 2024-02-21 13:58:53 -08:00
Andy Wilkinson
3e46fff15c Upgrade to Undertow 2.3.12.Final
Closes gh-39664
2024-02-21 20:10:58 +00:00
Andy Wilkinson
2581c5c87a Upgrade to Tomcat 10.1.19
Closes gh-39663
2024-02-21 20:10:57 +00:00
Andy Wilkinson
1c5858e59f Upgrade to Spring Security 6.1.7
Closes gh-39466
2024-02-21 20:09:26 +00:00
Andy Wilkinson
f0da887f17 Upgrade to Spring LDAP 3.1.4
Closes gh-39465
2024-02-21 20:09:26 +00:00
Andy Wilkinson
1036182692 Upgrade to Spring Kafka 3.0.14
Closes gh-39464
2024-02-21 20:09:25 +00:00
Andy Wilkinson
6a67eea361 Upgrade to Spring Integration 6.1.6
Closes gh-39463
2024-02-21 20:09:25 +00:00
Andy Wilkinson
d14fa83690 Upgrade to Spring GraphQL 1.2.5
Closes gh-39462
2024-02-21 20:09:24 +00:00
Andy Wilkinson
57d46423f7 Upgrade to Spring Data Bom 2023.0.9
Closes gh-39460
2024-02-21 20:09:23 +00:00
Andy Wilkinson
0e06315956 Upgrade to Spring Batch 5.0.5
Closes gh-39459
2024-02-21 20:09:22 +00:00
Andy Wilkinson
06f6bba0e3 Upgrade to Spring Authorization Server 1.1.5
Closes gh-39458
2024-02-21 20:09:22 +00:00
Andy Wilkinson
79b6505430 Upgrade to Spring AMQP 3.0.11
Closes gh-39457
2024-02-21 20:09:21 +00:00
Andy Wilkinson
152d983278 Upgrade to Reactor Bom 2022.0.16
Closes gh-39456
2024-02-21 20:09:20 +00:00
Andy Wilkinson
f45dfff082 Upgrade to Postgresql 42.6.1
Closes gh-39662
2024-02-21 20:09:20 +00:00
Andy Wilkinson
85a8364d73 Upgrade to jOOQ 3.18.11
Closes gh-39661
2024-02-21 20:09:15 +00:00
Andy Wilkinson
b4304af23f Upgrade to Byte Buddy 1.14.12
Closes gh-39659
2024-02-21 20:09:05 +00:00
Scott Frederick
eb4d6e7c15 Polish "Add note regarding mixing of bundle-based and direct SSL configuration"
See gh-39616
2024-02-20 11:57:06 -06:00
Jakob Wanger
4c069f0079 Add note regarding mixing of bundle-based and direct SSL configuration
Signed-off-by: Jakob Wanger <jakobwanger@gmail.com>

See gh-39616
2024-02-20 11:57:05 -06:00
Scott Frederick
c93acdafbd Polish "Prevent long parse times for images with illegal char in tag"
See gh-39617
2024-02-20 10:27:28 -06:00
Jakob Wanger
c892544741 Prevent long parse times for images with illegal char in tag
Update the regular expression used to parse Docker images references to
prevent catastrophic backtracking when images names are long and the
tag contains an illegal character.

See gh-39617
2024-02-20 10:27:27 -06:00
Moritz Halbritter
6d27c0a933 Fix SpringApplicationBannerPrinterTests on Windows 2024-02-19 14:22:18 +01:00
Moritz Halbritter
ea2f273cf8 Polish "Fix local dependent writing of banner into ByteArrayOutputStream"
See gh-39601
2024-02-19 11:33:57 +01:00
Thorsten Schmidt
f82a5e10db Fix local dependent writing of banner into ByteArrayOutputStream
See gh-39601
2024-02-19 11:12:12 +01:00
Stéphane Nicoll
7d73b11239 Fix json path assertion
See gh-39605
2024-02-19 11:01:12 +01:00
junhyung
8fee77761d Change ConcurrentReferenceCachingMetadataReaderFactory to use application's resource loader
See gh-39321
2024-02-16 09:32:24 +01:00
Moritz Halbritter
e2b29dc9cb Polish "Document default value for show-value configuration properties"
See gh-39589
2024-02-16 09:24:32 +01:00
lukasdooo
7ade54d304 Document default value for show-value configuration properties
See gh-39589
2024-02-16 09:21:55 +01:00
Andy Wilkinson
0f341f4cb0 Upgrade to Undertow 2.3.11.Final
Closes gh-39563
2024-02-14 15:55:28 +00:00
Andy Wilkinson
642517a27a Upgrade to SLF4J 2.0.12
Closes gh-39562
2024-02-14 15:55:24 +00:00