Commit Graph

9854 Commits (c3c1f2d29f861402f72300756c8cc13de0981e0a)

Author SHA1 Message Date
Andy Wilkinson 920e961f9b Upgrade to Reactor Bom 2020.0.0-M1
Closes gh-21927
4 years ago
Andy Wilkinson 16263e342c Move bean definition counting only used in tests into test code
Closes gh-22105
4 years ago
Andy Wilkinson fe78be240a Merge branch '2.3.x'
Closes gh-22103
4 years ago
Andy Wilkinson a2f7ce0564 Merge branch '2.2.x' into 2.3.x
Closes gh-22102
4 years ago
Andy Wilkinson 5475f10657 Remove WebClient's in-memory buffer size limit for endpoint tests
Previously, the thread dump endpoint's response could exceed
WebClient's in-memory buffer limt when there were a large number of
threads or the threads had large stacks.

This commit disables WebClient's in-memory buffer size limit so that
the test passing is not dependent on the number of active threads and
their stack sizes.

Closes gh-22101
4 years ago
Scott Frederick 3b587449a6 Provide cluster info in RedisReactiveHealthIndicator
This commit changes the information provided by
RedisReactiveHealthIndicator to include cluster details when Spring
Data Redis detects that Redis is running in a clustered configuration.
This brings the reactive and non-reactive Redis health indicators
into alignment.

Fixes gh-21514
4 years ago
Scott Frederick dba8ca2848 Merge branch '2.3.x'
Closes gh-22095
4 years ago
Scott Frederick 72f37c41fb Merge branch '2.2.x' into 2.3.x
Fixes gh-22061 in 2.3.2
4 years ago
Scott Frederick b27303704f Fix RedisReactiveHealthIndicator in clustered configuration
Prior to Spring Data Redis version 2.2.8, the contents of the
Properties object returned from the
ReactiveRedisConnection.ServerCommands.info API were the same
for clustered and non-clustered Redis configurations, containing a set
of key/value pairs. This allowed ReactiveRedisHealthIndicator to get
a version property using a well-known key. Starting with Spring Data
Redis 2.2.8, the info property keys contain a host:port prefix in a
clustered Redis configuration. This prevented
ReactiveRedisHealthIndicator from getting the version property as
before and resulted in the health always being reported as DOWN.

This commit adjusts ReactiveRedisHealthIndicator to detect the
clustered configuration from Spring Data Redis and find the version
property for one of the reported cluster nodes.

Fixes gh-22061
4 years ago
Andy Wilkinson c3aa494ba3 Start building against Spring Session 2020.0.0-M1 snapshots
See gh-21928
4 years ago
Andy Wilkinson a92d64cb80 Start building against Spring Security 5.4.0-M2 snapshots
See gh-21932
4 years ago
Andy Wilkinson c54918e46d Start building against Spring Integration 5.4.0-M1 snapshots
See gh-21931
4 years ago
Andy Wilkinson 360d44ac04 Restrict JLine version to 2.11 to avoid breaking changes in 2.12+
Closes gh-22072
4 years ago
Andy Wilkinson 9b26c67627 Merge branch '2.3.x'
Closes gh-22088
4 years ago
Andy Wilkinson fc2e3770de Merge branch '2.2.x' into 2.3.x
Closes gh-22087
4 years ago
Andy Wilkinson 3fed27fd90 Merge branch '2.1.x' into 2.2.x
Closes gh-22085
4 years ago
Andy Wilkinson 0b4533659f Use Groovy's bom in spring-boot-dependencies
Closes gh-22084
4 years ago
Andy Wilkinson 63e1e7365e Upgrade to Testcontainers 1.14.3
Closes gh-22076
4 years ago
Andy Wilkinson 549f6abc9a Upgrade to MockK 1.10.0
Closes gh-22075
4 years ago
Andy Wilkinson 5e7917e33a Upgrade to Maven Shade Plugin 3.2.4
Closes gh-22074
4 years ago
Andy Wilkinson 66b84ac7e6 Upgrade to Maven Resolver 1.4.2
Closes gh-22073
4 years ago
Andy Wilkinson ae4ebbe685 Upgrade to Commons Compress 1.20
Closes gh-22071
4 years ago
Andy Wilkinson 6215336602 Upgrade to Testcontainers 1.14.3
Closes gh-22069
4 years ago
Andy Wilkinson 345d33c6a1 Upgrade to Maven Shade Plugin 3.2.4
Closes gh-22068
4 years ago
Andy Wilkinson 2d779adca6 Upgrade to Maven Resolver 1.4.2
Closes gh-22067
4 years ago
Andy Wilkinson 4c0d2686ad Merge branch '2.3.x'
Closes gh-22066
4 years ago
Andy Wilkinson 12d3f14e15 Use bom plugin to configure spring-boot-parent
Closes gh-21439
4 years ago
Phillip Webb efe84356b7 Merge branch '2.3.x'
Closes gh-22064
4 years ago
Phillip Webb 03b0a373ab Merge branch '2.2.x' into 2.3.x
Closes gh-22063
4 years ago
Phillip Webb e6eb02603c Polish 'Inherit show-details property in health groups'
Rework the inheritance so that the property metadata JSON more
accurately reflects the default value.

