Commit Graph

26434 Commits

Author SHA1 Message Date
Moritz Halbritter 09b3461394 Remove use of self-signed.badssl.com
Closes gh-43708
2025-03-14 14:45:14 +01:00
Andy Wilkinson 9b15b4bce9 Consolidate mock web server factories
Closes gh-44674
2025-03-12 15:26:47 +00:00
Andy Wilkinson 3a6e4e9e58 Add checks for factories files
META-INF/spring.factories and META-INF/spring/aot.factories in the
main source set are now checked. The checks verify that:

- Each class listed in the values exists in the source set's output
- The classes are listed alphabetically
- Nested classes are identified using their binary name

Closes gh-44676
2025-03-12 12:44:18 +00:00
Andy Wilkinson ad9f0a6164 Make logging system factory ordering more robust
Closes gh-44689
2025-03-12 12:42:28 +00:00
Andy Wilkinson 6f04cf032b Adapt test to change in Neo4j driver's internals
See gh-44690
2025-03-12 12:02:28 +00:00
Andy Wilkinson a35c04aad6 Upgrade to Neo4j Java Driver 5.28.3
Closes gh-44690
2025-03-12 11:51:00 +00:00
Johnny Lim 3a5e059387 Polish
See gh-44447

Signed-off-by: Johnny Lim <izeye@naver.com>
2025-03-12 08:49:26 +01:00
Stéphane Nicoll 0f0180d9dc Prevent upgrade to Jetty 12.0.17
Closes gh-44611
2025-03-12 08:38:08 +01:00
Stéphane Nicoll f1eb2da00e Upgrade to Reactor Bom 2023.0.16
Closes gh-44560
2025-03-11 16:59:11 +01:00
Stéphane Nicoll 3e5062591f Upgrade to Micrometer Tracing 1.3.10
Closes gh-44559
2025-03-11 16:59:11 +01:00
Stéphane Nicoll 7a9589cc98 Upgrade to Micrometer 1.13.12
Closes gh-44558
2025-03-11 16:59:11 +01:00
Stéphane Nicoll d18ccfae3d Upgrade to jOOQ 3.19.21
Closes gh-44668
2025-03-11 16:59:11 +01:00
Stéphane Nicoll 4efb861c52 Upgrade to ActiveMQ 6.1.6
Closes gh-44667
2025-03-11 16:59:04 +01:00
Andy Wilkinson e30ae372e3 Move resources into same packages as documentation tests
See gh-44639
2025-03-07 17:01:58 +00:00
Andy Wilkinson edf3cb1421 Position endpoint documentation tests alongside endpoint's auto-config
Closes gh-44639
2025-03-07 10:28:04 +00:00
Moritz Halbritter 5ec099756f Fix potential NPE when passing 'null' as params 2025-03-07 08:17:37 +01:00
Andy Wilkinson 67b0a26474 Improve structure of test resources in Actuator modules
Closes gh-44632
2025-03-06 18:31:35 +00:00
Moritz Halbritter a807a07a59 Always try to deserialize message in case of Docker transport errors
Before this commit, if the status code was 4xx or 500, we tried to read the errors
object, consuming the http entity. When we tried to deserialize the message,
the http entity was already consumed, an IOException has been thrown and null
is returned for the message.

Now, we read the content in a byte[] and deserialize the errors and the message
from that. This ensures that we can read both the errors and the message.

Closes gh-44628
2025-03-06 17:27:00 +01:00
Andy Wilkinson c849cafc1b Further improve independence of core auto-configuration tests
See gh-44513
2025-03-06 11:12:49 +00:00
Stéphane Nicoll 6cf81e2f1b Deprecate setObservationRegistry
This commit deprecates setObservationRegistry on
DefaultJmsListenerContainerFactoryConfigurer as it should not have been
made public in the first place. We want to make sure users don't
accidentally use it, and move it back to a package private method once
the deprecation period has run its course.

Closes gh-44466
2025-03-06 08:56:12 +01:00
Andy Wilkinson 60624e8a56 Avoid problems with platform-specific line endings
See gh-44512
2025-03-05 20:07:43 +00:00
Andy Wilkinson 55c410abec Improve autoconfigure's use of test resources
Closes gh-44512
2025-03-05 16:40:26 +00:00
Andy Wilkinson 1f5b9de302 Normalize the separator in resource names
See gh-44444
2025-03-05 15:42:41 +00:00
Andy Wilkinson 8e49a4e49a Increase independence of core auto-configuration tests
Remove some more references to Thymeleaf and FreeMarker
auto-configuration that were missed in 85ffbbc.

