Commit Graph

14448 Commits (72e72bda672c2f9a5e00c041ead7152288eb5ed7)

Author SHA1 Message Date
Leo Li 0374c3d563 Add default value for "s.d.elasticsearch.client.reactive.endpoints"
See gh-28061
3 years ago
Andy Wilkinson b2b691b1d0 Merge branch '2.4.x' into 2.5.x
Closes gh-28069
3 years ago
Andy Wilkinson c2361aeb04 Make WebMvcMetricsFilter set status consistently for all exceptions
Closes gh-27988
3 years ago
Andy Wilkinson 6f555c4012 Upgrade to Spring Kafka 2.7.7
Closes gh-27918
3 years ago
Andy Wilkinson e5cdf819a0 Upgrade to Spring Data 2021.0.5
Closes gh-27917
3 years ago
Andy Wilkinson c0895befc2 Upgrade to Spring Data 2020.0.13
Closes gh-27912
3 years ago
Andy Wilkinson 8364840cd5 Merge branch '2.4.x' into 2.5.x
Closes gh-28047
3 years ago
Andy Wilkinson eacb9273e3 Polish property mapping in reactive Elastic REST client auto-config
Closes gh-28038
3 years ago
Stephane Nicoll babf43bdef Upgrade to Spring HATEOAS 1.3.4
Closes gh-27970
3 years ago
Stephane Nicoll 97348f14f7 Upgrade to Spring HATEOAS 1.2.9
Closes gh-27969
3 years ago
Andy Wilkinson 9df099e343 Polish 3 years ago
Andy Wilkinson a4f1d32203 Register application shutdown hook lazily
Previously, SpringApplicationShutdownHook would always register a
shutdown hook, even if SpringApplication was configured not to
use a shutdown hook, such as in a war deployment. This could
result in a memory leak when the war was undeployed. The shutdown
hook registered by SpringApplicationShutdownHook would remain
registered, pinning the web application's class loader in memory.

This commit updates SpringApplicationShutdownHook so that it
registers a shutdown hook with the JVM lazily, upon registeration
of the first application context.

Fixes gh-27987
3 years ago
Andy Wilkinson afb81f14ea Merge branch '2.4.x' into 2.5.x
Closes gh-28032
3 years ago
Andy Wilkinson 1900a11f8a Fix Undertow's resource loading when filename contains reserved chars
Fixes gh-9283
3 years ago
Stephane Nicoll 50308ad6a9 Upgrade to Lettuce 6.1.5.RELEASE
Closes gh-28031
3 years ago
Stephane Nicoll 7f15a37909 Upgrade to Netty tcNative 2.0.43.Final
Closes gh-28030
3 years ago
Stephane Nicoll cee3449653 Upgrade to Lettuce 6.0.8.RELEASE
Closes gh-28029
3 years ago
Stephane Nicoll 17c35c7e31 Upgrade to Micrometer 1.7.4
Closes gh-27916
3 years ago
Stephane Nicoll 3118c16c48 Upgrade to Micrometer 1.6.11
Closes gh-27910
3 years ago
Stephane Nicoll 915f565435 Upgrade to Spring Framework 5.3.10
Closes gh-27915
3 years ago
Stephane Nicoll 4ada440b4d Upgrade to Spring Framework 5.3.10
Closes gh-27909
3 years ago
Scott Frederick a540da11ad Merge branch '2.4.x' into 2.5.x
Closes gh-27993
3 years ago
Scott Frederick c8ff874e91 Add builderFor label to ephemeral builder image
Adding a label to the ephemeral builder image cloned from the base
builder image eliminates contention between builds that are run
concurrently. Without this label, concurrent builds could result in
a race condition in the Docker daemon if the ephemeral builder image
shared by builds was deleted by both builds at exactly the same time.

Fixes gh-27888
3 years ago
Stephane Nicoll c7ded01d05 Upgrade to Reactor 2020.0.11
Closes gh-27914
3 years ago
Stephane Nicoll bb693d73a6 Upgrade to Reactor 2020.0.11
Closes gh-27908
3 years ago
Stephane Nicoll 242631f40e Upgrade to Netty tcNative 2.0.43.Final
Closes gh-27986
3 years ago
Stephane Nicoll 441037ce18 Upgrade to Netty 4.1.68.Final
Closes gh-27985
3 years ago
Stephane Nicoll 9c6138fa1c Upgrade to Maven War Plugin 3.3.2
Closes gh-27984
3 years ago
Stephane Nicoll 8454812df1 Upgrade to Logback 1.2.6
Closes gh-27983
3 years ago
Stephane Nicoll 5813021b7b Upgrade to Kotlin Coroutines 1.5.2
Closes gh-27982
3 years ago
Stephane Nicoll 3e221094c0 Upgrade to jOOQ 3.14.14
Closes gh-27980
3 years ago
Stephane Nicoll afba450e53 Upgrade to Jetty EL 9.0.52
Closes gh-27979
3 years ago
Stephane Nicoll d8254af351 Upgrade to Jackson Bom 2.12.5
Closes gh-27978
3 years ago
Stephane Nicoll c624dc9c78 Upgrade to Gson 2.8.8
Closes gh-27977
3 years ago
Stephane Nicoll f4cbcaf774 Upgrade to Groovy 3.0.9
Closes gh-27976
3 years ago
Stephane Nicoll bffd983d56 Upgrade to Glassfish EL 3.0.4
Closes gh-27975
3 years ago
Stephane Nicoll 1aaa79c841 Upgrade to Ehcache3 3.9.6
Closes gh-27974
3 years ago
Stephane Nicoll 35f61bf1ca Start building against Spring HATEOAS 1.3.4 snapshots
See gh-27970
3 years ago
Stephane Nicoll 57dcb70910 Start building against Spring HATEOAS 1.2.9 snapshots
See gh-27969
3 years ago
Andy Wilkinson f530819d68 Merge branch '2.4.x' into 2.5.x
Closes gh-27966
3 years ago
Andy Wilkinson 273600bcdd Retain distinction between compile and runtime deps of optional deps
Previously, the optional configuration was added to the compile and
runtime classpaths of each source set and the the javadoc classpath
as well. This had a few disadvantages, the most notable of which is
that it meant that the configuration was ifrst resolved and then
the outcome of the resolution was added to the compile and runtime
classpaths. As a result, none of the attributes on the compile and
runtime classpaths were considered to influence variant selection.

This commit reworks the optional dependencies plugin so that the
compile and runtime classpaths of each source set are now configured
to extend from the optional configuration. This allows each
classpath configuration's attributes to influence the dependencies
that are selected from the optional configuration during resolution.
For example, when resolving the compile classpath, compile
dependencies (Usage.JAVA_API) will be selected and when resolving the
runtime classpath, runtime dependencies (Usage.JAVA_RUNTIME) will be
selected.

The above-described change means that runtime dependencies of an
optional dependencies will no longer leak into the compile classpath.
As a result of this, our Gradle plugin's test infrastructure has
been updated so that it no longer references runtime dependencies of
the Kotlin Gradle plugin at compile time.

