Commit Graph

26227 Commits

Author SHA1 Message Date
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
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
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
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
Stephane Nicoll
54ec50c529 Start building against Spring Kafka 3.0.6 snapshots
See gh-34968
2023-04-14 14:41:13 +02:00
Stephane Nicoll
12c2c8269b Start building against Spring AMQP 3.0.4 snapshots
See gh-34967
2023-04-14 14:40:47 +02:00
Andy Wilkinson
e4187e9440 Upgrade to GraphQL Java 20.2
Closes gh-34987
2023-04-14 11:55:21 +01:00
Andy Wilkinson
9fc8851b53 Upgrade to Spring LDAP 3.1.0-RC1
Closes gh-34986
2023-04-14 11:55:21 +01:00
Andy Wilkinson
37ecaf8d62 Upgrade to Spring HATEOAS 2.1.0-RC1
Closes gh-34985
2023-04-14 11:55:21 +01:00
Andy Wilkinson
d5756db54c Stop using Native Build Tools "requiredVersion" configuration option
Closes gh-34840
2023-04-14 11:55:20 +01:00
Andy Wilkinson
d2451ce770 Upgrade to jOOQ 3.18.3
Closes gh-34982
2023-04-14 11:55:20 +01:00
Andy Wilkinson
4dafa8b6f3 Upgrade to Jetty 11.0.15
Closes gh-34981
2023-04-14 11:55:20 +01:00
Andy Wilkinson
b8ec7d291d Upgrade to Jackson Bom 2.15.0-rc2
Closes gh-34980
2023-04-14 11:55:20 +01:00
Andy Wilkinson
67285f0530 Upgrade to Elasticsearch Client 8.7.0
Closes gh-34979
2023-04-14 08:59:13 +01:00
Jonatan Ivanov
9774d8a439 Add aggregation temporality to OtlpProperties
In Micrometer 1.11.0-RC1, a new property was introduced in OtlpConfig
to define aggregation temporality.
See https://github.com/micrometer-metrics/micrometer/pull/3625
2023-04-13 10:10:19 -07:00
Andy Wilkinson
d4980ea993 Always define connection details beans
Closes gh-34776
2023-04-13 18:02:35 +01:00
Andy Wilkinson
466b81f13d Merge branch '3.0.x' 2023-04-13 14:41:40 +01:00
Andy Wilkinson
0e51cd583a Merge branch '2.7.x' into 3.0.x 2023-04-13 14:27:00 +01:00
Andy Wilkinson
e70226b48e Adapt to breaking changes in Spring Security internals
See gh-34948
2023-04-13 14:11:20 +01:00
Stephane Nicoll
33427b3829 Upgrade to Spring Framework 6.0.8
Closes gh-34865
2023-04-13 12:18:11 +02:00