Commit Graph

25222 Commits

Author SHA1 Message Date
Moritz Halbritter 771e356b3b Use version 2.34.0 of ActiveMQ Artemis docker image
Closes gh-41008
2024-06-07 10:43:32 +02:00
Moritz Halbritter 1fff51d53d Add missing period 2024-06-07 10:13:19 +02:00
Scott Frederick 0c3aa52773 Add How-To Guide for building images with CDS and buildpacks
Closes gh-40762
2024-06-06 16:11:19 -05:00
Scott Frederick 2df0c7961a Reorganize packaging and optimizing documentation
Documentation for native executables, CDS, and checkpoint/restore are
now under a common heading in the reference documentation, along with
sections on building container images. A few sections containing
prescriptive workflows have been moved from reference to how-to guides.
This consolidates and improves the consistency of recommendations on
how to package and run applications.

Closes gh-40977
2024-06-06 16:11:10 -05:00
Andy Wilkinson 16302c18b2 Merge branch '3.2.x'
Closes gh-41006
2024-06-06 14:58:28 +01:00
Andy Wilkinson 217c2c862b Ignore file entries in META-INF/versions of multi-release jar
Fixes gh-41001
2024-06-06 13:28:36 +01:00
Andy Wilkinson 45f09df7fe Merge branch '3.2.x'
Closes gh-40996
2024-06-05 14:27:16 +01:00
Andy Wilkinson d4e9f458a3 Fix path handling and wrapping in LoaderHidingResource
Closes gh-39472
2024-06-05 12:33:21 +01:00
Andy Wilkinson 2ceb7b4217 Extract LoaderHidingResource as a top-level type
See gh-39472
2024-06-05 12:33:20 +01:00
Moritz Halbritter 70946b7f2f Merge branch '3.2.x'
Closes gh-40983
2024-06-04 09:06:53 +02:00
Yanming Zhou 5cfd079c55 Remove unnecessary null check
See gh-40963
2024-06-04 08:39:26 +02:00
Moritz Halbritter 197eae5ec4 Polish "Replace hard-coded links to Micrometer in documentation"
See gh-40967
2024-06-03 14:33:54 +02:00
Seungrae 1589a19a86 Replace hard-coded links to Micrometer in documentation
See gh-40967
2024-06-03 14:27:28 +02:00
Moritz Halbritter 550433e6c3 Merge branch '3.2.x'
Closes gh-40976
2024-06-03 14:13:43 +02:00
Khan, C M Abdullah 570522d876 Fix typos in method names and javadoc
See gh-40971
2024-06-03 14:05:52 +02:00
Andy Wilkinson 58a175bf23 Merge branch '3.2.x'
Closes gh-40975
2024-06-03 09:37:14 +01:00
Andy Wilkinson dd6f516d66 Test Gradle Plugin against 8.8
Closes gh-40573
2024-06-03 08:29:02 +01:00
Scott Frederick fa131fa6a0 Merge branch '3.2.x'
Closes gh-40959
2024-05-30 15:16:27 -05:00
Ahmed Ashour f000af6a12 Remove unused parameter and polish javadoc
See gh-40955
2024-05-30 14:42:46 -05:00
Scott Frederick abb1df40d1 Merge branch '3.2.x'
Closes gh-40958
2024-05-30 14:29:59 -05:00
Mateus Scheper 6c5ae329f3 Fix typo in Dev Services reference docs
See gh-40951
2024-05-30 14:27:27 -05:00
Chris Bono 0c1632de90 Fix links to Spring Pulsar ref docs
This commit fixes several broken links from pulsar.adoc to the
Spring Pulsar reference docs. The breakage occurred due to some
doc re-organization in Spring Pulsar.

See gh-40948
2024-05-30 14:12:33 -05:00
Andy Wilkinson 087789bda3 Merge branch '3.2.x'
Closes gh-40953
2024-05-30 08:05:09 +01:00
Andy Wilkinson 211bf95f45 Revert "Adapt to Spring Data Neo4j now requiring a transaction manager"
This reverts commit b6467ed826. 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
Moritz Halbritter 0dff055c38 Apply configuration to CycloneDX plugin only for the execution
Closes gh-40927
2024-05-29 14:37:12 +02:00
Moritz Halbritter 9e86230c06 Merge branch '3.2.x'
Closes gh-40943
2024-05-29 14:28:43 +02:00
erie0210 2e1ad6bdcc Add Kotlin example for @Testcontainers
See gh-40905
2024-05-29 14:28:11 +02:00
Fouad Almalki fad0f0a83d Add newline before the Spring banner
See gh-40889
2024-05-29 14:16:37 +02:00
Moritz Halbritter c479c56836 Merge branch '3.2.x'
Closes gh-40942
2024-05-29 14:13:43 +02:00
Khan, C M Abdullah ab2ba674b6 Fix various minor inconsistencies in the documentation
See gh-40900
2024-05-29 14:12:04 +02:00
Moritz Halbritter 8f1166f4da Merge branch '3.2.x'
Closes gh-40941
2024-05-29 14:06:37 +02:00
vsanna 3ae1c111a0 Warn in the documentation that spring.profiles.group can only be used in non-profile-specific documents
See gh-40918
2024-05-29 14:02:14 +02:00
Andy Wilkinson cf447e3aa6 Merge branch '3.2.x'
Closes gh-40931
2024-05-28 16:52:32 +01:00
Andy Wilkinson 5ee0580339 Upgrade to the latest Framework 6.0.x release
Closes gh-40929
2024-05-28 16:52:00 +01:00
Andy Wilkinson 73b7705baf Merge branch '3.2.x'
Closes gh-40924
2024-05-28 10:51:08 +01:00
Andy Wilkinson d80cf05406 Remove unnecessary use of SingletonSupplier
As of Framework 6.1, it contains a field of a type that's
incompatible with Gradle's configuration cache.

