Commit Graph

42169 Commits

Author SHA1 Message Date
Eddú Meléndez
aea5b77d1e Add missing containers configuration reference to code snippet
See gh-35031
2023-04-17 14:36:40 +02:00
Stephane Nicoll
7cf28680c9 Polish 2023-04-17 14:28:35 +02:00
Stephane Nicoll
95f07484a8 Add missing check on Docker availability 2023-04-17 14:28:11 +02:00
Stephane Nicoll
8946c761ee Polish 2023-04-17 13:23:51 +02:00
Andy Wilkinson
78242cb794 Skip tests when Docker is unavailable
See gh-34747
2023-04-17 10:33:35 +01:00
Andy Wilkinson
3a01759a3b Protect tests against unstable toString ordering
See gh-34747
2023-04-17 10:27:56 +01:00
Phillip Webb
3657f73b9a Provide more verbose docker compose logging
Update `up` and `start` operations so that real-time logging is
provided. Prior to this commit, lengthy pull operations were not
logged which gave the impression that the application had
crashed.

Closes gh-34994
2023-04-17 01:00:37 -07:00
Phillip Webb
7728488541 Allow LogLevel to be used easily with commons logging
Add a `LogLevel.log` method that can be used to log a message at
the given level using commons logging.

Closes gh-35024
2023-04-17 01:00:34 -07:00
Phillip Webb
efff253d35 Fallback to finding docker image name from compose ps
Earlier versions of docker do not include the image name in the inspect
output. We now fallback to using the `compose ps` response.

Closes gh-34993
2023-04-17 01:00:20 -07:00
Mortitz Halbritter
24d1620a93 Add 'excludeDockerCompose' Maven property
Update `AbstractPackagerMojo` so that the docker-compose module
can be filtered from the packaged jar.

Co-authored-by: Phillip Webb <pwebb@vmware.com>
Co-authored-by: "Andy Wilkinson <wilkinsona@vmware.com>
2023-04-17 01:00:16 -07:00
Mortitz Halbritter
842e17eced Add Docker Compose support
Add `spring-boot-docker-compose` module with service connection
support.

Closes gh-34747

Co-authored-by: Phillip Webb <pwebb@vmware.com>
Co-authored-by: "Andy Wilkinson <wilkinsona@vmware.com>
2023-04-17 01:00:08 -07:00
Phillip Webb
4ae24e404e Add @DisabledIfProcessUnavailable test support annotation
Add `@DisabledIfProcessUnavailable` annotation that can disable
a test if a process isn't available to execute.

Closes gh-35023
2023-04-17 01:00:04 -07:00
Phillip Webb
5ac48f5f15 Add testcontainers service connection auto-configuration
Add auto-configuration for `Container` beans that are also
annotated with `@ServiceConnection`. This commit allow
testcontainers to be used at development time and a new section
has been added to the documentation to describe the feature.

Closes gh-35022
2023-04-17 00:49:43 -07:00
Phillip Webb
3b92173a66 Add Testcontainer bean lifecycle support
Add `TestcontainersLifecycleApplicationContextInitializer` and
`TestcontainersLifecycleBeanPostProcessor` to take care of starting and
stopping `Container` beans.

Closes gh-35021
2023-04-17 00:48:20 -07:00
Phillip Webb
e2262284f1 Add SpringApplication.from(...) support
Add a `SpringApplication.from(...)` method which can be used
to augment an existing application with addition `@Configuration`.

Closes gh-35019
2023-04-17 00:47:59 -07:00
Phillip Webb
91e6e4e391 Update documentation to note the spring-boot-testcontainers module
See gh-34757
2023-04-17 00:47:03 -07:00
Phillip Webb
1a0b9bdcd0 Move Testcontainers documentation from howto to features
Closes gh-35018
2023-04-17 00:46:11 -07:00
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
2023-04-17 00:45:39 -07:00
Phillip Webb
11dac5b5b7 Create dedicated spring-boot-testcontainers module
Create a dedicated testcontainers module containing the service
connectors code.

Closes gh-34757
2023-04-17 00:42:31 -07:00
Phillip Webb
2951cc7594 Polish 2023-04-17 00:42:28 -07:00
Phillip Webb
1849b82334 Don't apply configuration-properties from auto-configuration plugin
Update the auto-configuration gradle plugin so that the
configuration-properties plugin is not longer automatically applied.
This  allows us to have auto-configuration modules that don't ship
configuration properties.

