Commit Graph

8364 Commits (fb7e35e8e8ed83575dec5b6bd16bba26c61ba239)

Author SHA1 Message Date
Stephane Nicoll 6213ff6aab Merge branch '2.2.x'
Closes gh-20029
5 years ago
Stephane Nicoll fa239a0628 Merge branch '2.1.x' into 2.2.x
Closes gh-20028
5 years ago
Stephane Nicoll 12b644d73c Polish contribution
See gh-19901
5 years ago
Dmytro Nosan aead3a7c44 Handle message of @ResponseStatus-annotated exception with WebFlux
See gh-19901
5 years ago
Madhura Bhave 0a377647ca Import OAuth2 auto-configurations in web slice tests
Fixes gh-19823
5 years ago
Scott Frederick 60f5bb1636 Remove health actuator code deprecated in 2.2
This partially re-applies the deprecation removal from commit
df1837a16b,
without removing CompositeHealthIndicator, HealthAggregator, and related
configuration that is required by Spring Cloud.
5 years ago
Madhura Bhave e64a145ef0 Add support for wildcard locations for properties and YAML files
Closes gh-19909
5 years ago
Scott Frederick de1a26cf35 Revert "Remove deprecated HealthIndicator and HealthAggregator 2.2 code"
This reverts commit df1837a16b.
5 years ago
Stephane Nicoll b5e23e7405 Update copyright year of changed files
See gh-20020
5 years ago
Johnny Lim b67ece48e4 Polish
See gh-20020
5 years ago
dreis2211 e4a95a8047 Upgrade to Ivy 2.5.0
See gh-20022
5 years ago
dreis2211 2d9902f10e Fix link to Spring Integration Graph documentation
See gh-19992
5 years ago
Stephane Nicoll 90e3d88793 Fix link to Spring Integration Graph documentation
Closes gh-20023
5 years ago
Stephane Nicoll 5833d2c5e8 Fix Embedded Mongo classpath check
This commit changes the classpath check condition to verify that the
core module of the MongoDB driver is present. Previously, we were only
checking for the presence of the sync driver, making embedded support
unavailable with the reactive variant.

Closes gh-19960
5 years ago
Stephane Nicoll c4daff7225 Polish "Upgrade to MongoDB Java Driver 4.0 beta1"
See gh-19960
5 years ago
Christoph Strobl d2d6dbdc00 Upgrade to MongoDB Java Driver 4.0 beta1
See gh-19960
5 years ago
dreis2211 326092b69e Upgrade to Ant 1.10.7
See gh-20002
5 years ago
Stephane Nicoll 52659b1df4 Merge branch '2.2.x'
Closes gh-20013
5 years ago
Johnny Lim 6ef288f45b Polish samples in doc
See gh-20004
5 years ago
dreis2211 56df70b0e7 Use Spring 5 module of Jersey
See gh-20009
5 years ago
Andy Wilkinson bca98c5126 Use a RegularFileProperty to configure BootBuildImage's input jar
Closes gh-20010
5 years ago
Johnny Lim 0ddf8be151 Polish
See gh-20001
5 years ago
Stephane Nicoll 9b79208b60 Upgrade copyright date
See gh-19995
5 years ago
Johnny Lim e6d5f5a271 Polish
See gh-19995
5 years ago
Scott Frederick afb67887da Restore deprecated class required by Spring Cloud
See gh-19860
5 years ago
Phillip Webb cbacab5e26 Polish 5 years ago
Phillip Webb 1eee83a07e Update copyright year of changed files 5 years ago
Phillip Webb 234c5033d4 Polish whitespace 5 years ago
Scott Frederick 653cabe2ce Add documentation for gradle bootBuildImage task 5 years ago
Madhura Bhave bceed1305f Jar files added after build time should be added to classpath
Fixes gh-19973
5 years ago
Scott Frederick b281af0b9b Remove adding of existing layers to EphemeralBuilder
Layers were being added to the EphemeralBuilder each time one was
created, but those layers already existed in the base builder image.

Closes gh-19832
5 years ago
Andy Wilkinson 7b0d1eaffc Test the Gradle Plugin against Gradle 6.1.1
Closes gh-19912
5 years ago
Andy Wilkinson 886e7ba38c Merge branch '2.2.x'
Closes gh-19989
5 years ago
Andy Wilkinson a37c170376 Try to make CouchbaseAutoConfigurationIntegrationTests less flakey
Closes gh-19932
5 years ago
Andy Wilkinson 2725264be1 Polishing formatting of DockerApi 5 years ago
Andy Wilkinson 6db5ca97d3 Sort names alphabetically in metrics list response
Closes gh-19934
5 years ago
Andy Wilkinson 28442b5ca5 Lower the minimum required Docker API version to 1.24
Closes gh-19945
5 years ago
Andy Wilkinson 54b3f480b4 Use posix long names when creating tar archive for image building
Fixes gh-19964
5 years ago
Stephane Nicoll bae1d8d780 Polish "Use new AssertJ duration assertions"
See gh-19985
5 years ago
dreis2211 fac6f08ca3 Use new AssertJ duration assertions
See gh-19985
5 years ago
dreis2211 7de3712e56 Upgrade to AssertJ 3.15.0
See gh-19985
5 years ago
Scott Frederick c6a6024062 Stop image building on error from builder
Previously, the image builder used by the build tool plugins ignored
errors from lifecycle phases and continued with subsequent phases.

This commit inspects the status of the builder container after each
lifecycle phase and aborts the image building process if the exit
status of the container after any phase is non-zero.

Fixes #19949
5 years ago
Madhura Bhave dc542b29d8 Merge branch '2.2.x'
Closes gh-19977
5 years ago
Johnny Lim f3aed11714 Update test name in WebFluxTagsTests
See gh-19976
5 years ago
Stephane Nicoll b6c5c3a113 Polish
See gh-19802
5 years ago
Andy Wilkinson 9882e749e9 Merge branch '2.2.x'
Closes gh-19971
5 years ago
Andy Wilkinson 553311c690 Merge branch '2.1.x' into 2.2.x
Closes gh-19970
5 years ago
Andy Wilkinson 140f5e7baf Unwraper handler to find ContextHandler when logging context path
Previously, only the top-level handlers were examined to find the
ContextHandlers and log the context path. If those handlers had
been wrapped, this prevented the ContextHandlers from being found
and an empty string was always logged.

When finding the context path, this commit unwraps the handler held
by a HandlerWrapper until the ContextHandler is found.

Fixes gh-19969
5 years ago
Stephane Nicoll eb852f1ad6 Disable bean overriding by default in ApplicationContextRunner
For consistency with SpringApplication, this commit disables bean
overriding by default in ApplicationContextRunner. Bean overriding can
be enabled again using withAllowBeanDefinitionOverriding.

