Commit Graph

27486 Commits (d16aa3f377f577ca5a52336cda125e7d73312a99)
 

Author SHA1 Message Date
Andy Wilkinson d16aa3f377 Upgrade to Byte Buddy 1.10.14
Closes gh-22859
4 years ago
Stephane Nicoll dc4de06b35 Restore customization of the Couchbase cache manager
With the upgrade to the new Couchbase SDK and the related changes in
Spring Data Couchbase, CacheManagerCustomizer can no longer be used to
customize the Couchbase cache manager as it is an immutable class.

This commit introduces a dedicated callback for the
CouchbaseCacheManagerBuilder that is used by the auto-configuration and
update the documentation to refer to it with a sample usage.

Closes gh-22573
4 years ago
Andy Wilkinson a9200b5b03 Merge branch '2.2.x' into 2.3.x 4 years ago
Andy Wilkinson b2c0c958c9 Upgrade to Dependency Management Plugin 1.0.10.RELEASE
Closes gh-22615
4 years ago
Andy Wilkinson 1270af90c2 Only enable full path optimization when there's one DispatcherServlet
Previously, UrlPathHelper's full path optimization was enabled when
there was a dispatcher servlet mapped to /. The UrlPathHelper is used
across Spring MVC and if there are multiple dispatcher servlets they
all share the sample UrlPathHelper. This meant that any additional
dispatcher servlets mapping to locations other than / would not be able
to map requests correctly as the UrlPathHelper would use the full path,
ignoring the url mapping of the dispatcher servlet.

This commit updates the MVC auto-configuration so that use of the full
path is only enabled if there's a single dispatcher servlet
registration.

Fixes gh-22682
4 years ago
Stephane Nicoll 980ddcffd0 Merge branch '2.2.x' into 2.3.x
Closes gh-22849
4 years ago
Stephane Nicoll afe99ad64c Merge pull request #21615 from Larisho
* pr/21615:
  Polish "Migrate legacy endpoint that have a dash in their id"
  Migrate legacy endpoint that have a dash in their id

Closes gh-21615
4 years ago
Stephane Nicoll dd9c9fd171 Polish "Migrate legacy endpoint that have a dash in their id"
See gh-21615
4 years ago
Gabriele Bianchet-David 0f9f10f97e Migrate legacy endpoint that have a dash in their id
See gh-21615
4 years ago
Stephane Nicoll 2b578296f9 Merge branch '2.2.x' into 2.3.x 4 years ago
Stephane Nicoll 8962d6ca21 Polish 4 years ago
Stephane Nicoll f466734801 Merge branch '2.2.x' into 2.3.x
Closes gh-22847
4 years ago
Stephane Nicoll 8836dc96ac Merge pull request #22777 from davidbilge
* pr/22777:
  Polish "Propagate the cause that led Reactor"s debug agent to fail"
  Propagate the cause that led Reactor"s debug agent to fail

Closes gh-22777
4 years ago
Stephane Nicoll 333af3d4e7 Polish "Propagate the cause that led Reactor"s debug agent to fail"
See gh-22777
4 years ago
davidbilge 12c419054a Propagate the cause that led Reactor"s debug agent to fail
Prior to this commit, DebugAgentEnvironmentPostProcessor throws a
RuntimeException with a generic error message if its initialization
fails. The causing exception is discarded, which makes error analysis
unnecessarily difficult.

This commit attaches the cause to the newly thrown RuntimeException.

See gh-22777
4 years ago
Stephane Nicoll b2e581947f Upgrade to Reactor Dysprosium-SR11
Closes gh-22841
4 years ago
Stephane Nicoll 32ed34481a Merge pull request #22760 from ksmilek-wr
* pr/22760:
  Fix wrong reference in `ReadinessStateHealthIndicator` javadoc

Closes gh-22760
4 years ago
ksmilek 5cb1b41355 Fix wrong reference in `ReadinessStateHealthIndicator` javadoc
See gh-22760
4 years ago
Stephane Nicoll dea2cc480d Start building against Spring Data Neumann SR3 snapshots
See gh-22844
4 years ago
Stephane Nicoll 1fdc6017ae Start building against Spring Kafka 2.5.5 snapshots
See gh-22843
4 years ago
Stephane Nicoll 4d95fb560b Start building against Spring AMQP 2.2.10 snapshotsEnabled
See gh-22842
4 years ago
Stephane Nicoll 2a3d45e5c4 Start building against Reactor Dysprosium-SR11 snapshots
See gh-22841
4 years ago
Andy Wilkinson 181e3b34ba Isolate Maven Plugin's integration tests from repo.spring.io
Previously, the Maven plugin integration tests used a settings.xml file
that defined https://repo.spring.io/snapshot as a repository. This
allowed them to resolve snapshots of the plugin's Spring Framework
dependencies but it had the unfortunate side-effect of also allowing
them to resolve snapshots of other Spring Boot modules from Artifactory
rather than using those currently being built.

