Commit Graph

82 Commits (55b5610dd9d5929b55c60442b92a2cc0f8fb83b2)

Author SHA1 Message Date
Andy Wilkinson 7d40a45b50 Merge branch '3.1.x'
Closes gh-37662
1 year ago
Andy Wilkinson a4100e12ff Merge branch '3.0.x' into 3.1.x
Closes gh-37661
1 year ago
Scott Frederick 619a0f3b35 Merge branch '3.1.x'
Closes gh-37624
1 year ago
JinseongHwang 0b703f9007 Use consistent capitalization in MySQL and MariaDB test names
See gh-37497
1 year ago
Andy Wilkinson e3d884803e Add Docker Compose support for Neo4j
Closes gh-37379
1 year ago
Moritz Halbritter f94693a251 Merge branch '3.1.x' 1 year ago
Moritz Halbritter fdd9bc732f Enable RabbitEnvironmentTests 1 year ago
Moritz Halbritter 136a5b4c07 Enable PostgresEnvironmentTests 1 year ago
Moritz Halbritter 496b373fce Remove unused test 1 year ago
Moritz Halbritter 0f019b0049 Reign in Cassandra memory consumption when running tests
The environment variables are the same as the Cassandra Testcontainers
uses.
1 year ago
Moritz Halbritter 3dd6372602 Polish "Add service connection from OpenTelemetry Collector"
See gh-35082
1 year ago
Moritz Halbritter c387c87fda Polish "Add service connection from OpenTelemetry Collector"
See gh-35082
1 year ago
Eddú Meléndez 6997277f75 Add service connection from OpenTelemetry Collector
See gh-35082
1 year ago
Phillip Webb 750c597225 Polish 'Add Pulsar ConnectionDetails support'
See gh-37197
1 year ago
Chris Bono 089fef0392 Add Pulsar ConnectionDetails support
Add `ConnectionDetails` support for Apache Pulsar and provide adapters
for Docker Compose and Testcontainers.

See gh-37197
1 year ago
Stephane Nicoll ad820cc99d Merge branch '3.1.x' 1 year ago
Stephane Nicoll 44847d6600 Fix assertion (sorry)
See gh-37044
1 year ago
Stephane Nicoll 15f14a6082 Merge branch '3.1.x' 1 year ago
Stephane Nicoll 621db533dc Fix assertion
See gh-37044
1 year ago
Stephane Nicoll 65ec6897e9 Merge branch '3.1.x'
Closes gh-37064
1 year ago
Stephane Nicoll 5a25c31832 Polish "Fix password property for Oracle container"
See gh-37044
1 year ago
Joe Steel ab1e521388 Fix password property for Oracle container
See gh-37044
1 year ago
Phillip Webb d73d8f8e4f Merge branch '3.1.x' 1 year ago
Phillip Webb 155300525e Polish 1 year ago
Phillip Webb 2fdc29b885 Revert "Polish"
This reverts commit 6a65ca13ea since
FileCopyUtils will close the reader/writer.
1 year ago
Moritz Halbritter 08ff1c2003 Merge branch '3.1.x' 1 year ago
Moritz Halbritter 6a65ca13ea Polish 1 year ago
Moritz Halbritter f54d370fcd Remove unused class 1 year ago
Moritz Halbritter 3bb93b37ca Remove --detach and --wait flags from docker compose start command
Closes gh-36908
1 year ago
Moritz Halbritter 784488b090 Merge branch '3.1.x'
Closes gh-36910
1 year ago
Moritz Halbritter d48aa806c2 Remove --no-color flag from docker compose start command
Closes gh-36908
1 year ago
Moritz Halbritter 7bb337aeb1 Polish tests 1 year ago
Scott Frederick 2452958f7b Merge branch '3.1.x'
Closes gh-36486
1 year ago
Scott Frederick bf08cc25df Use DockerImageNames in Docker compose integration tests
Closes gh-36485
1 year ago
Stephane Nicoll 311fa6272d Polish "Add service connection for Testcontainers ActiveMQ"
This also adds support for Docker Compose.

See gh-35080
1 year ago
Johnny Lim e97c5a7118 Use kebab-case for property default values in metadata
See gh-36170
1 year ago
Andy Wilkinson 3ef1738a5e Remove containers after use in Docker Compose integration tests
Closes gh-36104
1 year ago
Andy Wilkinson 660dbb9afd Fix Maven-built native images with Docker Compose dependency
Previously, we tried to prevent spring-boot-docker-compose from
causing problems with AOT and native images by excluding it from
the AOT processing classpath. This allowed AOT processing to
succeed. We cannot apply the same exclusion to the native image
classpath so spring-boot-docker-compose was still included in the
native image. This results in a failure at runtime due to missing
reflection hints.

This commit reverts that changes that excluded
spring-boot-docker-compose from the AOT processing classpath. This
allows AOT processing to generate reflection hints but reintroduces
the failure caused by the connection details bean definitions using
an instance supplier callback. To overcome this problem we disable
DockerComposeLifecycleManager during AOT processing and in a native
image. This ensures that no attempt is made to call docker compose up
and no connection details beans are defined.

Fixes gh-35676
1 year ago
Scott Frederick 8f31a5772e Set authSource in MongoDB Docker Compose connection details
When authentication credentials are provided in environment variables
for the official MongoDB Docker image, the authentication source must
also be set to the `admin` database.

Fixes gh-35777
1 year ago
Moritz Halbritter 157b71b333 Add missing defaults for docker compose properties
Closes gh-35598
2 years ago
Scott Frederick 0ca3ab7249 Polish Javadoc
See gh-35545
2 years ago
Andy Wilkinson 6ad71c9b0c Reduce number of CLI calls to improve startup time with devtools
Update `DockerComposeLifecycleManager` so that `docker ps` is
not called multiple times.

See gh-35435
2 years ago
Phillip Webb b0c76c1f79 Cache docker commands to improve startup time with devtools
Update `DockerCli` so that the docker commands are cached. This helps
improve startup time when using devtools with docker compose.

See gh-35435
2 years ago
Phillip Webb a8602a1814 Allow docker compose service readiness checks to be bypassed
Add `spring.docker.compose.readiness.wait` property that can be used to
determine how Spring Boot should wait for docker compose services to
become ready.

Fixes gh-35545
2 years ago
Phillip Webb 6b0b6ccf49 Move docker compose readiness code and make it package-private
The `ReadinessCheck` interface has been removed making the dedicated
package less necessary. By relocating the code we can make more of it
pacakge-private.

See gh-35544
2 years ago
Phillip Webb 060581d078 Remove pluggable docker compose ReadinessCheck
Remove pluggable `ReadinessCheck` interface and only use the
`TcpConnectServiceReadinessCheck` implementation for now. We
may re-introduce pluggable checks in a future version.

See gh-35544
2 years ago
Andy Wilkinson 3d41e41b94 Polish
Make logger a static field.
2 years ago
Johnny Lim 54f85b1181 Fix since version for ImageReference
See gh-35459
2 years ago
Phillip Webb ae90add7c7 Polish 2 years ago
Scott Frederick 8377306668 Improve error when Docker Compose file not found
Fixes gh-35383
2 years ago