Commit Graph

261 Commits

Author SHA1 Message Date
Andy Wilkinson 4e94f26935 Support JMX endpoints when only Jackson 2 is present
Closes gh-47688
2025-10-22 14:40:59 +01:00
Andy Wilkinson 635e766aaf Make it easier to create executable and deployable war
Closes gh-46944
2025-10-22 10:13:46 +01:00
Stéphane Nicoll aceaee89ee Polish "Replace `BaseUrl` with `LocalTestWebServer`"
See gh-47680
2025-10-21 11:08:48 +02:00
Phillip Webb 41a399c5ae Replace `BaseUrl` with `LocalTestWebServer`
Replace `BaseUrl` and `BaseUrlProvider` provider code with a more
targeted `LocalTestWebServer` class.

The `LocalTestWebServer` can be used to obtain the url of the locally
running server, or provide `UriBuilderFactory` or `UriBuilder`
instances base on it.

This commit also updates the MockMVC HTML Unit auto-configuration to
directly use `localhost` as the base URL.

Closes gh-47680
2025-10-20 17:44:51 -07:00
Stéphane Nicoll 9c969f91be Polish "Remove Spring Pulsar Reactive support"
See gh-47707
2025-10-20 18:15:34 +02:00
onobc 4aaa1dfb5f Remove Spring Pulsar Reactive support
This removes the auto-configuration for Spring Pulsar Reactive.

Consolidates the PulsarConfiguration into the PulsarAutoConfiguration because
there is no longer a need to factor out the common components between Spring
Pulsar and Spring Pulsar Reactive.

See gh-47707

Signed-off-by: onobc <chris.bono@gmail.com>
2025-10-20 18:15:34 +02:00
Stéphane Nicoll fad9a6e23e Merge branch '3.5.x' 2025-10-20 13:56:38 +02:00
Stéphane Nicoll 90804c8c2b Adapt @AutoConfigureHttpGraphQlTester to new testing infrastructure
Build and Deploy Snapshot / Build and Deploy Snapshot (push) Waiting to run Details
Build and Deploy Snapshot / Trigger Docs Build (push) Blocked by required conditions Details
Build and Deploy Snapshot / Verify (push) Blocked by required conditions Details
CI / ${{ matrix.os.name}} | Java ${{ matrix.java.version}} (map[toolchain:false version:25], map[id:${{ vars.UBUNTU_MEDIUM || 'ubuntu-latest' }} name:Linux]) (push) Waiting to run Details
CI / ${{ matrix.os.name}} | Java ${{ matrix.java.version}} (map[toolchain:false version:25], map[id:windows-latest name:Windows]) (push) Waiting to run Details
CI / ${{ matrix.os.name}} | Java ${{ matrix.java.version}} (map[toolchain:true version:17], map[id:${{ vars.UBUNTU_MEDIUM || 'ubuntu-latest' }} name:Linux]) (push) Waiting to run Details
CI / ${{ matrix.os.name}} | Java ${{ matrix.java.version}} (map[toolchain:true version:17], map[id:windows-latest name:Windows]) (push) Waiting to run Details
CI / ${{ matrix.os.name}} | Java ${{ matrix.java.version}} (map[toolchain:true version:21], map[id:${{ vars.UBUNTU_MEDIUM || 'ubuntu-latest' }} name:Linux]) (push) Waiting to run Details
CI / ${{ matrix.os.name}} | Java ${{ matrix.java.version}} (map[toolchain:true version:21], map[id:windows-latest name:Windows]) (push) Waiting to run Details
Run CodeQL Analysis / run-analysis (push) Waiting to run Details
Run System Tests / Java ${{ matrix.java.version}} (map[toolchain:true version:17]) (push) Waiting to run Details
Run System Tests / Java ${{ matrix.java.version}} (map[toolchain:true version:21]) (push) Waiting to run Details
This commit adapts @AutoConfigureHttpGraphQlTester to rely on the
auto-configured WebTestClient and stop triggering the configuration
of MockMvc.

Closes gh-47660
2025-10-19 17:46:11 +02:00
Stéphane Nicoll 3561b9db3c Polish 2025-10-19 17:27:07 +02:00
Phillip Webb 77f207a079 Simplify BaseUrl code and cache resolved URLs
See gh-47680
2025-10-17 19:28:18 -07:00
Phillip Webb e7f3ae19f8 Add Jackson 2 smoke tests
See gh-47688

Co-authored-by: Andy Wilkinson <andy.wilkinson@broadcom.com>
2025-10-17 13:17:37 -07:00
Stéphane Nicoll adb6481c62 Polish "Upgrade to Testcontainers 2.0.1"
See gh-47664
2025-10-17 17:23:35 +02:00
Eddú Meléndez 7f64615690 Upgrade to Testcontainers 2.0.1
* Update dependencies name
  Modules are prefixed with `testcontainers-`
