Commit Graph

20318 Commits (877f95d52807f8a943e2836b47895b5d6903ce1a)

Author SHA1 Message Date
Stephane Nicoll 877f95d528 Start building against Micrometer 1.11.0 snapshots
See gh-34862
2 years ago
Andy Wilkinson bb0ec34e7b Resolve placeholders in reference config against all other config
Fixes gh-34643
2 years ago
Andy Wilkinson c33906be11 Merge pull request #34759 from isabek
* gh-34759:
  Document requirement for Maven 3.6.3 and later

Closes gh-34759
2 years ago
Isabek Tashiev e186d441ed Document requirement for Maven 3.6.3 and later
See gh-34759
2 years ago
Andy Wilkinson d8d6cb7323 Improve diagnostics with @ServiceConnection on non-static field
Closes gh-34795
2 years ago
Andy Wilkinson 2267430bdb Find service connections declaring in enclosing classes
Fixes gh-34790
2 years ago
Andy Wilkinson cd5d923910 Merge branch '3.0.x'
Closes gh-34793
2 years ago
Andy Wilkinson b2e6db544b Merge branch '2.7.x' into 3.0.x
Closes gh-34792
2 years ago
Andy Wilkinson a3135b49c3 Merge pull request #34764 from krzyk
* gh-34764:
  Polish "Fix support for default values in banner placeholders"
  Fix support for default values in banner placeholders

Closes gh-34764
2 years ago
Andy Wilkinson 2d280bb967 Polish "Fix support for default values in banner placeholders"
See gh-34764
2 years ago
Krzysztof Krason 5c01aa719c Fix support for default values in banner placeholders
See gh-34764
2 years ago
Andy Wilkinson 29193c4b9e Merge branch '3.0.x'
Closes gh-34789
2 years ago
Andy Wilkinson 4b58eefe7b Merge branch '2.7.x' into 3.0.x
Closes gh-34788
2 years ago
Andy Wilkinson 4705e82a6e Note that optional dependencies are included by run and repackage
Closes gh-34636
2 years ago
Andy Wilkinson f62668dfe1 Add Authorization Server starter to spring-boot-dependencies
Fixes gh-34785
2 years ago
Andy Wilkinson cd17d92eac Merge branch '3.0.x'
Closes gh-34782
2 years ago
Andy Wilkinson d6dbf300ab Merge branch '2.7.x' into 3.0.x
Closes gh-34781
2 years ago
Andy Wilkinson 5669ea69d0 Consider properties on outer class in nested sliced tests
Prior to this commit, properties configured using the properties
attribute of a `@…Test` sliced test annotation would not be considered
when processed a `@Nested` test class. This would lead to the nested
class not reusing its outer class's application context due to the
two having different property configuration.

Fixes gh-33317
2 years ago
Andy Wilkinson d69335d94a Use driver class name from JdbcConnectionDetails
Fixes gh-34777
2 years ago
Andy Wilkinson b91f814e42 Fix incomplete assertions
See gh-34503
2 years ago
Andy Wilkinson 95f45eab1f Create service connections from Testcontainers-managed containers
Building upon the auto-configuration support for service connections,
this commit adds support for deriving connection details from a
Testcontainers-managed container. Several service-specific
annotations have been introduced. These annotations can be used on a
container field to indicate that it is a source of the details for
a service connection.

See gh-34658

Co-Authored-By: Phillip Webb <pwebb@vmware.com>
Co-Authored-By: Mortitz Halbritter <mkammerer@vmware.com>
2 years ago
Andy Wilkinson 8ec266bea4 Add infrastructure for pluggable connection details factories
See gh-34658

Co-Authored-By: Phillip Webb <pwebb@vmware.com>
Co-Authored-By: Mortitz Halbritter <mkammerer@vmware.com>
2 years ago
Andy Wilkinson 8721c0e64f Add ConnectionDetail support to Zipkin auto-configuration
Update Zipkin auto-configuration so that `ZipkinConnectionDetails`
beans may be optionally used to provide connection details.

