Commit Graph

22523 Commits

Author SHA1 Message Date
Moritz Halbritter 408fb8ae9d Add support for EdDSA, XDH and RSA-PSS key parsing
This works with Java 17 and up. Also refactor the test for more
structure.

Closes gh-37237
2023-09-15 14:15:02 +02:00
Johnny Lim 8f4ccb0535 Polish
See gh-37393
2023-09-15 11:44:06 +01:00
Andy Wilkinson 8599f8ecfc Merge branch '3.1.x'
Closes gh-37409
2023-09-15 11:18:16 +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 a0435920ce Merge branch '3.1.x'
Closes gh-37406
2023-09-15 11:15:03 +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 7424e845d1 Merge branch '3.1.x'
Closes gh-37402
2023-09-15 10:46:56 +01:00
Moritz Halbritter 73c25d7156 Provide RestClientSsl as a bean
Closes gh-37400
2023-09-15 10:41:37 +02: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 0535f1c762 Upgrade to Spring Retry 2.0.3
Closes gh-37281
2023-09-14 15:49:03 +02:00
Stephane Nicoll b83655a122 Upgrade to Jakarta XML Bind 4.0.1
Closes gh-37391
2023-09-14 15:49:03 +02:00
Stephane Nicoll e7089eaa0e Upgrade to Groovy 4.0.15
Closes gh-37390
2023-09-14 15:48:58 +02:00
Stephane Nicoll 0ba6af9eb2 Upgrade to Flyway 9.22.1
Closes gh-37389
2023-09-14 15:48:53 +02:00
Moritz Halbritter 3b15d46455 Use virtual threads on Spring Data Redis if enabled
Closes gh-35942
2023-09-14 14:30:47 +02:00
Andy Wilkinson e3d884803e Add Docker Compose support for Neo4j
Closes gh-37379
2023-09-14 13:25:38 +01:00
Andy Wilkinson 4f6e50b55a Make Spring Pulsar's Caffeine cache provider available to test compile
See gh-34763
2023-09-14 13:01:21 +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 c5f7f11a13 Align with repackaging of CaffeineCacheProvider in Spring Pulsar
See gh-34763
2023-09-14 11:39:39 +01:00
Andy Wilkinson 44bc47d96d Merge branch '3.1.x'
Closes gh-37381
2023-09-14 11:03:25 +01: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
Chris Bono b81d78f324 Add SSL section to Pulsar docs
- Add link to Spring Pulsar TLS docs
- Update usage of 'Spring Pulsar' to 'Spring for Apache Pulsar'

See gh-37375
2023-09-14 11:31:57 +02: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 f94693a251 Merge branch '3.1.x' 2023-09-14 11:29:18 +02: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
Moritz Halbritter 3dd6372602 Polish "Add service connection from OpenTelemetry Collector"
See gh-35082
2023-09-14 11:10:19 +02:00
Moritz Halbritter c387c87fda Polish "Add service connection from OpenTelemetry Collector"
See gh-35082
2023-09-14 10:50:36 +02:00
Eddú Meléndez 6997277f75 Add service connection from OpenTelemetry Collector
See gh-35082
2023-09-14 09:44:20 +02:00
Stephane Nicoll 4bb2e918ed Upgrade to Reactor Bom 2023.0.0-M3
Closes gh-37227
2023-09-13 21:34:36 +02:00
Stephane Nicoll 360cdc07a8 Upgrade to Elasticsearch Client 8.10.0
Closes gh-37374
2023-09-13 21:34:36 +02:00
Stephane Nicoll 77a85fd180 Fix deprecation in Spring Framework 2023-09-13 18:04:55 +02:00
Stephane Nicoll 4243456590 Fix deprecation in Spring Framework 2023-09-13 17:14:46 +02:00
Andy Wilkinson d7f44164d9 Merge branch '3.1.x' 2023-09-13 11:16:48 +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 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
Moritz Halbritter 92500720a7 Polish "Introduce configuration property for strict servlet compliance"
See gh-37242
2023-09-13 10:46:34 +02:00
Yanming Zhou 05b87c5fe8 Introduce configuration property for strict servlet compliance
The property is named spring.servlet.multipart.strict-servlet-compliance

See gh-37242
2023-09-13 10:42:22 +02:00
Johnny Lim c2b78830ff Polish
See gh-37340
2023-09-13 10:26:54 +02:00
Scott Frederick a9f26e0f95 Conditionally enable image building bind cache tests
Accessing bind mount directories as is done in the tests for building
images with bind mount caches requires Docker configuration when
using Docker Desktop. It works without configuration on Linux with
Docker Engine.

See gh-28387
2023-09-12 17:00:59 -05: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 1bda578327 Start building against Spring Data Bom 2023.1.0 snapshots
See gh-37351
2023-09-12 15:13:07 +02:00
Stephane Nicoll 7df79432eb Polish "Upgrade to Micrometer Tracing 1.0.10"
See gh-37345
2023-09-12 15:10:19 +02:00
Andy Wilkinson 4ebee17cb1 Suppress warnings until more to new semconv module
OTel has deprecated their semconv module and introduced a new module
with different Maven coordinates. micrometer-metrics/tracing#343 will
move Micrometer Tracing to the new module. Until then, we need to
suppress the deprecation warnings that result from using the old one.