* Update container classes
  Container classes are under `org.testcontainers.<module-name>` package

See gh-47664

Signed-off-by: Eddú Meléndez <eddu.melendez@gmail.com>
2025-10-17 17:11:24 +02:00
Stéphane Nicoll 998a2fa7b4 Fix configuration of HttpGraphQlTester with a running server
This commit restores the user of HttpGraphQlTester when it is configured
against a running server. The logic that appends the graphQl path to
the HTTP url was lost while refactoring the HTTP clients infrastructure.

To work against the new API, BaseUrl has been updated to provide the
ability to append a path to its URL

Closes gh-47659
2025-10-17 16:35:06 +02:00
Phillip Webb c2e68c0911 Refactor security auto-configuration package structure
Build and Deploy Snapshot / Build and Deploy Snapshot (push) Waiting to run Details
Build and Deploy Snapshot / Trigger Docs Build (push) Blocked by required conditions Details
Build and Deploy Snapshot / Verify (push) Blocked by required conditions Details
CI / ${{ matrix.os.name}} | Java ${{ matrix.java.version}} (map[toolchain:false version:25], map[id:${{ vars.UBUNTU_MEDIUM || 'ubuntu-latest' }} name:Linux]) (push) Waiting to run Details
CI / ${{ matrix.os.name}} | Java ${{ matrix.java.version}} (map[toolchain:false version:25], map[id:windows-latest name:Windows]) (push) Waiting to run Details
CI / ${{ matrix.os.name}} | Java ${{ matrix.java.version}} (map[toolchain:true version:17], map[id:${{ vars.UBUNTU_MEDIUM || 'ubuntu-latest' }} name:Linux]) (push) Waiting to run Details
CI / ${{ matrix.os.name}} | Java ${{ matrix.java.version}} (map[toolchain:true version:17], map[id:windows-latest name:Windows]) (push) Waiting to run Details
CI / ${{ matrix.os.name}} | Java ${{ matrix.java.version}} (map[toolchain:true version:21], map[id:${{ vars.UBUNTU_MEDIUM || 'ubuntu-latest' }} name:Linux]) (push) Waiting to run Details
CI / ${{ matrix.os.name}} | Java ${{ matrix.java.version}} (map[toolchain:true version:21], map[id:windows-latest name:Windows]) (push) Waiting to run Details
Run CodeQL Analysis / run-analysis (push) Waiting to run Details
Run System Tests / Java ${{ matrix.java.version}} (map[toolchain:true version:17]) (push) Waiting to run Details
Run System Tests / Java ${{ matrix.java.version}} (map[toolchain:true version:21]) (push) Waiting to run Details
Refactor security auto-configuration package structure and classes to
create distinct web configurations.