See gh-22022
4 years ago
Leo Li 10de88884f Inherit show-details property in health groups
Update `Group` properties so that the `showDetails` value does not
inherit `Show.NEVER`. Prior to this commit, the `Group` properties
would not correctly inherit a `showDetails` value from the main
`management.endpoint.health.show-details` property.

See gh-22022
4 years ago
Phillip Webb 301ec12a0c Merge branch '2.3.x' 4 years ago
Phillip Webb f296f57401 Rename ImageReferenceParser to Regex
Rename `ImageReferenceParser` to `Regex` and remove state. The regular
expressions are now used directly by the `ImageName` and
`ImageReference` classes with the values accessed directly from the
`Matcher`.

See gh-21495
4 years ago
Andy Wilkinson 5ec7745b96 Upgrade to SQLite JDBC 3.32.3
Closes gh-22058
4 years ago
Andy Wilkinson 1d44eb68b7 Upgrade to Jetty Reactive HTTPClient 1.1.4
Closes gh-22057
4 years ago
Andy Wilkinson b65f7f2b31 Upgrade to Jakarta Servlet 4.0.4
Closes gh-22056
4 years ago
Andy Wilkinson 5de7919a56 Upgrade to Hibernate 5.4.18.Final
Closes gh-22055
4 years ago
Andy Wilkinson 06de6625f8 Upgrade to Byte Buddy 1.10.12
Closes gh-22054
4 years ago
Phillip Webb 82ed255bb1 Merge branch '2.3.x'
Closes gh-22060
4 years ago
Phillip Webb 9843888714 Merge branch '2.2.x' into 2.3.x
Closes gh-22059
4 years ago
Phillip Webb 3b3a49db1f Polish 'Fix infinite loop in FieldValues'
See gh-22040
4 years ago
Konrado85 39a853c57b Fix infinite loop in FieldValues
Update `FieldValues` test object so that it doesn't cause an infinite
loop if it is actually created.