See gh-44513
2025-03-05 14:49:58 +00:00
Andy Wilkinson 85ffbbc384 Make core auto-configuration tests more independent
Closes gh-44513
2025-03-05 14:33:57 +00:00
Andy Wilkinson 5683d39fd6 Allow resources to hide existing resources with the same name
See gh-44444
2025-03-05 14:33:57 +00:00
Stéphane Nicoll d5d27462ab Start building against Spring WS 4.0.12 snapshots
See gh-44564
2025-03-05 14:53:18 +01:00
Stéphane Nicoll a0f3850a7f Start building against Spring Security 6.3.8 snapshots
See gh-44563
2025-03-05 14:53:14 +01:00
Stéphane Nicoll 57e17adde0 Start building against Spring Pulsar 1.1.10 snapshots
See gh-44562
2025-03-05 14:53:11 +01:00
Stéphane Nicoll 08e9e4949b Start building against Spring Data Bom 2024.0.10 snapshots
See gh-44561
2025-03-05 14:53:07 +01:00
Stéphane Nicoll 057c30c561 Start building against Reactor Bom 2023.0.16 snapshots
See gh-44560
2025-03-05 14:53:03 +01:00
Stéphane Nicoll 37c4ea5c09 Start building against Micrometer Tracing 1.3.10 snapshots
See gh-44559
2025-03-05 14:52:59 +01:00
Stéphane Nicoll 8b1240331f Start building against Micrometer 1.13.12 snapshots
See gh-44558
2025-03-05 14:52:55 +01:00
Stéphane Nicoll 497aef8668 Upgrade to SLF4J 2.0.17
Closes gh-44545
2025-03-05 12:52:11 +01:00
Stéphane Nicoll b199fabfd2 Upgrade to Netty 4.1.119.Final
Closes gh-44544
2025-03-05 12:52:07 +01:00
Stéphane Nicoll dacc4915cb Upgrade to Maven Install Plugin 3.1.4
Closes gh-44543
2025-03-05 12:52:03 +01:00
Stéphane Nicoll 4fb21b34cf Upgrade to Maven Deploy Plugin 3.1.4
Closes gh-44542
2025-03-05 12:51:59 +01:00
Stéphane Nicoll cc6cfea102 Upgrade to Logback 1.5.17
Closes gh-44541
2025-03-05 12:51:55 +01:00
Stéphane Nicoll f0e006e86d Upgrade to jOOQ 3.19.20
Closes gh-44540
2025-03-05 12:51:51 +01:00
Stéphane Nicoll 23787db03a Upgrade to Infinispan 15.0.14.Final
Closes gh-44539
2025-03-05 12:51:48 +01:00
Stéphane Nicoll b28794e331 Upgrade to Groovy 4.0.26
Closes gh-44538
2025-03-05 12:51:43 +01:00
Tran Ngoc Nhan 701f73fcd7 Fix JavaExec javadoc link
See gh-44526

Signed-off-by: Tran Ngoc Nhan <ngocnhan.tran1996@gmail.com>
2025-03-05 11:55:29 +01:00
Andy Wilkinson 27779bec0a Remove AutoConfigurationReproTests
Removed in favor of WebServerFactoryCustomizerBeanPostProcessorTests
which, through the expectations that it sets up on the mock bean
factory, already checks that early initialization will not be
triggered.

Closes gh-44511
2025-03-04 17:50:19 +00:00
Andy Wilkinson c9f3688df9 Remove redundant tests
Closes gh-44520
2025-03-04 17:45:23 +00:00
Matthias Streidel 474dafae28 Fix typo
See gh-44514

Signed-off-by: Matthias Streidel <github@metters.slmail.me>
2025-03-04 15:30:27 +01:00
Stéphane Nicoll e69683769e Start building against Spring Framework 6.1.18 snapshots
See gh-44491
2025-02-28 14:42:46 +01:00
Andy Wilkinson 7d01c941b9 Use WithPackageResources on shouldUpdateSslWhenReloadingSslBundles
See gh-44397
2025-02-28 12:23:17 +00:00
Benjamin König 23fd79f425 Remove obsolete hints for Flyway Teams features
See gh-44460

Signed-off-by: Benjamin König <koenig87@googlemail.com>
2025-02-28 11:18:41 +01:00
Stéphane Nicoll e1f45c50ee Generate reflection hints for main methods
This commit makes sure to register the necessary hints to invoke the
main method of any bean available in the context. This is necessary
for tests that use the UseMainMethod feature.

This generates more hints than strictly necessary as there isn't a
way to contribute hints based on a ContextLoader, see
https://github.com/spring-projects/spring-framework/issues/34513 for
more details.

Closes gh-44461
2025-02-28 11:08:23 +01:00
Moritz Halbritter c91c8e202a Fix tests 2025-02-28 10:53:54 +01:00