4678 Commits

Author SHA1 Message Date
Andy Wilkinson
b1653708e4 Improve thread-safety of OnClassCondition
Closes gh-41709
2024-10-29 13:26:16 +00:00
Phillip Webb
3481107ff7 Update copyright year of changed files 2024-10-18 10:48:29 -07:00
Andy Wilkinson
74d13d3a8d Note that max HTTP request head size semantics are server-specific
Closes gh-40798
2024-10-18 15:31:54 +01:00
Moritz Halbritter
a3060652f8 Call String.toLowerCase and .toUppercase with explicit locale
Closes gh-42719
2024-10-17 13:20:39 +02:00
Phillip Webb
41ae973d16 Update copyright year of changed files 2024-10-16 13:08:37 -07:00
Stéphane Nicoll
55ef77b254 Remove unnecessary call to ex.printStackTrace
Closes gh-42681
2024-10-15 09:00:30 +02:00
Andy Wilkinson
2328c1fe80 Improve javadoc for when bean type to match is inferred
Closes gh-42504
2024-10-03 10:16:27 +01:00
Andy Wilkinson
95665a4b28 Fall back to connection details when configuring Rabbit Streams
Closes gh-42489
2024-10-01 17:20:49 +01:00
Phillip Webb
ad72411e2b Apply conventions plugin to all subprojects
Closes gh-42438
2024-09-24 14:26:32 -07:00
Andy Wilkinson
2aea7caf36 Remove use of reflection in Artemis connection factory creation
Fixes gh-42414
2024-09-23 14:08:35 +01:00
Phillip Webb
03e7be3ccf Document that spring.jmx.enabled is not for third-party libraries
Closes gh-42272
2024-09-12 18:35:57 -07:00
Moritz Halbritter
206c28704f Put registration id in validation error message
Closes gh-42278
2024-09-12 14:19:03 +02:00
Stéphane Nicoll
aef56bceb9 Replace RFC 7807 by RFC 9457 in documentation
This commit updates all references to RFC 7807 by RFC 9457 since the
former is now obsolete.