Closes gh-18019
5 years ago
dreis2211 d8e2349e47 Use Supplier variants of Assert
See gh-19864
5 years ago
Stephane Nicoll 9fbaf7611b Merge branch '2.2.x'
Closes gh-19966
5 years ago
Stephane Nicoll b420bdb3ac Merge branch '2.1.x' into 2.2.x
Closes gh-19965
5 years ago
dreis2211 db2bacc62a Fix Gradle plugin documentation links
See gh-19961
5 years ago
Stephane Nicoll 0516520b7e Polish "Fix scope of CqlSessionBuilder bean"
See gh-19899
5 years ago
Dmytro Nosan c8105413b9 Fix scope of CqlSessionBuilder bean
See gh-19899
5 years ago
Stephane Nicoll 2a01c0262b Merge branch '2.2.x'
Closes gh-19958
5 years ago
Stephane Nicoll 9d0918bb2e Merge branch '2.1.x' into 2.2.x
Closes gh-19957
5 years ago
Pascal Verdage 930ec51968 Fix typo
See gh-19956
5 years ago
dreis2211 741a4f4b2b Fix links in Maven Plugin documentation
See gh-19952
5 years ago
wonwoo 8703c04475 Register Stackdriver auto-config in `META-INF/spring.factories`
See gh-19955
5 years ago
Stephane Nicoll 83b38599b1 Apply consistent timeout for Cassandra integration tests
Closes gh-19802
5 years ago
Madhura Bhave 84ea3d359b Increase timeout for Cassandra tests
Closes gh-19802
5 years ago
Stephane Nicoll 5410148f79 Improve documentation of 'image' parameter of Maven Plugin
Closes gh-19950
5 years ago
Stephane Nicoll 11c5fba355 Remove unnecessary execution-specific configuration in documentation
This documentation moves the specific `build-image` execution
configuration example of the Maven plugin documentation to the general
plugin configuration. This makes sure that it works in most cases and
an execution-specific configuration is not required here anyway.

Closes gh-19946
5 years ago
Stephane Nicoll ed14173865 Polish "Upgrade to Flyway 6.2.0"
See gh-19894
5 years ago
Kedar Joshi 0ae075efd5 Upgrade to Flyway 6.2.0
See gh-19894
5 years ago
Stephane Nicoll 07a1783572 Polish "Introduce appendix section with version properties"
See gh-19898
5 years ago
dreis2211 65394582f6 Introduce appendix section with version properties
With the introduction of Gradle we lost the list of version properties
that were previously in the spring-boot-dependencies POM and were also
linked inside the documentation. This commit introduces an appendix
section in the docs and links the appropriate places to the new section
to restore discoverability.

See gh-19898
5 years ago
dreis2211 b49e01f67a Fix broken documentation links
See gh-19936
5 years ago
Stephane Nicoll 51f6256035 Merge branch '2.2.x' 5 years ago
Stephane Nicoll 9ca15ee00d Fix broken documentation links
See gh-19936
5 years ago
Stephane Nicoll f0e93f0e1d Migrate Couchbase tests to ApplicationContextRunner 5 years ago
Stephane Nicoll a1e6a20915 Simplify default value for Spring Data Couchbase's typeKey
This commit hard codes the default value so that the annotation
processor picks it up. The default value is tested for consistency so
this is acceptable as providing the default value in the metadata
requires to hard code it anyway.
5 years ago
Andy Wilkinson 63b736d1f0 Fix NPE when waiting for named socket path to become available
Fixes gh-19941
5 years ago
Stephane Nicoll af4fdf0d6d Polish "Add support for Spring Data Couchbase custom type key"
See gh-19789
5 years ago
Grudi Radev d1a44dfacd Add support for Spring Data Couchbase custom type key
See gh-19789
5 years ago
Stephane Nicoll 3290313eb7 Fix Docker socket creation on Windows
Closes gh-19908
5 years ago
Andy Wilkinson 66d4319abd Deprecate refresh(ApplicationContext) and add refresh(ConfigurableAC)
refresh can only ever be called with a ConfigurableApplicationContext
and we want to evolve the refresh API to reflect that. This commit
takes the first step by overloading refresh(ApplicationContext) with
a new refresh(ConfigurationApplicationContext) method and deprecating
refresh(ApplicationContext). Where the call to refresh is made, the
argument is cast to ApplicationContext to ensure that
refresh(ApplicationContext) is called. This ensures that any existing
override of the method is still effective.

Closes gh-18519
5 years ago
Stephane Nicoll d1867c1b8b Merge branch '2.2.x'
Closes gh-19930
5 years ago
dreis2211 56ab129077 Upgrade to Testcontainers 1.12.5
See gh-19902
5 years ago
dreis2211 d75de39456 Upgrade to JUnit Jupiter 5.6.0
See gh-19907
5 years ago
Andy Wilkinson 4130638702 Upgrade to SQLite JDBC 3.30.1
Closes gh-19925
5 years ago
Andy Wilkinson 6d9d4fc531 Upgrade to Solr 8.4.1
Closes gh-19924
5 years ago
Andy Wilkinson f4d27f90ba Upgrade to Rabbit AMQP Client 5.8.0
Closes gh-19923
5 years ago
Andy Wilkinson d477084a1e Upgrade to MongoDB 3.12.1
Closes gh-19922
5 years ago
Andy Wilkinson b0831d0b54 Upgrade to Mongo Driver ReactiveStreams 1.13.0
Closes gh-19921
5 years ago
Andy Wilkinson ccabfe7b8c Upgrade to Log4j2 2.13.0
Closes gh-19920
5 years ago
Andy Wilkinson dcbdd0afba Upgrade to JUnit 4.13
Closes gh-19919
5 years ago
Andy Wilkinson 128127820b Upgrade to Jedis 3.2.0
Closes gh-19918
5 years ago
Andy Wilkinson 273dc93e03 Upgrade to InfluxDB Java 2.17
Closes gh-19917
5 years ago
Andy Wilkinson c5ffb25239 Upgrade to Commons Pool2 2.8.0
Closes gh-19916
5 years ago
Andy Wilkinson f7328825ec Upgrade to Commons Codec 1.14
Closes gh-19915
5 years ago
Andy Wilkinson d7e18a714d Upgrade to Artemis 2.11.0
Closes gh-19914
5 years ago
Madhura Bhave 1d62debf11 Fix typo 5 years ago
Stephane Nicoll 0bd03fa278 Fix xml syntax in example
Closes gh-19906
5 years ago
dreis2211 42e34673a6 Remove obsolete files
See gh-19896
5 years ago
Stephane Nicoll cb7e8cdbef Merge branch '2.2.x'
Closes gh-19904
5 years ago
Stephane Nicoll 99330325c0 Merge branch '2.1.x' into 2.2.x
Closes gh-19903
5 years ago
Stephane Nicoll ddcc52a085 Upgrade to Micrometer 1.3.3
Closes gh-19645
5 years ago
Stephane Nicoll 7fd8cce465 Polish "Close TomcatMetrics on shutdown for cleanup"
See gh-19880
5 years ago
Johnny Lim 51dfd528bd Close TomcatMetrics on shutdown for cleanup
See micrometer-metrics/micrometer#1424
See gh-19880
5 years ago
Stephane Nicoll c3d0b9c43a Upgrade to Micrometer 1.1.10
Closes gh-19639
5 years ago
dreis2211 d84ca1149c Test the Gradle Plugin against Gradle 6.1
See gh-19776
5 years ago
Stephane Nicoll 142a0cbb85 Fix warnings in spring-boot-autoconfigure's Kotlin test code
Closes gh-19877
5 years ago
Stephane Nicoll eb9b1972cf Adapt Cassandra documentation of v4 driver upgrade
See gh-18621
5 years ago
Stephane Nicoll 0a6fa64ff9 Fix default value for spring.data.couchbase.contact-points
See gh-18621
5 years ago
Stephane Nicoll df7b3839a1 Add local-datacenter property for Cassandra
The Cassandra v4 driver does not longer have automatic local DC inference
from contact points. As a result, the "local-datacenter" property must be
set with the default load balancing policy and the contact points must
be of that data center.