See gh-22040
4 years ago
Andy Wilkinson a6784e3bea Upgrade to Cassandra Driver 4.7.2
Closes gh-22052
4 years ago
Andy Wilkinson 96f748949d Starting building against Spring Data 2020.0.0 snapshots
See gh-21930
4 years ago
Andy Wilkinson 0d6ea79007 Start building against Spring Framework 5.3.0 snapshots
See gh-21929
4 years ago
Andy Wilkinson a0946c8923 Start building against Reactor 2020.0.0 snapshots
See gh-21927
4 years ago
Andy Wilkinson 632d9bab21 Merge branch '2.3.x'
Closes gh-22048
4 years ago
Andy Wilkinson 73aa8f1434 Enforce spring-boot-parent's platform dependencies
Closes gh-22047
4 years ago
Scott Frederick 39b2d01541 Merge branch '2.3.x'
Closes gh-22037
4 years ago
dreis2211 a6e8561391 Catch more generic FileSystemException in NamedPipeSocket
See gh-22035
4 years ago
Stephane Nicoll 51e9a5dae0 Merge branch '2.3.x'
Closes gh-22029
4 years ago
Johnny Lim b218a89862 Remove Javadoc throw for ConfigurationPropertyName.ofIfValid()
See gh-22018
4 years ago
Stephane Nicoll ea63984f93 Merge branch '2.3.x'
Closes gh-22024
4 years ago
Stephane Nicoll d5385a7b64 Merge branch '2.2.x' into 2.3.x
Closes gh-22023
4 years ago
Stephane Nicoll 9b803af3c3 Polish "Document how to exclude an annotation processor with Maven"
See gh-22000
4 years ago
Marco Pens 627c0b1031 Document how to exclude an annotation processor with Maven
See gh-22000
4 years ago
Andy Wilkinson ca76b60de2 Merge branch '2.3.x'
Closes gh-22021
4 years ago
Andy Wilkinson 136c9b1af8 Merge branch '2.2.x' into 2.3.x
Closes gh-22020
4 years ago
Andy Wilkinson c37fd865c0 Merge branch '2.3.x'
Closes gh-22019
4 years ago
Andy Wilkinson 1e97ff834e Only consider current context when finding lifecycle processor
Previously, LifecycleAutoConfiguration would check the current context
and all of its ancestors for a lifecycle processor bean, only
configuring a custom processor if one was not found. Every context
has a lifecycle processor so this check meant that lifecycle processing
timeout could not be customized in any context with a parent.

This commit updates the auto-configuration to only check the current
context.

Closes gh-22014
4 years ago
Andy Wilkinson 41173f7c40 Polish "Use Awaitility instead of Thread.sleep"
See gh-21988
4 years ago
Tomek Szmytka c13385ea74 Use Awaitility instead of Thread.sleep
See gh-21988
4 years ago
Scott Frederick 73b737c7d8 Merge branch '2.3.x'
Closes gh-22017
4 years ago
Scott Frederick 28643e4d2d Validate image references before passing to CNB builder
Prior to this commit, an image name or run image name derived from
the project name or provided by the user would be passed to the CNB
builder without validation by the Maven plugin build-image goal or
Gradle plugin bootBuildImage task. This could lead to error messages
from the plugins that are difficult to understand and diagnose.

This commit makes parsing of the image names more strict, based on
the grammar implemented by the Docker go library. This provides
validation of the image names before passing them to the builder,
with a more descriptive error message when parsing and validation
fails.

Fixes gh-21495
4 years ago
Andy Wilkinson 67604a5416 Only process main metadata as it already includes additional metadata
Previously, the configuration property table generation was reading
both the main metadata and the additional metadata from each project.
This was unnecessary as the annotation processor will have already
merged the additional metadata into the main metadata before writing
it to disk. Processing both the main and additional metadata led to
a clash as the metadata overlapped. When the entry in the additional
metadata won the clash, the resulting entry in the configuration
property table would lose any details that aren't contained in the
additional metadata.

This commit updates the property table generation code to only use
the main metadata files.

Fixes gh-21131
4 years ago
Andy Wilkinson 01c270d54b Merge branch '2.3.x'
Closes gh-22011
4 years ago
Andy Wilkinson ce907b129c Merge branch '2.2.x' into 2.3.x
Closes gh-22010
4 years ago
Andy Wilkinson 1b62abab9a Configure context on SizeAndTimeBasedRollingPolicy
Previously, when file-based logging was enabled, Logback would output
the following during logging system initialization:

LOGBACK: No context given for c.q.l.core.rolling.SizeAndTimeBasedRollingPolicy

This commit updates the default logback configuration to set the
context on the SizeAndTimeBasedRollingPolicy that it creates.

