Commit Graph

20909 Commits (7674c55cd7dd7386b5df5ad886200ec7c65eeaad)

Author SHA1 Message Date
Phillip Webb 14bc354f7f Apply initializer automatically for context tests
Update `ServiceConnectionContextCustomizer` so that is applies the
`TestcontainersLifecycleApplicationContextInitializer` to all
application contexts.

Closes gh-35222
2 years ago
Phillip Webb 632c5d7ea5 Implement ServiceConnectionContextCustomizer equals and hashcode for key
Update `ServiceConnectionContextCustomizer` with `equals` and `hashcode`
methods so that it works correctly when part of a context cache key.

Closes gh-35216
2 years ago
Phillip Webb 25e3291d86 Broaden exceptions that include ServiceConnection name hint
See gh-35168
2 years ago
Phillip Webb 2c0edfd0b5 Merge branch '3.0.x'
Closes gh-35221
2 years ago
Phillip Webb 67abe3f88e Merge branch '2.7.x' into 3.0.x
Closes gh-35220
2 years ago
Phillip Webb 4e6148f47b Search for main methods from the bottom of the stack
Update `MainMethod` to search from the bottom of the stack rather than
the start. Prior to this commit, an incorrect `main` method would be
found if more than one `main` was in the stack.

Fixes gh-35214
2 years ago
Andy Wilkinson 8fe20c5d63 Derive LiquibaseConnectionDetails from JdbcConnectionDetails
Closes gh-35141
2 years ago
Andy Wilkinson d293df6617 Derive FlywayConnectionDetails from JdbcConnectionDetails
Rather than implementing factories for FlywayConnectionDetails for
each supported SQL database, we instead use a factory to takes
JdbcConnectionDetails as a source and produces
FlywayConnectionDetails.

Closes gh-35138
2 years ago
Phillip Webb b4cd2572d5 Prevent early initialization of Container beans
Update testcontainers auto-configuration so that `Container` bean
instances are no longer needed when registering `ConnectionDetails`
beans. Registration now occurs based on the bean type and the `name`
attribute of `@ServiceConnection`.

Fixes gh-35168
2 years ago
Phillip Webb c21cf31853 Switch order of ContainerConnectionDetailsFactory generics
Switch `ContainerConnectionDetailsFactory` so that `Container`
is before `ConnectionDetails`.
2 years ago
Phillip Webb fc5339f81c Polish 2 years ago
Phillip Webb c13041201d Don't call close methods for reusable testcontainers
Refine `TestcontainersLifecycleApplicationContextInitializer` so that
the `close()` method is not called for reusable containers.

Closes gh-35210
2 years ago
Phillip Webb e7357ba805 Increase timeout in OracleR2dbcContainerConnectionDetailsFactoryTests 2 years ago
Phillip Webb d1084ee6db Refactor ContainerConnectionDetailsFactory classes
Update `ContainerConnectionDetailsFactory` so that they consistently
extend `ContainerConnectionDetails`. The container is also no longer
accessible from the `ContainerConnectionSource` and is never used
during the construction of `ConnectionDetails` instances.

See gh-35168
2 years ago
Phillip Webb 403481ff96 Add 'required' parameter to ConnectionDetailsFactories
Update `ConnectionDetailsFactories` so that callers can now declare if
a result is required or not and improve exception hierarchy.

See gh-35168
2 years ago
Phillip Webb 2b261e6ebd Apply TestTypeExcludeFilter in regular applications
Add `ExcludeFilterApplicationContextInitializer` to register the
`TestTypeExcludeFilter` for regular applications.

Prior to this commit, the filter was only registered using the
`ExcludeFilterContextCustomizerFactory` which meant that test components
were filtered in tests but not when using `SpringApplication.from` with
a test classpath.

Fixes gh-35206
2 years ago
Scott Frederick d913472919 Add Kotlin samples and polish SSL bundle documentation
Closes gh-35105
2 years ago
Andy Wilkinson ce7bf0d0af Merge branch '3.0.x'
Closes gh-35197
2 years ago
Andy Wilkinson 4581c25e20 Merge branch '2.7.x' into 3.0.x
Closes gh-35196
2 years ago
Andy Wilkinson de2df9311c Test Gradle plugin against Gradle 8.1.1
Closes gh-35195
2 years ago
Andy Wilkinson 09527995d1 Polish 2 years ago
Andy Wilkinson a75f55aaa5 Try to stabilize SQL Server tests on CI 2 years ago
Moritz Halbritter 4131e7338d Fix LogMessage format 2 years ago
Moritz Halbritter 75207db6be Polish docker compose code 2 years ago
Moritz Halbritter 8abebd75fb Use shutdownHandlers parameter in constructor 2 years ago
Moritz Halbritter 176cc20c36 Polish FlywayConfiguration 2 years ago
Moritz Halbritter 27ab98b49d Polish ConnectionDetailsFactories 2 years ago
Andy Wilkinson cec159110d Do not block indefinitely when querying SQL database 2 years ago
Andy Wilkinson d7da77bda8 Remove support for service connections to InfluxDB
Closes gh-35189
2 years ago
Scott Frederick 428434c873 Polish SslOptions usage
Change getter methods to return arrays, as this is how most client
library usages need the options.

See gh-34814
2 years ago
Scott Frederick 226c3005d4 Add SSL bundle support to Redis auto-configuration
Update Redis auto-configuration with Lettuce and Jedis drivers to
allow SSL configuration with an SSL bundle.