This commit adds a new property for the local datacenter so that it can
be specified without the use of a customizer.

Closes gh-19779
5 years ago
Andy Wilkinson cbee16318f Fix version references in Maven Plugin's reference documentation
Closes gh-19878
5 years ago
Stephane Nicoll 331ebe90e0 Restore @since on build-image parameters 5 years ago
Stephane Nicoll 63019ab3f1 Add documentation for Maven plugin's build-image support
Closes gh-19830
5 years ago
Stephane Nicoll 6df5e7af4f Add integration tests for Maven plugin's build-image support
See gh-19830
5 years ago
Andy Wilkinson 0a9fe65443 Use line endings on all OSs when writing image config JSON
Previously \r\n was used on Windows and \n was used on other
platforms. This resulted in different JSON content being written to
the archive. As the config's entry name is the SHA-256 hash of its
content, it also resulted in the entry name being different.

This commit updates the JSON that's written into the archive to use
\n line endings, irrespective of the OS on which the image is being
built.

See gh-19828
5 years ago
Andy Wilkinson a0b4cdee44 Make line ending expectations in TotalProgressBarTests OS-independent
See gh-19828
5 years ago
Andy Wilkinson 1d396abec5 Fix bootBuildImage integration tests on Java 13
We build with Java 8, 11, and 13 without specifying target
compatibility for the bytecode of the app that's placed in the image.
The built image uses Java 11 and when the app is built with Java 13
it fails to start as the Java 11 VM can't read that Java 13 bytecode.

This commit configures the app that's placed in the image to be built
with target compatibility of 1.8. This allows it to be compiled with
all version of Java with which we build and to also be compatible
with the JVM that's in the image.

See gh-19831
5 years ago
Andy Wilkinson fccc241ded Remove unnecessary dependency from HATEOAS starter
Closes gh-19874
5 years ago
Stephane Nicoll 105db66553 Polish 5 years ago
Stephane Nicoll e044817fe7 Migrate remaining use of ClassLoader.loadClass to Class.forName
Closes gh-19824
5 years ago
Andy Wilkinson 01a0a54f78 Include layertools in layered jars build with Gradle
Closes gh-19867
5 years ago
Andy Wilkinson 288f5ceaee Fix zip compression of libs in layered jars
Closes gh-19792
5 years ago
Andy Wilkinson 0bd0b2a6c0 Add support for building OCI images using the Gradle plugin
Closes gh-19831
5 years ago
Andy Wilkinson bc452bc094 Polish BootJarTests
See gh-19847
See gh-19792
5 years ago
Stephane Nicoll 95be419527 Use Class.forName rather than ClassLoader.loadClass
This commit changes uses of ClassLoader.loadClass to Class.forName for
consistency with what was initiated in #19342 and better compatibility
with GraalVM.

Closes gh-19824
5 years ago
Scott Frederick 8f30cf916f Upgrade to Kafka 2.4.0 and Spring Kafka 2.4.1
See gh-19764
5 years ago
Stephane Nicoll c80e9f7fc4 Upgrade to Spring Integration 5.3.0.M1
Closes gh-19650
5 years ago
Stephane Nicoll 2b06a423d0 Merge branch '2.2.x'
Closes gh-19873
5 years ago
Stephane Nicoll c77d4c07d7 Merge branch '2.1.x' into 2.2.x
Closes gh-19872
5 years ago
Stephane Nicoll 650e55c242 Polish "Encourage use of SpringBootApplication"
See gh-19855
5 years ago
protyay 3131616c5a Encourage use of SpringBootApplication
See gh-19855
5 years ago
Phillip Webb b5b4a02c61 Automatically add jarmode jars when packaging
Update the `Packager` to automatically add the layertools jarmode jar
when producing a layered jar.

Closes gh-19865
5 years ago
Phillip Webb 2b83edeb27 Fix jarmode support in unexploded jars
Update `LaunchedURLClassLoader` to ensure that the `JarModeLauncher`
is created in the correct classloader.

Prior to this commit the launcher was created by the application
classloader and did not have access to any of the required
`org.springframework` classes.

See gh-19848
5 years ago
Phillip Webb 57db621b70 Polish 5 years ago
Phillip Webb 77bbe089b2 Update copyright year of changed files 5 years ago
Phillip Webb 71ce212f7f Rename spring-boot-layertools
Rename `spring-boot-layertools` to `spring-boot-jarmode-layertools`.

Closes gh-19853
5 years ago
Madhura Bhave 13f7db2d8c Write classpath index file from Gradle plugin
Closes gh-19847
5 years ago
Scott Frederick 462f5635d6 Reinstate JobLauncherCommandLineRunner
This class was mistakenly marked as deprecated in 2.2.0 instead of deprecated
in 2.3.0. This resulted in the class being deleted as part of the 2.3.0
cleanup.

Putting it back in place now with the correct deprecation noted.

Closes gh-19861
5 years ago
Phillip Webb e0013454b5 Use parentheses when declaring dependencies
Update all dependencies declarations to use the form `scope(reference)`
rather than `scope reference`.