Fixes gh-21056
4 years ago
Andy Wilkinson cd47bece7f Merge branch '2.3.x'
Closes gh-22009
4 years ago
Andy Wilkinson 8a7c32fff7 Prevent oauth2-oidc-sdk from downgrading json-smart in Maven projects
Fixes gh-21939
4 years ago
Stephane Nicoll f0f8424191 Merge branch '2.3.x'
Closes gh-22008
4 years ago
dreis2211 855d596c2a Use lazy lambda instead of explicit argument
See gh-21986
4 years ago
Andy Wilkinson f3220b16fe Merge branch '2.3.x' 4 years ago
Andy Wilkinson 8f7d71ca11 Merge branch '2.2.x' into 2.3.x 4 years ago
Andy Wilkinson 907b64a5eb Remove redundant stop() calls from LiveReloadServerTests 4 years ago
Madhura Bhave f47e06c4ef Merge branch '2.3.x'
Closes gh-22007
4 years ago
Madhura Bhave f4ad30c448 Merge branch '2.2.x' into 2.3.x
Closes gh-22006
4 years ago
Madhura Bhave 615cf63a82 Make MockBean resolve right type for abstract test class
Fixes gh-20916
4 years ago
Andy Wilkinson 57b9286c84 Merge branch '2.3.x' 4 years ago
Andy Wilkinson 2d1dffa3ad Correct additions to spring-boot-starter-parent's pom
Following the fix for gh-21989, spring-boot-starter-parent no longer
contains an <issueManagement> element. As a result the additional
content was no longer being added to the pom. This commit updates
the additions so that they are now added after the <scm> element
that is still present.

