Commit Graph

44393 Commits

Author SHA1 Message Date
Johnny Lim
fbfd6816c2 Polish Javadoc for DockerImageNames.rabbit()
See gh-37394
2023-09-15 11:16:06 +01:00
Andy Wilkinson
5910b3c0d6 Merge branch '3.0.x' into 3.1.x
Closes gh-37405
2023-09-15 11:08:40 +01:00
Andy Wilkinson
0af008960f Merge branch '2.7.x' into 3.0.x
Closes gh-37404
2023-09-15 11:05:24 +01:00
Andy Wilkinson
e1f6fb5a61 Remove @since from spring-boot-test-support's javadoc
Closes gh-37403
2023-09-15 10:54:41 +01:00
Andy Wilkinson
c187bd928a Don't add runtime shutdown hook till app with hook enabled is run
Previously, the runtime shutdown hook was added as soon as a
shutdown handler was registered. This causes a memory leak in a war
deployment when the application is undeployed as
LoggingApplicationListener always registers a shutdown handler
so the runtime shutdown hook was always registered.

This commit updates the shutdown hook so that the runtime shutdown
hook is only allowed to be added once run() has been called on a
SpringApplication with the shutdown hook enabled. This approach
allows the registerShutdownHook flag on SpringApplication to be a
central point of control for the registration of the runtime shutdown
hook. When that flag is set to false, for example by
SpringBootServletInitializer, the runtime shutdown hook will not
be registered, irrespective of whether other code uses the public
API to add a shutdown handler.

An alternative approach of stopping LoggingApplicationListener from
adding its shutdown handler – for example by adding
logging.register-shutdown-hook=false to the environment – was
considered. This approach was rejected in favor of the centralized
approach described above as it would require every caller that adds
a shutdown handler to deal with the problem.

Closes gh-37096
2023-09-15 08:37:56 +01:00
Andy Wilkinson
d9207fcaaf Merge branch '3.0.x' into 3.1.x
Closes gh-37398
2023-09-15 08:36:56 +01:00
Andy Wilkinson
8adc739b85 Merge branch '2.7.x' into 3.0.x
Closes gh-37397
2023-09-15 08:35:04 +01:00
Andy Wilkinson
e8e5146beb Stop failing the build when tests pass after retry
Closes gh-37392
2023-09-15 08:34:08 +01:00
Stephane Nicoll
39fcfcc8ad Merge branch '3.0.x' into 3.1.x 2023-09-14 13:43:50 +02:00
Stephane Nicoll
9ac851f512 Merge branch '2.7.x' into 3.0.x 2023-09-14 13:43:39 +02:00
Stephane Nicoll
6033e5ad63 Upgrade to Spring Retry 2.0.3
Closes gh-37280
2023-09-14 13:36:58 +02:00
Stephane Nicoll
8ea07aecb2 Upgrade to Spring Framework 6.0.12
Closes gh-37265
2023-09-14 13:36:58 +02:00
Stephane Nicoll
47ebf4e7ab Upgrade to Jakarta XML Bind 4.0.1
Closes gh-37387
2023-09-14 13:36:57 +02:00
Stephane Nicoll
e95fd56d3b Upgrade to Groovy 4.0.15
Closes gh-37386
2023-09-14 13:36:53 +02:00
Stephane Nicoll
f75a8fedf4 Upgrade to Spring Retry 2.0.3
Closes gh-37279
2023-09-14 13:35:35 +02:00
Stephane Nicoll
676daf1937 Upgrade to Spring Framework 6.0.12
Closes gh-37258
2023-09-14 13:35:34 +02:00
Stephane Nicoll
cc3200af72 Upgrade to Jakarta XML Bind 4.0.1
Closes gh-37385
2023-09-14 13:35:34 +02:00
Stephane Nicoll
f4d16d19e5 Upgrade to Groovy 4.0.15
Closes gh-37384
2023-09-14 13:35:30 +02:00
Stephane Nicoll
b74106db5f Upgrade to Spring Framework 5.3.30
Closes gh-37249
2023-09-14 13:33:35 +02:00
Andy Wilkinson
dfb95329fd Merge branch '3.0.x' into 3.1.x
Closes gh-37380
2023-09-14 11:03:08 +01:00
Andy Wilkinson
54b6ab00ed Merge pull request #37343 from Eng-Fouad
* gh-37343:
  Polish "Lazily query attributes when copying from base configuration"
  Lazily query attributes when copying from base configuration