Closes gh-27965
3 years ago
Stephane Nicoll 2004c062df Upgrade to Tomcat 9.0.53
Closes gh-27963
3 years ago
Stephane Nicoll ab81e3c05c Upgrade to Tomcat 9.0.53
Closes gh-27961
3 years ago
Stephane Nicoll 97f3c82743 Upgrade to Netty tcNative 2.0.42.Final
Closes gh-27960
3 years ago
Stephane Nicoll c8ea3af6f7 Upgrade to Netty 4.1.68.Final
Closes gh-27959
3 years ago
Stephane Nicoll 21c53729ab Upgrade to Maven War Plugin 3.3.2
Closes gh-27958
3 years ago
Stephane Nicoll fadf5ba33a Upgrade to Logback 1.2.6
Closes gh-27957
3 years ago
Stephane Nicoll 3276c977e3 Upgrade to jOOQ 3.14.14
Closes gh-27956
3 years ago
Stephane Nicoll 0e3ac71857 Upgrade to Jetty EL 8.5.70
Closes gh-27955
3 years ago
Stephane Nicoll d09beaf968 Upgrade to Gson 2.8.8
Closes gh-27954
3 years ago
Stephane Nicoll 6eedf9cfe4 Upgrade to Groovy 2.5.15
Closes gh-27953
3 years ago
Stephane Nicoll a5b5b2d10f Upgrade to Glassfish EL 3.0.4
Closes gh-27952
3 years ago
Stephane Nicoll a3762b3f08 Upgrade to Ehcache3 3.9.6
Closes gh-27951
3 years ago
Stephane Nicoll d481a75beb Start building against Spring Integration 5.5.4 snapshots
See gh-27949
3 years ago
Stephane Nicoll c678a0edc0 Start building against Spring Integration 5.4.11 snapshots
See gh-27948
3 years ago
Stephane Nicoll 2327cda5c9 Merge branch '2.4.x' into 2.5.x
Closes gh-27943
3 years ago
cdalexndr 60bc94e1d4 Clarify Selenium auto-configuration requires HtmlUnit
The auto-configuration requires `HtmlUnit`, so this auto-cofiguration
only works if both Selenium and HtmlUnit are used.

Prevents misinterpretation that WebDriver can be auto configured without
htmlunit.

See gh-27920
3 years ago
Andy Wilkinson 70b2b33f55 Merge branch '2.4.x' into 2.5.x
Closes gh-27922
3 years ago
Andy Wilkinson 206176425a Broaden testing of ReactiveElasticsearchRestClientAutoConfiguration
Closes gh-27919
3 years ago
Stephane Nicoll d93a8581d2 Start building against Spring Kafka 2.7.7 snapshots
See gh-27918
3 years ago
Stephane Nicoll 5d1ae23733 Start building against Spring Data 2021.0.5 snapshots
See gh-27917
3 years ago
Stephane Nicoll 2f33720101 Start building against Micrometer 1.7.4 snapshots
See gh-27916
3 years ago
Stephane Nicoll 229e61d3ea Start building against Spring Framework 5.3.10 snapshots
See gh-27915
3 years ago
Stephane Nicoll e918543ce9 Start building against Reactor 2020.0.11 snapshots
See gh-27914
3 years ago
Stephane Nicoll 08e79ee472 Start building against Spring Data 2020.0.13 snapshots
See gh-27912
3 years ago
Stephane Nicoll 348863c4ae Start building against Micrometer 1.6.11 snapshots
See gh-27910
3 years ago
Stephane Nicoll bcc4529cc5 Start building against Spring Framework 5.3.10 snapshots
See gh-27909
3 years ago
Stephane Nicoll f557a8a5d9 Start building against Reactor 2020.0.11 snapshots
See gh-27908
3 years ago
Andy Wilkinson 128f54fbd0 Merge branch '2.4.x' into 2.5.x
Closes gh-27911
3 years ago
Andy Wilkinson 11c79ac650 Move Docker-based reactive Elasticsearch test into separate class
Closes gh-27907
3 years ago
Andy Wilkinson 7afaffb80e Merge branch '2.4.x' into 2.5.x
Closes gh-27905
3 years ago
Andy Wilkinson 1f2035ae64 Move Docker-based Elasticsearch test into separate class
Closes gh-27904
3 years ago
Andy Wilkinson 37240bda3f Merge branch '2.4.x' into 2.5.x
Closes gh-27900
3 years ago
Andy Wilkinson 47163af9b6 Fix handling of Zip64 jar files larger than 4,294,967,295 bytes
Previously, a Zip64 jar file was identified by the number of entries
in the central directory being 0xFFFF. This value indicates that
there the number of entries is too big for the 2-byte field. However,
a jar may be in Zip64 format due to it exceeding the Zip format's
maximum size rather than its maximum number of entries so this field
cannot be used as a reliable indicator. The Zip specification doesn't
require any of the fields of the end of central directory record to
have a value of 0xFFFF (2-byte fields) or 0xFFFFFFFF (4-byte fields)
when using Zip64 format so we need to take a different approach.

Additionally, a number of places in the code assumed that an entry's
offset would always be available from the central directory file
header directly. This assumption did not hold true when the jar was
a Zip64 archive due to its size as the offset's value would be
0xFFFFFFF indicating that it should be read from the Zip64 extended
information field within the header's extra field instead.

This commit updates the Zip64 detection to look for the Zip64 end of
central directory locator instead. If present, it begins 20 bytes
before the beginning of the end of central directory record. Its
first four bytes are always 0x07064b50. The code that reads the
local header offset has also been updated to refer to the Zip64
extended information field when the offset is too large to fit in
the 4-byte field in the central directory file header. To allow
greater-than-4-byte offsets to be handled, a number of fields,
method parameters, and local variables have had their type changed
from an int to a long.

Fixes gh-27822
3 years ago
Andy Wilkinson ba19577646 Merge branch '2.4.x' into 2.5.x
Closes gh-27885
3 years ago
Andy Wilkinson 93ac6455d3 Document that starter parent enables compilation with -parameters
Closes gh-27762
3 years ago
Andy Wilkinson 4c8cafe731 Merge branch '2.4.x' into 2.5.x
Closes gh-27883
3 years ago
Andy Wilkinson 6e6a6c059c Upgrade to Testcontainers 1.16
Closes gh-27882
3 years ago
Stephane Nicoll d6cc1f6d7d Polish "Use more precise variables to detect Azure App Service"
See gh-27819
3 years ago
Julien Dubois 69b23470c7 Use more precise variables to detect Azure App Service
See gh-27819
3 years ago
Stephane Nicoll 7cc8668540 Merge branch '2.4.x' into 2.5.x
Closes gh-27876
3 years ago
Yanming Zhou 6bf92f06e9 Fix inconsistent devtools doc
See gh-27812
3 years ago
Stephane Nicoll 3dab5ff2c0 Merge branch '2.4.x' into 2.5.x
Closes gh-27873
3 years ago
Henning Pöttker 831e28b001 Fix typo in javadoc
See gh-27856
3 years ago
Phillip Webb 1215bbc10b Merge branch '2.4.x' into 2.5.x
Closes gh-27859
3 years ago
Phillip Webb 61764389c2 Merge branch '2.3.x' into 2.4.x
Closes gh-27858
3 years ago
Phillip Webb 44eb8c39d2 Align ApplicationTemp with Files.createTempDirectory
Update `ApplicationTemp` to align the way that it creates temp folders
with the way that `Files.createTempDirectory` works.

Closes gh-27857
3 years ago
Phillip Webb 15d0078eca Merge branch '2.4.x' into 2.5.x
Closes gh-27830
3 years ago
Phillip Webb 87dbda2339 Ensure TypeConverterConverter is thread safe
Update `TypeConverterConverter` do that a new `SimpleTypeConverter` is
obtained for each `convert` operation. Prior to this commit the same
`SimpleTypeConverter` could be accessed concurrently from multiple
threads which is not allowed.