Prior to this commit we declared dependencies without parentheses unless
we were forced to add them due to an `exclude`.
5 years ago
Phillip Webb 0209cd3e4c Polish quote form used in Gradle scripts
Replace Gradle single quote strings with the double quote form
whenever possible. The change helps to being consistency to the
dependencies section where mostly single quotes were used, but
occasionally double quotes were required due to `${}` references.
5 years ago
Scott Frederick ed6fbc6bec Remove Spring Cloud Connectors auto-config/starter
The Spring Cloud Connectors project has been deprecated in favor of the
Java CFEnv project. The Boot auto-configuration and starter that support
Connectors were deprecated in Boot 2.2.

This commit removes the Connectors auto-configuration, starter,
and dependency management.

Closes gh-19798
5 years ago
Madhura Bhave df5b0f1163 Add support for layered jars in gradle plugin
Closes gh-19792

Co-authored-by: Andy Wilkinson <awilkinson@pivotal.io>
5 years ago
Scott Frederick 9ff50f903f Default spring.datasource.generate-unique-name to true
This change ensures that each test in a test suite that shares an
application context gets a unique embedded database, to prevent
inconsistent embedded database state between tests.

Closes gh-16747
5 years ago
Phillip Webb 951d0b0fdf Fix exploded jar classloader issues
Fix a bug in `ExplodedURLClassLoader` and merge the code into the
existing `LaunchedURLClassLoader` class. Also polish a few method
names relating to layer support.

See gh-19848
See gh-19767
5 years ago
Phillip Webb e28338d6cd Rename spring-boot-cloudnativebuildpack
Rename the `spring-boot-cloudnativebuildpack` module to
`spring-boot-buildpack-platform` and update the the package
name to `org.springframework.boot.buildpack.platform`.

Closes gh-19851
5 years ago
Scott Frederick 288889685d Change default BootstrapMode for JPA repositories
Change the default `BootstrapMode` for auto-configured `JpaRepositories`
to `BootstrapMode.DEFERRED` to allow the initialization of
`EntityManagerFactory` to be parallelized for increased startup efficiency.

Prior to this change, the default BootstrapMode for all auto-configured
Spring Data repositories was `BootstrapMode.DEFAULT`.

Closes gh-16230
5 years ago
dreis2211 23e87f8266 Treat Java 11+'s NoSuchFileException the same as FileNotFoundException
See gh-19850
5 years ago
Andy Wilkinson adc6444272 Upgrade to Micrometer 1.3.3
Closes gh-19652
5 years ago
Phillip Webb e513fe4666 Add layertools jarmode
Add a new `spring-boot-layertools` module which provides jarmode support
for working with layers. The module works with both classic fat jars,
as well as layered jars.

Closes gh-19849
5 years ago
Phillip Webb 73a42050d6 Add jarmode support to the loader code
Update the `Launcher` class to allow a packaged jar to be  launched in
a different mode. The launcher now checks for a `jarmode` property and
attempts to find a `JarMode` implementation using the standard
`spring.factories` mechanism.

Closes gh-19848
5 years ago
Phillip Webb d5a70688cb Reserve layer names for future use
Update layered jar support so that the name `ext` and any name
starting `springboot` are reserved.

See gh-19767
5 years ago
Phillip Webb 3af4930f75 Add cloudnativebuildpack to dependencies
Update the managed dependencies to include the recently added
`spring-boot-cloudnativebuildpack` module.

See gh-19828
5 years ago
Phillip Webb 7d8f8d47c8 Fix packager code to generate layer index file
Update `Packager` to create the layer index file when repackaging.

Closes gh-19767
5 years ago
Phillip Webb bfd2ca7fd9 Polish Gradle expression references
Expand all expression `$` references to the full `${...}` form.
5 years ago
Andy Wilkinson 89237634c7 Fix classpath used for Gradle Plugin integration tests in Eclipse
See gh-19841
5 years ago
Stephane Nicoll 4d70f58bc8 Polish "Upgrade to Infinispan 10.1.1.Final"
See gh-19790
5 years ago
Scott Frederick 511258f486 Upgrade to Infinispan 10.1.1.Final
See gh-19790
5 years ago
Stephane Nicoll 08967bca3e Merge branch '2.2.x'
Closes gh-19843
5 years ago
Stephane Nicoll 84324c438b Merge branch '2.1.x' into 2.2.x
Closes gh-19842
5 years ago
Stephane Nicoll 34c263a828 Polish actuator dependencies and test resources
This commit removes references of cache infra following the move to
Micrometer. We no longer ships an infinispan specific binder so the
dependency has been removed as well.

Closes gh-19838
5 years ago
Andy Wilkinson 1e72fa202c Rework loader-tools resource generation to work with Buildship
Previously, the generated resources were added as an output to the
main source set. This worked on the command line, but resulted in
the META-INF folder that contains the loader jar not being on the
classpath of downstream projects in Eclipse.

This commit changes loader-tools to add the generated resources
as a srcDir to the main source set. This results in it appearing on
the classpath of other projects in Eclipse that depend on loader-tools
such as the Gradle plugin, thereby allowing its tests to be run in
the IDE as well as on the command line.

Fixes gh-19841
5 years ago
Andy Wilkinson 62a848f1b1 Register JNA's native library integration in LinuxSocketDomain
See gh-19836
5 years ago
dreis2211 991bcf5ce4 Revisit documentation that mentions Gradle "compile" configuration
See gh-19797
5 years ago
Stephane Nicoll d421c63747 Disable integration test on Linux
See gh-19836
5 years ago
Stephane Nicoll ffd7670843 Attempt to make DockerApiIntegrationTests work on Linux 5 years ago
dreis2211 042694bc53 Reinstate running of OutputCaptureRuleTests
See gh-19826
5 years ago
dreis2211 088e79f446 Add UTF-8 encoding to spring-boot-starter-parent POM
See gh-19835
5 years ago
Phillip Webb cb4928ad51 Add build-image support to the maven plugin
Add a new `build-image` goal to the Maven plugin to allow Docker images
to be create via using the cloud native buildpack.

See gh-19830
5 years ago
Phillip Webb 16e6bc89ed Create a new ImagePackager tools class
Pull functionality from `Repackager` into a new `Packager` base class
and develop a variant for Docker image creation. The new `ImagePackager`
class provides a general purpose way to construct jar entries without
being tied to an actual file. This will allow us to link it to a
buildpack and provide application content directly.

Closes gh-19834
5 years ago
Phillip Webb aa1954717c Add cloud native buildpack module
Add a Java implementation of the buildpacks.io specification allowing
projects to be packaged into OCI containers. The `builder` class
provides a Java equivalent of `pack build` command and is based on
the `pack` CLI Go code published at https://github.com/buildpacks/pack.