Closes gh-37347
2023-09-12 13:43:27 +01:00
Andy Wilkinson 8874cadebf Revert workaround for gh-18440
This reverts the main code changes from commit
b240c810a8. The tests are kept to
verify that the workaround is no longer required.

Closes gh-18591
2023-09-12 13:43:27 +01:00
Mahmoud Ben Hassine 626d858d81 Update Batch tests
Related to: https://github.com/spring-projects/spring-batch/issues/4245

Closes gh-37348
2023-09-12 14:05:15 +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 9e37c6842a Merge branch '3.1.x' 2023-09-12 12:07:07 +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 2d1fcab611 Upgrade to OpenTelemetry 1.30.1
Closes gh-37347
2023-09-12 11:43:14 +02:00
Stephane Nicoll 0587fb5331 Upgrade to Micrometer Tracing 1.2.0-M3
Closes gh-37346
2023-09-12 11:43:08 +02:00
Stephane Nicoll f2bf49ec35 Upgrade to Micrometer 1.12.0-M3
Closes gh-37226
2023-09-12 11:43:03 +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
Brian Clozel c8d036eaa8 Remove ServerHttpObservationFilter from WebFlux
This commit removes the auto-configuration of the
`ServerHttpObservationFilter` bean for WebFlux applications as it's been
deprecated by Spring Framework.

The Observability instrumentation is now handled at the
`WebHttpHandlerBuilder` in Framework directly and doesn't need any
auto-configuration from Spring Boot.

Closes gh-37344
2023-09-12 10:59:25 +02:00
Moritz Halbritter 8a1f6d4f32 Merge branch '3.1.x'
Closes gh-37335
2023-09-11 16:50:44 +02:00
Stephane Nicoll a1c2ca7f3b Upgrade to Jetty Reactive HTTPClient 4.0.0
Closes gh-37339
2023-09-11 16:29:30 +02:00
Stephane Nicoll 24eadd70ed Adapt to Spring Framework API change
This commit adapts to API changes in Spring Framework, see
spring-projects/spring-framework#31117

Previously, the "autowired" executable to use for a bean was always
resolved, even if a custom code fragment didn't really need it. This
is key for binding of immutable configuration properties as we use an
instance supplier for it.

This changes means that the workaround added in maintenance releases
can be removed.

See gh-37337
2023-09-11 16:03:27 +02:00
Andy Wilkinson 14a59a33dc Test that GraphQL QueryDSL auto-config backs off without Query DSL
See gh-34974
2023-09-11 15:00:22 +01:00
Moritz Halbritter e2d84fa462 Make SslStoreBundle implementations immutable
Closes gh-37222
2023-09-11 15:39:25 +02:00
Stephane Nicoll 671b04e3e3 Merge branch '3.1.x'
Closes gh-37337
2023-09-11 15:37:53 +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
Stephane Nicoll 18c4401f07 Upgrade to SQLite JDBC 3.43.0.0
Closes gh-37332
2023-09-11 15:16:00 +02:00
Stephane Nicoll 791e6dcc29 Upgrade to SnakeYAML 2.2
Closes gh-37331
2023-09-11 15:15:59 +02:00
Stephane Nicoll 35733199ab Upgrade to SLF4J 2.0.9
Closes gh-37330
2023-09-11 15:15:59 +02:00
Stephane Nicoll 94ba36b8d0 Upgrade to Selenium HtmlUnit 4.12.0
Closes gh-37329
2023-09-11 15:15:59 +02:00
Stephane Nicoll b7f77e055a Upgrade to Selenium 4.12.1
Closes gh-37328
2023-09-11 15:15:59 +02:00
Stephane Nicoll 07922563f0 Upgrade to REST Assured 5.3.2
Closes gh-37327
2023-09-11 15:15:59 +02:00
Stephane Nicoll 5d05347e2c Upgrade to Pooled JMS 3.1.2
Closes gh-37326
2023-09-11 15:15:59 +02:00
Stephane Nicoll ef04925a60 Upgrade to OpenTelemetry 1.30.0
Closes gh-37325
2023-09-11 15:15:59 +02:00
Stephane Nicoll 078b399a93 Upgrade to Neo4j Java Driver 5.12.0
Closes gh-37324
2023-09-11 15:15:58 +02:00
Stephane Nicoll b89556eb80 Upgrade to MSSQL JDBC 12.4.1.jre11
Closes gh-37322
2023-09-11 15:15:58 +02:00
Stephane Nicoll 5dc6fcf3e5 Upgrade to Maven Enforcer Plugin 3.4.1
Closes gh-37321
2023-09-11 15:15:58 +02:00
Stephane Nicoll 037aba5f88 Upgrade to MariaDB 3.2.0
Closes gh-37320
2023-09-11 15:15:58 +02:00
Stephane Nicoll 795e796eb6 Upgrade to Jedis 4.4.4
Closes gh-37319
2023-09-11 15:15:58 +02:00
Stephane Nicoll 20cb8712db Upgrade to Infinispan 14.0.17.Final
Closes gh-37318
2023-09-11 15:15:58 +02:00