Closes gh-35028
2023-04-17 00:41:25 -07:00
Stephane Nicoll
148c632299 Start building against Spring Authorization Server 1.1.0-RC1 snapshots
See gh-35013
2023-04-15 16:05:45 +02:00
Stephane Nicoll
f2ba4c0eb2 Merge branch '3.0.x' 2023-04-15 16:03:42 +02:00
Stephane Nicoll
b4c7820763 Merge branch '2.7.x' into 3.0.x 2023-04-15 16:01:06 +02:00
Stephane Nicoll
41402b3984 Start building against Spring Integration 6.0.5 snapshots
See gh-35012
2023-04-15 15:57:29 +02:00
Stephane Nicoll
86edeb9444 Upgrade to Spring Data Bom 2022.0.5
Closes gh-34903
2023-04-15 15:56:36 +02:00
Stephane Nicoll
ae0767d345 Upgrade to Spring Data Bom 2021.2.11
Closes gh-34902
2023-04-15 15:54:41 +02:00
Andy Wilkinson
b8b1a3b0ec Upgrade to Spring Data Bom 2023.0.0-RC1
Closes gh-34893
2023-04-15 09:39:23 +01:00
Andy Wilkinson
44ff18bcec Upgrade to SAAJ Impl 3.0.1
Closes gh-35007
2023-04-15 09:39:23 +01:00
Andy Wilkinson
b1f240a035 Upgrade to OpenTelemetry 1.25.0
Closes gh-35005
2023-04-15 09:39:22 +01:00
Andy Wilkinson
15533367b4 Upgrade to Maven Surefire Plugin 3.0.0
Closes gh-35004
2023-04-15 09:39:22 +01:00
Andy Wilkinson
8e65351cd6 Upgrade to Maven Failsafe Plugin 3.0.0
Closes gh-35003
2023-04-15 09:39:22 +01:00
Andy Wilkinson
97ec992fe1 Upgrade to Jaybird 5.0.1.java11
Closes gh-35002
2023-04-15 09:39:22 +01:00
Andy Wilkinson
f48e9e70f9 Upgrade to Jaxen 2.0.0
Closes gh-35001
2023-04-15 09:39:21 +01:00
Andy Wilkinson
1e146ed3df Upgrade to Hibernate 6.2.1.Final
Closes gh-35000
2023-04-15 09:39:21 +01:00
Andy Wilkinson
ee7e78b69b Upgrade to Brave 5.15.1
Closes gh-34999
2023-04-15 09:39:21 +01:00
Phillip Webb
053c968fb4 Polish 2023-04-14 17:44:15 -07:00
Phillip Webb
00dc942e94 Migrate to Spring Security lambda config
Closes gh-35011
2023-04-14 17:39:48 -07:00
Andy Wilkinson
899ae9c37c Upgrade to Mockito 5.3.0
Closes gh-34998
2023-04-14 18:34:25 +01:00
Andy Wilkinson
b1ad9fdf79 Merge branch '3.0.x' 2023-04-14 18:00:04 +01:00
Andy Wilkinson
c44cc5ee1c Prohibit upgrades to Liquibase 4.21.0
Closes gh-34983
2023-04-14 17:59:46 +01:00
Andy Wilkinson
397f16ce2d Upgrade to Flyway 9.16.3
Closes gh-34990
2023-04-14 17:59:46 +01:00
Andy Wilkinson
2cb6340ca5 Upgrade to GraphQL Java 19.5
Closes gh-34996
2023-04-14 17:37:59 +01:00
Andy Wilkinson
c142e7d45a Merge branch '2.7.x' into 3.0.x 2023-04-14 17:36:45 +01:00
Andy Wilkinson
7729aef9c0 Upgrade to GraphQL Java 18.5
Closes gh-34995
2023-04-14 17:36:23 +01:00
Stephane Nicoll
b7b467c128 Start building against Spring Integration 6.1.0-RC1 snapshots
See gh-34973
2023-04-14 14:56:12 +02:00
Stephane Nicoll
6e1a4a3466 Start building against Spring GraphQL 1.2.0-RC1 snapshots
See gh-34972
2023-04-14 14:55:45 +02:00
Stephane Nicoll
762780e0fa Start building against Spring WS 4.0.3 snapshots
See gh-34971
2023-04-14 14:54:50 +02:00
Stephane Nicoll
bc2126b5c9 Start building against Session 3.1.0-RC1 snapshots
See gh-34970
2023-04-14 14:53:55 +02:00
Stephane Nicoll
c4c4eb93ae Start building against Spring Security 6.1.0-RC1 snapshots
See gh-34969
2023-04-14 14:52:57 +02:00