Commit Graph

48967 Commits

Author SHA1 Message Date
Andy Wilkinson f367366a26 Merge branch '3.2.x' 2024-05-22 09:37:22 +01:00
Andy Wilkinson 9be225ef07 Merge branch '3.1.x' into 3.2.x 2024-05-22 09:37:03 +01:00
Andy Wilkinson 03a1424c13 Upgrade to Spring Session 3.1.6
Closes gh-40652
2024-05-22 09:36:44 +01:00
Andy Wilkinson 96cea3413d Upgrade to Spring Integration 6.1.9
Closes gh-40826
2024-05-22 09:36:43 +01:00
Andy Wilkinson 4dfcec6c5a Upgrade to Spring Batch 5.0.6
Closes gh-40648
2024-05-22 09:36:42 +01:00
Andy Wilkinson 2d979bf06e Merge branch '3.2.x'
Closes gh-40863
2024-05-22 09:16:57 +01:00
Andy Wilkinson 468e246dbb Make sure container's started before connection details use it
Prior to this commit, a Testcontainer that was managed as a bean
would not have been started in time if it was accessed before
the bean factory's configuration had been frozen. A common way
for this to occur is when using JPA. The entity manager factory
bean is LoadTimeWeaverAware which causes it to be created before
configuration is frozen. Creating this bean requires the DataSource
which in turn requires the JdbcConnectionDetails and its JDBC URL.
Getting the JDBC URL From the connection details requires the
container hosting the SQL database to have been started.

This commit updates ContainerConnectionDetails, the super-class for
all Testcontainer-based ConnectionDetails implementations, to publish
an event when the Container is retrieved from the details. When this
event is published, TestcontainersLifecycleBeanPostProcessor
initializes all containers that are defined as beans.

Closes gh-40585
2024-05-22 09:15:21 +01:00
Andy Wilkinson 33057d3d5a Merge branch '3.2.x' 2024-05-22 07:51:50 +01:00
Andy Wilkinson cb22d57c94 Merge branch '3.1.x' into 3.2.x 2024-05-22 07:51:34 +01:00
Andy Wilkinson 4007b42df0 Free up more disk space on GitHub Actions
See gh-40705
2024-05-22 07:51:01 +01:00
Phillip Webb 4ac90de549 Upgrade to @springio/antora-extensions 1.11.1 2024-05-21 14:32:42 -07:00
Andy Wilkinson f355080dc8 Merge branch '3.2.x'
Closes gh-40855
2024-05-21 15:48:15 +01:00
Andy Wilkinson 486ceecc9a Use the bean factory to get the type produced by a factory bean
Previously, we only looked at the OBJECT_TYPE_ATTRIBUTE on the
factory bean's definition. This did not work for situations
where the information's provided by the definition's target type
rather than the attribute.

Rather than manually considering the target type in addition to
the existing consideration of the attribute, we now ask the bean
factory for the type that will be produced by the factory bean
instead. This should insulate us from any changes and
enhancements in Framework in the future.