Closes gh-19828
5 years ago
Andy Wilkinson 29d8b6db5a Merge branch '2.2.x'
Closes gh-19822
5 years ago
Andy Wilkinson f708aace65 Merge branch '2.1.x' into 2.2.x
Fixes gh-19821
5 years ago
Stephane Nicoll 67bba7c64a Merge branch '2.2.x'
Closes gh-19820
5 years ago
Stephane Nicoll 3dba4c8f4e Polish "Document RedisCacheManagerBuilderCustomizer"
See gh-19819
5 years ago
Dmytro Nosan 61d8bacd23 Document RedisCacheManagerBuilderCustomizer
See gh-19819
5 years ago
Andy Wilkinson c85f19b75b Revert "Add profiles directly to the application environment for tests"
This reverts commit 487b9cbf96.

Fixes gh-19788
5 years ago
Andy Wilkinson 235b74ca12 Merge branch '2.2.x'
Closes gh-19814
5 years ago
Andy Wilkinson 7693d332fa Upgrade to Dependency Management Plugin 1.0.9.RELEASE
Closes gh-19783
5 years ago
Stephane Nicoll 4ab19c3cfb Upgrade to Reactor Dysprosium-SR4
Closes gh-19809
5 years ago
Stephane Nicoll ae561ce59b Upgrade to Reactor Dysprosium-SR4
Closes gh-19795
5 years ago
Andy Wilkinson bfdb49f2a2 Retry when findAvailableTcpPort returns an unavailable port
Closes gh-19801
5 years ago
Andy Wilkinson fabd692812 Upgrade to Spring HATEOAS 1.1.0.M1
Closes gh-19649
5 years ago
Andy Wilkinson 60fcc4bab1 Upgrade to Spring AMQP 2.2.3.RELEASE
Closes gh-19651
5 years ago
Andy Wilkinson 408f17f821 Close FileInputStreams in RepackagerTests 5 years ago
Andy Wilkinson 724597d45f Use a centrally managed version for commons-compress 5 years ago
Stephane Nicoll 986bef9cba Upgrade to Spring Data Neumann-M2
Closes gh-19588
5 years ago
Phillip Webb abad00754b Revert "Upgrade to Spring Data Neumann-M1"
This reverts commit e44206e88e.
5 years ago
Phillip Webb fd792cedaf Polish DisabledIfDockerUnavailable
Convert `DisabledIfDockerUnavailable` to be an annotation and make
it slightly less noisy.
5 years ago
Madhura Bhave cf01f9fba0 Add tests for configuring layered jar layout
Closes gh-19768
5 years ago
Stephane Nicoll e44206e88e Upgrade to Spring Data Neumann-M1
Closes gh-19588
5 years ago
dreis2211 dcdadb9aa7 Make Tomcat javadoc link version dependent
See gh-19632
5 years ago
Stephane Nicoll 7270ca5cf4 Polish "Remove deprecated Joda-Time support"
See gh-19699
5 years ago
Scott Frederick c4592e7df8 Remove deprecated Joda-Time support
See gh-19699
5 years ago
Scott Frederick 8f102aee68 Remove deprecated 2.2 code
See gh-19699
5 years ago
Scott Frederick 2e32cb2af1 Remove deprecated HealthIndicator and HealthAggregator 2.2 code
See gh-19699
5 years ago
Scott Frederick 1f1b06dfe2 Remove deprecated Actuator metrics 2.2 code
See gh-19699
5 years ago
Stephane Nicoll 03139f066b Polish "Remove deprecated logging properties"
See gh-19699
5 years ago
Scott Frederick 7031a3b17d Remove deprecated logging properties
See gh-19699
5 years ago
Stephane Nicoll 421c464dd8 Deprecate CachingOperationInvoker#apply
This commit deprecates the only public accessor to
`CacheOperationInvoker` so that we can make the entire class package
private in the next feature release.

Closes gh-19089
5 years ago
Andy Wilkinson d6631a578b Upgrade to Micrometer 1.3.2
Closes gh-19778
5 years ago
Andy Wilkinson 9b5af810dd Merge branch '2.2.x'
Closes gh-19774
5 years ago
Andy Wilkinson 9d5975bd09 Upgrade to Gradle 6.1
Closes gh-19772
5 years ago
Andy Wilkinson 4c8626ea56 Allow Boot's Jetty error handler to be overridden
Fixes gh-19520
5 years ago
Andy Wilkinson a162c8ac0b Revert "Build against Micrometer 1.3.3 snapshots"
The release didn't happen in time for 2.2.3.

See gh-19645
5 years ago
Andy Wilkinson 8f209ced6d Revert "Start building against Micrometer 1.1.10 snapshots"
The release did not happen in time for 2.1.12.

See gh-19649.
5 years ago
Phillip Webb 8fde088574 Add layered jar layout support to the maven plugin
Update the Maven plugin with a new `LAYERED_JAR` layout option.

See gh-19768
5 years ago
Madhura Bhave e9d61bac75 Support generation and loading of layered jars
Support an alternative fat jar format that is more amenable to Docker
image layers.

The new format arranges files in the following structure:

	BOOT-INF/
	  layers/
	    <layer-name #1>
	      /classes
	      /lib
	    <layer-name #2>
	      /classes
	      /lib

The `BOOT-INF/layers.idx` file provides the names of the layers and the
order in which they should be added (starting with the least changed).

The `JarLauncher` class can load layered jars in both fat and exploded
forms.

Closes gh-19767

Co-authored-by: Phillip Webb <pwebb@pivotal.io>
5 years ago
Madhura Bhave 45b1ab46c3 Add classpath index support for exploded archives
Update the `Repackager` class so that an additional `classpath.idx` file
is written into the jar that provides the original order of the
classpath. The `JarLauncher` class now uses this file when running as
an exploded archive to ensure that the classpath order is the same as
when running from the far jar.

Closes gh-9128

Co-authored-by: Phillip Webb <pwebb@pivotal.io>
5 years ago
Phillip Webb ad72f86bdb Polish loader and loader-tools
Polish and refactor `spring-boot-loader` and `spring-boot-loader-tools`
to make it easier to add indexing and layering support.

Closes gh-19766
5 years ago
Andy Wilkinson 56e30258fb Merge branch '2.2.x' 5 years ago
Andy Wilkinson b7e250eb04 Merge branch '2.1.x' into 2.2.x 5 years ago
Andy Wilkinson ebebe09a9d Fix file handle leak in JarFileTests
The JarFile was not being closed which linked a file handle and caused
a test failure on Windows.

The local variable has been renamed as, when declared in a
try-with-resources, Checkstyle was confused by the shadowing of the
jarFile field and required references to jarFile within the try-block
the be prefixed with this.