Fixes gh-27829
3 years ago
Andy Wilkinson b508d77a4e Merge branch '2.4.x' into 2.5.x
Closes gh-27803
3 years ago
Andy Wilkinson 990b766847 Polish "Document how to parameterize REST Docs' output dir with WebTestClient"
See gh-27755
3 years ago
Berchris Requiao c83f6ebaa2 Document how to parameterize REST Docs' output dir with WebTestClient
See gh-27755
3 years ago
Andy Wilkinson 24c88ab80b Polish "Avoid NPE when routing DataSource has target with null key"
See gh-27698
3 years ago
Safeer A efdc19647c Avoid NPE when routing DataSource has target with null key
See gh-27698
3 years ago
Andy Wilkinson e409489859 Merge branch '2.4.x' into 2.5.x
Closes gh-27798
3 years ago
Andy Wilkinson f8ef90813f Allow @MockBean to be used with Framework's @Repeat
Fixes gh-27693
3 years ago
Andy Wilkinson 6d8ba3e8b1 Merge branch '2.4.x' into 2.5.x
Closes gh-27757
3 years ago
Andy Wilkinson ffbd28b60a Polish "Polish access modifiers for test classes"
See gh-27736
3 years ago
izeye 8a425dedfd Polish access modifiers for test classes
See gh-27736
3 years ago
Stephane Nicoll 0d44503980 Upgrade to Spring Session 2021.0.2
Closes gh-27605
3 years ago
Stephane Nicoll 2baee89971 Upgrade to Spring Session 2020.0.6
Closes gh-27599
3 years ago
Andy Wilkinson 0d904b8868 Merge branch '2.4.x' into 2.5.x
Closes gh-27753
3 years ago
Andy Wilkinson 0b7994a679 Polish "Use 2012 for copyright beginning year"
See gh-27734
3 years ago
Stephane Nicoll e0dc55e865 Upgrade to Netty 4.1.67.Final
Closes gh-27745
3 years ago
Stephane Nicoll e0fdddc658 Upgrade to Hazelcast 4.1.5
Closes gh-27744
3 years ago
Stephane Nicoll 42422c40da Upgrade to AppEngine SDK 1.9.91
Closes gh-27743
3 years ago
Stephane Nicoll a97a566d01 Upgrade to ActiveMQ 5.16.3
Closes gh-27742
3 years ago
Stephane Nicoll 253e4b25b1 Upgrade to Netty 4.1.67.Final
Closes gh-27741
3 years ago
Stephane Nicoll c9ec939127 Upgrade to AppEngine SDK 1.9.91
Closes gh-27740
3 years ago
Stephane Nicoll a798288de1 Upgrade to ActiveMQ 5.16.3
Closes gh-27739
3 years ago
Stephane Nicoll 8f12295e9b Upgrade to Spring Integration 5.5.3
Closes gh-27604
3 years ago
Stephane Nicoll 3e47b6e2b1 Upgrade to Spring Integration 5.4.10
Closes gh-27598
3 years ago
Andy Wilkinson b4f0f29bff Test our Gradle plugin against Gradle 7.2
Closes gh-27732
3 years ago
Andy Wilkinson ea641d3aab Merge branch '2.4.x' into 2.5.x
Closes gh-27730
3 years ago
Andy Wilkinson 29f5570208 Stop s-b-configuration-metadata leaking enforced constraints
Fixes gh-27726
3 years ago
Stephane Nicoll 34c83d6016 Upgrade to Nimbus JOSE JWT 9.10.1
Closes gh-27701
3 years ago
Stephane Nicoll 37c9fb09e6 Upgrade to OAuth2 OIDC SDK 9.9.1
Closes gh-27700
3 years ago
Stephane Nicoll d9cb1871fe Upgrade to Spring Security 5.5.2
Closes gh-27603
3 years ago
Stephane Nicoll afaf4421d0 Upgrade to Nimbus JOSE JWT 8.22.1
Closes gh-27699
3 years ago
Stephane Nicoll 0abedb2547 Upgrade to Spring Security 5.4.8
Closes gh-27597
3 years ago
Stephane Nicoll fe64fef7b9 Upgrade to Undertow 2.2.10.Final
Closes gh-27686
3 years ago
Stephane Nicoll 3a83fafebb Upgrade to SendGrid 4.7.4
Closes gh-27684
3 years ago
Stephane Nicoll a61be95f79 Upgrade to MIMEPull 1.9.15
Closes gh-27683
3 years ago
Stephane Nicoll 44b8a94b01 Upgrade to Maven Enforcer Plugin 3.0.0
Closes gh-27682
3 years ago
Stephane Nicoll c0f1adcf54 Upgrade to MariaDB 2.7.4
Closes gh-27681
3 years ago
Stephane Nicoll f6914e5fd1 Upgrade to Logback 1.2.5
Closes gh-27680
3 years ago
Stephane Nicoll 4adc3230c7 Upgrade to Janino 3.1.6
Closes gh-27679
3 years ago
Stephane Nicoll 0b75acfc1c Upgrade to Hazelcast Hibernate5 2.2.1
Closes gh-27678
3 years ago
Stephane Nicoll fb17f6e085 Upgrade to Glassfish JAXB 2.3.5
Closes gh-27677
3 years ago
Stephane Nicoll 7fced191cf Upgrade to Ehcache3 3.9.5
Closes gh-27676
3 years ago
Stephane Nicoll 6e4c35d463 Upgrade to Couchbase Client 3.1.7
Closes gh-27675
3 years ago
Stephane Nicoll eda014e736 Upgrade to Cassandra Driver 4.11.3
Closes gh-27674
3 years ago
Stephane Nicoll b44a7ae3f6 Upgrade to Undertow 2.2.10.Final
Closes gh-27673
3 years ago
Stephane Nicoll de0d940451 Upgrade to MIMEPull 1.9.15
Closes gh-27671
3 years ago
Stephane Nicoll df36225752 Upgrade to Maven Enforcer Plugin 3.0.0
Closes gh-27670
3 years ago
Stephane Nicoll 46ede9cd22 Upgrade to MariaDB 2.7.4
Closes gh-27669
3 years ago
Stephane Nicoll 9728511950 Upgrade to Logback 1.2.5
Closes gh-27668
3 years ago
Stephane Nicoll b32dfaad15 Upgrade to Janino 3.1.6
Closes gh-27667
3 years ago
Stephane Nicoll 8c0aea7acb Upgrade to Glassfish JAXB 2.3.5
Closes gh-27666
3 years ago
Stephane Nicoll 1fdeda0d15 Upgrade to Ehcache3 3.9.5
Closes gh-27665
3 years ago
Stephane Nicoll 9f505788f8 Upgrade to Spring Kafka 2.7.6
Closes gh-27602
3 years ago
Stephane Nicoll 454ea44c39 Upgrade to Spring Data 2021.0.4
Closes gh-27633
3 years ago
Stephane Nicoll c0ed8136d8 Upgrade to Micrometer 1.7.3
Closes gh-27601
3 years ago
Stephane Nicoll fa99ae774a Upgrade to Spring Data 2020.0.12
Closes gh-27632
3 years ago
Stephane Nicoll 69f54c6b6d Upgrade to Micrometer 1.6.10
Closes gh-27596
3 years ago
Andy Wilkinson 119fb6948d Test our Gradle plugin against Gradle 7.2-rc-3
Closes gh-27640
3 years ago
Andy Wilkinson aafa21686a Merge branch '2.4.x' into 2.5.x
Closes gh-27638
3 years ago
Andy Wilkinson 3bed23d9dc Replace PropertyMapper.CachingSupplier with use of SingletonSupplier
Closes gh-27635
3 years ago
Andy Wilkinson 341e129a59 Use SingletonSupplier in MetricsRepositoryFactoryCustomizer
Closes gh-27634
3 years ago
Andy Wilkinson 35ea3b234d Prevent repository metrics from causing a circular reference
Fixes gh-27591
3 years ago
Stephane Nicoll 79462fa2da Start building against Spring Data 2021.0.4 snapshots
See gh-27633
3 years ago
Stephane Nicoll d888eb64de Start building against Spring Data 2020.0.12 snapshots
See gh-27632
3 years ago
Stephane Nicoll 2fd4ac67d1 Upgrade to Reactor 2020.0.10
Closes gh-27600
3 years ago
Stephane Nicoll 7d326bd0dc Upgrade to Reactor 2020.0.10
Closes gh-27595
3 years ago
Andy Wilkinson f19fff4c64 Merge branch '2.4.x' into 2.5.x
Closes gh-27620
3 years ago
Andy Wilkinson d4d1ca007e Mention productionRuntimeClasspath in the docs
Closes gh-27558
3 years ago
Stephane Nicoll 1d29443e71 Merge branch '2.4.x' into 2.5.x
Closes gh-27618
3 years ago
Henning Pöttker 5b15c2191b Fix typo in javadoc
See gh-27614
3 years ago
Stephane Nicoll a393c2982c Merge branch '2.4.x' into 2.5.x
Closes gh-27616
3 years ago
Stephane Nicoll cd0bb969db Fix Potential NPE in TomcatMetricsBinder.findContext()
Closes gh-27576
3 years ago
Stephane Nicoll 585eb00af6 Start building against Spring Session 2021.0.2 snapshots
See gh-27605
3 years ago
Stephane Nicoll a304494508 Start building against Spring Integration 5.5.3 snapshots
See gh-27604
3 years ago
Stephane Nicoll 53bdcc9586 Start building against Spring Security 5.5.2 snapshots
See gh-27603
3 years ago
Stephane Nicoll 93f9c60540 Start building against Spring Kafka 2.7.6 snapshots
See gh-27602
3 years ago
Stephane Nicoll b09aea8ec1 Start building against Micrometer 1.7.3 snapshots
See gh-27601
3 years ago
Stephane Nicoll d4b6fd2344 Start building against Reactor 2020.0.10 snapshots
See gh-27600
3 years ago
Stephane Nicoll a4bf490582 Start building against Spring Session 2020.0.6 snapshots
See gh-27599
3 years ago
Stephane Nicoll e377a59f51 Start building against Spring Integration 5.4.10 snapshots
See gh-27598
3 years ago
Stephane Nicoll 7e3ad42fd3 Start building against Spring Security 5.4.8 snapshots
See gh-27597
3 years ago
Stephane Nicoll 1f2a5becf7 Start building against Micrometer 1.6.10 snapshots
See gh-27596
3 years ago
Stephane Nicoll 50b3b73ca7 Start building against Reactor 2020.0.10 snapshots
See gh-27595
3 years ago
Andy Wilkinson 7610fe02c5 Test our Gradle plugin against 7.2-rc-2
Closes gh-27593
3 years ago
Stephane Nicoll 9826304e29 Merge branch '2.4.x' into 2.5.x
Closes gh-27557
3 years ago
izeye 9f44cefc56 Use deprecated mainClassName in Gradle test
See gh-27537
3 years ago
Stephane Nicoll a9ea8d95f3 Merge branch '2.4.x' into 2.5.x
Closes gh-27555
3 years ago
wuwen 46c47dcd29 Remove dead code in DefaultErrorAttributes
See gh-27538
3 years ago
Scott Frederick f60d998ea1 Merge branch '2.4.x' into 2.5.x
Closes gh-27535
3 years ago
Scott Frederick 5d793afcb5 Prevent hanging when deleting Docker builder container after exception
An exception being thrown while the Maven plugin is uploading the app
archive bits to an ephemeral builder container would leave the
interaction with the Docker daemon in a state that caused further
interaction with the daemon (such as deleting the ephemeral builder)
to hang indefinitely. This commit cleans up the connection on an
exception to prevent this condition.