Closes gh-34815
2 years ago
Andy Wilkinson 8bbe894665 Add Docker Compose service connection support for Oracle using JDBC
Closes gh-35145
2 years ago
Andy Wilkinson 5e73047164 Align SQL Server-related class names with existing precedents
Closes gh-35181
2 years ago
Andy Wilkinson 1e785e81f8 Add Docker Compose support for Oracle Database using R2DBC
Closes gh-35143
2 years ago
Andy Wilkinson 8fd36d04e1 Improve MsSqlServerR2dbcDockerComposeConnectionDetailsFactory tests
See gh-35144
2 years ago
Andy Wilkinson 963da20493 Reinstate dependency management for io.r2dbc:r2dbc-mssql
Closes gh-35159
2 years ago
Andy Wilkinson b5178afa21 Add Docker Compose support for MS SQL Server using JDBC
Closes gh-35146
2 years ago
Andy Wilkinson 9a0b5e0178 Merge branch '3.0.x'
Closes gh-35173
2 years ago
Andy Wilkinson 7ee1622995 Merge branch '2.7.x' into 3.0.x
Closes gh-35172
2 years ago
Andy Wilkinson b03f1e47d0 Merge branch '3.0.x'
Closes gh-35171
2 years ago
Andy Wilkinson d6e3db9c36 Merge branch '2.7.x' into 3.0.x
Closes gh-35170
2 years ago
Andy Wilkinson 6b9bc012a5 Check that BPP and BFPP bean methods won't cause eager initialization
Closes gh-35164
2 years ago
Phillip Webb b5c9e7c06a Polish SslOptions usage
Add helper method and tighten usage so that exceptions are thrown when
options cannot be applied.

See gh-34814
2 years ago
Phillip Webb 423c60acfa Add SSL bundle support to Elasticsearch auto-configuration
Update Elasticsearch RestClient auto-configuration so that an SSL
can be configured via an SSL bundle.

Closes gh-35155
2 years ago
Scott Frederick e9a85b91a8 Polish 2 years ago
Andy Wilkinson 472afafd4b Stop WebFilterChainPostProcessor from causing eager init
Fixes gh-35163
2 years ago
Scott Frederick 43b42eca49 Add Docker Compose service connection support for Cassandra
Closes gh-35136
2 years ago
Scott Frederick 2bec82ab2f Delete disabled docker compose tests 2 years ago
Stephane Nicoll d55cd3b46f Merge branch '3.0.x'
Closes gh-35160
2 years ago
Stephane Nicoll b286e5a0bb Prevent ServletComponentScan to run again with AOT
Closes gh-34563
2 years ago
Yanming Zhou b615aef810 Fix dependency management for spring-boot-testcontainers
This commit adds org.testcontainers:testcontainers as an api dependency
of spring-boot-testcontainers so that GenericContainer can be used
without an additional dependency

See gh-35119
2 years ago
Stephane Nicoll facf48e423 Polish "Prevent container to be closed twice"
See gh-35120
2 years ago
Yanming Zhou 5df6913f18 Prevent container to be closed twice
See gh-35120
2 years ago
Andy Wilkinson fd6214e7e3 Remove accidentally committed test classes 2 years ago
Phillip Webb e0b03661d4 Merge branch '3.0.x' 2 years ago
Phillip Webb 8a43710173 Merge branch '2.7.x' into 3.0.x 2 years ago
Phillip Webb a707c5e83e Polish "Fix support for default values in banner placeholders"
Reorder methods and add a test to ensure that getPropertyResolvers
can be mutated.

See gh-34764
2 years ago
Andy Wilkinson dee5217cf0 Add Docker Compose support for MS SQL Server using R2DBC
Closes gh-35144
2 years ago
Phillip Webb 0f032c290a Allow for predicate based checking of image names
Update `DockerComposeConnectionDetailsFactory` to accept a `Predicate`
based check to determine if the source should be accepted.

The existing name based checks have also been improved to allow names
outside of official docker images. The `ImageReference` and `ImageName`
classes have been mainly copied from
`org.springframework.boot.buildpack.platform.docker.type`.

Closes gh-35154
2 years ago
Phillip Webb 19221f00f3 Deprecate `spring.cassandra.ssl` configuration property
Deprecate the `spring.cassandra.ssl` configuration property in favor
of `spring.cassandra.ssl.enabled`.

See gh-25602
2 years ago
Scott Frederick ff35cc80d7 Allow Couchbase SSL to be enabled without custom trust material
Closes gh-35147
2 years ago
Scott Frederick 1d44b45b5d Deprecate Couchbase SSL keyStore properties
The properties `spring.couchbase.env.ssl.key-store`
and `spring.couchbase.env.ssl.key-store-password`
are deprecated in favor of configuring an SSL bundle with
`spring.couchbase.env.ssl.bundle`. The older properties
have somewhat confusing names, since they are used to
configure a trust store in Couchbase, and they don't
provide all the options that an SSL bundle provides.

Closes gh-35135
2 years ago
Andy Wilkinson 9cd04c55fb Merge branch '3.0.x'
Closes gh-35132
2 years ago
Andy Wilkinson 598e090e8f Merge branch '2.7.x' into 3.0.x
Closes gh-35131
2 years ago
Andy Wilkinson 90952a2dd9 Do not turn a null Flyway-specific password into an empty string
It prevents using PGPASS for authentication with Postgres.