See gh-21989
4 years ago
Andy Wilkinson 22fd2005b4 Remove plugin management for Flatten Maven Plugin
Closes gh-21984
4 years ago
Andy Wilkinson 9e08490522 Merge branch 'gh-21271'
Closes gh-21271
4 years ago
Andy Wilkinson 753bea64c6 Enable varargs compilation warnings
See gh-21271
4 years ago
Andy Wilkinson 9636350b0b Enable rawtypes compilation warnings
See gh-21271
4 years ago
Andy Wilkinson 056d5f3120 Enable deprecation compilation warnings
See gh-21271
4 years ago
Andy Wilkinson c64649a6d9 Enable unchecked compilation warnings
See gh-21271
4 years ago
Andy Wilkinson 47874d8c6a Treat warnings as errors when compiling
See gh-21271
4 years ago
Andy Wilkinson 0f1ada5e29 Upgrade to Undertow 2.1.3.Final
Closes gh-21983
4 years ago
Andy Wilkinson 2e54da04e2 Upgrade to Tomcat 9.0.36
Closes gh-21982
4 years ago
Andy Wilkinson 8115619021 Upgrade to Spring Retry 1.3.0
Closes gh-21981
4 years ago
Andy Wilkinson c00e751910 Upgrade to Spring Kafka 2.5.2.RELEASE
Closes gh-21980
4 years ago
Andy Wilkinson 37c9d13946 Upgrade to Spring Batch 4.2.4.RELEASE
Closes gh-21979
4 years ago
Andy Wilkinson dfd32e7a54 Upgrade to Spring AMQP 2.2.7.RELEASE
Closes gh-21978
4 years ago
Andy Wilkinson 030a01192d Upgrade to SendGrid 4.6.0
Closes gh-21977
4 years ago
Andy Wilkinson f1a7730698 Upgrade to Selenium HtmlUnit 2.41.0
Closes gh-21976
4 years ago
Andy Wilkinson 9000f047bd Upgrade to RSocket 1.0.1
Closes gh-21975
4 years ago
Andy Wilkinson aad6c3d6c9 Upgrade to R2DBC Bom Arabba-SR5
Closes gh-21974
4 years ago
Andy Wilkinson 9db3f9adbf Upgrade to Postgresql 42.2.14
Closes gh-21973
4 years ago
Andy Wilkinson 5fd2b85b48 Upgrade to Oracle Database 19.6.0.0
Closes gh-21972
4 years ago
Andy Wilkinson 5365e41e4c Upgrade to OkHttp3 3.14.9
Closes gh-21971
4 years ago
Andy Wilkinson 0bb7b0f243 Upgrade to OAuth2 OIDC SDK 7.5
Closes gh-21970
4 years ago
Andy Wilkinson 909b7db6f1 Upgrade to Netty tcNative 2.0.31.Final
Closes gh-21969
4 years ago
Andy Wilkinson 7ed98bcde8 Upgrade to Netty 4.1.50.Final
Closes gh-21968
4 years ago
Andy Wilkinson 9241e488e8 Upgrade to Neo4j OGM 3.2.12
Closes gh-21967
4 years ago
Andy Wilkinson 914af4a9f0 Upgrade to MongoDB 4.0.4
Closes gh-21966
4 years ago
Andy Wilkinson 1266738522 Upgrade to Maven War Plugin 3.3.0
Closes gh-21965
4 years ago
Andy Wilkinson 40c9029e3c Upgrade to Log4j2 2.13.3
Closes gh-21964
4 years ago
Andy Wilkinson 5bb661c95f Upgrade to Liquibase 3.10.0
Closes gh-21963
4 years ago
Andy Wilkinson 87afd8dc62 Upgrade to Lettuce 5.3.1.RELEASE
Closes gh-21962
4 years ago
Andy Wilkinson 4345c1c9fb Upgrade to Kotlin Coroutines 1.3.7
Closes gh-21961
4 years ago
Andy Wilkinson 9fa4e92fbb Upgrade to Johnzon 1.2.7
Closes gh-21960
4 years ago
Andy Wilkinson 07cd868ca5 Upgrade to Jetty 9.4.30.v20200611
Closes gh-21959
4 years ago
Andy Wilkinson 2cc950065a Upgrade to Jetty Reactive HTTPClient 1.1.3
Closes gh-21958
4 years ago
Andy Wilkinson 43a7a4af13 Upgrade to Jersey 2.31
Closes gh-21957
4 years ago
Andy Wilkinson 1fa41ee4ee Upgrade to Jaybird 3.0.9
Closes gh-21956
4 years ago
Andy Wilkinson 0d48b049d9 Upgrade to Javax Money 1.1
Closes gh-21955
4 years ago
Andy Wilkinson 73e00ee929 Upgrade to InfluxDB Java 2.19
Closes gh-21954
4 years ago
Andy Wilkinson 78a72bb6c3 Upgrade to HtmlUnit 2.41.0
Closes gh-21953
4 years ago
Andy Wilkinson 262554a65b Upgrade to Hibernate 5.4.17.Final
Closes gh-21952
4 years ago
Andy Wilkinson 1fdabbc5f7 Upgrade to Groovy 2.5.12
Closes gh-21951
4 years ago
Andy Wilkinson 06eda713ee Upgrade to Flyway 6.4.4
Closes gh-21950
4 years ago
Andy Wilkinson 0e0b6c98e0 Upgrade to Elasticsearch 7.7.1
Closes gh-21948
4 years ago
Andy Wilkinson 9bbad6fb25 Upgrade to Dropwizard Metrics 4.1.9
Closes gh-21947
4 years ago
Andy Wilkinson d4c5f54f11 Upgrade to Couchbase Client 3.0.5
Closes gh-21946
4 years ago
Andy Wilkinson c366afea6e Upgrade to Caffeine 2.8.4
Closes gh-21945
4 years ago
Andy Wilkinson d914a6f713 Upgrade to Byte Buddy 1.10.11
Closes gh-21944
4 years ago
Andy Wilkinson 3435f5ea3b Upgrade to Awaitility 4.0.3
Closes gh-21943
4 years ago
Andy Wilkinson 1ed5bc72fd Upgrade to Artemis 2.13.0
Closes gh-21942
4 years ago
Andy Wilkinson 07fb4b065d Merge branch '2.3.x'
Closes gh-21940
4 years ago
Andy Wilkinson 0de466e06e Require dependency on s-b-dependencies to use its constraints
Previously, Spring Boot's modules published Gradle Module Metadata
(GMM) the declared a platform dependency on spring-boot-dependencies.
This provided versions for each module's own dependencies but also had
they unwanted side-effect of pulling in spring-boot-dependencies
constraints which would influence the version of other dependencies
declared in the same configuration. This was undesirable as users
should be able to opt in to this level of dependency management, either
by using the dependency management plugin or by using Gradle's built-in
support via a platform dependency on spring-boot-dependencies.