Fixes gh-27515
3 years ago
Andy Wilkinson 43d623e696 Merge branch '2.4.x' into 2.5.x
Closes gh-27527
3 years ago
Andy Wilkinson 7eb5f35f2f Make WebTestClient creation back off when no HTTP client available
Fixes gh-27520
3 years ago
Andy Wilkinson 533bb24b55 Merge branch '2.4.x' into 2.5.x
Closes gh-27525
3 years ago
Andy Wilkinson ad2d9c0ab1 Customize Cassandra's configuration to reduce container startup time
Closes gh-27524
3 years ago
Andy Wilkinson 85054723f0 Reinstate GradleProjectBuilder for compatibility with JDK17-ea32
See gh-27521
3 years ago
Andy Wilkinson ca5af2d456 Test our Gradle plugin against Gradle 7.2-rc-1
Closes gh-27521
3 years ago
Andy Wilkinson 30f63cc0cf Merge branch '2.4.x' into 2.5.x
Closes gh-27510
3 years ago
Andy Wilkinson ade922baec Stabilize LiveReloadServerTests
Closes gh-27503
3 years ago
Andy Wilkinson 08e26c97aa Merge branch '2.4.x' into 2.5.x
Closes gh-27505
3 years ago
Andy Wilkinson 031a036c9f Customize security filter registration in separate management context
Fixes gh-27372
3 years ago
Stephane Nicoll 6d0f5d5f21 Upgrade to Spring Integration 5.4.9
Closes gh-27500
3 years ago
Stephane Nicoll d31653e3c3 Upgrade to Spring Kafka 2.6.10
Closes gh-27501
3 years ago
Andy Wilkinson 4247131192 Start building against Spring Integration 5.4.9 snapshots
See gh-27500
3 years ago
Andy Wilkinson 04dc62904f Merge branch '2.4.x' into 2.5.x
Closes gh-27495
3 years ago
Andy Wilkinson 5d9da7206e Limit use of deprecated mainClassName in Gradle plugin tests
Closes gh-27320
3 years ago
Andy Wilkinson 1bf466702b Merge branch '2.4.x' into 2.5.x
Closes gh-27490
3 years ago
Andy Wilkinson 0326fa47b7 Make DataJpaTestSchemaCredentialsIntegrationTests create the schema
Closes gh-26106
3 years ago
Andy Wilkinson a71d19bce7 Merge branch '2.4.x' into 2.5.x
Closes gh-27488
3 years ago
Andy Wilkinson 388068cdff Polish "Sanitize URIs with non-alpha characters in their schemes"
See gh-27482
3 years ago
Billy Tobon bafa9c4784 Sanitize URIs with non-alpha characters in their schemes
See gh-27482
3 years ago
Andy Wilkinson dead33a90a Merge branch '2.4.x' into 2.5.x
Closes gh-27484
3 years ago
Andy Wilkinson cff1827e27 Stabilize socketChannelClosedTriggersTunnelClose
Closes gh-27483
3 years ago
Andy Wilkinson eaca9c7a83 Merge branch '2.4.x' into 2.5.x
Closes gh-27473
3 years ago
Andy Wilkinson ee07d6c3ca Increase response timeout for server-bound WebTestClients
Closes gh-27472
3 years ago
Andy Wilkinson 589a22eb0d Merge branch '2.4.x' into 2.5.x
Closes gh-27470
3 years ago
Andy Wilkinson 9e81fb3e38 Fix race condition in Jetty graceful shutdown tests
Some of the Jetty graceful shutdown tests were flaky due to the way
in which Jetty behaves when it is stopped.
Stopping the Jetty web server interrupts the thread that's handling
the active request. This initiates a race between the request-handling
thread which will decrement the number of active requests and the
main thread which expects an active request to cause the shutdown
result to be REQUESTS_ACTIVE. The test passes when the main thread
wins and fails as a request is active which it's checked. When the
request-handling thread wins the test fails as the count of active
requests has been deprecated before it is checked.

