Commit Graph

9898 Commits (2642b040732de02e0e4ae88d2f16df902bc6226f)

Author SHA1 Message Date
XenoAmess de46d4bfd3 Remove redundant bitwise operations
See gh-22212
4 years ago
XenoAmess 7c73ed69e1 Use valueOf rather than parseInt as result is assigned to an int
See gh-22209
4 years ago
Andy Wilkinson 3c7f54b97f Polish "Remove redundant close() call from JarResourceManagerTests"
See gh-22213
4 years ago
XenoAmess 623b3ab96e Remove redundant close() call from JarResourceManagerTests
See gh-22213
4 years ago
Andy Wilkinson cd8081f952 Polish "Use new ArrayList(Collection) rather than new and addAll"
See gh-22211
4 years ago
XenoAmess fb70c529d4 Use new ArrayList(Collection) rather than new and addAll
See gh-22211
4 years ago
XenoAmess 90d8480ffe Use new ArrayList(Collection) rather than new, iterate, and add
See gh-22210
4 years ago
XenoAmess 66dc24062f Fix typos in test code
See gh-22218
4 years ago
Andy Wilkinson 2a9193f6d9 Merge branch '2.3.x'
Closes gh-22244
4 years ago
Andy Wilkinson 96e6b74894 Merge branch '2.2.x' into 2.3.x
Closes gh-22243
4 years ago
Andy Wilkinson a0f1424393 Polish "Fix unwrapping of captured PrintStream in test support's OutputCapture"
See gh-22214
4 years ago
XenoAmess 75a64bd901 Fix unwrapping of captured PrintStream in test support's OutputCapture
See gh-22214
4 years ago
Andy Wilkinson b627918011 Polish "Optionally ignore routing data sources when creating DB health indicators"
See gh-22222
4 years ago
Julio Gomez Diaz 13d1d2393d Optionally ignore routing data sources when creating DB health indicators
See gh-22222
4 years ago
Andy Wilkinson 523dd937cd Merge branch '2.3.x'
Closes gh-22238
4 years ago
Andy Wilkinson 28128a9577 Add support for ChronoUnit.WEEKS when using PeriodUnit
Fixes gh-22225
4 years ago
Andy Wilkinson 0141f554b8 Merge branch '2.3.x' 4 years ago
Andy Wilkinson d1f074858e Correct class name of StringToPeriodConverterTests 4 years ago
Andy Wilkinson aca609c4c5 Merge branch '2.3.x'
Closes gh-22235
4 years ago
Andy Wilkinson 2007490ce7 Merge branch '2.2.x' into 2.3.x
Closes gh-22234
4 years ago
Andy Wilkinson 4301580095 Improve testing of PropertyPlaceholderAutoConfiguration
Since Spring Framework 4.3.0.RC2, a default embedded value resolver
has been registered with the bean factory when one is not otherwise
configured. This meant that placeholders in `@Value` would be resolved
with or without PropertyPlaceholderAutoConfiguration defining a
PropertySourcesPlaceholderConfigurer bean. However, placeholders in
bean definitions would only be resolved if a
PropertySourcesPlaceholderConfigurer was defined.

This commit updates PropertyPlaceholderAutoConfigurationTests to align
with this change in Framework. We now test that placeholders are
resolved in `@Value` annotations with or without the auto-configuration
and that placeholders in bean definitions are only resolved with the
auto-configured.

Closes gh-22230
4 years ago
Andy Wilkinson 6331a27822 Merge branch '2.3.x'
Closes gh-22228
4 years ago
anshlykov 683a7a851f Update to Maven Shade Plugin 3.2.4
See gh-22227
4 years ago
Andy Wilkinson b356bc830d Merge branch '2.3.x' 4 years ago
Andy Wilkinson dfea2f432a Polish
See gh-21921
4 years ago
Brian Clozel 3f93978e99 Merge branch '2.3.x'
Closes gh-22215
4 years ago
Brian Clozel 86d8366ee2 Polish support for reactive Elasticsearch healthcheck
Fixes gh-21042
4 years ago
Aleksander Lech 203878a16f Add support for reactive Elasticsearch healthcheck
Prior to this commit, configuring a reactive Elasticsearch client would
auto-configure an Actuator Health check using a synchronous client, with
the default configuration properties (so tarting localhost:9200).

This would lead to false reports of unhealthy Elasticsearch clusters
when using reactive clients.

This commit reproduces the logic for MongoDB repositories: if a reactive
variant is available, it is selected for the health check
infrastructure.