Closes gh-14412
2025-10-16 14:10:08 -07:00
Phillip Webb 61c8fa2e1c Remove support for Spring Session Hazelcast
Closes gh-47661
2025-10-16 10:42:14 -07:00
Phillip Webb c477d3b8b4 Remove support for Spring Session Data MongoDB
Closes gh-47662
2025-10-16 10:38:45 -07:00
Moritz Halbritter 41dc036ac7 Add nullability annotations to tests in smoke-test/spring-boot-smoke-test-xml
See gh-47263
2025-10-16 11:24:51 +02:00
Moritz Halbritter ecd3566d5f Add nullability annotations to tests in smoke-test/spring-boot-smoke-test-websocket-tomcat
See gh-47263
2025-10-16 11:24:51 +02:00
Moritz Halbritter 34ca46740d Add nullability annotations to tests in smoke-test/spring-boot-smoke-test-websocket-jetty
See gh-47263
2025-10-16 11:24:50 +02:00
Moritz Halbritter db1c0aa26f Add nullability annotations to tests in smoke-test/spring-boot-smoke-test-webservices
See gh-47263
2025-10-16 11:24:50 +02:00
Moritz Halbritter 3818c21eb3 Add nullability annotations to tests in smoke-test/spring-boot-smoke-test-webflux
See gh-47263
2025-10-16 11:24:50 +02:00
Moritz Halbritter 8fad79753c Add nullability annotations to tests in smoke-test/spring-boot-smoke-test-web-thymeleaf
See gh-47263
2025-10-16 11:24:50 +02:00
Moritz Halbritter 9120da277c Add nullability annotations to tests in smoke-test/spring-boot-smoke-test-web-static
See gh-47263
2025-10-16 11:24:50 +02:00
Moritz Halbritter 68da06fe86 Add nullability annotations to tests in smoke-test/spring-boot-smoke-test-web-secure-jdbc
See gh-47263
2025-10-16 11:24:50 +02:00
Moritz Halbritter 34cad95638 Add nullability annotations to tests in smoke-test/spring-boot-smoke-test-web-secure-custom
See gh-47263
2025-10-16 11:24:50 +02:00
Moritz Halbritter a1a7d8d989 Add nullability annotations to tests in smoke-test/spring-boot-smoke-test-web-secure
See gh-47263
2025-10-16 11:24:50 +02:00
Moritz Halbritter 233c421de5 Add nullability annotations to tests in smoke-test/spring-boot-smoke-test-web-mustache
See gh-47263
2025-10-16 11:24:50 +02:00
Moritz Halbritter eab04ea2cd Add nullability annotations to tests in smoke-test/spring-boot-smoke-test-web-security-method
See gh-47263
2025-10-16 11:24:49 +02:00
Moritz Halbritter c40ba46776 Add nullability annotations to tests in smoke-test/spring-boot-smoke-test-web-jsp
See gh-47263
2025-10-16 11:24:49 +02:00
Moritz Halbritter c9417eb277 Add nullability annotations to tests in smoke-test/spring-boot-smoke-test-web-groovy-templates
See gh-47263
2025-10-16 11:24:49 +02:00
Moritz Halbritter 34b1a89c82 Add nullability annotations to tests in smoke-test/spring-boot-smoke-test-web-freemarker
See gh-47263
2025-10-16 11:24:49 +02:00
Moritz Halbritter d394ef7fa0 Add nullability annotations to tests in smoke-test/spring-boot-smoke-test-web-application-type
See gh-47263
2025-10-16 11:24:49 +02:00
Moritz Halbritter 2d780f4e00 Add nullability annotations to tests in smoke-test/spring-boot-smoke-test-war
See gh-47263
2025-10-16 11:24:49 +02:00
Moritz Halbritter 7a33978cca Add nullability annotations to tests in smoke-test/spring-boot-smoke-test-traditional
See gh-47263
2025-10-16 11:24:49 +02:00
Moritz Halbritter d007e93214 Add nullability annotations to tests in smoke-test/spring-boot-smoke-test-tomcat-ssl
See gh-47263
2025-10-16 11:24:49 +02:00
Moritz Halbritter 60da903596 Add nullability annotations to tests in smoke-test/spring-boot-smoke-test-tomcat-multi-connectors
See gh-47263
2025-10-16 11:24:49 +02:00
Moritz Halbritter c7ffb8adb8 Add nullability annotations to tests in smoke-test/spring-boot-smoke-test-tomcat-jsp
See gh-47263
2025-10-16 11:24:48 +02:00
Moritz Halbritter bdec5c14bb Add nullability annotations to tests in smoke-test/spring-boot-smoke-test-tomcat
See gh-47263
2025-10-16 11:24:48 +02:00
Moritz Halbritter 43308f017a Add nullability annotations to tests in smoke-test/spring-boot-smoke-test-testng
See gh-47263
2025-10-16 11:24:48 +02:00
Moritz Halbritter 32a0c8c83d Add nullability annotations to tests in smoke-test/spring-boot-smoke-test-test-nomockito
See gh-47263
2025-10-16 11:24:48 +02:00
Moritz Halbritter 628ceb1a42 Add nullability annotations to tests in smoke-test/spring-boot-smoke-test-test
See gh-47263
2025-10-16 11:24:48 +02:00
Moritz Halbritter be3cc3c3a0 Add nullability annotations to tests in smoke-test/spring-boot-smoke-test-logging-log4j2
See gh-47263
2025-10-16 11:24:48 +02:00
Moritz Halbritter 440544e9bd Add nullability annotations to tests in smoke-test/spring-boot-smoke-test-logging
See gh-47263
2025-10-16 11:24:48 +02:00
Moritz Halbritter 2693a66eb3 Add nullability annotations to tests in smoke-test/spring-boot-smoke-test-simple
See gh-47263
2025-10-16 11:24:48 +02:00
Moritz Halbritter 341777b8f5 Add nullability annotations to tests in smoke-test/spring-boot-smoke-test-session-jdbc
See gh-47263
2025-10-16 11:24:48 +02:00
Moritz Halbritter 68bdd8673b Add nullability annotations to tests in smoke-test/spring-boot-smoke-test-session-hazelcast
See gh-47263
2025-10-16 11:24:47 +02:00
Moritz Halbritter 6f5e21d632 Add nullability annotations to tests in smoke-test/spring-boot-smoke-test-session-data-redis-webflux
See gh-47263
2025-10-16 11:24:47 +02:00
Moritz Halbritter a995c75891 Add nullability annotations to tests in smoke-test/spring-boot-smoke-test-session-data-redis
See gh-47263
2025-10-16 11:24:47 +02:00
Moritz Halbritter ef754f55fc Add nullability annotations to tests in smoke-test/spring-boot-smoke-test-session-data-mongodb-webflux
See gh-47263
2025-10-16 11:24:47 +02:00