The blocking servlet that's used to stall a request and keep it
active needs to be updated to ignore the thread being interrupted
and continue waiting. This will ensure that a request remains active
until the main thread has checked the active request count and
determine the result of the shutdown.

Closes gh-27464
3 years ago
Andy Wilkinson 18b4898977 Polish "Fix deriving DataSources from custom type"
See gh-27453
3 years ago
saraswathy-krish d0e2823c49 Fix deriving DataSources from custom type
Eliminate the unsupported datasource property exception thrown
when trying to derive a datasource from an unknown datasource type.

See gh-27453
3 years ago
Andy Wilkinson 68c5f6cd30 Upgrade to Undertow 2.2.9.Final
Closes gh-27452
3 years ago
Andy Wilkinson 191bd8ca57 Upgrade to SLF4J 1.7.32
Closes gh-27451
3 years ago
Andy Wilkinson a279d42712 Upgrade to MySQL 8.0.26
Closes gh-27450
3 years ago
Andy Wilkinson 982d6c6097 Upgrade to Logback 1.2.4
Closes gh-27449
3 years ago
Andy Wilkinson 8044bd2424 Upgrade to Jedis 3.6.3
Closes gh-27448
3 years ago
Andy Wilkinson 3ca86435d1 Upgrade to Undertow 2.2.9.Final
Closes gh-27446
3 years ago
Andy Wilkinson aaf26245d5 Upgrade to SLF4J 1.7.32
Closes gh-27445
3 years ago
Andy Wilkinson 7fbfbfe21e Upgrade to MySQL 8.0.26
Closes gh-27444
3 years ago
Andy Wilkinson bb26b7bdf5 Polish
Closes gh-27431
3 years ago
izeye 734293d491 Polish
See gh-27418
3 years ago
Andy Wilkinson 4a533e14c3 Merge branch '2.4.x' into 2.5.x
Closes gh-27428
3 years ago
dreis2211 4d0c98011e Polishing
See gh-27417
3 years ago
Andy Wilkinson 29c83bfd76 Instantiate detectors with ClassLoader that discovered them
Fixes gh-27422
3 years ago
Andy Wilkinson dfe91be885 Upgrade to Spring Integration 5.5.2
Closes gh-27166
3 years ago
Andy Wilkinson a5e95ef4c8 Merge branch '2.4.x' into 2.5.x
Closes gh-27419
3 years ago
Andy Wilkinson b5587b053d Use ClassLoader that will load Yaml to check if it's present
Fixes gh-27133
3 years ago
dreis2211 0ea3b9246a Add Java 17 to JavaVersion enum
See gh-26769
3 years ago
dreis2211 f0df9671cd Remove redundant deprecation suppressions
See gh-27409
3 years ago
Andy Wilkinson 5783caabd7 Upgrade to Spring AMQP 2.3.10
Closes gh-27392
3 years ago
Andy Wilkinson 47289de332 Upgrade to Spring Kafka 2.7.4
Closes gh-27165
3 years ago
Andy Wilkinson 9d2cb162e6 Configure initializer dependencies grouped by detector
Previously, database initializers were detected and were configured
with dependencies based on their detection order. For example, if
detectors a, b, and c detected initializers a1, b1, b2, and c1,
c1 would depend on b2, b2 on b1, and b1 on a1:

------     ------     ------     ------
| c1 | --> | b2 | --> | b1 | --> | a1 |
------     ------     ------     ------

This could cause a dependency cycle in certain situations, for
example because the user had already configured b1 to depend on b2.

This commit reduces the risk of a cycle being created by batching
the initializers by their detector, with dependencies being
configured between each batch rather than between every initializer.
In the example above, this results in c1 depending on b1 and b2,
and b1 and b2 depending on a1:

           ------
------     | b1 |     ------
| c1 | --> |    | --> | a1 |
------     | b2 |     ------
           ------

As b1 and b2 were detected by the same detector, no dependency
between those initializers is defined.

Closes gh-27131
3 years ago
Andy Wilkinson 9d64269552 Upgrade to Logback 1.2.4
Closes gh-27380
3 years ago
Andy Wilkinson 9973937af3 Upgrade to Spring AMQP 2.3.10
Closes gh-27391
3 years ago
Andy Wilkinson b354188bd8 Upgrade to Spring Data 2021.0.3
Closes gh-27164
3 years ago
Andy Wilkinson 6c8e040089 Upgrade to Netty 4.1.66.Final
Closes gh-27390
3 years ago
Andy Wilkinson ff31dffb0b Upgrade to jOOQ 3.14.13
Closes gh-27389
3 years ago
Andy Wilkinson 67739d9126 Upgrade to Jetty Reactive HTTPClient 1.1.10
Closes gh-27388
3 years ago
Andy Wilkinson db6ab63a38 Upgrade to Jedis 3.6.2
Closes gh-27387
3 years ago
Andy Wilkinson f6e4e0b299 Upgrade to Infinispan 12.1.7.Final
Closes gh-27386
3 years ago
Andy Wilkinson b4c3d00bd0 Upgrade to Dropwizard Metrics 4.1.25
Closes gh-27385
3 years ago
Andy Wilkinson 0ffafae375 Upgrade to AppEngine SDK 1.9.90
Closes gh-27384
3 years ago
Andy Wilkinson 3e0829cd47 Upgrade to Spring Data 2020.0.11
Closes gh-27161
3 years ago
Andy Wilkinson d8959f4bb2 Upgrade to Netty 4.1.66.Final
Closes gh-27381
3 years ago
Andy Wilkinson 47afdc0218 Upgrade to jOOQ 3.14.13
Closes gh-27379
3 years ago
Andy Wilkinson f8e3d86223 Upgrade to Dropwizard Metrics 4.1.25
Closes gh-27378
3 years ago
Andy Wilkinson 1d3b0d6262 Upgrade to AppEngine SDK 1.9.90
Closes gh-27377
3 years ago
Andy Wilkinson 96111514e1 Merge branch '2.4.x' into 2.5.x
Closes gh-27369
3 years ago
Andy Wilkinson 06a3c40506 Use a 10s init query timeout in Cassandra tests
Closes gh-27368
3 years ago
dreis2211 be38ce3645 Disable Gradle plugin tests that fail on JDK 17
See gh-27328
3 years ago
Andy Wilkinson 1e09ef1db3 Merge branch '2.4.x' into 2.5.x
Closes gh-27361
3 years ago
Andy Wilkinson fe081b1742 Add Gson converter immediately before default Jackson converter
Previously, when the preferred json mapper was set to Gson, the Gson
HTTP message converter was added before any other converters. This
changed the form of String responses that were already valid. When
Jackson is in use, a string converter is used as it appears earlier
in the list than the Jackson converter. When the mapper is switched
to Gson, the Gson converter is added first in the list of converters
and the Strong converter is no longer used. This results in the
String, that was already valid JSON, being converted again. This
changes its form as quotes are escaped, etc.

