Commit Graph

21141 Commits

Author SHA1 Message Date
Sébastien Deleuze db8dee5aac Refine SpringApplication.Augmented.with Kotlin extension
This commit allows to specify multiple Kotlin classes.

See gh-35784
2023-06-16 14:22:18 +02:00
Andy Wilkinson 1652c27b3c Apply additional sources once when using SpringApplication.from()
Previously, when using SpringApplication.from() any additional
sources configured using with() would be applied to every
SpringApplication that was created within the scope of the call to
run(). This caused problems with Spring Cloud's bootstrap context
where the additional sources would be applied to both the user's
application and to the boostrap context's application.

This commit updates the hook that's used to apply the additional
sources so that it's only applied once. This results in the
additional sources only being added to the first SpringApplication
that is run.

Closes gh-35873
2023-06-16 10:39:20 +01:00
Phillip Webb c192fb85b2 Merge branch '3.0.x' into 3.1.x
Closes gh-35922
2023-06-15 14:26:55 -07:00
Phillip Webb 4c8b93b37d Merge branch '2.7.x' into 3.0.x
Closes gh-35920
2023-06-15 14:26:36 -07:00
Phillip Webb 137f4ee451 Support reporting of custom Log4J2 log levels from the LoggersEndpoint
Support custom Log4J2 log levels by changing `LoggerConfiguration` so
that it can now report levels using a `LevelConfiguration` object
rather than the limited `LogLevel` enum.

The `Log4J2LoggingSystem` class now uses `LevelConfiguration.ofCustom`
for custom logging levels, rather than throwing an exception.

The `LoggersEndpoint` has also been updated so that it can return the
custom logger name.

Fixes gh-35227
2023-06-15 14:03:22 -07:00
Andy Wilkinson 3d9a308053 Merge branch '3.0.x' into 3.1.x
Closes gh-35913
2023-06-15 15:50:07 +01:00
Andy Wilkinson eeea065595 Merge branch '2.7.x' into 3.0.x
Closes gh-35912
2023-06-15 15:49:36 +01:00
Andy Wilkinson e779fb0bc4 Validate constructor bound config props that implement Validator
Closes gh-33669
2023-06-15 15:29:20 +01:00
Andy Wilkinson 61752184f2 Merge branch '3.0.x' into 3.1.x
Closes gh-35911
2023-06-15 14:47:21 +01:00
Andy Wilkinson 7bb3caf914 Merge branch '2.7.x' into 3.0.x
Closes gh-35910
2023-06-15 14:47:01 +01:00
Andy Wilkinson ee606db34a Update Data REST starter description to mention Spring MVC
Closes gh-35678
2023-06-15 14:46:23 +01:00
Andy Wilkinson 251b5f2d0f Merge branch '3.0.x' into 3.1.x
Closes gh-35909
2023-06-15 14:38:31 +01:00
Andy Wilkinson a5981a4dac Merge branch '2.7.x' into 3.0.x
Closes gh-35908
2023-06-15 14:38:13 +01:00
Andy Wilkinson 9feb84e234 Add DynmicPropertySource to ordered list of property sources
Closes gh-32901
2023-06-15 14:36:38 +01:00
Moritz Halbritter be471c58fe Merge branch '3.0.x' into 3.1.x
Closes gh-35907
2023-06-15 13:49:57 +02:00
Moritz Halbritter 8cd8d21720 Add support for multiple tracing propagation formats
See gh-35611
2023-06-15 13:37:33 +02:00
Andy Wilkinson cb36df47c8 Merge branch '3.0.x' into 3.1.x
Closes gh-35905
2023-06-15 12:20:55 +01:00
Andy Wilkinson 6def7252d6 Merge branch '2.7.x' into 3.0.x
Closes gh-35904
2023-06-15 12:20:27 +01:00
Andy Wilkinson 088006ff60 Use ephemeral port for Hazelcast
When Hazelcast is started on a fixed port and that port is already in
use, it does not fail to start which makes the problem hard to
detect. A symptom of the problem is that clients will not be able to
connect and will either retry indefinitely or will timeout depending
on their configuration.

This commit updates the Hazelcast client tests to start the Hazelcast
instance on an ephemeral port and to customize the client
configuration with the instance's address before use. This should
allow the client tests to work reliably in an environment where
Hazelcast's default port is already in use.

Closes gh-35903
2023-06-15 12:19:34 +01:00
Andy Wilkinson 9b88128e3b Merge branch '3.0.x' into 3.1.x 2023-06-14 18:19:53 +01:00
Andy Wilkinson 4694e20628 Merge branch '2.7.x' into 3.0.x 2023-06-14 18:19:43 +01:00
Andy Wilkinson 7d07c0d09c Polish configuration related to predictive test selection
Most notably, this commit splits the tests that use Spring REST Docs
out into a separate task for which predictive test selection is
disabled. This allows it to be cached and use Gradle's built-in
up-to-date checking, thereby avoiding the generation of new snippets
and the need to then run the asciidoctor and asciidoctorPdf tasks.