See gh-19595
5 years ago
Andy Wilkinson 18462796bf Upgrade to Spring Kafka 2.3.5
Closes gh-19613
5 years ago
Andy Wilkinson 072b253b14 Upgrade to Spring Integration 5.2.3
Closes gh-19647
5 years ago
Andy Wilkinson cef9f0f3f5 Upgrade to Spring AMQP 2.2.3
Closes gh-19646
5 years ago
Andy Wilkinson b982bbec37 Upgrade to Spring Kafka 2.2.12.RELEASE
Closes gh-19761
5 years ago
Andy Wilkinson 5c7bd33fed Upgrade to Spring AMQP 2.1.13
Closes gh-19641
5 years ago
Andy Wilkinson 2e8dc83a80 Upgrade to Spring Data Moore-SR4
Closes gh-19648
5 years ago
Andy Wilkinson e6fa8530d7 Upgrade to Spring HATEOAS 1.0.3.RELEASE
Closes gh-19644
5 years ago
Andy Wilkinson 6e93ea3631 Upgrade to Spring Retry 1.2.5.RELEASE
Closes gh-19758
5 years ago
Andy Wilkinson 8d4711617f Upgrade to Slf4j 1.7.30
Closes gh-19757
5 years ago
Andy Wilkinson 5083209447 Upgrade to Postgresql 42.2.9
Closes gh-19756
5 years ago
Andy Wilkinson 89c20a3ada Upgrade to Neo4j Ogm 3.2.6
Closes gh-19755
5 years ago
Andy Wilkinson 443d1a6a21 Upgrade to Liquibase 3.8.5
Closes gh-19754
5 years ago
Andy Wilkinson 17d584fd1d Upgrade to Kotlin Coroutines 1.3.3
Closes gh-19753
5 years ago
Andy Wilkinson 57414039e6 Upgrade to Infinispan 9.4.17.Final
Closes gh-19752
5 years ago
Andy Wilkinson 2989af4cee Upgrade to Hibernate 5.4.10.Final
Closes gh-19751
5 years ago
Andy Wilkinson 911d86d232 Upgrade to Elasticsearch 6.8.6
Closes gh-19750
5 years ago
Andy Wilkinson 7ba8eed286 Upgrade to Jetty 9.4.25.v20191220
Closes gh-19749
5 years ago
Andy Wilkinson 570b1ba630 Upgrade to Groovy 2.5.9
Closes gh-19748
5 years ago
Andy Wilkinson 2d461fef37 Upgrade to Awaitility 4.0.2
Closes gh-19747
5 years ago
Andy Wilkinson 3de1abfacf Upgrade to Httpcore 4.4.13
Closes gh-19746
5 years ago
Andy Wilkinson a77ccf7763 Upgrade to Byte Buddy 1.10.6
Closes gh-19745
5 years ago
Andy Wilkinson d8645bafcd Upgrade to Mysql 8.0.19
Closes gh-19744
5 years ago
Andy Wilkinson 4df55a64ab Upgrade to Undertow 2.0.29.Final
Closes gh-19743
5 years ago
Andy Wilkinson 073d362078 Upgrade to Rxjava2 2.2.17
Closes gh-19742
5 years ago
Andy Wilkinson 285ae01691 Upgrade to Netty 4.1.45.Final
Closes gh-19741
5 years ago
Andy Wilkinson d6f93704e9 Upgrade to Dropwizard Metrics 4.1.2
Closes gh-19740
5 years ago
Andy Wilkinson cb951d1103 Upgrade to Hikaricp 3.4.2
Closes gh-19739
5 years ago
Andy Wilkinson 37e699b391 Upgrade to Unboundid Ldapsdk 4.0.14
Closes gh-19738
5 years ago
Andy Wilkinson bbcf9e2d9f Upgrade to Okhttp3 3.14.6
Closes gh-19737
5 years ago
Andy Wilkinson f47a75a9f9 Upgrade to Hazelcast 3.12.5
Closes gh-19736
5 years ago
Andy Wilkinson 1e9afc6482 Upgrade to Jackson 2.10.2
Closes gh-19735
5 years ago
Andy Wilkinson 589c58a21e Upgrade to Spring Retry 1.2.5.RELEASE
Closes gh-19734
5 years ago
Andy Wilkinson be11ddd4f9 Upgrade to Slf4j 1.7.30
Closes gh-19733
5 years ago
Andy Wilkinson 9989e14b0d Upgrade to Postgresql 42.2.9
Closes gh-19732
5 years ago
Andy Wilkinson 22c127878f Upgrade to Neo4j Ogm 3.1.16
Closes gh-19731
5 years ago
Andy Wilkinson b63f63ff9d Upgrade to Infinispan 9.4.17.Final
Closes gh-19730
5 years ago
Andy Wilkinson c52f2828a8 Upgrade to Hibernate 5.3.15.Final
Closes gh-19729
5 years ago
Andy Wilkinson 501f98c25c Upgrade to Jetty 9.4.25.v20191220
Closes gh-19728
5 years ago
Andy Wilkinson f2e93774e4 Upgrade to Groovy 2.5.9
Closes gh-19727
5 years ago
Andy Wilkinson 8ec2c77b83 Upgrade to Httpcore 4.4.13
Closes gh-19726
5 years ago
Andy Wilkinson 9f979cb03f Upgrade to Mysql 8.0.19
Closes gh-19725
5 years ago
Andy Wilkinson 3f45874245 Upgrade to Undertow 2.0.29.Final
Closes gh-19724
5 years ago
Andy Wilkinson 159be1a78d Upgrade to Rxjava2 2.2.17
Closes gh-19723
5 years ago
Andy Wilkinson f73c4a837c Upgrade to Netty 4.1.45.Final
Closes gh-19722
5 years ago
Andy Wilkinson 64df377600 Upgrade to Unboundid Ldapsdk 4.0.14
Closes gh-19721
5 years ago
Andy Wilkinson 1e6cc4c308 Upgrade to Hazelcast 3.11.6
Closes gh-19720
5 years ago
Andy Wilkinson 727b4d164e Upgrade to Jackson 2.9.10.20200103
Closes gh-19719
5 years ago
Andy Wilkinson 714a187d8f Rework dep mgmt again to avoid consumers picking up strict constraints
This paves the way for publishing Gradle module metadata once the
problem caused by snapshot versions and our two-step publication
process has been addressed.

See gh-19609
5 years ago
Andy Wilkinson 5bcd185ce1 Upgrade to Spring Data Lovelace-SR15
Closes gh-19642
5 years ago
Madhura Bhave aae1151f12 Merge branch '2.2.x'
Closes gh-19714
5 years ago
Madhura Bhave 3bf943d597 Merge branch '2.1.x' into 2.2.x
Closes gh-19713
5 years ago
Madhura Bhave f375277026 Merge pull request #19595 from nosan
* pr/19595:
  Polish "Limit ChronoField values to their range"
  Limit ChronoField values to their range

