Commit Graph

21857 Commits

Author SHA1 Message Date
Andy Wilkinson
d653515532 Merge branch '3.0.x' into 3.1.x
Closes gh-37411
2023-09-15 13:37:45 +01:00
Mark Nelson
78a69cbb7d Update README.adoc to add Oracle Spring Boot Starters
See gh-37069
2023-09-15 13:37:20 +01:00
Andy Wilkinson
ee6d558060 Merge branch '3.0.x' into 3.1.x
Closes gh-37408
2023-09-15 11:18:06 +01:00
Andy Wilkinson
24e3a124d9 Merge branch '2.7.x' into 3.0.x
Closes gh-37407
2023-09-15 11:17:56 +01:00
Andy Wilkinson
ee78e45ea7 Polish "Polish Javadoc for DockerImageNames.rabbit()"
See gh-37394
2023-09-15 11:17:15 +01:00
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
Stephane Nicoll
6033e5ad63 Upgrade to Spring Retry 2.0.3
Closes gh-37280
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
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
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
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
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
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
Stephane Nicoll
e92491e4ca Upgrade to Reactor Bom 2022.0.11
Closes gh-37263
2023-09-13 11:00:33 +02:00
Stephane Nicoll
c6184b4429 Upgrade to Reactor Bom 2022.0.11
Closes gh-37256
2023-09-13 10:58:42 +02:00
Stephane Nicoll
5bbd4bba91 Upgrade to Reactor Bom 2020.0.36
Closes gh-37246
2023-09-13 10:56:47 +02:00
Stephane Nicoll
8d8eb0e3f6 Upgrade to Neo4j Java Driver 5.12.0
Closes gh-37353
2023-09-12 17:14:54 +02:00
Stephane Nicoll
5fe111df66 Upgrade to Neo4j Java Driver 5.12.0
Closes gh-37352
2023-09-12 17:13:40 +02:00
Stephane Nicoll
7df79432eb Polish "Upgrade to Micrometer Tracing 1.0.10"
See gh-37345
2023-09-12 15:10:19 +02:00
Stephane Nicoll
2b23bb8923 Start building against Spring Data Bom 2023.0.4 snapshots
See gh-37350
2023-09-12 12:08:42 +02:00
Stephane Nicoll
11940f8fec Start building against Spring Data Bom 2022.0.10 snapshots
See gh-37349
2023-09-12 12:08:01 +02:00
Stephane Nicoll
70b585f0d7 Merge branch '3.0.x' into 3.1.x 2023-09-12 12:06:43 +02:00
Stephane Nicoll
0163570cda Remove invalid exclusion of Spring Data versions 2023-09-12 12:06:12 +02:00
Stephane Nicoll
4c415efea3 Upgrade to Micrometer Tracing 1.1.5
Closes gh-37262
2023-09-12 11:40:51 +02:00
Stephane Nicoll
d720956209 Upgrade to Micrometer 1.11.4
Closes gh-37261
2023-09-12 11:40:50 +02:00
Stephane Nicoll
bbefc07752 Upgrade to Micrometer Tracing 1.0.10
Closes gh-37345
2023-09-12 11:38:04 +02:00
Stephane Nicoll
a3dff81437 Upgrade to Micrometer 1.10.11
Closes gh-37255
2023-09-12 11:38:00 +02:00
Stephane Nicoll
181f0b004b Upgrade to Micrometer 1.9.15
Closes gh-37245
2023-09-12 11:33:44 +02:00
Moritz Halbritter
e2d84fa462 Make SslStoreBundle implementations immutable
Closes gh-37222
2023-09-11 15:39:25 +02:00
Stephane Nicoll
c298091e34 Merge branch '3.0.x' into 3.1.x
Closes gh-37336
2023-09-11 15:37:43 +02:00
Stephane Nicoll
112e85507c Support AOT processing of Value Object with several constructors
Previously, AOT processing failed on processing an immutable
configuration properties that declare several constructors as the core
framework infrastructure tries to resolve the "autowired" constructor
to use, even if the custom code fragments are never going to use it.

This commit workarounds the problem in maintenance releases until a
proper fix is provided in the core framework. When AOT runs, a
SmartInstantiationAwareBeanPostProcessor is added to the bean factory
to provide the constructor to use. This implementation relies on the
same algorithm that the binder uses at runtime.

Closes gh-37283
2023-09-11 15:27:02 +02:00
Andy Wilkinson
7754dd290a Merge branch '3.0.x' into 3.1.x 2023-09-11 10:32:24 +01:00
Andy Wilkinson
994bafdfd9 Merge branch '2.7.x' into 3.0.x 2023-09-11 10:32:13 +01:00
Marten Deinum
5141e5c4ac Fix description of brokerUrl property in ArtemisProperties
Update description to refer to url instead of port.

See gh-37260
2023-09-11 10:31:19 +01:00
Stephane Nicoll
8a69af94f2 Upgrade to Spring Kafka 3.0.11
Closes gh-37305
2023-09-11 11:00:15 +02:00
Stephane Nicoll
f4f18d1d51 Upgrade to SLF4J 2.0.9
Closes gh-37304
2023-09-11 11:00:15 +02:00