This commit updates HttpMessageConverters so that the Gson converter
is added to the list immediately before the default Jackson
converter. This is done by considering the Gson converter to be an
equivalent of the Jackson converter.

Fixes gh-27354
3 years ago
anvithabs e48efa158b Fix reference to a configuration property in cloud.adoc
See gh-27357
3 years ago
izeye 198e40c72e Remove Flyway references from DependsOn BFPPs for Liquibase
See gh-27348
3 years ago
Andy Wilkinson c8c784bd5c Allow @SpyBean to be used to spy on a Spring Data repository
Fixes gh-7033
3 years ago
Andy Wilkinson 62695f76f7 Provide complete dependency management for Prometheus's Pushgateway
Fixes gh-27349
3 years ago
Andy Wilkinson d4159130a5 Merge branch '2.4.x' into 2.5.x
Closes gh-27346
3 years ago
Andy Wilkinson 7a23a12ce0 Fix configprops endpoint's handling of config tree values
Fixes gh-27327
3 years ago
Stephane Nicoll 39626fa4e7 Upgrade to Spring HATEOAS 1.3.3
Closes gh-27184
3 years ago
Stephane Nicoll 8268c21158 Upgrade to Micrometer 1.7.2
Closes gh-27342
3 years ago
Stephane Nicoll 1c69789ca4 Upgrade to Lettuce 6.1.4.RELEASE
Closes gh-27341
3 years ago
Stephane Nicoll 8694b67744 Upgrade to Spring HATEOAS 1.2.8
Closes gh-27183
3 years ago
Stephane Nicoll 52996e139e Upgrade to Micrometer 1.6.9
Closes gh-27340
3 years ago
Stephane Nicoll 6f949a1744 Upgrade to Lettuce 6.0.7.RELEASE
Closes gh-27339
3 years ago
Andy Wilkinson 9a81d2fe09 Merge branch '2.4.x' into 2.5.x
Closes gh-27332
3 years ago
Andy Wilkinson c005e1de9a Rename test classes to match our naming conventions
Closes gh-27331
3 years ago
Stephane Nicoll d8f9a20221 Add missing XSD version for layers configuration
Closes gh-27321
3 years ago
Stephane Nicoll 3c38e46c05 Upgrade to Spring Framework 5.3.9
Closes gh-27163
3 years ago
Stephane Nicoll 3511a007a2 Upgrade to Spring Framework 5.3.9
Closes gh-27160
3 years ago
Stephane Nicoll de3dbaf1d5 Upgrade to Kotlin Coroutines 1.5.1
Closes gh-27317
3 years ago
Madhura Bhave ed22e4a897 Merge branch '2.4.x' into 2.5.x 3 years ago
Madhura Bhave 23b377e1a1 Fix typo 3 years ago
Andy Wilkinson 705feeed6a Polish "Allow additional JVM args when running tests via toolchain"
See gh-27089
3 years ago
dreis2211 01b0156fed Allow additional JVM args when running tests via toolchain
See gh-27089
3 years ago
Andy Wilkinson 685b78f504 Merge branch '2.4.x' into 2.5.x
Closes gh-27304
3 years ago
Andy Wilkinson 49baacbc1c Polish "Mark Redis as down when cluster_state is fail"
See gh-27300
3 years ago
Hoan Vu Hong f31141de09 Mark Redis as down when cluster_state is fail
See gh-27300
3 years ago
Andy Wilkinson 7332b43a9e Merge branch '2.4.x' into 2.5.x
Closes gh-27162
3 years ago
Andy Wilkinson 96e58d815d Upgrade to Reactor 2020.0.9
Closes gh-27159
3 years ago
Andy Wilkinson 6ed7e692a9 Merge branch '2.4.x' into 2.5.x
See gh-27163
3 years ago
Andy Wilkinson 1341ca99db Align with Framework's deprecation of getLastModified
See gh-27160
3 years ago
Andy Wilkinson d9e525c326 Merge branch '2.4.x' into 2.5.x
Closes gh-27301
3 years ago
Andy Wilkinson 2354dd5ccb Include Jetty metrics in list of supported metrics
Closes gh-27299
3 years ago
Stephane Nicoll 895a2ed013 Upgrade to Postgresql 42.2.23
Closes gh-27244
3 years ago
Stephane Nicoll bed528f203 Upgrade to jOOQ 3.14.12
Closes gh-27243
3 years ago
Stephane Nicoll 5811b22554 Upgrade to Johnzon 1.2.14
Closes gh-27242
3 years ago
Stephane Nicoll 3c6db2bc28 Upgrade to Jetty 9.4.43.v20210629
Closes gh-27241
3 years ago
Stephane Nicoll 58b03ac56f Upgrade to Jetty Reactive HTTPClient 1.1.10
Closes gh-27240
3 years ago
Stephane Nicoll 88e0916ad6 Upgrade to DB2 JDBC 11.5.6.0
Closes gh-27239
3 years ago
Stephane Nicoll 2d671021d9 Upgrade to AspectJ 1.9.7
Closes gh-27238
3 years ago
dreis2211 dacfe27350 Fix tests for multi-release JARs on JDK 17
See gh-27229
3 years ago
Andy Wilkinson 1cd3a54e88 Rework Quartz DB init dependencies to use a detector
Closes gh-27222
3 years ago
Andy Wilkinson 3de58c2340 Detect JdbcIndexedSessionRepository as depending on DB init
Fixes gh-27220
3 years ago
Andy Wilkinson f008228f1a Polish "Detect JobRepository as depending on DB init"
See gh-27221
3 years ago
Henning Pöttker cf69785393 Detect JobRepository as depending on DB init
See gh-27221
3 years ago
Andy Wilkinson 94f94f30f5 Polish "Detect AbstractDataSourceInitializers as DB initializers"
See gh-27215
3 years ago
Henning Pöttker 433f3d6bc4 Detect AbstractDataSourceInitializers as DB initializers
See gh-27215
3 years ago
Andy Wilkinson 7b94b40a19 Ensure that Session JDBC schema is in place before DB is accessed
Fixes gh-27208
3 years ago
Andy Wilkinson 4b1b2d6603 Consider Flyway and Liquibase as possible Batch DB initializers
This is a follow-on from 3fec4110 which only considered
BatchDataSourceInitializer as a possible initializer of Batch's
database schema. Flyway and Liquibase are now also considered.

Closes gh-27193
3 years ago
Andy Wilkinson 3fec41104e Ensure that Batch schema is in place before DB is accessed
Fixes gh-27193
3 years ago
Stephane Nicoll 25fe6a107a Fix visibility of a type exposed as a bean
Closes gh-27189
3 years ago
Madhura Bhave 0f70c46746 Merge branch '2.4.x' into 2.5.x
Closes gh-27210
Closes gh-27211
3 years ago
Madhura Bhave 42e556dd73 Handle file with name matching an optional wildcard location
Previously, the presence of a file with the same name
as an optional wildcard location would cause a failure. With
this change the pattern is resolved only if the resource is a
directory.

Additionally, if an optional wildcard search location that was a file
would also fail with an exception. This commit fixes that so that those
locations are not resolved.

Fixes gh-27120
Fixes gh-27209
3 years ago
Phillip Webb f32f4a2e3d Merge branch '2.4.x' into 2.5.x
Closes gh-27204
3 years ago
Phillip Webb 84110a22bc Don't change case of 'Sec-WebSocket-Key'
Polish commit 5ca687c9a6 had an accidental side-effect of changing
the 'Sec-WebSocket-Key' header value to lowercase. This breaks
connections since the value needs to be echoed unchanged in the
"Sec-WebSocket-Accept" header.