Fixes gh-35110
2 years ago
Andy Wilkinson 7ffacf43f3 Use main DataSource when there are no migration-specific conn details
Fixes gh-35109
2 years ago
Stephane Nicoll 363dc9368d Merge branch '3.0.x'
Closes gh-35130
2 years ago
Stephane Nicoll 7f0402f869 Merge branch '2.7.x' into 3.0.x
Closes gh-35129
2 years ago
Ivan Dimitrov f4db73ead9 Harmonize references to application.yaml files in reference docs
See gh-34628
2 years ago
Lukasz Jernas d38a68ebcd Fix typo in testing docs
See gh-35128
2 years ago
Phillip Webb a0b854024b Add a 'Docker Compose Support' section to the reference docs
Update the reference documentation with details about the recently
introduced Docker Compose Support.

Closes gh-35026
2 years ago
Phillip Webb e19aa81813 Polish formatting 2 years ago
Phillip Webb 6ea2547de4 Add SSL bundle support to WebClient auto-configuration
Introduce `WebClientSsl` interface and auto-configuration to allow a
WebClient builder to have custom SSL configuration applied.

The previous `ClientHttpConnectorConfiguration` has been been changed
to now create `ClientHttpConnectorFactory` instances which can be used
directly or by `AutoConfiguredWebClientSsl`.

Closes gh-18556
2 years ago
Phillip Webb c59c8cc674 Change SslOptions to use null for defaults rather than empty sets
Update `SslOptions` so that `null` is used for default values rather
than empty sets. Most libraries use `null` to indicate defaults so
aligning our class makes things easier.

See gh-34814
2 years ago
Phillip Webb 77c468c956 Add test to check SSL RestTemplate requests work against server
Add a test to `AbstractClientHttpRequestFactoriesTests` to ensure
that SSL configuration works when calling a real Tomcat server.

See gh-34810
2 years ago
Phillip Webb 72c1f667f5 Fix @Since javadoc in RestTemplateBuilder
See gh-34810
2 years ago
Scott Frederick b6befd133c Add SSL bundle support to RestTemplateBuilder auto-configuration
Update RestTemplateBuilder auto-configuration so that an SSL can be
configured via an SSL bundle.

Closes gh-34810
2 years ago
Scott Frederick fd5fd1491a Add SSL bundle support to MongoDB auto-configuration
Update MongoDB auto-configuration so that an SSL can be configured
via an SSL bundle.

Closes gh-35042
2 years ago
Scott Frederick 1618aa2dac Add SSL bundle support to Couchbase auto-configuration
Update Couchbase auto-configuration so that an SSL can be configured
via an SSL bundle.

Closes gh-34811
2 years ago
Scott Frederick 682457377a Add SSL bundle support to Cassandra auto-configuration
Update Cassandra auto-configuration so that an SSL can be configured
via an SSL bundle.

Closes gh-25602
2 years ago
Scott Frederick a03f857059 Document update SSL support
Add a new SSL section to the reference documentation to describe SSL
bundles.

See gh-34814
2 years ago
Scott Frederick 66db13b962 Refactor web server support to use SslBundles
Update Tomcat, Jetty, Undertow and Netty servers so that an SslBundle
is used to apply SSL configuration. Existing `Ssl` properties are
internally adapted to an `SslBundle` using the `WebServerSslBundle`
class. Additionally, if `Ssl.getBundle()` returns a non-null value the
the `SslBundles` bean will be used to find a registered bundle by name.

See gh-34814
2 years ago
Scott Frederick 8e1f24f98f Add SSL bundle auto-configuration support
Add auto-configuration for SSL bundles including new configuration
properties that can be used to define a bundle.

SSL bundle properties are provided under the `spring.ssl.bundle` key.
Currently `jks` and `pem` variants are support. Both are configured
as a `Map` where the bundle name is the key.

A typical example would be:

    spring:
      ssl:
        bundle:
          pem:
            mybundle
              key:
                password: secret
              keystore:
                certificate: classpath:mycert.pem
                private-key: classpath:mykey.pem

A `SslBundleRegistrar` interface is also provided to allow programmatic
contributions to the auto-configured `SslBundleRegistry`.

See gh-34814
2 years ago
Scott Frederick e3677f7ff6 Add SSL bundle support to spring-boot module
Add classes to support SSL bundles which can be used to apply SSL
settings in a centralized way. An `SslBundle` can be registered with
an `SslBundleRegistry` and obtained from an `SslBundles` instance. The
`DefaultSslBundleRegistry` provides a default in-memory implementation.

Different client libraries often configure SSL in slightly different
ways. To accommodate this, the `SslBundle` provides a layered approach
of obtaining SSL information:

	- `getStores` provides access to the key store and trust stores
	  as well as any required key store password.

	- `getManagers` provides access to the `KeyManagerFactory`,
	  `TrustManagerFactory` as well as the `KeyManger` and
	  `TrustManager` arrays that they create.

	- `createSslContext` provides a convenient way to obtain a new
	  `SSLContext` instance.

In addition, the `SslBundle` also provides details about the key being
used, the protocol to use and any options that should be applied to the
SSL engine.

See gh-34814
2 years ago
Andy Wilkinson e61adc6cbf Allow even more time for Redpanda to start 2 years ago
Andy Wilkinson b64adbc34b Fix disabled conditions on AbstractDockerComposeIntegrationTests 2 years ago
Andy Wilkinson cbc03783d0 Allow startup to contiune when ConnectionDetailsFactory load fails
Prior to this commit, a failure to load a ConnectionDetailsFactory
caused startup to fail. This causes problems when some of a
factory's required classes were not available, for examle when using
spring-boot-docker-compose without Actuator.