This commit replaces the repositories in settings.xml with a Gradle
task that resolves the necessary dependencies and populates a local
repository with the dependencies' jars and pom files. This is achieved
using a ComponentMetadataRule that creates a custom variant of each
dependency that includes its pom file, inspired by the example in
gradle/gradle/#11449. A configuration that extends the
runtimeClasspath configuration and select the custom variant via its
attribute is then used to resolve the jars and pom files of the runtime
classpath such that they can then be used to populate the local
repository.

Closes gh-22828
4 years ago
Brian Clozel fea535d176 Update HTTP/2 auto-configuration for Jetty
Prior to this commit, the HTTP/2 server auto-configuration for Jetty
would require Conscrypt as a hard dependency.

This commit updates the auto-configuration for more flexibility and now
allows the following deployments:

* JDK9+ with the JDK ALPN implementation
* JDK8u252+ with the backported ALPN implementation
* Conscrypt with no JDK requirement

The auto-configuration now improves detection and guides developers in
case there is a missing `jetty-alpn-*-server` dependency.

The reference docs in the HOWTO section has been updated accordingly.

Closes gh-22188
4 years ago
Andy Wilkinson be32843dab Configure generated snippets as inputs to the Asciidoctor tasks
Closes gh-22819
4 years ago
Andy Wilkinson 8f27ad9726 Remove version from name of Ant-built jar
Previously, the project version was included in the name of the
Ant-built jar and the integration test assumed that there would be a
single jar in the output directory. This assumption did not hold true
if the project's version had changed and the project had been built
again without a clean. This resulted in two jars, one for the previous
version and one for the current version, in the output directory. This
caused a test failure.

This commit updates the build.xml to remove the version from the name
of the Ant-built jar and updates the integration test to find it.

Closes gh-22782
4 years ago
Andy Wilkinson 95b504ccad Make processResources out-of-date on version change
Closes gh-22780
4 years ago
Madhura Bhave 3f82ca40e2 Merge branch '2.2.x' into 2.3.x
Closes gh-22774
4 years ago
Madhura Bhave f39f33bb8d Fix documentation related to the health endpoint's inner details
Closes gh-22490
4 years ago
Andy Wilkinson d064ccabc4 Ensure Maven plugin descriptor inputs are out-of-date on version change
Closes gh-22766
4 years ago
Phillip Webb 4924573074 Merge branch '2.2.x' into 2.3.x 4 years ago
Phillip Webb fdd6a89a61 Polish 4 years ago
Andy Wilkinson 11d1002f15 Merge branch '2.2.x' into 2.3.x
Closes gh-22767
4 years ago
Andy Wilkinson 07699ea6ff Retry when dependency resolution fails in ModifiedClassPathClassLoader
Closes gh-22763
4 years ago
Andy Wilkinson 327138c227 Merge branch '2.2.x' into 2.3.x 4 years ago
Andy Wilkinson 63f7c75b61 Polish 4 years ago
Andy Wilkinson c121f9f61f Merge branch '2.2.x' into 2.3.x
Closes gh-22758
4 years ago
Andy Wilkinson b53f54f2cf Add tip about using AopTestUtils.getTargetProxy with proxied spy beans
Closes gh-22281
4 years ago
Stephane Nicoll 235f5e1103 Upgrade Java 8 version in CI image
Closes gh-22754
4 years ago
Stephane Nicoll 895383e182 Merge branch '2.2.x' into 2.3.x 4 years ago
Stephane Nicoll 6232ece61d Upgrade Java 8 version in CI image
Closes gh-22752
4 years ago
Stephane Nicoll 63718d4e72 Merge branch '2.1.x' into 2.2.x 4 years ago
Stephane Nicoll 64264b5240 Upgrade Java 8 version in CI image
Closes gh-22755
4 years ago
Andy Wilkinson a160755da5 Merge branch '2.2.x' into 2.3.x
Closes gh-22748
4 years ago
Andy Wilkinson bfe250e5d3 Clarify docs on schema and data SQL scripts with Flyway and Liquibase
Closes gh-20920
4 years ago
Andy Wilkinson c40835eba0 Merge branch '2.2.x' into 2.3.x
Closes gh-22746
4 years ago
Andy Wilkinson 71ffb44a3c Remove WebClient's in-memory buffer size limit for endpoint tests
Previously, the endpoints' responses could occasionally exceed
WebClient's in-memory buffer limt, for example if the threads endpoint
was reporting a large number of threads or the threads had large
stacks.

This commit disables WebClient's in-memory buffer size limit so that
the tests passing is not dependent on the size of the endpoints'
responses.

Closes gh-22743
4 years ago
Stephane Nicoll cccf9c24e2 Merge pull request #22740 from izeye
* pr/22740:
  Polish

Closes gh-22740
4 years ago
Johnny Lim 1017774ed5 Polish
See gh-22740
4 years ago
Andy Wilkinson 94644f3814 Merge branch '2.2.x' into 2.3.x
Closes gh-22737
4 years ago