Fixes gh-27147
3 years ago
Andy Wilkinson b50cefbf8b Upgrade to Postgresql 42.2.23
Closes gh-27202
3 years ago
Andy Wilkinson bce7b9c711 Upgrade to jOOQ 3.14.12
Closes gh-27201
3 years ago
Andy Wilkinson 2c7105965d Upgrade to Johnzon 1.2.14
Closes gh-27200
3 years ago
Andy Wilkinson 81a68651dc Upgrade to Jetty 9.4.43.v20210629
Closes gh-27199
3 years ago
Andy Wilkinson d52117014f Upgrade to Jackson Bom 2.12.4
Closes gh-27198
3 years ago
Andy Wilkinson c96ee0d448 Upgrade to Infinispan 12.1.6.Final
Closes gh-27197
3 years ago
Andy Wilkinson 958c6649f4 Upgrade to DB2 JDBC 11.5.6.0
Closes gh-27196
3 years ago
Andy Wilkinson 4b965ac1ef Upgrade to Caffeine 2.9.2
Closes gh-27195
3 years ago
Andy Wilkinson bcbc742a0e Upgrade to AspectJ 1.9.7
Closes gh-27194
3 years ago
dreis2211 00d3330c9a Avoid illegal reflective access on ZipEntry.xdostime
See gh-27100
3 years ago
Andy Wilkinson ff79787def Avoid using deprecated API to get Kotlin Plugin's version
Closes gh-27090
3 years ago
Andy Wilkinson 283b4a6ed2 Improve error message for non-options-capable ConnectionFactory
Fixes gh-26977
3 years ago
Stephane Nicoll 7eb6cf71f6 Start building against Spring Integration 5.5.2 snapshots
See gh-27166
3 years ago
Stephane Nicoll e426ff6196 Start building against Spring Kafka 2.7.4 snapshots
See gh-27165
3 years ago
Stephane Nicoll 745b79714f Start building against Spring Data 2021.0.3 snapshots
See gh-27164
3 years ago
Stephane Nicoll 36f5d6762b Start building against Spring HATEOAS 1.3.3 snapshots
See gh-27184
3 years ago
Stephane Nicoll 3119179c62 Start building against Spring Framework 5.3.9 snapshots
See gh-27163
3 years ago
Stephane Nicoll 74a0354bf1 Start building against Reactor 2020.0.9 snapshots
See gh-27162
3 years ago
Stephane Nicoll 815ccd14b5 Start building against Spring Data 2020.0.11 snapshots
See gh-27161
3 years ago
Stephane Nicoll 434d4a6f76 Start building against Spring HATEOAS 1.2.8 snapshots
See gh-27183
3 years ago
Stephane Nicoll 861f87911c Start building against Spring Framework 5.3.9 snapshots
See gh-27160
3 years ago
Stephane Nicoll 74d5fdbcd0 Start building against Reactor 2020.0.9 snapshots
See gh-27159
3 years ago
Andy Wilkinson c21791e671 Test our Gradle plugin against Gradle 7.1.1
Closes gh-27142
3 years ago
Stephane Nicoll 888393d63b Merge branch '2.4.x' into 2.5.x
Closes gh-27154
3 years ago
Stephane Nicoll 5ec0c7ed12 Polish "Fix duration to microseconds conversion"
See gh-27149
3 years ago
marckchr a406a46fa1 Fix duration to microseconds conversion
See gh-27149
3 years ago
Madhura Bhave c6acce569f Merge branch '2.4.x' into 2.5.x
See gh-27139
3 years ago
Madhura Bhave 877f618a69 Clarify that HATEOAS can be used with Webflux without starter
Closes gh-26897
3 years ago
Madhura Bhave 503d50f39e Merge branch '2.4.x' into 2.5.x
Closes gh-27139
3 years ago
Madhura Bhave 6c4273b5c9 Document spring hateoas is spring mvc specific
Closes gh-26897
3 years ago
Madhura Bhave 55593a7ac1 Merge branch '2.4.x' into 2.5.x
Closes gh-27137
3 years ago
Madhura Bhave eb4144eb97 Add clarification on when @DevaultValue is used during binding
Closes gh-26742
3 years ago
Stephane Nicoll ddf76c32c6 Update copyright year of updated file
See gh-27085
3 years ago
dreis2211 c852961011 Avoid reflection in tests
See gh-27085
3 years ago
Nurlan Tembayev e57970393c Remove unnecessary unit for spring.datasource.tomcat.max-active
See gh-27103
3 years ago
biergit 79638a8f63 Fix anchor rewrites containing a question mark
See gh-27107
3 years ago
Cèsar Ordiñana 0c38449851 Fix typo in section title
See gh-27102
3 years ago
Brian Clozel 4db53601b5 Fix spring.netty.leak-detection metadata
Fixes gh-27104
3 years ago
Phillip Webb dfbd82b838 Fix Kotlin 1.5.20 classpath issues
See gh-27086
3 years ago
Phillip Webb d44207161f Suppress Kotlin 1.5.20 deprecation warning
See gh-27086
3 years ago
Andy Wilkinson 5a9fa3c8f1 Only close context that is active
Previously, SpringApplicationShutdownHook would call close() on any
registered application context even if it wasn't active as it had
already been closed. This could lead to deadlock if the context was
closed and System.exit was called during application context refresh.

This commit updates SpringApplicationShutdownHook so that it only
calls close() on active contexts. This prevents deadlock as it avoids
trying to sychronize on the context's startupShutdownMonitor on
the shutdown hook thread while it's still held on the main thread
which called System.exit and is waiting for all of the shutdown hooks
to complete.

Fixes gh-27049
3 years ago
Andy Wilkinson 4572ae5430 Use reflection to extract Netty's default level
See gh-27046
3 years ago
Andy Wilkinson e2d68aa8b2 Merge branch '2.4.x' into 2.5.x
See gh-27072
3 years ago
Andy Wilkinson a7872f47da Minimize Instantiator's public API
See gh-27043
3 years ago
Phillip Webb b093db104c Pass ResourceLoader.getClassLoader() to Instantiator
Update calls to `Instantiator` to that they also include
`ResourceLoader.getClassLoader()`.

Closes gh-27071
3 years ago
Phillip Webb 641dfbdf98 Merge branch '2.4.x' into 2.5.x
Fixes gh-27072
3 years ago
Phillip Webb 5088927f80 Pass ClassLoader to Instantiator
Update `Instantiator` so that it can accept a `ClassLoader` when
creating instances and rework `EnvironmentPostProcessorsFactory` to
use the new methods.

Prior to this commit we would use the `ClassLoader` to get the class
names from `SpringFactories` but not when actually creating the
instances.