This commit reworks how Spring Boot's build uses
spring-boot-dependencies and spring-boot-parent to provide its own
dependency management. Configurations that aren't seen by consumers are
configured to extend a dependencyManagement configuration that has an
enforced platform dependency on spring-boot-parent. This enforces
spring-boot-parent's version constraints on Spring Boot's build without
making them visible to consumers. To ensure that the versions that
Spring Boot has been built against are visible to consumers, the
Maven publication that produces pom files and GMM for the published
modules is configured to use the resolved versions from the module's
runtime classpath.

Fixes gh-21911
4 years ago
Stephane Nicoll e30b8bf742 Start building against Reactor Dysprosium-SR9 snapshots
See gh-21938
4 years ago
Stephane Nicoll 58974ab9cf Start building against Reactor Dysprosium-SR9 snapshots
See gh-21937
4 years ago
Scott Frederick 838cfc529f Merge branch '2.3.x'
Closes gh-21933
4 years ago
Scott Frederick 6119d69679 Add runImage option for image building
This commit adds a runImage property to the Maven plugin build-image
goal and the Gradle bootBuildImage task. The property allows the user
to override the run image reference provided in the builder metadata
with an alternate run image. The runImage property can be specified
in the build file or on the command line.

Fixes gh-21534
4 years ago
Stephane Nicoll 164a992d6e Fix assertion for startup info format
See gh-21926
4 years ago
Brian Clozel 33b61e698e Merge branch '2.3.x' 4 years ago
Brian Clozel a480f6e2ee Polish 4 years ago
Brian Clozel e438864ad9 Merge branch '2.3.x'
Closes gh-21925
4 years ago
Brian Clozel af2666df79 Fix welcome page support in WebFlux
Prior to this commit, the welcome page support implemented in gh-9785
would override existing index views in both annotation and functional
variants.

This comes from the fact that the feature was implemented as a
`RouterFunction` configured in the main `RouterFunctionMapping` bean.
Due to ordering issues between mappings, this would override existing
application mappings in some cases.

This commit ensures that the welcome page `RouterFunction` is
contributed to the context in its own handler mapping, ordered after the
application ones.

Fixes gh-21909
4 years ago
Stephane Nicoll e87c3193ce Polish "Add Java 15 CI"
See gh-21713
4 years ago
dreis2211 3d27391d47 Allow StringSequence.isEmpty() to be compatible with JDK 15
JDK 15 introduces isEmpty() on CharSequence which clashes with the one
declared in StringSequence because it is not public.

See gh-21713
4 years ago
dreis2211 cf3cd0be48 Use Class.getName() as fallback in HandlerFunctionDescription
In JDK 15 the concept of hidden classes was introduced, which also
affects Lambdas in so far that Class.getCanonicalName() will return null
for those. This commit uses Class.getName() as a fallback when no
canonical name is available.

See gh-21713
4 years ago
Stephane Nicoll 9e2902130c Polish 4 years ago
Stephane Nicoll bf96b0c57b Polish "Add support for webAdminPassword property of H2 Console"
See gh-21533
4 years ago
Radek Koubsky 1d40234737 Add support for webAdminPassword property of H2 Console
See gh-21533
4 years ago
Stephane Nicoll 35e069e2cd Polish "Add health indicator for Cassandra that uses the CqlSession"
See gh-20887
4 years ago
Alexandre Dutra dad9ec86d5 Add health indicator for Cassandra that uses the CqlSession
This commit provides a CassandraDriverHealthIndicator and
CassandraDriverReactiveHealthIndicator that do not require Spring Data.
As a result, a health indicator for Cassandra is provided even if the
application does not use Spring Data.

See gh-20887
4 years ago
Stephane Nicoll ce4ef5ed81 Merge branch '2.3.x'
Closes gh-21918
4 years ago
Stephane Nicoll 7500f0f22d Add section about Kafka metrics support
Closes gh-21910
4 years ago
Stephane Nicoll 554971d29b Merge branch '2.3.x'
Closes gh-21917
4 years ago