See gh-34657

Co-Authored-By: Mortitz Halbritter <mkammerer@vmware.com>
Co-Authored-By: Phillip Webb <pwebb@vmware.com>
2 years ago
Andy Wilkinson ac55caa463 Add ConnectionDetail support to Redis auto-configuration
Update Redis auto-configuration so that `RedisConnectionDetails`
beans may be optionally used to provide connection details.

See gh-34657

Co-Authored-By: Mortitz Halbritter <mkammerer@vmware.com>
Co-Authored-By: Phillip Webb <pwebb@vmware.com>
2 years ago
Andy Wilkinson 69f31cb6c0 Add ConnectionDetail support to Rabbit auto-configuration
Update Rabbit auto-configuration so that `RabbitConnectionDetails`
beans may be optionally used to provide connection details.

See gh-34657

Co-Authored-By: Mortitz Halbritter <mkammerer@vmware.com>
Co-Authored-By: Phillip Webb <pwebb@vmware.com>
2 years ago
Andy Wilkinson de8fb04814 Add ConnectionDetail support to Neo4J auto-configuration
Update Neo4J auto-configuration so that `Neo4jConnectionDetails`
beans may be optionally used to provide connection details.

See gh-34657

Co-Authored-By: Mortitz Halbritter <mkammerer@vmware.com>
Co-Authored-By: Phillip Webb <pwebb@vmware.com>
2 years ago
Andy Wilkinson 2ef33dc81f Add ConnectionDetail support to Mongo auto-configuration
Update Mongo auto-configuration so that `MongoConnectionDetails`
beans may be optionally used to provide connection details.

See gh-34657

Co-Authored-By: Mortitz Halbritter <mkammerer@vmware.com>
Co-Authored-By: Phillip Webb <pwebb@vmware.com>
2 years ago
Andy Wilkinson 042f0c8520 Add ConnectionDetail support to Kafka auto-configuration
Update Kafka auto-configuration so that `KafkaConnectionDetails`
beans may be optionally used to provide connection details.

See gh-34657

Co-Authored-By: Mortitz Halbritter <mkammerer@vmware.com>
Co-Authored-By: Phillip Webb <pwebb@vmware.com>
2 years ago
Andy Wilkinson d860d875b9 Add ConnectionDetail support to Influx auto-configuration
Update Influx auto-configuration so that `InfluxDbConnectionDetails`
beans may be optionally used to provide connection details.

See gh-34657

Co-Authored-By: Mortitz Halbritter <mkammerer@vmware.com>
Co-Authored-By: Phillip Webb <pwebb@vmware.com>
2 years ago
Andy Wilkinson 4cc7958c0b Add ConnectionDetail support to Elasticsearch auto-configuration
Update Elasticsearch auto-configuration so that
`ElasticsearchConnectionDetails` beans may be optionally used to
provide connection details.

See gh-34657

Co-Authored-By: Mortitz Halbritter <mkammerer@vmware.com>
Co-Authored-By: Phillip Webb <pwebb@vmware.com>
2 years ago
Andy Wilkinson 9f187bb13a Add ConnectionDetail support to Couchbase auto-configuration
Update Couchbase auto-configuration so that
`CouchbaseConnectionDetails` beans may be optionally used to provide
connection details.

See gh-34657

Co-Authored-By: Mortitz Halbritter <mkammerer@vmware.com>
Co-Authored-By: Phillip Webb <pwebb@vmware.com>
2 years ago
Andy Wilkinson 4307fdc0a0 Add ConnectionDetail support to Cassandra auto-configuration
Update Cassandra auto-configuration so that `CassandraConnectionDetails`
beans may be optionally used to provide connection details.

See gh-34657