Fixes gh-27043
3 years ago
Stephane Nicoll d079db1dce Polish
See gh-26978
3 years ago
Stephane Nicoll 57f5030397 Upgrade to Netty tcNative 2.0.40.Final
Closes gh-27070
3 years ago
Stephane Nicoll 43f6393e9a Upgrade to Hazelcast 4.1.4
Closes gh-27069
3 years ago
Stephane Nicoll 6889d2adda Upgrade to Nimbus JOSE JWT 8.22
Closes gh-27068
3 years ago
Stephane Nicoll d4039648c7 Upgrade to OAuth2 OIDC SDK 8.36.2
Closes gh-27067
3 years ago
Stephane Nicoll 1f53e93b8d Upgrade to Netty tcNative 2.0.40.Final
Closes gh-27066
3 years ago
Stephane Nicoll d4fa46f1b9 Polish startup endpoint description in reference doc
Closes gh-26978
3 years ago
Stephane Nicoll 32d6b52980 Upgrade to Spring Integration 5.5.1
Closes gh-26974
3 years ago
Stephane Nicoll dd63f98fcf Upgrade to Spring Kafka 2.7.3
Closes gh-26973
3 years ago
Stephane Nicoll b5cdc84273 Upgrade to Spring AMQP 2.3.9
Closes gh-26972
3 years ago
Stephane Nicoll 006995fef7 Upgrade to Spring Integration 5.4.8
Closes gh-26967
3 years ago
Stephane Nicoll 6804ae849d Upgrade to Spring AMQP 2.3.9
Closes gh-26966
3 years ago
dreis2211 7a25e4edb8 Avoid illegal reflective access in CLI tests
See gh-26930
3 years ago
Phillip Webb 093e7f7e3b Merge branch '2.4.x' into 2.5.x
Closes gh-27062
3 years ago
Phillip Webb 1a7569056b Fix 'spring.datasource.name' property description
Closes gh-27026
3 years ago
Phillip Webb 2c518f1dff Merge branch '2.4.x' into 2.5.x 3 years ago
Phillip Webb a76e5c043e Update copyright year of changed files 3 years ago
Phillip Webb 84fab65b9a Merge branch '2.4.x' into 2.5.x
Closes gh-27060
3 years ago
Phillip Webb ea62967ef4 Improve "reason" message in BindFailureAnalyzer
Update `BindFailureAnalyzer` so that the "Reason" message includes
the root cause exception type and message.

Closes gh-27028
3 years ago
Phillip Webb 0e28e24123 Rethrow ConverterNotFoundException when possible
Update `BindConverter` to throw the first `ConversionFailedException`
rather than always throwing `ConverterNotFoundException`.

See gh-27028
3 years ago
Phillip Webb a77e116c03 Merge branch '2.4.x' into 2.5.x
Closes gh-27058
3 years ago
Phillip Webb 93d316ddd1 Add additional ConfigDataProperties tests
Add more `isActive` tests to cover negative cases.

See gh-27017
3 years ago
fengyuanwei b91c66b823 Fix typo in ConfigDataPropertiesTests
See gh-27017
3 years ago
Phillip Webb fd83158fa5 Merge branch '2.4.x' into 2.5.x 3 years ago
Phillip Webb 63ed921554 Restore simple Library constructor
See gh-15808
3 years ago
Phillip Webb af37f59136 Merge branch '2.4.x' into 2.5.x
Closes gh-27056
3 years ago
Madhura Bhave b790c82732 Apply exclusions to existing war entries
Update `RepackageMojo` and supporting classes so that `exclusions`
on the repackage goal apply to both the contributed libraries and any
existing jar entries already contained in the original war.

Prior to this commit, exclusions would apply to contributed jars (for
example, those in `WEB-INF/lib-provided`) but not jars that were
packaged directly into `WEB-INF/lib` by the war plugin

Fixes gh-15808

Co-authored-by: Phillip Webb <pwebb@vmware.com>
3 years ago
Brian Clozel bf17f50a1f Align NettyProperties with Netty's defaults
Prior to this commit, `NettyProperties` would use `DISABLED` as the
default level for leak detection in Netty. This is not the default value
enforced by Netty, which is `SIMPLE`.

This commit changes the default configuration property value and ensures
that both stay in sync.

Fixes gh-27046
3 years ago
Andy Wilkinson 01f8cb7639 Merge branch '2.4.x' into 2.5.x
Closes gh-27048
3 years ago
Andy Wilkinson 3746155916 Align Nimbus dependency versions with Spring Security
Closes gh-26820
3 years ago
Stephane Nicoll e0e64e69c0 Upgrade to Micrometer 1.7.1
Closes gh-27015
3 years ago
Stephane Nicoll d0f12392ab Upgrade to Micrometer 1.6.8
Closes gh-27014
3 years ago
Stephane Nicoll 6c2fc8471a Upgrade to Spring Session 2021.0.1
Closes gh-26971
3 years ago
Stephane Nicoll fb2ed6076f Upgrade to Spring Session 2020.0.5
Closes gh-26964
3 years ago
Stephane Nicoll 254a29f9be Upgrade to Nimbus JOSE JWT 9.10
Closes gh-27039
3 years ago
Stephane Nicoll 4a28e21047 Upgrade to OAuth2 OIDC SDK 9.9
Closes gh-27038
3 years ago
Stephane Nicoll f89675a3f1 Upgrade to Neo4j Java Driver 4.2.7
Closes gh-27037
3 years ago
Stephane Nicoll 1a9e3bcbd6 Upgrade to Lettuce 6.1.3.RELEASE
Closes gh-27036
3 years ago
Stephane Nicoll 763870bd45 Upgrade to Dropwizard Metrics 4.1.24
Closes gh-27035
3 years ago
Stephane Nicoll fb1cd82061 Upgrade to OAuth2 OIDC SDK 8.36.2
Closes gh-27034
3 years ago
Stephane Nicoll ded6b26ea5 Upgrade to Neo4j Java Driver 4.1.4
Closes gh-27033
3 years ago
Stephane Nicoll 6db9fe2e36 Upgrade to Lettuce 6.0.6.RELEASE
Closes gh-27032
3 years ago
Stephane Nicoll 9bc1c4dff2 Upgrade to Dropwizard Metrics 4.1.24
Closes gh-27031
3 years ago
Stephane Nicoll 9281dcf751 Upgrade to Spring Data 2021.0.2
Closes gh-26970
3 years ago
Stephane Nicoll 47a9a94376 Upgrade to Spring HATEOAS 1.3.2
Closes gh-26969
3 years ago
Stephane Nicoll 7e09c1d8dc Upgrade to Spring Data 2020.0.10
Closes gh-26963
3 years ago
Stephane Nicoll 58320c6af9 Upgrade to Spring HATEOAS 1.2.7
Closes gh-27013
3 years ago
Stephane Nicoll 7ca9794f3c Upgrade to Reactor 2020.0.8
Closes gh-26968
3 years ago
Stephane Nicoll c21099b142 Upgrade to Reactor 2020.0.8
Closes gh-26962
3 years ago
Andy Wilkinson 051638631b Merge branch '2.4.x' into 2.5.x
Closes gh-27024
3 years ago
Andy Wilkinson ba9244b2d4 Polish "Update docs to use @SpringBootConfiguration not @Configuration"
See gh-26937
3 years ago
Yanming Zhou a5f077cf79 Update docs to use @SpringBootConfiguration not @Configuration
See gh-26937
3 years ago
Andy Wilkinson cf940fd374 Disable Log4j2's shutdown hook by default
Previously, Log4j2's own shutdown hook was only disabled when Log4j2
detected javax.servlet.Servlet on the classpath and, therefore,
determined that it was running in a web application. In an application
without Servlet on the classpath, this could lead to both Log4j2's shut
down hook and and logging system's shutdown handler both stopping
Log4j2. This could result in a failure as the second attempt at stopping
would result in reinitialization which would fail as the JVM is already
shutting down.

This commit introduces a new Log4j2 PropertySource implementation,
registered via META-INF/services, that sets the
log4j.shutdownHookEnabled property to false. This will ensure that
Log4j2's own shutdown hook is disabled by default whenever Spring Boot
is on the classpath and not just in Servlet-based web applications.

Fixes gh-26953
3 years ago