It also updates spring-boot-smoke-test-junit-vintage to disable
predictive test selection so that we can continue to assert that
the some tests were executed.

See gh-35869
2023-06-14 18:15:04 +01:00
Stephane Nicoll f299a2473e Upgrade to Reactor Bom 2022.0.8
Closes gh-35747
2023-06-14 09:35:39 +02:00
Stephane Nicoll 61bae46deb Upgrade to Micrometer Tracing 1.1.2
Closes gh-35746
2023-06-14 09:35:38 +02:00
Stephane Nicoll b17c948d61 Upgrade to Micrometer 1.11.1
Closes gh-35745
2023-06-14 09:35:38 +02:00
Stephane Nicoll 4f3761c852 Upgrade to Logback 1.4.8
Closes gh-35885
2023-06-14 09:35:37 +02:00
Stephane Nicoll 9e642c9843 Upgrade to Hazelcast 5.2.4
Closes gh-35884
2023-06-14 09:35:32 +02:00
Stephane Nicoll 1093d172a4 Upgrade to Couchbase Client 3.4.7
Closes gh-35883
2023-06-14 09:35:25 +02:00
Stephane Nicoll d3ff04fa4b Upgrade to Reactor Bom 2022.0.8
Closes gh-35736
2023-06-14 09:23:44 +02:00
Stephane Nicoll 1900910008 Upgrade to Micrometer Tracing 1.0.7
Closes gh-35735
2023-06-14 09:23:44 +02:00
Stephane Nicoll 2d43f345de Upgrade to Micrometer 1.10.8
Closes gh-35734
2023-06-14 09:23:43 +02:00
Stephane Nicoll 7cf41e9e0a Upgrade to Logback 1.4.8
Closes gh-35881
2023-06-14 09:23:43 +02:00
Stephane Nicoll 10b66975dd Upgrade to Glassfish JAXB 4.0.3
Closes gh-35880
2023-06-14 09:23:38 +02:00
Stephane Nicoll 2dbfe54762 Upgrade to Couchbase Client 3.4.7
Closes gh-35879
2023-06-14 09:23:33 +02:00
Stephane Nicoll f2a44d7f06 Upgrade to Reactor Bom 2020.0.33
Closes gh-35726
2023-06-14 09:20:05 +02:00
Stephane Nicoll 7576117dd9 Upgrade to Micrometer 1.9.12
Closes gh-35725
2023-06-14 09:20:04 +02:00
Scott Frederick 7e6452edee Fix Redis URL property userinfo parsing
Fixes gh-35850
2023-06-13 16:42:19 -05:00
Andy Wilkinson b3e2f9a212 Merge branch '3.0.x' into 3.1.x
Closes gh-35868
2023-06-13 15:49:33 +01:00
Andy Wilkinson ac8ea1d841 Upgrade to Neo4j Java Driver 5.9.0
Closes gh-35867
2023-06-13 15:48:52 +01:00
Andy Wilkinson e12ae5add5 Merge branch '3.0.x' into 3.1.x
Closes gh-35865
2023-06-13 13:52:10 +01:00
Andy Wilkinson bdbbbc6470 Merge branch '2.7.x' into 3.0.x
Closes gh-35864
2023-06-13 13:51:51 +01:00
Andy Wilkinson 984dc1d58f Allow package-private main classes to be used with Devtools
Fixes gh-35858
2023-06-13 13:50:27 +01:00
Andy Wilkinson 1955139b72 Start building against Spring Integration 6.1.1 snapshots
See gh-35859
2023-06-13 11:04:31 +01:00
Sungchan Cho 96d5f8641c Fix typo in Docker Compose documentation
See gh-35818
2023-06-13 10:18:16 +02:00
Stephane Nicoll 71856687d7 Upgrade to Undertow 2.3.7.Final
Closes gh-35849
2023-06-12 08:46:00 +02:00
Stephane Nicoll c6bb958ce3 Upgrade to UnboundID LDAPSDK 6.0.9
Closes gh-35848
2023-06-12 08:45:56 +02:00
Stephane Nicoll 815fe626f8 Upgrade to Testcontainers 1.18.3
Closes gh-35847
2023-06-12 08:45:51 +02:00
Stephane Nicoll 9048686080 Upgrade to SQLite JDBC 3.41.2.2
Closes gh-35846
2023-06-12 08:45:45 +02:00
Stephane Nicoll bba8569c25 Upgrade to R2DBC Proxy 1.1.1.RELEASE
Closes gh-35845
2023-06-12 08:45:40 +02:00
Stephane Nicoll 009b4bbcd9 Upgrade to R2DBC MySQL 1.0.2
Closes gh-35844
2023-06-12 08:45:35 +02:00