Commit Graph

20526 Commits

Author SHA1 Message Date
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
Stephane Nicoll 2bede6bfc5 Upgrade to Spring Framework 6.0.8
Closes gh-34861
2023-04-13 12:16:40 +02:00
Stephane Nicoll 4535f4a39c Upgrade to Spring Framework 5.3.27
Closes gh-34857
2023-04-13 12:13:22 +02:00
Phillip Webb e9a198a68f Merge branch '3.0.x' 2023-04-12 22:16:35 -07:00
Phillip Webb 7fea4c84b4 Update copyright year of changed files 2023-04-12 22:16:07 -07:00
Phillip Webb 9b6a2a59a1 Set offset when checking date in tests
Update integration tests that check the current date so that the offset
is set for the current time before comparing results.

See gh-34786
2023-04-12 22:13:08 -07:00
Stephane Nicoll 9a4a522004 Polish "Start building against Spring Security 6.0.3 snapshots"
See gh-34952
2023-04-12 12:29:58 +02:00
Stephane Nicoll 3f022867f4 Polish "Start building against Spring Security 5.7.8 snapshots"
See gh-34948
2023-04-12 12:26:43 +02:00
Stephane Nicoll c3e3bfcf74 Start building against Spring WS 4.0.3 snapshots
See gh-34953
2023-04-12 11:42:33 +02:00
Stephane Nicoll bd84267d5f Start building against Spring Security 6.0.3 snapshots
See gh-34952
2023-04-12 11:42:29 +02:00
Stephane Nicoll 2209543f30 Start building against Spring Kafka 3.0.6 snapshots
See gh-34951
2023-04-12 11:42:24 +02:00
Stephane Nicoll 7a9e8818cc Start building against Spring AMQP 3.0.4 snapshots
See gh-34950
2023-04-12 11:42:17 +02:00
Stephane Nicoll 5bd926d656 Start building against Spring WS 3.1.6 snapshots
See gh-34949
2023-04-12 11:00:56 +02:00
Stephane Nicoll 1d1d6ef637 Start building against Spring Security 5.7.8 snapshots
See gh-34948
2023-04-12 11:00:51 +02:00
Stephane Nicoll ddf9d240f7 Start building against Spring AMQP 2.4.12 snapshots
See gh-34947
2023-04-12 11:00:46 +02:00
Stephane Nicoll fe18ed596b Upgrade to Reactor Bom 2022.0.6
Closes gh-34864
2023-04-12 10:18:37 +02:00
Stephane Nicoll 963d8ba9b5 Upgrade to Reactor Bom 2022.0.6
Closes gh-34860
2023-04-12 10:17:30 +02:00
Stephane Nicoll cdb666c35a Upgrade to Reactor Bom 2020.0.31
Closes gh-34856
2023-04-12 10:16:17 +02:00
Stephane Nicoll c559bb2b69 Merge branch '3.0.x'
Closes gh-34941
2023-04-11 16:55:43 +02:00
Stephane Nicoll 86a8ed1d81 Merge branch '2.7.x' into 3.0.x
Closes gh-34940
2023-04-11 16:53:17 +02:00
Gerrit Meier 96919b4fcd Use current Neo4j version in testcontainers
See gh-34775
2023-04-11 16:49:27 +02:00
Stephane Nicoll 2dcb849c0f Merge branch '3.0.x'
Closes gh-34939
2023-04-11 16:39:00 +02:00
Stephane Nicoll 320db790e7 Merge branch '2.7.x' into 3.0.x
Closes gh-34938
2023-04-11 16:38:46 +02:00
Stephane Nicoll 4b8829364e Polish "Use removeIf rather than Iterator-based removal"
See gh-34762
2023-04-11 16:32:26 +02:00
SeasonPan 0d13e31827 Use removeIf rather than Iterator-based removal
See gh-34762
2023-04-11 16:20:43 +02:00
Stephane Nicoll 029e47c647 Merge branch '3.0.x'
Closes gh-34937
2023-04-11 16:15:33 +02:00
Stephane Nicoll 55125c7a5c Update copyright header of changed file
See gh-34844
2023-04-11 16:13:23 +02:00
Sanghyuk Jung d4fe272ce5 Remove outdated reference to JPA in BatchProperties
See gh-34844
2023-04-11 16:12:31 +02:00
Stephane Nicoll ab1e0f51c6 Merge branch '3.0.x'
Closes gh-34936
2023-04-11 16:07:10 +02:00
Stephane Nicoll 03d42deaea Polish "Fix hint to include all Liquibase resources in default location"
See gh-34729
2023-04-11 16:02:09 +02:00
Andrii Bohutskyi 408d5246bc Fix hint to include all Liquibase resources in default location
See gh-34729
2023-04-11 15:56:23 +02:00
Stephane Nicoll 0806743966 Merge branch '3.0.x'
Closes gh-34935
2023-04-11 15:46:03 +02:00
Stephane Nicoll 7ee55817b3 Update copyright header of changed file
See gh-34868
2023-04-11 15:39:20 +02:00
kdomo 6728a08219 Use banner location constant
See gh-34868
2023-04-11 15:39:00 +02:00
João Guilherme de Souza Lima b418ab8623 Clarify servlet container compatibility
See gh-34697
2023-04-11 15:31:16 +02:00
Johnny Lim 7dbc7e7e39 Remove unused test configuration
See gh-34818
2023-04-11 15:28:21 +02:00
Stephane Nicoll 47baad1e44 Upgrade to Neo4j Java Driver 5.7.0
Closes gh-34934
2023-04-11 14:48:07 +02:00
Stephane Nicoll bd0561fc10 Upgrade to Neo4j Java Driver 5.7.0
Closes gh-34930
2023-04-11 14:45:41 +02:00
Stephane Nicoll 6bf557cb47 Upgrade to MongoDB 4.9.1
Closes gh-34933
2023-04-11 14:38:30 +02:00
Stephane Nicoll f263f191c5 Upgrade to Infinispan 14.0.8.Final
Closes gh-34932
2023-04-11 14:38:26 +02:00
Stephane Nicoll ff807261b6 Upgrade to Caffeine 3.1.6
Closes gh-34931
2023-04-11 14:38:20 +02:00
Stephane Nicoll ab347e7b3c Upgrade to Infinispan 14.0.8.Final
Closes gh-34929
2023-04-11 13:57:22 +02:00
Stephane Nicoll 6cedcaa901 Upgrade to Caffeine 3.1.6
Closes gh-34928
2023-04-11 13:57:17 +02:00
Stephane Nicoll bac5de8633 Upgrade to Micrometer Tracing 1.1.0-RC1
Closes gh-34863
2023-04-11 13:27:31 +02:00
Stephane Nicoll 0b051741d9 Upgrade to Micrometer Tracing 1.0.4
Closes gh-34859
2023-04-11 13:26:55 +02:00
Stephane Nicoll 17ed74f4ea Upgrade to Micrometer Tracing 1.0.4
Closes gh-34859
2023-04-11 13:24:21 +02:00
Stephane Nicoll 9e27ad45ac Upgrade to Micrometer 1.10.6
Closes gh-34858
2023-04-11 13:23:48 +02:00
Stephane Nicoll cade537253 Upgrade to Micrometer 1.9.10
Closes gh-34855
2023-04-11 13:22:23 +02:00
Phillip Webb 8d2f550f8c Merge branch '3.0.x' 2023-04-10 21:14:42 -07:00
Phillip Webb 3ba3558cff Merge branch '2.7.x' into 3.0.x 2023-04-10 21:14:34 -07:00
Phillip Webb 3e9a136143 Polish gradle formatting 2023-04-10 21:14:09 -07:00
Phillip Webb 463701db18 Merge branch '3.0.x' 2023-04-10 16:22:57 -07:00