Andy Wilkinson
6fbf08fa9a
Update spring-boot-docker-compose to use docker-test plugin
...
See gh-41228
2024-06-26 19:46:03 +01:00
Andy Wilkinson
3f1f801461
Update spring-boot-testcontainers to use docker-test plugin
...
See gh-41228
2024-06-26 19:45:52 +01:00
Andy Wilkinson
07442f8366
Exclude plexus-utils in favor of Maven's build-in version
...
Closes gh-41248
2024-06-26 16:59:23 +01:00
Andy Wilkinson
270f364aef
Polish "Make conversion mechanism plural"
...
See gh-41244
2024-06-26 14:26:51 +01:00
Mateus Scheper
068b159799
Make conversion mechanism plural
...
Fixing typo for the "mechanism" word and improving readability by
adding ".".
See gh-41244
2024-06-26 14:26:00 +01:00
Phillip Webb
712d935c8e
Fix checkstyle violation
...
See gh-35786
2024-06-25 22:16:03 -07:00
Phillip Webb
eef4c3c2c0
Allow TestcontainersLifecycleBeanPostProcessor to detect scoped beans
...
Update `TestcontainersLifecycleBeanPostProcessor` so that scoped beans
are included.
Fixes gh-35786
2024-06-25 22:00:34 -07:00
Phillip Webb
8bcdb4b06b
Improve error message when spring.config.import fails to resolve
...
Update `StandardConfigDataLocationResolver` to give a better error
message when a location cannot be resolved. Prior to this commit, a
location with a misspelling in the prefix would only give an error
about the file extension being not known.
Fixes gh-36243
2024-06-25 17:08:24 -07:00
Phillip Webb
85f6641a7e
Allow 'npipe://' prefix in Docker host address
...
Update `LocalHttpClientTransport` to support explicit `npipe://` prefix
in the host name. This is the format used in the Docker config from
v4.31.1 onward.
Fixes gh-41199
2024-06-25 12:40:11 -07:00
Andy Wilkinson
98c11bb5df
Use consistent current thread context classloader for initialization
...
Ensure `Thread.currentThread().getContextClassLoader()` returns the same
classloader for all types of initialization.
Prior to this commit, `JettyEmbeddedWebAppContext` would return a
different classloader when initializing Servlet and Filter classes. This
was due to the fact that our `deferredInitialize()` method has called
outside of a `getContext().call(...)`.
Fixes gh-37649
Co-authored-by: Phillip Webb <phil.webb@broadcom.com>
2024-06-24 16:03:00 -07:00
Phillip Webb
57f452fec1
Disable ReactorResourceFactory use of global resources in tests
...
Add `ContextCustomizerFactory` to automatically disable the use of
`ReactorResourceFactory` global resources in tests.
Fixes gh-38199
2024-06-24 11:22:11 -07:00
Andy Wilkinson
b8927ebd90
Create ActiveMQConnectionFactory without using reflection
...
Fixes gh-41212
2024-06-24 11:51:31 +01:00
Moritz Halbritter
013a4dd2b7
Document tracing support for RestClient
...
Closes gh-41182
2024-06-21 11:03:54 +02:00
Stéphane Nicoll
e9eeac9028
Use Spring Framework's NoOpResponseErrorHandler
...
See spring-projects/spring-framework#32750
Closes gh-41183
2024-06-20 18:28:36 +01:00
Moritz Halbritter
c2f21e9fcd
Don't execute @DockerComposeTests if docker is not running
...
Closes gh-41171
2024-06-20 08:47:56 +02:00
Phillip Webb
2a4582b084
Update copyright year of changed files
2024-06-19 22:54:40 -07:00
Andy Wilkinson
126e87e44d
Fix appending of JDBC parameters to SQL Server JDBC URL
...
Fixes gh-41146
2024-06-19 22:51:40 -07:00
Andy Wilkinson
43cd24102f
Rework Docker Compose integration tests
...
This commit introduces a new annotation, `@DockerComposeTest`,
that allows a test class to have multiple tests, each of which
uses a different Docker Compose YAML file.
Closes gh-41154
2024-06-19 22:34:38 -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
Andy Wilkinson
abf49e55db
Upgrade to Spring Session 3.2.4
...
Closes gh-41026
2024-06-19 20:34:02 +01:00
Andy Wilkinson
02cb160057
Upgrade to Spring Integration 6.2.6
...
Closes gh-41021
2024-06-19 20:34:01 +01:00
Andy Wilkinson
fd4dc4d719
Upgrade to Spring GraphQL 1.2.7
...
Closes gh-41020
2024-06-19 20:34:00 +01:00
Andy Wilkinson
b606a6e4ca
Upgrade to Spring Authorization Server 1.2.5
...
Closes gh-41017
2024-06-19 20:33:59 +01:00
Phillip Webb
242263d8d4
Update GitProperties date/time coercion to deal with more patterns
...
Update `GitProperties` to deal with updated date/time patterns that
are now used by the `git-commit-id` maven plugin. Previous patterns are
still supported as a fallback.
Fixes gh-41109
2024-06-18 17:01:03 -07:00
Andy Wilkinson
82fd923d00
Upgrade to Spring Security 6.2.5
...
Closes gh-41025
2024-06-18 09:09:44 +01:00
Andy Wilkinson
97b8c78411
Upgrade to Spring Pulsar 1.0.7
...
Closes gh-41024
2024-06-18 09:09:43 +01:00
Andy Wilkinson
e2296be9a7
Upgrade to Spring Kafka 3.1.6
...
Closes gh-41022
2024-06-18 09:09:42 +01:00
Andy Wilkinson
2689b4dac0
Upgrade to Spring AMQP 3.1.6
...
Closes gh-41143
2024-06-18 09:09:41 +01: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
Andy Wilkinson
1f698d8ea2
Prohibit .java8 Jaybird versions
...
Closes gh-41130
2024-06-17 14:13:12 +01:00
Andy Wilkinson
beafbe5125
Upgrade to Spring LDAP 3.2.4
...
Closes gh-41023
2024-06-17 14:06:46 +01:00
Andy Wilkinson
10dcdccbe1
Upgrade to Spring Data Bom 2023.1.7
...
Closes gh-41018
2024-06-17 14:06:45 +01:00
Andy Wilkinson
7de738041e
Upgrade to Pulsar Reactive 0.5.6
...
Closes gh-41129
2024-06-17 14:06:45 +01:00
Andy Wilkinson
3c99f2e5be
Upgrade to jOOQ 3.18.17
...
Closes gh-41128
2024-06-17 14:06:40 +01:00
Andy Wilkinson
242afe1dcf
Upgrade to Jaybird 5.0.5.java11
...
Closes gh-41127
2024-06-17 14:06:35 +01:00
Andy Wilkinson
138307c13c
Disable test context cache in spring-boot-testcontainers
...
Closes gh-41124
2024-06-17 11:43:00 +01:00
Andy Wilkinson
03a87ccd69
Clarify how Container's Docker image name is used to name a connection
...
Closes gh-41111
2024-06-17 10:45:03 +01:00
Phillip Webb
96586525d5
Make DelegatingFilterProxyRegistrationBeanTests idempotent
...
Fixes gh-38630
2024-06-14 11:03:09 -07:00
Phillip Webb
0c1c7e844c
Don't detect main method from launcher classes
...
Update `MainMethod` discovery so that launcher classes from the
`org.springframework.boot.loader` code are not considered. This restores
the behavior of Spring Boot 2.7.11 and allows remote restart of uber
jars without pulling the loader classes into the `RestartClassLoader`.
Fixes gh-39733
2024-06-14 10:40:49 -07:00
Andy Wilkinson
31f967723d
Fix Mongo health indicators when using the strict V1 API
...
Closes gh-41101
2024-06-14 17:05:09 +01:00
Andy Wilkinson
3687e4c9aa
Upgrade to Reactor Bom 2023.0.7
...
Closes gh-41016
2024-06-13 12:55:23 +01:00
Andy Wilkinson
622c0a9fbc
Upgrade to Infinispan 14.0.29.Final
...
Closes gh-41096
2024-06-13 12:55:23 +01:00
Andy Wilkinson
2d2799784d
Upgrade to Hibernate 6.4.9.Final
...
Closes gh-41095
2024-06-13 12:55:18 +01:00
Scott Frederick
e228ed39b3
Support CNB builders that do not specify a stack
...
Fixes gh-41046
2024-06-12 15:16:21 -05: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
Ahmed Ashour
4f6509d5ff
Prevent unnecessary unboxing
...
See gh-40985
2024-06-11 12:24:13 -07:00