Co-Authored-By: Mortitz Halbritter <mkammerer@vmware.com>
Co-Authored-By: Phillip Webb <pwebb@vmware.com>
2 years ago
Andy Wilkinson 61e9fe8cd4 Add ConnectionDetail support to R2DBC auto-configuration
Update R2DBC auto-configuration so that `R2dbcConnectionDetails` beans
may be optionally used to provide connection details.

See gh-34657

Co-Authored-By: Mortitz Halbritter <mkammerer@vmware.com>
Co-Authored-By: Phillip Webb <pwebb@vmware.com>
2 years ago
Andy Wilkinson d09ac00824 Add ConnectionDetail support to JDBC auto-configuration
Update JDBC auto-configuration so that `JdbcConnectionDetails` beans
may be optionally used to provide connection details.

See gh-34657

Co-Authored-By: Mortitz Halbritter <mkammerer@vmware.com>
Co-Authored-By: Phillip Webb <pwebb@vmware.com>
2 years ago
Andy Wilkinson aa91f2b8b6 Introduce ConnectionDetails interface
Add a `ConnectionDetails` tagging interface which will be used
to mark beans that are a source of configuration settings for
connection to a remove service. When such beans are available,
they will take precedence over any connection-related
configuration properties. Configuration properties that are not
related to the connection itself, such as properties that control
the size and behavior of a connection pool, will still used.

See gh-34657

Co-Authored-By: Mortitz Halbritter <mkammerer@vmware.com>
Co-Authored-By: Phillip Webb <pwebb@vmware.com>
2 years ago
Phillip Webb c0f59a1f61 Merge branch '3.0.x' 2 years ago
Phillip Webb d3cdaf9d01 Merge branch '2.7.x' into 3.0.x 2 years ago
Mortitz Halbritter dcb4f3cf97 Polish 2 years ago
Phillip Webb 3dbc3a1943 Merge branch '3.0.x' 2 years ago
Mortitz Halbritter 42187e7bff Polish 2 years ago
Phillip Webb b6777524f7 Merge branch '2.7.x' into 3.0.x 2 years ago
Mortitz Halbritter bece347987 Polish 2 years ago
Andy Wilkinson 1eb5bbe3ea Polish "Allow ProblemDetailsExceptionHandlers to be proxied"
See gh-34503
2 years ago
Volkan Yazıcı b96a8dd370 Allow ProblemDetailsExceptionHandlers to be proxied
See gh-34503
2 years ago
Andy Wilkinson 5348e246a5 Provide dependency management for Testcontainers
Closes gh-34712
2 years ago
Andy Wilkinson 6d5e76e14e Polish "Configure support for GraphQL pagination and sorting"
See gh-34677
2 years ago
Brian Clozel 7109542e3f Configure support for GraphQL pagination and sorting
This commit auto-configures the new pagination and sorting support for
Spring for GraphQL, if Spring Data is available.
The `GraphQlAutoConfiguration` now contributes a `CursorStrategy` bean
that is used to set up the pagination and sorting data fetching
infrastructure.

This commit also configures by default a
`ConnectionTypeDefinitionConfigurer` that automatically detects
`*Connection` types and contributes the relevant schema definitions
according to the Relay spec.

See gh-34677
2 years ago
Andy Wilkinson f13d6e6862 Revert "Merge pull request #33643 from libetl"
This reverts commit 25e8f2d575, reversing
changes made to e5bc9a2fcb.

Unfortunately, upon additional review we realised that these changes
should not have been accepted. They're a partial implementation of
support for programmatically configuring Logback, implemented in a way
that only works during AOT processing and also potentially makes it
harder for us to implement full support in the future.

Closes gh-34361
2 years ago
Andy Wilkinson 919c8aa218 Merge branch '3.0.x'
Closes gh-34731
2 years ago
Andy Wilkinson fa63f6cc9e Stop using an instance supplier in EntityScanPackages' bean definition
Closes gh-34371
2 years ago