Commit Graph

628 Commits (f11f0a7f430a605e62a4715e69a3ea804dcf09c3)

Author SHA1 Message Date
Andy Wilkinson 92361b5545 Merge branch '3.0.x' into 3.1.x
Closes gh-36664
1 year ago
Andy Wilkinson 51b81ced6f Merge branch '2.7.x' into 3.0.x
Closes gh-36663
1 year ago
Andy Wilkinson 28b3054a9e Try to stabilize DataCouchbaseTestIntegrationTests
Closes gh-36662
1 year ago
Andy Wilkinson 0d646d7c26 Polish "Support ServiceConnection beans in slice tests"
See gh-36037
1 year ago
Eddú Meléndez 4dfb60c9a3 Support ServiceConnection beans in slice tests
Previously, to use `@ServiceConnection` on a `@Bean` method in a sliced
test required ServiceConnectionAutoConfiguration to be imported using
`@ImportAutoConfiguration`. This commit removes the need for this
import by registering ServiceConnectionAutoConfiguration in specific
slice test annotations.

See gh-36037
1 year ago
Eddú Meléndez 321c526bf7 Add SslAutoConfiguration to slice test annotations
`SslAutoConfiguration` has been added to `cassandra`, `couchbase`,
`elasticsearch`, `mongo` and `redis` slice test annotations.

See gh-36038
1 year ago
Andy Wilkinson 3f7fe25cb9 Merge branch '3.0.x' into 3.1.x
Closes gh-36044
1 year ago
Andy Wilkinson 2fae5de245 Merge branch '2.7.x' into 3.0.x
Closes gh-36043
1 year ago
Andy Wilkinson d2966e1cbf Polish "Replace calls to verifyComplete() to avoid indefinite blocking"
See gh-35915
1 year ago
ThomazPassarelli f9da30faf1 Replace calls to verifyComplete() to avoid indefinite blocking
See gh-35915
1 year ago
Moritz Halbritter c00e6ebbdf Merge branch '3.0.x'
Closes gh-35360
2 years ago
Moritz Halbritter 1c87fcb806 Add property to disable DisableObservabilityContextCustomizer
Closes gh-35009
2 years ago
Scott Frederick a474e54cf3 Merge branch '3.0.x'
Closes gh-35244
2 years ago
Scott Frederick cf180fa1cc Merge branch '2.7.x' into 3.0.x
Closes gh-35243
2 years ago
Scott Frederick 5d91c24f63 Update Couchbase image tag used in tests
Closes gh-35228
2 years ago
Moritz Halbritter 735c43ce9b Merge branch '2.7.x' into 3.0.x 2 years ago
Moritz Halbritter 312f0c17ed Set initial ElasticSearch heap size in integration tests 2 years ago
Moritz Halbritter 944d77491b Set initial heap size for ElasticSearch integration tests 2 years ago
Moritz Halbritter 1ce88f25b4 Merge branch '3.0.x' 2 years ago
Moritz Halbritter 037cb8c5b0 Merge branch '2.7.x' into 3.0.x 2 years ago
Moritz Halbritter c1cef099d2 Limit maximum heap of ElasticSearch in tests 2 years ago
Moritz Halbritter d7a9f87b64 Disable Neo4j tests on aarch64 linux and mac
See gh-35228
2 years ago
Moritz Halbritter 9f109fe785 Disable Couchbase integration tests on aarch64 linux and mac
See gh-35228
2 years ago
Phillip Webb 81a972af8d Refactor testcontainers service connections
Update restcontainers service connections support so that
technology specific `@ServiceConnector` annotations are not longer
required.

A single `@ServiceConnector` annotation can now be used to create
all `ConnectionDetail` beans.

Closes gh-35017
2 years ago
Phillip Webb 11dac5b5b7 Create dedicated spring-boot-testcontainers module
Create a dedicated testcontainers module containing the service
connectors code.

Closes gh-34757
2 years ago
Phillip Webb 2951cc7594 Polish 2 years ago
Andy Wilkinson d4980ea993 Always define connection details beans
Closes gh-34776
2 years ago
Phillip Webb 463701db18 Merge branch '3.0.x' 2 years ago
Phillip Webb d442bfbeff Polish 2 years ago
Stephane Nicoll 2a52c47386 Merge branch '3.0.x'
Closes gh-34870
2 years ago
Stephane Nicoll ace8cff1b3 Merge branch '2.7.x' into 3.0.x
Closes gh-34869
2 years ago
Christoph Dreis 9107c5cae3 Avoid repeated class lookups in tests
See gh-34613
2 years ago
Andy Wilkinson d8d6cb7323 Improve diagnostics with @ServiceConnection on non-static field
Closes gh-34795
2 years ago
Andy Wilkinson 2267430bdb Find service connections declaring in enclosing classes
Fixes gh-34790
2 years ago
Andy Wilkinson cd17d92eac Merge branch '3.0.x'
Closes gh-34782
2 years ago
Andy Wilkinson d6dbf300ab Merge branch '2.7.x' into 3.0.x
Closes gh-34781
2 years ago
Andy Wilkinson 5669ea69d0 Consider properties on outer class in nested sliced tests
Prior to this commit, properties configured using the properties
attribute of a `@…Test` sliced test annotation would not be considered
when processed a `@Nested` test class. This would lead to the nested
class not reusing its outer class's application context due to the
two having different property configuration.

Fixes gh-33317
2 years ago
Andy Wilkinson 95f45eab1f Create service connections from Testcontainers-managed containers
Building upon the auto-configuration support for service connections,
this commit adds support for deriving connection details from a
Testcontainers-managed container. Several service-specific
annotations have been introduced. These annotations can be used on a
container field to indicate that it is a source of the details for
a service connection.

See gh-34658

Co-Authored-By: Phillip Webb <pwebb@vmware.com>
Co-Authored-By: Mortitz Halbritter <mkammerer@vmware.com>
2 years ago
Phillip Webb 0b15962aca Merge branch '2.7.x' into 3.0.x 2 years ago
Phillip Webb 58e7cae20f Merge branch '2.7.x' into 3.0.x 2 years ago
Phillip Webb 737ef61456 Enable and fix GraphQlTestIntegrationTests 2 years ago
Phillip Webb e04c09ceae Merge branch '2.7.x' into 3.0.x 2 years ago
Phillip Webb 891ce3bd1b Disable recently renamed tests 2 years ago
Phillip Webb 01e8c42c16 Merge branch '2.7.x' into 3.0.x 2 years ago
Phillip Webb 3651ba348d Fix checkstyle test violations 2 years ago
Phillip Webb c4de86c244 Merge branch '2.7.x' into 3.0.x 2 years ago
Phillip Webb df5898a146 Reformat code following spring-javaformat upgrade 2 years ago
Johnny Lim bc7fc90550 Replace Base64Utils with JDK's Base64
See gh-33967
2 years ago
Phillip Webb 71efc55bf9 Merge branch '2.7.x' 2 years ago
Phillip Webb 7c508fa324 Update copyright year of changed files 2 years ago