Commit Graph

42503 Commits (114339653109c1e62d1bef18c981b7ffd04ce3d7)
 

Author SHA1 Message Date
Phillip Webb 8427e813af Support import of idomatic testcontainer declaration classes
Add an `@ImportTestcontainers` annotation which can be used to import
idomatic testcontainer declaration classes.

Closes gh-35245
2 years ago
Phillip Webb 26566d4a30 Allow testcontainer beans to also contribute properties
Allow `Container` bean definitions to inject a `DynamicPropertyRegistry`
so that they can contribute environment properties.

Closes gh-35201
2 years ago
Phillip Webb e9578fe745 Swallow BeanCurrentlyInCreationException exceptions
Update `TestcontainersLifecycleBeanPostProcessor` to that initialization
doesn't fail if a `BeanCurrentlyInCreationException` is thrown.

Prior to this commit, if the first bean being post-processed was a
configuration class declaring a bean that the `Container` depended on
all initialization would fail.

See gh-35223
2 years ago
Phillip Webb 3997771f6c Polish 2 years ago
Phillip Webb d86e82d026 Merge branch '3.0.x' 2 years ago
Phillip Webb 2c27ec5b7b Merge branch '2.7.x' into 3.0.x 2 years ago
Phillip Webb b3226c55d2 Polish 2 years ago
Phillip Webb 8e18862582 Merge branch '3.0.x' 2 years ago
Phillip Webb 8d1fb3be4f Fix index error on test
See gh-35241
2 years ago
Phillip Webb a890323758 Merge branch '3.0.x' 2 years ago
Phillip Webb 0f242ab3f7 Merge branch '2.7.x' into 3.0.x 2 years ago
Phillip Webb 6b646f6a8e Update copyright year of changed files 2 years ago
Phillip Webb cd5f0dff21 Merge branch '3.0.x'
Closes gh-35242
2 years ago
Phillip Webb 722cbc66c6 Merge branch '2.7.x' into 3.0.x
Closes gh-35241
2 years ago
Phillip Webb 5ef0ee0ed4 Prevent early initialization of SessionRepository beans
Replace `SessionRepositoryFilterConfiguration` filter registration bean
with a `DelegatingFilterProxyRegistrationBean` so that
`SessionRepository` beans are not initialized early.

Fixes gh-35240
2 years ago
Scott Frederick a4b81e4326 Polish smoke tests
See gh-35042
2 years ago
Scott Frederick 23ae91b008 Add native image manifest entry
A manifest entry `Spring-Boot-Native-Processed: true` is added to the
jar manifest by the Maven or Gradle plugin when the jar has been built
for use in a native image. With the Gradle plugin, this is done in
reaction to the GraalVM Native Image Plugin being applied to the
project. With the Maven plugin, this is done when the `native` profile
is applied to the build.
2 years ago
Scott Frederick 5ac6a3d90b Add smoke test to verify MongoDB SSL connections
See gh-35042
2 years ago
Scott Frederick 3bb271e320 Add smoke test to verify Redis SSL connection
See gh-34815
2 years ago
Andy Wilkinson 161b54b1d4 Set Logback's root log level to INFO as early as possible
Closes gh-35238
2 years ago
Andy Wilkinson aafe343ce6 Merge branch '3.0.x'
Closes gh-35237
2 years ago
Andy Wilkinson 9a39bf284b Merge branch '2.7.x' into 3.0.x
Closes gh-35235
2 years ago
Andy Wilkinson 7c2c2ebb1b Make ApplicationAvailabilityBean receive events with lazy init
Fixes gh-35161
2 years ago
Moritz Halbritter 9d50d92b9c Merge branch '3.0.x' 2 years ago
Moritz Halbritter 1f4a337ad2 Merge branch '2.7.x' into 3.0.x 2 years ago
Moritz Halbritter 091d6204cb Disable build image integration tests on aarch64 linux and mac
See gh-35229
2 years ago
Moritz Halbritter 7c725a7560 Polish DockerImageNames 2 years ago
Moritz Halbritter 2586150eaf Disable ARM incompatible integration tests 2 years ago
Moritz Halbritter 3a122b67c6 Merge branch '3.0.x' 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 9a545727b9 Disable SQL server and Oracle database compose tests on ARM
See gh-35229
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
Andy Wilkinson 419d8c22b2 Merge branch '3.0.x'
Closes gh-35231
2 years ago
Andy Wilkinson 8f291abc2b Merge branch '2.7.x' into 3.0.x
Closes gh-35230
2 years ago
Andy Wilkinson c768307d79 Merge pull request #35180 from aasaru
* gh-35180:
  Correct list of annotations equivalent to @SpringBootApplication

Closes gh-35180
2 years ago
Juhan Aasaru 3b70286747 Correct list of annotations equivalent to @SpringBootApplication
See gh-35180
2 years ago
Andy Wilkinson d24167371e Merge branch '3.0.x'
Closes gh-35226
2 years ago
Andy Wilkinson 8f3f74ffd5 Merge branch '2.7.x' into 3.0.x
Closes gh-35225
2 years ago
Andy Wilkinson 695e58f418 Align buildSrc's Framework version with the main build's version
Closes gh-35224
2 years ago
Andy Wilkinson 95a8c11773 Merge branch '3.0.x' 2 years ago
Andy Wilkinson c208a4482d Merge branch '2.7.x' into 3.0.x 2 years ago
Andy Wilkinson d0a354352d Polish buildSrc's build.gradle 2 years ago
Andy Wilkinson b1d0433d74 Handle Kafka servers as strings and rely on Kafka's parsing
Closes gh-34770
2 years ago
Phillip Webb dc4efaf276 Initialize containers first and destroy them last
Update `TestcontainersLifecycleBeanPostProcessor` so that on
initialization of the first bean all `Container` instances are started.

With this update all `Container` beans will be started first in the
`preInstantiateSingletons` phase and destroyed last.

Closes gh-35223
2 years ago