Fixes gh-40234
2024-05-21 15:27:59 +01:00
Andy Wilkinson fa074196d3 Merge branch '3.2.x'
Closes gh-40851
2024-05-21 10:44:41 +01:00
Andy Wilkinson a894879085 Use DefaultDbRefResolver whenever MongoDatabaseFactory is available
Fixes gh-39405
2024-05-21 10:29:39 +01:00
Andy Wilkinson 63515012d8 Merge branch '3.2.x'
Closes gh-40850
2024-05-21 10:29:12 +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
Andy Wilkinson f692fb1471 Ensure that Hazelcast binds to localhost for client tests
Closes gh-40848
2024-05-21 10:28:49 +01:00
Phillip Webb 88917b554b Merge branch '3.2.x'
Closes gh-40846
2024-05-20 21:32:12 -07:00
Phillip Webb 39ab959af8 Merge branch '3.1.x' into 3.2.x
Closes gh-40845
2024-05-20 21:06:59 -07:00
Phillip Webb f743dc82fc Improve graceful shutdown documentation to remove ambiguity
Closes gh-40108
2024-05-20 21:06:22 -07:00
Phillip Webb 336dcab0f9 Merge branch '3.2.x'
Closes gh-40844
2024-05-20 18:58:25 -07:00
Phillip Webb 44619a9eef Merge branch '3.1.x' into 3.2.x
Closes gh-40843
2024-05-20 18:58:09 -07:00
Phillip Webb f5f02d6df1 Document that a private constructor opts-out of constructor binding
Closes gh-34820
2024-05-20 18:56:46 -07:00
Andy Wilkinson 4272016481 Upgrade to Spring Kafka 3.2.0
Closes gh-40676
2024-05-20 20:35:10 +01:00
Andy Wilkinson 57dd05b423 Upgrade to Cassandra Driver 4.18.1
Closes gh-40842
2024-05-20 20:35:10 +01:00
Andy Wilkinson a5d8839a12 Merge branch '3.2.x' 2024-05-20 20:33:38 +01:00
Andy Wilkinson dda74cab94 Upgrade to Spring Kafka 3.1.5
Closes gh-40661
2024-05-20 20:33:14 +01:00
Andy Wilkinson f0b9c71496 Merge branch '3.2.x' 2024-05-20 20:31:45 +01:00
Andy Wilkinson 1efa7d1127 Merge branch '3.1.x' into 3.2.x 2024-05-20 20:31:34 +01:00
Andy Wilkinson 64ba92e29a Upgrade to Spring Kafka 3.0.17
Closes gh-40651
2024-05-20 20:31:25 +01:00
Andy Wilkinson 052cb19653 Upgrade to Spring Security 6.3.0
Closes gh-40678
2024-05-20 18:03:05 +01:00
Andy Wilkinson bc0fd926be Upgrade to Spring AMQP 3.1.5
Closes gh-40829
2024-05-20 18:03:04 +01:00
Andy Wilkinson ce81f7cabc Upgrade to Pulsar 3.2.3
Closes gh-40841
2024-05-20 18:03:04 +01:00
Andy Wilkinson ce4b2f854b Upgrade to Native Build Tools Plugin 0.10.2
Closes gh-40840
2024-05-20 18:02:59 +01:00
Andy Wilkinson 2c747490e8 Merge branch '3.2.x' 2024-05-20 18:00:58 +01:00
Andy Wilkinson 9d44468d44 Upgrade to Spring AMQP 3.1.5
Closes gh-40827
2024-05-20 18:00:50 +01:00
Andy Wilkinson 035fa90d7d Merge branch '3.2.x' 2024-05-20 17:59:22 +01:00
Andy Wilkinson 8d3102d468 Merge branch '3.1.x' into 3.2.x 2024-05-20 17:59:08 +01:00
Andy Wilkinson 7c59dfb782 Upgrade to Spring AMQP 3.0.14
Closes gh-40824
2024-05-20 17:58:55 +01:00
Andy Wilkinson a40ecafe36 Merge branch '3.2.x'
Closes gh-40839
2024-05-20 15:55:16 +01:00
Andy Wilkinson b718e5806f Merge branch '3.1.x' into 3.2.x
Closes gh-40838
2024-05-20 15:55:00 +01:00
Andy Wilkinson 1d91757061 Document that HttpMessageConverters can be used for reordering/removal
Closes gh-40767
2024-05-20 15:54:12 +01:00
Andy Wilkinson 8b3c808ae6 Polish 2024-05-20 15:08:45 +01:00
Andy Wilkinson 921e459eb5 Merge branch '3.2.x'
Closes gh-40835
2024-05-20 13:12:22 +01:00
Andy Wilkinson f440f2c3ac Merge branch '3.1.x' into 3.2.x
Closes gh-40834
2024-05-20 13:12:03 +01:00
Andy Wilkinson f5262d89df Add missing Testcontainers service connection tests
Closes gh-35039
2024-05-20 13:02:24 +01:00
Andy Wilkinson e752295dca Merge branch '3.2.x'
Closes gh-40831
2024-05-20 10:15:18 +01:00
Andy Wilkinson 375be93937 Merge pull request #40822 from PiyalAhmed
* gh-40822:
  Polish "Fix typo in CertificateMatchingTestSource class"
  Fix typo in CertificateMatchingTestSource class

Closes gh-40822
2024-05-20 10:15:09 +01:00
Andy Wilkinson 75976713fe Polish "Fix typo in CertificateMatchingTestSource class"
See gh-40822
2024-05-20 10:14:45 +01:00