Closes gh-19595
5 years ago
Madhura Bhave 91e459a5d4 Polish "Limit ChronoField values to their range"
See gh-19595
5 years ago
Dmytro Nosan 9bc68b9877 Limit ChronoField values to their range
See gh-19595
5 years ago
Andy Wilkinson 244b5391bc Fix file handle leak in JarFileArchiveTests
Closes gh-19655
5 years ago
Stephane Nicoll dee71f064b Harmonize Cassandra bean names 5 years ago
Andy Wilkinson aefe52e4d0 Revert "Rework dep management to avoid consumers picking up strict constraints"
This reverts commit b34a311d02 as,
having disabled the publishing of Gradle's module metadata (4f75ab5),
the changes are no longer needed.

See gh-19609
5 years ago
Stephane Nicoll 246f5ce8eb Polish Cassandra v4 support 5 years ago
Stephane Nicoll e5499ca17a Upgrade to Spring Framework 5.2.3
Closes gh-19534
5 years ago
Stephane Nicoll 29163041ae Upgrade to Spring Framework 5.2.3
Closes gh-19531
5 years ago
Stephane Nicoll 717439d3a0 Upgrade to Spring Framework 5.1.13
Closes gh-19530
5 years ago
Brian Clozel 711391cf2f Move spring.http.* config properties namespace
Closes gh-18827
5 years ago
Stephane Nicoll 7f6b01c3d2 Make sure Redis cache prefix includes cache name
This commit maps 'spring.cache.redis.key-prefix' to the new
'prefixCacheNameWith' method introduced in Spring Data Neumann. This
makes sure that the configured prefix includes the cache name.

Closes gh-16676
5 years ago
Phillip Webb 3fe4245ab6 Disable failing TomcatReactiveWebServerFactoryTests
Temporarily disable some tests in `TomcatReactiveWebServerFactoryTests`
that fail since the Netty upgrade.

See gh-19702
5 years ago
Phillip Webb 862462b791 Update copyright year of changed files 5 years ago
Phillip Webb 1e5ba09a3e Merge branch '2.2.x' 5 years ago
Phillip Webb 15652ae4c1 Update copyright year of changed files 5 years ago
Phillip Webb f57281340c Merge branch '2.2.x' 5 years ago
Phillip Webb 3cfbfebbb1 Merge branch '2.1.x' into 2.2.x 5 years ago
Madhura Bhave d1f51e064b Merge branch '2.2.x'
Closes gh-19701
5 years ago
Madhura Bhave e60194c7d5 Ignore trailing slash when recording Web metrics
Fixes gh-18207
5 years ago
Phillip Webb 9bd49562fe Update copyright year of changed files 5 years ago
Scott Frederick c789592e26 Remove support for deprecated Elasticsearch Jest client
Closes #19676
5 years ago
Andy Wilkinson b34a311d02 Rework dep management to avoid consumers picking up strict constraints
Previously, enforcedPlatform dependencies were using to pull in the
constraints defined in spring-boot-dependencies and
spring-boot-parent and applied them strictly so that the constrained
version had to be used. This worked as intended in Spring Boot's own
build but incorrectly enforced those same strict version requirements
on external consumers of Spring Boot's modules.

This commit reworks how Spring Boot defines its internal dependency
management so that platform dependencies are exposed to external
consumers while enforced platform dependencies are using internally.

See gh-19609
5 years ago
Stephane Nicoll be79252fbd Upgrade to Reactor Dysprosium-SR3
Closes gh-19653
5 years ago
Stephane Nicoll b3d32c7214 Upgrade to Reactor Dysprosium-SR3
Closes gh-19643
5 years ago
Stephane Nicoll 405b9b7f93 Merge branch '2.2.x'
Closes gh-19693
5 years ago
dreis2211 852659684b Fix typo in NoSuchBeanDefinitionFailureAnalyzer exception
See gh-19690
5 years ago
Andy Wilkinson 550e042ff0 Merge branch '2.2.x'
Closes gh-19691
5 years ago
Andy Wilkinson 30e9ba4659 Upgrade to Jakarta Validation 2.0.2
Closes gh-19687
5 years ago
Andy Wilkinson 4a76bc8b46 Cope with different exception messages in ValidationException failure analyzer
Fixes gh-19671
5 years ago
Andy Wilkinson 9ca588631e Merge branch '2.2.x'
Closes gh-19689
5 years ago
Andy Wilkinson 27306369c5 Cope with different exception messages in ValidationException failure analyzer
Fixes gh-19671
5 years ago
dreis2211 d454c9653c Disable tests on Java 13 that require an incompatible Gradle version
See gh-19680
5 years ago
Stephane Nicoll f13ff3b939 Merge branch '2.2.x'
Closes gh-19686
5 years ago
Stephane Nicoll 101fd14286 Merge branch '2.1.x' into 2.2.x
Closes gh-19685
5 years ago
Stephane Nicoll 8b8a4ee65e Polish "Make equality checks defensive to null reference"
See gh-19540
5 years ago
liuhuan 6d8b849361 Make equality checks defensive to null reference
See gh-19540
5 years ago
Stephane Nicoll 4796701337 Merge branch '2.2.x'
Closes gh-19683
5 years ago
Stephane Nicoll 66755105ea Merge branch '2.1.x' into 2.2.x
Closes gh-19682
5 years ago
Dmytro Nosan b7e69890f3 Fix retrieval of parent logger in PoolingDataSourceBean
See gh-19637
5 years ago
Stephane Nicoll 738ba15d0c Merge branch '2.2.x'
Closes gh-19679
5 years ago
Stephane Nicoll 0c7dae0d51 Remove duplicate note in Hazelcast section of reference guide
Closes gh-19678
5 years ago
Brian Clozel b780e5247c Remove support for Elasticsearch transport client
The Elasticsearch transport client has been deprecated since Spring Boot
2.2.0 and is about to be removed from Spring Data Elasticsearch and
Elasticsearch itself in their next major releases.

The available REST client support variants are now the preferred way of
using Elasticsearch features.

Closes gh-19668
5 years ago
Andy Wilkinson 648e468c86 Build against Spring HATEOAS 1.1.0.M1 snapshots
See gh-19649
5 years ago
Stephane Nicoll ca1710ee56 Upgrade to Apache Cassandra 4.3.1
See gh-19588
5 years ago
Stephane Nicoll d282eb619f Upgrade to Elasticsearch 7.5.1
See gh-19588
5 years ago
Scott Frederick f268ede3c0 Start building against Spring Data Neumann-M1 snapshots
See gh-19588
5 years ago
Andy Wilkinson e415f759a2 Raise the minimum supported version of Gradle to 5.6
Closes gh-18777
5 years ago
Dmytro Nosan 25838b4794 Support nested requests in MetricsClientHttpRequestInterceptor
Prior to this commit, requests made by `HttpRequestInterceptor`
instances configured on `RestTemplate` would not be recorded
properly.