See gh-21042
4 years ago
Andy Wilkinson ecbc8ea2df Merge branch '2.3.x'
Closes gh-22202
4 years ago
Andy Wilkinson 79770b9615 Use source sets to determine configurations deprecated for resolution
Fixes gh-22200
4 years ago
Andy Wilkinson ecc50d179d Merge branch '2.3.x'
Closes gh-22198
4 years ago
Andy Wilkinson f6b3666b16 Merge branch '2.2.x' into 2.3.x
Closes gh-22197
4 years ago
Andy Wilkinson 21453b5016 Ignore scoped targets when finding matching beans
Fixes gh-22038
4 years ago
Andy Wilkinson 81d6751ba7 Use ApplicationContextRunner in ConditionalOnSingleCandidateTests 4 years ago
Andy Wilkinson d85774ea77 Merge branch '2.3.x'
Closes gh-22196
4 years ago
Eddú Meléndez 54e0a61b42 Reinstate metrics for Kafka Streams
See gh-21921
4 years ago
Andy Wilkinson d64337013f Upgrade to Spring Kafka 2.5.3.RELEASE
Closes gh-22185
4 years ago
Andy Wilkinson 9360ba168b Upgrade to Reactor Dysprosium-SR9
Closes gh-21938
4 years ago
Andy Wilkinson a13acf9f2b Upgrade to Reactor Dysprosium-SR9
Closes gh-21937
4 years ago
Andy Wilkinson 160d8e49e3 Merge branch '2.3.x'
Closes gh-22180
4 years ago
Andy Wilkinson 9317135690 Improve error handling when builder image isn't a builder
Fixes gh-22179
4 years ago
Andy Wilkinson 8c341df73b Polish "Add properties to control exceptions ignored by LdapTemplate"
See gh-21289
4 years ago
Filip Hrisafov 6853320661 Add properties to control exceptions ignored by LdapTemplate
See gh-21289
4 years ago
dreis2211 20debcd471 Remove redundant deprecation suppression
See gh-22178
4 years ago
Andy Wilkinson 568f41e8e2 Merge branch '2.3.x'
Closes gh-22176
4 years ago
Andy Wilkinson 0e1ded6893 Merge branch '2.2.x' into 2.3.x
Closes gh-22175
4 years ago
dreis2211 8c0e302f2e Accept empty filter dispatcher types in auto-configurations
Prior to this commit, the usage of EnumSet.copyOf resulted in exceptions when
the underlying collection was empty.

See gh-22138
4 years ago
Andy Wilkinson 6da52a0d08 Suggest iso-offset as value for WebFlux time and date-time properties
Closes gh-22174
4 years ago
Andy Wilkinson 9230ea4ab7 Polish "Support iso-offset for date-time and time formatting with MVC"
See gh-21630
4 years ago
Gaurav Pareek c3b1172aea Support iso-offset for date-time and time formatting with MVC
See gh-21630
4 years ago
Andy Wilkinson bb1a0ffbd5 Merge branch '2.3.x'
Closes gh-22173
4 years ago
Andy Wilkinson 4566ac5c25 Add package info to o.s.b.autoconfigure.elasticsearch.rest
Closes gh-22147
4 years ago
Andy Wilkinson 4ea07f432d Merge branch '2.3.x'
Closes gh-22168
4 years ago
Andy Wilkinson 75fc140e2d Merge branch '2.2.x' into 2.3.x
Closes gh-22167
4 years ago
Andy Wilkinson 3922fb7164 Polish "Avoid NPE when binder is closed before started event"
See gh-22141
4 years ago
im47cn b34c268547 Avoid NPE when binder is closed before started event
Previously, if TomcatMetricsBinder destroy() was called before it had
received an ApplicationStartedEvent an NPE would be thrown due to
TomcatMetrics being null. This NPE was then caught and logged at
warning level by the disposable bean adapter.

This prevents the NPE by checking that the TomcatMetrics instance is
null before calling close() on it.