Fixes gh-35100
2 years ago
Andy Wilkinson bc58df3467 Prohibit upgrades to Liquibase 4.21.1
See gh-34983
2 years ago
Andy Wilkinson 26c98eded9 Upgrade to Tomcat 10.1.8
Closes gh-35095
2 years ago
Andy Wilkinson dbab743018 Upgrade to Spring Integration 6.1.0-RC1
Closes gh-34973
2 years ago
Andy Wilkinson 68b25598b9 Upgrade to Spring GraphQL 1.2.0-RC1
Closes gh-34972
2 years ago
Andy Wilkinson 5965df39b5 Upgrade to Selenium HtmlUnit 4.8.3
Closes gh-35094
2 years ago
Andy Wilkinson 503e88f2ec Upgrade to Logback 1.4.7
Closes gh-35093
2 years ago
Andy Wilkinson b80f4cc985 Upgrade to Tomcat 10.1.8
Closes gh-35089
2 years ago
Andy Wilkinson ca618e84d3 Upgrade to Spring Integration 6.0.5
Closes gh-35012
2 years ago
Andy Wilkinson 35fd0a3f69 Upgrade to Logback 1.4.7
Closes gh-35088
2 years ago
Andy Wilkinson 04780650a1 Merge branch '3.0.x'
Closes gh-35087
2 years ago
Andy Wilkinson 32444fed4b Merge branch '2.7.x' into 3.0.x
Closes gh-35086
2 years ago
Madhura Bhave 3522714c13 Use endpoint mappings in CloudFoundry integration
Closes gh-35085
2 years ago
Andy Wilkinson c55d398f95 Validate health group includes and excludes
Closes gh-34360
2 years ago
Andy Wilkinson a03fe8befc Enable customization of JWK Set URI decoder builders
Closes gh-20750
2 years ago
Andy Wilkinson 45068c777f Document default value for management.otlp.tracing.compression
See gh-34508
2 years ago
Stephane Nicoll 366f7a85c9 Merge branch '3.0.x'
Closes gh-35069
2 years ago
Stephane Nicoll 6933796f2a Merge branch '2.7.x' into 3.0.x
Closes gh-35068
2 years ago
Stephane Nicoll 1b832d82f8 Polish "Back off if a custom ApplicationAvailability bean is present"
See gh-34347
2 years ago
Taeik Lim 5e95ba8448 Back off if a custom ApplicationAvailability bean is present
See gh-34347
2 years ago
Andy Wilkinson f2e5eab09c Polish does for reporting traces using OTLP
See gh-34508
2 years ago
Andy Wilkinson 2bccd586ea Fix DockerComposeFileTests on Windows 2 years ago
Andy Wilkinson c543d9172c Polish "Add auto-configuration for OTLP span exporter"
See gh-34508
2 years ago
Jonatan Ivanov ceaafeca0b Add auto-configuration for OTLP span exporter
With these changes an OTLP HTTP/protobuf exporter is auto-configured
if opentelemetry-exporter-otlp is on the classpath.

See gh-34508
2 years ago
Andy Wilkinson d4f857683d Polish formatting of DockerImageNames 2 years ago
Andy Wilkinson f5e654748c Polish "Add customizer for conversion service used by Spring Batch"
See gh-34769
2 years ago
Claudio Nave cafa6f5d9c Add customizer for conversion service used by Spring Batch
See gh-34769
2 years ago
Stephane Nicoll a323bd90a8 Polish "Reintroduce support for ActiveMQ"
See gh-35048
2 years ago
Martin BENDA 3e9908a797 Reintroduce support for ActiveMQ
See gh-35048
2 years ago
Stephane Nicoll bed11671d3 Upgrade to Spring WS 4.0.3
Closes gh-34971
2 years ago
Stephane Nicoll 41db5a2d0b Upgrade to Spring WS 4.0.3
Closes gh-34953
2 years ago
Stephane Nicoll 098d338d7c Upgrade to Spring WS 3.1.6
Closes gh-34949
2 years ago
Andy Wilkinson 5ec03d2b34 Wait longer for Redpanda to start 2 years ago
Andy Wilkinson 7b3e687f05 Deprecate OAuth2ClientPropertiesRegistrationAdapter
This commit deprecates OAuth2ClientPropertiesRegistrationAdapter as
it wasn't really an adapter because it provides a static utility
method rather than adapting one contract to another. A replacement,
OAuth2ClientPropertiesMapper, is introduced that maps the OAuth2
client properties to the required types.

Closes gh-34714
2 years ago
Andy Wilkinson 651f341385 Fix compatibility of Redpanda Docker image name
See 3e010b12
2 years ago
Andy Wilkinson 4eb7558707 Polish "Add properties to support device grant"
See gh-34957
2 years ago
Steve Riesenberg 25b582c822 Add properties to support device grant
This commit adds the following properties under
spring.security.oauth2.authorizationserver.client.[registration-id]:

* endpoint.device-authorization-uri
* endpoint.device-verification-uri
* token.device-code-time-to-live