This commit ensures that nested requests are recorded separately.

See gh-19381
5 years ago
Andy Wilkinson b23b69fea3 Upgrade to Reactor Californium-SR15
Closes gh-19640
5 years ago
Andy Wilkinson c66d2e8039 Relax the Gradle plugin's Kotlin version constraint
Enforcing the spring-boot-dependencies platform makes for too strong
an opinion about the version of Kotlin that should be on the build
script's classpath. It clashes with the version of Kotlin that's
embedded in Gradle and used with Gradle's Kotlin DSL.

This commit switches to a normal platform (rather than an enforced
platform) which allows it to express an opinion about the version of
Kotlin without making it a strict requirement.

Closes gh-19609
5 years ago
Andy Wilkinson c8236a74d8 Upgrade to Spring Security 5.3.0.M1
Closes gh-19654
5 years ago
Andy Wilkinson 39d9e486dd Build against Reactor Dysprosium-SR3 snapshots
See gh-19653
5 years ago
Andy Wilkinson 16fe64ded4 Build against Micrometer 1.3.3 snapshots 5 years ago
Andy Wilkinson 3a2f25c6ff Build against Spring AMQP 2.2.3 snapshots
See gh-19651
5 years ago
Andy Wilkinson 7595336184 Build against Spring Integration 5.3.0.M1 snapshots
See gh-19650
5 years ago
Brian Clozel 18ccbf031a Remove validation starter from web starters
This commit removes the validation starter from the web and
webflux starters - we've reconsidered that choice since many were
not using this feature as part of their default web experience.

Thit commit also changes the default EL implementation for the
Jakarta implementation, aligning all servers on it and simplifying
dependency management (especially exclusions that were required
previously).

Closes gh-19550
5 years ago
Andy Wilkinson 6d16c7d860 Build against Spring Data Moore-SR4 snapshots
See gh-19648
5 years ago
Andy Wilkinson 3faf023da4 Build against Spring Integration 5.2.3 snapshots
See gh-19647
5 years ago
Andy Wilkinson 0509248bf7 Build against Spring AMQP 2.2.3 snapshots
See gh-19646
5 years ago
Andy Wilkinson 803a24d6f4 Build against Micrometer 1.3.3 snapshots
See gh-19645
5 years ago
Andy Wilkinson cedcbaccdb Build against Spring HATEOAS 1.0.3 snapshots
See gh-19644
5 years ago
Andy Wilkinson fbc958e4dd Build against Reactor Dysprosium-SR3 snapshots
See gh-19643
5 years ago
Andy Wilkinson 5e14e33c94 Start building against Micrometer 1.1.10 snapshots
See gh-19639
5 years ago
Andy Wilkinson 2d995e740a Start building against Spring Data Lovelace-SR15 snapshots
See gh-19642
5 years ago
Andy Wilkinson bcaae99fa9 Start building against Spring AMQP 2.1.13 snapshots
See gh-19641
5 years ago
Andy Wilkinson d75a58d789 Start building against Reactor Californium-SR15 snapshots
See gh-19640
5 years ago
Andy Wilkinson 7fda317f0d Merge branch '2.1.x' into 2.2.x
Closes gh-19657
5 years ago
Andy Wilkinson 617ebaf3c0 Isolate Gradle Plugin build from other Gradle configuration
Closes gh-19656
5 years ago
Stephane Nicoll b97b0c1d7b Merge branch '2.2.x'
Closes gh-19635
5 years ago
dreis2211 9fe114ebad Update copyright in legal doc section
See gh-19621
5 years ago
Brian Clozel e0171a5da8 Polish 5 years ago
Madhura Bhave 94ab996597 Merge branch '2.2.x' 5 years ago
Madhura Bhave 1fa83757ce Fix tests
See gh-19599
5 years ago
Brian Clozel 0f567c879d Auto-configure HTTP client builders as Lazy
Prior to this commit, HTTP client builders auto-configured by Spring
Boot would be eagerly instantiating resources, even if those were not
used by the application.

This commit makes the `RestTemplateBuilder` bean as Lazy.
`WebClient.Builder` was already a prototype bean, but some of its
dependencies could consume resources, like the `HttpClientConnector` and
the related infrastructure. This commit makes those pieces lazy.

Note that since those components are meant to help instantiate actual
HTTP clients for application components, making them lazy won't make any
difference at runtime since they'll be used during context refresh, or
they won't be used at all.

Closes gh-19549
5 years ago
Madhura Bhave d510a7bd80 Merge branch '2.2.x'
Closes gh-19622
5 years ago
Madhura Bhave 139995469a Short circuit validation in bind handler if previous exception present
Closes gh-19599
5 years ago
Andy Wilkinson b5ae8b0af5 Disable tests that use Docker when Docker is unavailable
Closes gh-19616
5 years ago
Andy Wilkinson f6e9869156 Use version property to set Boot's version in dependencies bom
See gh-19608
See gh-19609
5 years ago
Andy Wilkinson ce99db1902 Port the build to Gradle
Closes gh-19609
Closes gh-19608
5 years ago
Madhura Bhave abe95fa8a7 Merge branch '2.2.x'
Closes gh-19600
5 years ago
Madhura Bhave 7f0573df49 Fallback on underlying server default when determining outcome tag
This commit also changed the default outcome to SUCCESS

Fixes gh-19367
5 years ago
Madhura Bhave ed4261a61c Merge branch '2.2.x'
Closes gh-19598
5 years ago
Madhura Bhave a017b8905a Adapt field name in ValidationBindHandler to a valid ConfigurationPropertyName
Fixes gh-19580
5 years ago
Andy Wilkinson c584334f5e Merge branch '2.2.x'
Closes gh-19592
5 years ago
Andy Wilkinson ccf4e1ad44 Merge branch '2.1.x' into 2.2.x
Closes gh-19591
5 years ago
dreis2211 2b06f17c69 Fix links to external types in javadoc
See gh-19581
5 years ago
Stephane Nicoll 7d6f4a6666 Merge branch '2.2.x'
Closes gh-19590
5 years ago
Stephane Nicoll 99c64b7cdf Merge branch '2.1.x' into 2.2.x
Closes gh-19589
5 years ago
Matthias Stock adfbbcc0f6 Simplify validation pattern of EndpointId
See gh-19584
5 years ago