See gh-22141
4 years ago
Andy Wilkinson 62aa8ce107 Support incremental annotation processing with Gradle
Closes gh-22150
4 years ago
Andy Wilkinson 27c458ca26 Merge branch '2.3.x'
Closes gh-22160
4 years ago
Andy Wilkinson f86831da9c Use TCCL at time of access for resource loading
Fixes gh-22119
4 years ago
Madhura Bhave 255f8197ab Merge branch '2.3.x'
Closes gh-22156
4 years ago
Madhura Bhave f19f2b8714 Merge branch '2.2.x' into 2.3.x
Closes gh-22155
4 years ago
May c1b9d3c226 Simplify logic in ErrorPage's equals method
See gh-22082
4 years ago
Madhura Bhave 75abb9cc18 Merge branch '2.3.x'
Closes gh-22153
4 years ago
Johnny Lim 43aee1bddd Polish
See gh-22090
4 years ago
Madhura Bhave a963bba0e4 Merge branch '2.3.x' 4 years ago
Madhura Bhave 62f5e44324 Fix typo 4 years ago
Madhura Bhave fbf2beef6e Merge branch '2.3.x'
Closes gh-22152
4 years ago
Madhura Bhave 7a81cea513 Update layers.idx file example in docs
Fixes gh-21510
4 years ago
Andy Wilkinson d33a01a13f Only create effective bom artifact when needed
Closes gh-22143
4 years ago
Andy Wilkinson c000ccdaea Upgrade to Spring Session 2020.0.0-M1
Closes gh-21928
4 years ago
Andy Wilkinson 77eb5f7794 Polish "Add StatsD transport protocol configuration option"
See gh-22125
4 years ago
Lee Dobryden 5d41f60e45 Add StatsD transport protocol configuration option
See gh-22125
4 years ago
Kedar Joshi 6c29b29bd5 Upgrade to Flyway 6.5.0 and support createSchemas
See gh-22120
4 years ago
Andy Wilkinson f6400e95ee Switch to a RuntimeException as NPE has a message on Java 15
Closes gh-22136
4 years ago
Andy Wilkinson 12add61504 Upgrade to WebJars Locator Core 0.46
Closes gh-22135
4 years ago
Andy Wilkinson 9d7cea0286 Upgrade to Spring Kafka 2.5.3.RELEASE
Closes gh-22134
4 years ago
Andy Wilkinson 872ccddd52 Upgrade to Oracle Database 19.7.0.0
Closes gh-22133
4 years ago
Andy Wilkinson c91565b412 Upgrade to Micrometer 1.5.2
Closes gh-22132
4 years ago
Andy Wilkinson ee5e35f3fd Upgrade to MariaDB 2.6.1
Closes gh-22131
4 years ago
Andy Wilkinson 8c974c0480 Upgrade to Jackson Bom 2.11.1
Closes gh-22130
4 years ago
Andy Wilkinson d2a53e4811 Upgrade to Hazelcast 3.12.8
Closes gh-22129
4 years ago
Andy Wilkinson 46b10fd46f Upgrade to Spring AMQP 2.3.0-M1
Closes gh-22127
4 years ago
Andy Wilkinson c18896ed5a Upgrade to Spring Batch 4.3.0-M1
Closes gh-22126
4 years ago
Andy Wilkinson 7c1a8c1041 Drop back to Spring Security 5.4.0-M1
See gh-21932
4 years ago
Andy Wilkinson 742ac877c6 Upgrade to Spring Integration 5.4.0-M1
Closes gh-21931
4 years ago
Scott Frederick a73af52496 Merge branch '2.3.x'
Closes gh-22121
4 years ago
Scott Frederick 9a083584b8 Improve validation of layertools input
This commit improves the validation performed on the user
input provided to the layertools jarmode to provide more
clear error messages when the input is not correct and
reduce the chance of ambiguity.

Fixes gh-22042
4 years ago
Madhura Bhave c3ddfcdbf5 Trim trailing whitespace from value of logging.config
Closes gh-22078
4 years ago
Andy Wilkinson d12b6b3a86 Disable LogbackLoggingSystem's XML support when spring.xml.ignore=true
Closes gh-22106
4 years ago
Andy Wilkinson 308e337009 Polish "Disable XML reader when spring.xml.ignore is true"
See gh-22093
4 years ago
Sébastien Deleuze 8d5cf79675 Disable XML reader when spring.xml.ignore is true
This commit allows to set the XmlBeanDefinitionReader field from
BeanDefinitionLoader to null in a way that allows the GraalVM native
compiler to remove it from the native image when the spring.xml.ignore
flag introduced by spring-projects/spring-framework#25151
is set to true.

The purpose of this change is to allow smaller footprint on native
images without requiring to use GraalVM native substitutions
which are unmaintainable by nature and also to increase the consistency
between JVM and native images.

In order to effective, this optimization requires BeanDefinitionLoader
class to be initialized at build time.

See gh-22093
4 years ago
Andy Wilkinson ea30c096dd Polish 16263e3
See gh-22105
4 years ago
Andy Wilkinson 263adf1cde Upgrade to Spring Data Bom 2020.0.0-M1
Closes gh-21930
4 years ago
Andy Wilkinson 6cdd8942e7 Upgrade to Spring Framework 5.3.0-M1
Closes gh-21929
4 years ago
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