Closes gh-37343
2023-09-14 11:02:40 +01:00
Andy Wilkinson
a795065555 Polish "Lazily query attributes when copying from base configuration"
See gh-37343
2023-09-14 10:32:05 +01:00
Fouad Almalki
7edc9ebc28 Lazily query attributes when copying from base configuration
See gh-37343
2023-09-14 10:30:11 +01:00
Moritz Halbritter
fdd9bc732f Enable RabbitEnvironmentTests 2023-09-14 11:25:20 +02:00
Moritz Halbritter
136a5b4c07 Enable PostgresEnvironmentTests 2023-09-14 11:25:06 +02:00
Moritz Halbritter
496b373fce Remove unused test 2023-09-14 11:22:54 +02:00
Moritz Halbritter
0f019b0049 Reign in Cassandra memory consumption when running tests
The environment variables are the same as the Cassandra Testcontainers
uses.
2023-09-14 11:20:22 +02:00
Andy Wilkinson
dc9a48030c Merge branch '3.0.x' into 3.1.x 2023-09-13 13:37:41 +01:00
Andy Wilkinson
3eb89343d0 Merge branch '2.7.x' into 3.0.x 2023-09-13 13:37:31 +01:00
Andy Wilkinson
c4368bc934 Run LoaderIntegrationTests on Java 21
See gh-37359
2023-09-13 13:36:04 +01:00
Andy Wilkinson
187b5eb1a8 Merge branch '3.0.x' into 3.1.x
Closes gh-37367
2023-09-13 11:40:05 +01:00
Andy Wilkinson
4c1433687d Merge branch '2.7.x' into 3.0.x
Closes gh-37366
2023-09-13 11:39:52 +01:00
Andy Wilkinson
a05b2aa1fa Merge branch '3.0.x' into 3.1.x 2023-09-13 11:38:23 +01:00
Andy Wilkinson
e3c86c55d7 Merge branch '2.7.x' into 3.0.x 2023-09-13 11:37:57 +01:00
Andy Wilkinson
efc180b682 Upgrade Java 21 CI to EA build 35
Closes gh-37365
2023-09-13 11:34:19 +01:00
Andy Wilkinson
db3a475888 Fix Dockerfile for JDK 21 CI image
See gh-37359
2023-09-13 11:34:19 +01:00
Andy Wilkinson
b9c223581e Merge branch '3.0.x' into 3.1.x
Closes gh-37364
2023-09-13 11:15:33 +01:00
Andy Wilkinson
eba2f718a7 Merge branch '2.7.x' into 3.0.x
Closes gh-37363
2023-09-13 11:15:16 +01:00
Moritz Halbritter
13a3e3bdf0 Add TWENTY_ONE to JavaVersion
Closes gh-37362
2023-09-13 11:04:22 +01:00
Andy Wilkinson
28ea983860 Merge branch '3.0.x' into 3.1.x
Closes gh-37361
2023-09-13 10:45:39 +01:00
Andy Wilkinson
34f7d926cf Merge branch '2.7.x' into 3.0.x
Closes gh-37360
2023-09-13 10:45:11 +01:00
Andy Wilkinson
75233e9865 Set up CI with JDK 21
Closes gh-37359
2023-09-13 10:42:46 +01:00
Andy Wilkinson
e128eb5025 Merge branch '3.0.x' into 3.1.x
Closes gh-37357
2023-09-13 10:22:35 +01:00
Andy Wilkinson
93ea05edc3 Merge branch '2.7.x' into 3.0.x
Closes gh-37356
2023-09-13 10:22:25 +01:00
Andy Wilkinson
3e68e6042e Merge branch '3.0.x' into 3.1.x 2023-09-13 10:21:32 +01:00
Andy Wilkinson
2ee9bd41b0 Fix moving to Micrometer Tracing snapshots
The GitHub repo, and therefore calendar entry, is named "Tracing"
but our name for the library is "Micrometer Tracing". Configuring
a custom calendarName allows snapshot release dates to be detected.

See gh-37212
2023-09-13 10:21:04 +01:00
Andy Wilkinson
0b3a5f2489 Ensure that check for unnecessary exclusions runs on classpath change
Closes gh-37307
2023-09-13 10:19:52 +01:00
Stephane Nicoll
bc234ea9bd Merge branch '3.0.x' into 3.1.x 2023-09-13 11:10:47 +02:00
Stephane Nicoll
0fd9c65d8d Merge branch '2.7.x' into 3.0.x 2023-09-13 11:10:38 +02:00
Stephane Nicoll
e92491e4ca Upgrade to Reactor Bom 2022.0.11
Closes gh-37263
2023-09-13 11:00:33 +02:00