Closes gh-41260
2024-09-09 14:59:21 +02:00
Phillip Webb
f3645bba13 Update copyright year of changed files 2024-09-03 21:04:26 -07:00
Phillip Webb
10855056cc Support blank MongoDB 'replica-set-name' properties
Update `null` checks to `StringUtils.hasText` to allow the
`replica-set-name' property to be overridden with an empty string.

Fixes gh-42055
2024-08-29 15:05:33 -07:00
Moritz Halbritter
5ee522598f Explain that enabling virtual threads disables traditional thread pools
Closes gh-41937
2024-08-21 11:58:53 +02:00
Piyal Ahmed
016e70cbd2 Polish
See gh-41957
2024-08-20 11:44:12 +02:00
Phillip Webb
f1987e6f8b Update copyright year of changed files 2024-08-19 16:45:34 -07:00
Stéphane Nicoll
6fd1f0f1f5 Avoid using JRE.OTHER for Infinispan tests
See gh-41909
2024-08-19 14:38:54 +02:00
Andy Wilkinson
bc1920d6bb Use a JRE range to control when Artemis tests are enabled
Closes gh-41909
2024-08-19 09:58:51 +01:00
Moritz Halbritter
1d45016d8c Upgrade to spring-javaformat 0.0.43
Closes gh-41853
2024-08-14 16:32:41 +02:00
Stéphane Nicoll
1246cab30b Disable Artemis tests on Java 23
Artemis does not work on Java 23, this commit therefore disables those
tests when running against a Java version higher than 22.

See https://issues.apache.org/jira/browse/ARTEMIS-4975

Unfortunately, the version of JUnit that we use has no value for Java
23, so we have to use OTHER for that purpose.
2024-08-07 17:33:17 +02:00
Stéphane Nicoll
a6567c7d47 Disable Infinispan tests on Java 23
Infinispan 14 does not work on Java 23, an upgrade to 15 is required.
This commit therefore disables those tests when running against a Java
version higher than 22.

Unfortunately, the version of JUnit that we use has no value for Java
23, so we have to use OTHER for that purpose.
2024-08-07 17:32:52 +02:00
Stéphane Nicoll
815ab7df94 Add missing default value for Pulsar properties
Closes gh-41682
2024-08-01 14:54:28 +02:00
Andy Wilkinson
f6334ca186 Make reactive Elastic repositories back off without Reactor
Fixes gh-41672
2024-08-01 13:30:14 +01:00
Andy Wilkinson
5f666eec5b Reduce warnings reported by Eclipse
Closes gh-41598
2024-07-25 14:55:00 +01:00
Andy Wilkinson
1cc7498c9a Add property for Integration's default endpoint timeout
Fixes gh-41477
2024-07-16 11:22:27 +01:00
Andy Wilkinson
17d6f90468 Document types to which format properties apply
Closes gh-41482
2024-07-16 08:47:30 +01:00
Andy Wilkinson
d63e3c3b53 Rethrow failure on main thread
Previously, if a failure occurred when evaluating conditions on a
separate thread, an NPE would occur on the main thread as the
expected array of outcomes was null.

This commit avoids the NPE and the lack of error reporting by
rethrowing on the main thread any failure that occurs on the
separate thread that's spawned to parallelize the evaluation.

Closes gh-41492
2024-07-15 15:09:57 +01:00
Andy Wilkinson
654016af7f Move Docker-related test support into a separate module
See gh-41228
2024-06-26 19:47:35 +01:00
Andy Wilkinson
9f166f2c85 Update spring-boot-autoconfigure to use docker-test plugin
See gh-41228
2024-06-26 19:46:33 +01:00
Andy Wilkinson
b8927ebd90 Create ActiveMQConnectionFactory without using reflection
Fixes gh-41212
2024-06-24 11:51:31 +01:00
Phillip Webb
2a4582b084 Update copyright year of changed files 2024-06-19 22:54:40 -07:00
Andy Wilkinson
491f34d25c Improve container test code
Replace `DockerImageNames` with a enum and relocate it from the
`testcontainers` to `container` package. The enum now also
becomes a common location that we can use to apply container
configuration such as timeouts.

Closes gh-41164

Co-authored-by: Phillip Webb <phil.webb@broadcom.com>
2024-06-19 20:10:03 -07:00
Phillip Webb
60b7e6cf23 Allow 'status' and 'error' to be excluded from error response
Update `ErrorAttributeOptions` to allow the `status` and `error`
fields to be excluded from the response without throwing a
NullPointerException.

Fixes gh-30011
2024-06-17 16:48:28 -07:00
Moritz Halbritter
fed13b0e0c Back off if DataSource is not on the classpath
Closes gh-41082
2024-06-12 11:02:51 +02:00
Phillip Webb
bcbcafaab2 Polish "Use method references when possible in test code"
See gh-40974
2024-06-11 12:58:04 -07:00
Ahmed Ashour
207327d97c Use method references when possible in test code
See gh-40974
2024-06-11 12:58:00 -07:00
Phillip Webb
dcccb3b2b1 Polish "Use method references when possible"
See gh-40974
2024-06-11 12:57:59 -07:00
Ahmed Ashour
507229eef8 Use method references when possible
See gh-40974
2024-06-11 12:57:55 -07:00
Phillip Webb
ecc9a2352d Polish "Use constructor rather than Collection.addAll"
See gh-41053
2024-06-11 10:02:27 -07:00
Piyal Ahmed
17adcfc180 Use constructor rather than Collection.addAll
See gh-41053
2024-06-11 09:39:45 -07:00
Phillip Webb
d37098153c Polish 2024-06-11 09:35:59 -07:00
Ahmed Ashour
f000af6a12 Remove unused parameter and polish javadoc
See gh-40955
2024-05-30 14:42:46 -05:00
Andy Wilkinson
211bf95f45 Revert "Adapt to Spring Data Neo4j now requiring a transaction manager"
This reverts commit b6467ed826818db5d18061496768db3f6758c916. Changes
in Spring Data Neo4j mean that these changes are no longer necessary.
They also caused a problem with multiple transaction managers being
present when mixing Neo4j and, say, Data JPA.

Closes gh-40895
2024-05-30 08:00:11 +01:00
Andy Wilkinson
10e23b8f35 Polish "Fix Flyway 10 in a GraalVM native image"
See gh-40821
2024-05-29 14:21:17 +01:00
Maziz
345edb1301 Fix Flyway 10 in a GraalVM native image
See gh-40821
2024-05-29 14:18:10 +01:00
Chris Bono
7a7bcd07da Encode JSON string in Pulsar auth params
The values in the `spring.pulsar.client.authentication.param`
config props map are not currently JSON encoded. For simple
values this is fine. However, some custom auth modules may
require more complex parameter values that may contain special
characters that results in invalid JSON. This commmit encodes
the parameter values using a very simple hand-rolled escape
function.

See gh-40493
2024-05-22 13:49:05 +02:00
Andy Wilkinson
a894879085 Use DefaultDbRefResolver whenever MongoDatabaseFactory is available
Fixes gh-39405
2024-05-21 10:29:39 +01:00
Andy Wilkinson
823cc90b46 Merge branch '3.1.x' into 3.2.x
Closes gh-40849
2024-05-21 10:28:59 +01:00