See gh-34957
2 years ago
Andy Wilkinson c3e739c751 Add dependency management for io.asyncer:r2dbc-mysql
Closes gh-34927
2 years ago
Andy Wilkinson e72bff8dd4 Add dependency management for org.mariadb:r2dbc-mariadb
Closes gh-34625
2 years ago
Phillip Webb 3e010b1230 Fetch redpanda directly from docker hub
Attempt to avoid rate limiting issues by fetching redpanda directly
from docker hub.

See gh-34780
2 years ago
Andy Wilkinson 28b7c583a9 Ensure shutdown hook is registered when a handler is added
Closes gh-34627
2 years ago
Stephane Nicoll d43db3dfcf Upgrade to Spring Session 3.1.0-RC1
Closes gh-34970
2 years ago
Stephane Nicoll 8c781143dc Upgrade to Spring Authorization Server 1.1.0-RC1
Closes gh-35013
2 years ago
Stephane Nicoll 39d5ce5c3c Upgrade to MySQL 8.0.33
Closes gh-35063
2 years ago
Stephane Nicoll 824e8c3813 Upgrade to Lettuce 6.2.4.RELEASE
Closes gh-35062
2 years ago
Stephane Nicoll c32ba70ecb Upgrade to Jackson Bom 2.15.0-rc3
Closes gh-35061
2 years ago
Stephane Nicoll c116729c4f Upgrade to Couchbase Client 3.4.5
Closes gh-35060
2 years ago
Andy Wilkinson 0da209db08 Polish "Add support for Oracle R2DBC Service Connection"
See gh-34852
2 years ago
Eddu Melendez 6d893b2fe2 Add support for Oracle R2DBC Service Connection
See gh-34852
2 years ago
Andy Wilkinson 98d077c74c Polish "Add service connection from Testcontainers Redpanda"
See gh-34780
2 years ago
Eddu Melendez f4bcf99d30 Add service connection from Testcontainers Redpanda
Redpanda (https://redpanda.com/) is Kafka-compatible and
Testcontainers provides a module. This commit adds support for
creating KafkaConnectionDetails from a
@ServiceConnection-annotated RedpandaContainer.

See gh-34780
2 years ago
Stephane Nicoll 4b947fa915 Upgrade to SAAJ Impl 3.0.1
Closes gh-35056
2 years ago
Stephane Nicoll 16563a6a0a Upgrade to Native Build Tools Plugin 0.9.21
Closes gh-35055
2 years ago
Stephane Nicoll b30d9d9961 Upgrade to MySQL 8.0.33
Closes gh-35057
2 years ago
Stephane Nicoll 9314362c34 Upgrade to MySQL 8.0.33
Closes gh-35054
2 years ago
Stephane Nicoll 9277465a76 Upgrade to Lettuce 6.2.4.RELEASE
Closes gh-35053
2 years ago
Stephane Nicoll 47e3b4655a Upgrade to jOOQ 3.17.12
Closes gh-35052
2 years ago
Stephane Nicoll 2a90c60001 Upgrade to Jetty 11.0.15
Closes gh-35051
2 years ago
Stephane Nicoll aa542858c9 Upgrade to Couchbase Client 3.4.5
Closes gh-35050
2 years ago
Stephane Nicoll f07ac4b53d Upgrade to Spring Kafka 3.0.6
Closes gh-34968
2 years ago
Stephane Nicoll 47e2c3f597 Upgrade to Spring Kafka 3.0.6
Closes gh-34951
2 years ago
Andy Wilkinson e2ee1ed50d Fix password handling in Flyway auto-configuration
Previously, FlywayProperties returned an empty string when its
password had not been set. This prevented the desired fallback to
JdbcConnectionDetails.

Fixes gh-35046
2 years ago
Andy Wilkinson 1ad428129d Polish "Add customizer for SdkTracerProviderBuilder"
See gh-34945
2 years ago
Yanming Zhou f40e9738b6 Add customizer for SdkTracerProviderBuilder
See gh-34945
2 years ago
Andy Wilkinson ce1c3e52d7 Merge branch '3.0.x'
Closes gh-35040
2 years ago
Andy Wilkinson d30f0575f0 Polish "Improve documentation of tracing deps and config props"
See gh-34991
2 years ago
Robert K dfe60cb2d3 Improve documentation of tracing deps and config props
See gh-34991
2 years ago
Stephane Nicoll 8de1ebe52b Upgrade to Spring Security 6.1.0-RC1
Closes gh-34969
2 years ago
Stephane Nicoll 1785119cae Upgrade to Spring AMQP 3.0.4
Closes gh-34967
2 years ago
Stephane Nicoll 1e7b8250b8 Upgrade to Spring Security 6.0.3
Closes gh-34952
2 years ago
Stephane Nicoll 67eff9a56f Upgrade to Spring LDAP 3.0.2
Closes gh-34904
2 years ago
Stephane Nicoll 7de5264025 Upgrade to Spring AMQP 3.0.4
Closes gh-34950
2 years ago
Stephane Nicoll 71ff5f4a41 Upgrade to Spring Security 5.7.8
Closes gh-34948
2 years ago
Stephane Nicoll 29484e5129 Upgrade to Spring AMQP 2.4.12
Closes gh-34947
2 years ago
Andy Wilkinson a37a7228b8 Merge pull request #34833 from chinmoy12c
* gh-34833:
  Polish "Add content buffering support to MockServerRestTemplateCustomizer"
  Add content buffering support to MockServerRestTemplateCustomizer

Closes gh-34833
2 years ago
Andy Wilkinson 3f93a4ece6 Polish "Add content buffering support to MockServerRestTemplateCustomizer"
See gh-34833
2 years ago
Chinmoy Chakraborty b065e04be7 Add content buffering support to MockServerRestTemplateCustomizer
See gh-34833
2 years ago
Andy Wilkinson 2b4f565b76 Merge branch '3.0.x'
Closes gh-35038
2 years ago
Andy Wilkinson df93b39f60 Merge branch '2.7.x' into 3.0.x
Closes gh-35037
2 years ago
Andy Wilkinson d6bbbb8bac Merge branch '3.0.x'
Closes gh-35036
2 years ago
Andy Wilkinson 284e4d6f6d Merge branch '2.7.x' into 3.0.x
Closes gh-35035
2 years ago
Andy Wilkinson 88ec47ff2b Test Gradle plugin against Gradle 8.1
Closes gh-35034
2 years ago
Andy Wilkinson 751fc9fe54 Fix includeProjectDependencies with Kotlin DSL 2 years ago
Andy Wilkinson 7b3e3deb58 Remove unused generic from ContainerConnectionSource
See gh-35017
2 years ago
Eddú Meléndez aea5b77d1e Add missing containers configuration reference to code snippet
See gh-35031
2 years ago
Stephane Nicoll 7cf28680c9 Polish 2 years ago
Stephane Nicoll 95f07484a8 Add missing check on Docker availability 2 years ago
Stephane Nicoll 8946c761ee Polish 2 years ago
Andy Wilkinson 78242cb794 Skip tests when Docker is unavailable
See gh-34747
2 years ago
Andy Wilkinson 3a01759a3b Protect tests against unstable toString ordering
See gh-34747
2 years ago
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
2 years ago
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
2 years ago
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
2 years ago
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>
2 years ago
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>
2 years ago
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
2 years ago
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
2 years ago
Phillip Webb 3b92173a66 Add Testcontainer bean lifecycle support
Add `TestcontainersLifecycleApplicationContextInitializer` and
`TestcontainersLifecycleBeanPostProcessor` to take care of starting and
stopping `Container` beans.

Closes gh-35021
2 years ago
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
2 years ago
Phillip Webb 91e6e4e391 Update documentation to note the spring-boot-testcontainers module
See gh-34757
2 years ago
Phillip Webb 1a0b9bdcd0 Move Testcontainers documentation from howto to features
Closes gh-35018
2 years ago
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
2 years ago
Phillip Webb 11dac5b5b7 Create dedicated spring-boot-testcontainers module
Create a dedicated testcontainers module containing the service
connectors code.

Closes gh-34757
2 years ago
Phillip Webb 2951cc7594 Polish 2 years ago
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
2 years ago
Stephane Nicoll 148c632299 Start building against Spring Authorization Server 1.1.0-RC1 snapshots
See gh-35013
2 years ago
Stephane Nicoll 41402b3984 Start building against Spring Integration 6.0.5 snapshots
See gh-35012
2 years ago
Stephane Nicoll 86edeb9444 Upgrade to Spring Data Bom 2022.0.5
Closes gh-34903
2 years ago
Stephane Nicoll ae0767d345 Upgrade to Spring Data Bom 2021.2.11
Closes gh-34902
2 years ago
Andy Wilkinson b8b1a3b0ec Upgrade to Spring Data Bom 2023.0.0-RC1
Closes gh-34893
2 years ago
Andy Wilkinson 44ff18bcec Upgrade to SAAJ Impl 3.0.1
Closes gh-35007
2 years ago
Andy Wilkinson b1f240a035 Upgrade to OpenTelemetry 1.25.0
Closes gh-35005
2 years ago
Andy Wilkinson 15533367b4 Upgrade to Maven Surefire Plugin 3.0.0
Closes gh-35004
2 years ago
Andy Wilkinson 8e65351cd6 Upgrade to Maven Failsafe Plugin 3.0.0
Closes gh-35003
2 years ago
Andy Wilkinson 97ec992fe1 Upgrade to Jaybird 5.0.1.java11
Closes gh-35002
2 years ago
Andy Wilkinson f48e9e70f9 Upgrade to Jaxen 2.0.0
Closes gh-35001
2 years ago
Andy Wilkinson 1e146ed3df Upgrade to Hibernate 6.2.1.Final
Closes gh-35000
2 years ago
Andy Wilkinson ee7e78b69b Upgrade to Brave 5.15.1
Closes gh-34999
2 years ago
Phillip Webb 053c968fb4 Polish 2 years ago
Phillip Webb 00dc942e94 Migrate to Spring Security lambda config
Closes gh-35011
2 years ago
Andy Wilkinson 899ae9c37c Upgrade to Mockito 5.3.0
Closes gh-34998
2 years ago
Andy Wilkinson c44cc5ee1c Prohibit upgrades to Liquibase 4.21.0
Closes gh-34983
2 years ago
Andy Wilkinson 397f16ce2d Upgrade to Flyway 9.16.3
Closes gh-34990
2 years ago
Andy Wilkinson 2cb6340ca5 Upgrade to GraphQL Java 19.5
Closes gh-34996
2 years ago
Andy Wilkinson 7729aef9c0 Upgrade to GraphQL Java 18.5
Closes gh-34995
2 years ago
Stephane Nicoll b7b467c128 Start building against Spring Integration 6.1.0-RC1 snapshots
See gh-34973
2 years ago
Stephane Nicoll 6e1a4a3466 Start building against Spring GraphQL 1.2.0-RC1 snapshots
See gh-34972
2 years ago
Stephane Nicoll 762780e0fa Start building against Spring WS 4.0.3 snapshots
See gh-34971
2 years ago
Stephane Nicoll bc2126b5c9 Start building against Session 3.1.0-RC1 snapshots
See gh-34970
2 years ago
Stephane Nicoll c4c4eb93ae Start building against Spring Security 6.1.0-RC1 snapshots
See gh-34969
2 years ago
Stephane Nicoll 54ec50c529 Start building against Spring Kafka 3.0.6 snapshots
See gh-34968
2 years ago
Stephane Nicoll 12c2c8269b Start building against Spring AMQP 3.0.4 snapshots
See gh-34967
2 years ago
Andy Wilkinson e4187e9440 Upgrade to GraphQL Java 20.2
Closes gh-34987
2 years ago
Andy Wilkinson 9fc8851b53 Upgrade to Spring LDAP 3.1.0-RC1
Closes gh-34986
2 years ago
Andy Wilkinson 37ecaf8d62 Upgrade to Spring HATEOAS 2.1.0-RC1
Closes gh-34985
2 years ago
Andy Wilkinson d5756db54c Stop using Native Build Tools "requiredVersion" configuration option
Closes gh-34840
2 years ago
Andy Wilkinson d2451ce770 Upgrade to jOOQ 3.18.3
Closes gh-34982
2 years ago
Andy Wilkinson 4dafa8b6f3 Upgrade to Jetty 11.0.15
Closes gh-34981
2 years ago
Andy Wilkinson b8ec7d291d Upgrade to Jackson Bom 2.15.0-rc2
Closes gh-34980
2 years ago
Andy Wilkinson 67285f0530 Upgrade to Elasticsearch Client 8.7.0
Closes gh-34979
2 years ago
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
2 years ago
Andy Wilkinson d4980ea993 Always define connection details beans
Closes gh-34776
2 years ago
Andy Wilkinson 466b81f13d Merge branch '3.0.x' 2 years ago
Andy Wilkinson 0e51cd583a Merge branch '2.7.x' into 3.0.x 2 years ago
Andy Wilkinson e70226b48e Adapt to breaking changes in Spring Security internals
See gh-34948
2 years ago
Stephane Nicoll 33427b3829 Upgrade to Spring Framework 6.0.8
Closes gh-34865
2 years ago
Stephane Nicoll 2bede6bfc5 Upgrade to Spring Framework 6.0.8
Closes gh-34861
2 years ago
Stephane Nicoll 4535f4a39c Upgrade to Spring Framework 5.3.27
Closes gh-34857
2 years ago
Phillip Webb e9a198a68f Merge branch '3.0.x' 2 years ago
Phillip Webb 7fea4c84b4 Update copyright year of changed files 2 years ago
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
2 years ago
Stephane Nicoll 9a4a522004 Polish "Start building against Spring Security 6.0.3 snapshots"
See gh-34952
2 years ago
Stephane Nicoll 3f022867f4 Polish "Start building against Spring Security 5.7.8 snapshots"
See gh-34948
2 years ago
Stephane Nicoll c3e3bfcf74 Start building against Spring WS 4.0.3 snapshots
See gh-34953
2 years ago
Stephane Nicoll bd84267d5f Start building against Spring Security 6.0.3 snapshots
See gh-34952
2 years ago
Stephane Nicoll 2209543f30 Start building against Spring Kafka 3.0.6 snapshots
See gh-34951
2 years ago
Stephane Nicoll 7a9e8818cc Start building against Spring AMQP 3.0.4 snapshots
See gh-34950
2 years ago
Stephane Nicoll 5bd926d656 Start building against Spring WS 3.1.6 snapshots
See gh-34949
2 years ago
Stephane Nicoll 1d1d6ef637 Start building against Spring Security 5.7.8 snapshots
See gh-34948
2 years ago
Stephane Nicoll ddf9d240f7 Start building against Spring AMQP 2.4.12 snapshots
See gh-34947
2 years ago
Stephane Nicoll fe18ed596b Upgrade to Reactor Bom 2022.0.6
Closes gh-34864
2 years ago
Stephane Nicoll 963d8ba9b5 Upgrade to Reactor Bom 2022.0.6
Closes gh-34860
2 years ago
Stephane Nicoll cdb666c35a Upgrade to Reactor Bom 2020.0.31
Closes gh-34856
2 years ago
Stephane Nicoll c559bb2b69 Merge branch '3.0.x'
Closes gh-34941
2 years ago
Stephane Nicoll 86a8ed1d81 Merge branch '2.7.x' into 3.0.x
Closes gh-34940
2 years ago
Gerrit Meier 96919b4fcd Use current Neo4j version in testcontainers
See gh-34775
2 years ago
Stephane Nicoll 2dcb849c0f Merge branch '3.0.x'
Closes gh-34939
2 years ago
Stephane Nicoll 320db790e7 Merge branch '2.7.x' into 3.0.x
Closes gh-34938
2 years ago
Stephane Nicoll 4b8829364e Polish "Use removeIf rather than Iterator-based removal"
See gh-34762
2 years ago
SeasonPan 0d13e31827 Use removeIf rather than Iterator-based removal
See gh-34762
2 years ago
Stephane Nicoll 029e47c647 Merge branch '3.0.x'
Closes gh-34937
2 years ago
Stephane Nicoll 55125c7a5c Update copyright header of changed file
See gh-34844
2 years ago
Sanghyuk Jung d4fe272ce5 Remove outdated reference to JPA in BatchProperties
See gh-34844
2 years ago
Stephane Nicoll ab1e0f51c6 Merge branch '3.0.x'
Closes gh-34936
2 years ago
Stephane Nicoll 03d42deaea Polish "Fix hint to include all Liquibase resources in default location"
See gh-34729
2 years ago
Andrii Bohutskyi 408d5246bc Fix hint to include all Liquibase resources in default location
See gh-34729
2 years ago
Stephane Nicoll 0806743966 Merge branch '3.0.x'
Closes gh-34935
2 years ago
Stephane Nicoll 7ee55817b3 Update copyright header of changed file
See gh-34868
2 years ago
kdomo 6728a08219 Use banner location constant
See gh-34868
2 years ago
João Guilherme de Souza Lima b418ab8623 Clarify servlet container compatibility
See gh-34697
2 years ago
Johnny Lim 7dbc7e7e39 Remove unused test configuration
See gh-34818
2 years ago
Stephane Nicoll 47baad1e44 Upgrade to Neo4j Java Driver 5.7.0
Closes gh-34934
2 years ago
Stephane Nicoll bd0561fc10 Upgrade to Neo4j Java Driver 5.7.0
Closes gh-34930
2 years ago
Stephane Nicoll 6bf557cb47 Upgrade to MongoDB 4.9.1
Closes gh-34933
2 years ago
Stephane Nicoll f263f191c5 Upgrade to Infinispan 14.0.8.Final
Closes gh-34932
2 years ago
Stephane Nicoll ff807261b6 Upgrade to Caffeine 3.1.6
Closes gh-34931
2 years ago
Stephane Nicoll ab347e7b3c Upgrade to Infinispan 14.0.8.Final
Closes gh-34929
2 years ago
Stephane Nicoll 6cedcaa901 Upgrade to Caffeine 3.1.6
Closes gh-34928
2 years ago
Stephane Nicoll bac5de8633 Upgrade to Micrometer Tracing 1.1.0-RC1
Closes gh-34863
2 years ago
Stephane Nicoll 0b051741d9 Upgrade to Micrometer Tracing 1.0.4
Closes gh-34859
2 years ago
Stephane Nicoll 17ed74f4ea Upgrade to Micrometer Tracing 1.0.4
Closes gh-34859
2 years ago
Stephane Nicoll 9e27ad45ac Upgrade to Micrometer 1.10.6
Closes gh-34858
2 years ago
Stephane Nicoll cade537253 Upgrade to Micrometer 1.9.10
Closes gh-34855
2 years ago
Phillip Webb 8d2f550f8c Merge branch '3.0.x' 2 years ago
Phillip Webb 3ba3558cff Merge branch '2.7.x' into 3.0.x 2 years ago
Phillip Webb 3e9a136143 Polish gradle formatting 2 years ago
Phillip Webb 463701db18 Merge branch '3.0.x' 2 years ago
Phillip Webb d442bfbeff Polish 2 years ago
Phillip Webb b5cf3e0a1a Backport 'Support import into Eclipse 2022-06'
Backport `spring-boot-cli` gradle fix from d4ed2bd4 to allow clean
import into Eclipse 2022-06 and above.
2 years ago
Scott Frederick 56bc6d2fa0 Allow image application directory to be configurable
An `applicationDirectory` option on the Maven
`spring-boot:build-image` goal and the Gradle `bootBuildImage` task
can be configured to set the location that will be used to upload
application contents to the builder image, and will contain the
application contents in the generated image.

Closes gh-34786
2 years ago
Stephane Nicoll 734b837203 Upgrade to Yasson 3.0.3
Closes gh-34916
2 years ago
Stephane Nicoll 62397031fd Upgrade to Undertow 2.3.5.Final
Closes gh-34915
2 years ago
Stephane Nicoll b863fcd6a1 Upgrade to Netty 4.1.91.Final
Closes gh-34914
2 years ago
Stephane Nicoll f3cdad35df Upgrade to Maven Resources Plugin 3.3.1
Closes gh-34913
2 years ago
Stephane Nicoll 5204b5abaa Upgrade to jOOQ 3.17.11
Closes gh-34912
2 years ago
Stephane Nicoll 76112f537f Upgrade to Groovy 4.0.11
Closes gh-34911
2 years ago
Stephane Nicoll d823d7b0b1 Upgrade to Undertow 2.2.24.Final
Closes gh-34910
2 years ago
Stephane Nicoll e0d740fe85 Upgrade to Netty 4.1.91.Final
Closes gh-34909
2 years ago
Stephane Nicoll abc7bd0c5f Upgrade to Logback 1.2.12
Closes gh-34908
2 years ago
Stephane Nicoll ca48c6a034 Upgrade to Groovy 3.0.17
Closes gh-34907
2 years ago
Stephane Nicoll 8323cf3db6 Upgrade to DB2 JDBC 11.5.8.0
Closes gh-34906
2 years ago
Stephane Nicoll 5db3934e2a Start building against Spring LDAP 3.0.2 snapshots
See gh-34904
2 years ago
Stephane Nicoll b4f0e25ce1 Start building against Spring Data Bom 2022.0.5 snapshots
See gh-34903
2 years ago
Stephane Nicoll 649796cdae Start building against Spring Data Bom 2021.2.11 snapshots
See gh-34902
2 years ago