Fixes gh-40911
2024-05-28 10:50:33 +01:00
Moritz Halbritter 9def6f86c9 Keep track of written jar entries to not duplicate them
Closes gh-40903
2024-05-27 12:18:00 +02:00
Phillip Webb 82d8222f56 Polish 2024-05-24 18:10:03 -07:00
Andy Wilkinson 062d9dc54f Upgrade to Spring Batch 5.1.2
Closes gh-40670
2024-05-22 19:16:49 +01:00
Andy Wilkinson 299f2100d6 Upgrade to Netty 4.1.110.Final
Closes gh-40880
2024-05-22 19:16:48 +01:00
Andy Wilkinson aa513a61ed Upgrade to Byte Buddy 1.14.16
Closes gh-40879
2024-05-22 19:16:44 +01:00
Andy Wilkinson 477cdcae21 Upgrade to Spring Batch 5.1.2
Closes gh-40657
2024-05-22 19:14:48 +01:00
Andy Wilkinson 6ca3db067d Upgrade to Netty 4.1.110.Final
Closes gh-40878
2024-05-22 19:14:47 +01:00
Andy Wilkinson 0ffd7e6910 Upgrade to Byte Buddy 1.14.16
Closes gh-40877
2024-05-22 19:14:42 +01:00
Andy Wilkinson d05d0105db Merge branch '3.2.x' 2024-05-22 17:02:37 +01:00
Andy Wilkinson 35fb54a4d3 Polish deprecation notice 2024-05-22 17:02:29 +01:00
Scott Frederick fccc4ec3b8 Merge branch '3.2.x'
Closes gh-40871
2024-05-22 08:36:35 -05:00
Scott Frederick 4e5cd2c2fd Fix default security options for bootBuildImage task
Fixes gh-39830
2024-05-22 07:56:15 -05:00
Moritz Halbritter 3858a33162 Merge branch '3.2.x'
Closes gh-40869
2024-05-22 13:49:35 +02: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 da4c2db3a7 Ensure default mime mappings are applied
Fixes gh-40860
2024-05-22 12:19:31 +01:00
Andy Wilkinson baf34c43f3 Upgrade to Hibernate 6.5.2.Final
Closes gh-40867
2024-05-22 10:36:01 +01:00
Piyal Ahmed 21df3ff1de Fix typo in Neo4jReactiveDataAutoConfiguration class
See gh-40836
2024-05-22 11:22:46 +02:00
Andy Wilkinson 45481d7918 Upgrade to Spring Session 3.3.0
Closes gh-40679
2024-05-22 10:04:21 +01:00
Andy Wilkinson a7a82980ce Upgrade to Spring Pulsar 1.1.0
Closes gh-40677
2024-05-22 10:04:20 +01:00
Andy Wilkinson fdd4ee8fb2 Upgrade to Spring Integration 6.3.0
Closes gh-40675
2024-05-22 10:04:20 +01:00
Andy Wilkinson 949a5f0a3d Upgrade to Spring GraphQL 1.3.0
Closes gh-40673
2024-05-22 10:04:19 +01:00
Andy Wilkinson 067c7f3be4 Upgrade to Spring Authorization Server 1.3.0
Closes gh-40669
2024-05-22 10:04:19 +01:00
Andy Wilkinson ddd11461c5 Upgrade to Infinispan 15.0.4.Final
Closes gh-40865
2024-05-22 10:04:18 +01:00
Andy Wilkinson 7bec440d03 Merge branch '3.2.x' 2024-05-22 09:58:37 +01:00
Andy Wilkinson d340f87c22 Disable test when Docker is not available
See gh-40585
2024-05-22 09:58:23 +01:00
Andy Wilkinson de75283f36 Upgrade to Spring Session 3.2.3
Closes gh-40663
2024-05-22 09:57:24 +01:00
Andy Wilkinson 7a60bbbba4 Upgrade to Spring Pulsar 1.0.6
Closes gh-40662
2024-05-22 09:57:23 +01:00
Andy Wilkinson 814f01551d Upgrade to Spring Integration 6.2.5
Closes gh-40660
2024-05-22 09:57:21 +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 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 dda74cab94 Upgrade to Spring Kafka 3.1.5
Closes gh-40661
2024-05-20 20:33:14 +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 9d44468d44 Upgrade to Spring AMQP 3.1.5
Closes gh-40827
2024-05-20 18:00:50 +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 75976713fe Polish "Fix typo in CertificateMatchingTestSource class"
See gh-40822
2024-05-20 10:14:45 +01:00
Piyal Ahmed 092e921433 Fix typo in CertificateMatchingTestSource class
See gh-40822
2024-05-20 10:13:39 +01:00