Commit Graph

16228 Commits (38bd4bd58cbd5c34c64ca4db65e8797db4f0fb86)
 

Author SHA1 Message Date
Stephane Nicoll 38bd4bd58c Stop associating an Executor bean to Quartz
This commits make sure that the Quartz auto-configuration no longer
associates an `Executor` bean if present in the context as Quartz offers
properties to tune it, which would mutate and lead to unexpected
results.

Closes gh-12823
7 years ago
Stephane Nicoll e4e56bbcc3 Migrate to ApplicationContextRunner 7 years ago
Brian Clozel 3fa8fe85af Deprecate RouterFunctionMetrics
Spring Boot now deploys both annotation-based and functional endpoints
under the same `HttpHandler`; this means the currently auto-configured
`MetricsWebFilter` is instrumenting all endpoints to produce metrics.

There is no need for a WebFlux functional specific support.
This commit removes mentions of `RouterFunctionMetrics` in the docs and
deprecates that class.

Closes gh-12833
7 years ago
Brian Clozel 77be10e7bc Fix "status" metrics tag for error responses
Prior to this commit, the metrics `WebFilter` would handle exceptions
flowing through the pipeline and extract tag information right away.
Since error handling turns the exception information into error HTTP
responses later in the chain, the information extracted from the
response earlier is invalid.
In this case, the "status" information could be "200" whereas error
handlers would later set that status to "500".

This commit delays the tags extraction later in the process, right
before the response is comitted. The happy path is not changed, as
handlers signal that the response is fully taken care of at that point.

Fixes gh-11514
7 years ago
Stephane Nicoll 68c6860d88 Merge pull request #12842 from origoni:document-fix-typo-constructor-name
* pr/12842:
  Fix WebClient example constructor name
7 years ago
DK Lee 1f91ae541f Fix WebClient example constructor name
Closes gh-12842
7 years ago
Madhura Bhave 62a8f60bb3 Second attempt at fixing email notification script 7 years ago
Madhura Bhave 68a9aa56f0 Fix determine email body script 7 years ago
Madhura Bhave 8d4e5cbfb7 No need to create output directory 7 years ago
Madhura Bhave ee8188a19c Send email if build is successful after failure
See gh-10790
7 years ago
Madhura Bhave 4fab679829 Upgrade testcontainers to 1.7.0
Closes gh-12821
7 years ago
Stephane Nicoll f55753c1dc Add reference to Axon Framework 7 years ago
Stephane Nicoll 5cba7400e1 Add reference to Flowable 7 years ago
Stephane Nicoll 3c169b4e0a Fix bean name of EnvironmentEndpointWebExtension
Closes gh-12827
7 years ago
Stephane Nicoll 8d81bcd101 Merge pull request #12825 from thsnoopy:fix-typo
* pr/12825:
  Fix typo
7 years ago
Ken Kwon 16ad34aa19 Fix typo
Closes gh-12825
7 years ago
Madhura Bhave a09a6f223b Reinstate commit status for concourse builds
Fixes gh-10851
7 years ago
Stephane Nicoll e8fac7d9c4 Properly discover endpoints that are proxied
Previously to this commit, if a `@ControllerEndpoint`,
`@RestControllerEndpoint` or `@ServletEndpoint` annotated bean was
proxied, the endpoint wasn't properly detected.

This commit makes sure that annotation retrieval works on the user class
while preserving the get (vs. find) retrieval semantic

Closes gh-12441
7 years ago
Stephane Nicoll 86b96254a1 Migrate to ApplicationContextRunner 7 years ago
Andy Wilkinson d8b2a17e1c Reinstate CI image builds for 2.0.x pipeline 7 years ago
Stephane Nicoll 729f07907f Merge pull request #12812 from izeye:polish-20180410
* pr/12812:
  Polish contribution
  Polish
7 years ago
Stephane Nicoll f83934e192 Polish contribution
Closes gh-12812
7 years ago
Johnny Lim f03849d502 Polish
See gh-12812
7 years ago
Andy Wilkinson a9020df9b9 Remove pull request and CI image builds from 2.0.x pipeline 7 years ago
Andy Wilkinson a50ef54e3b Create 2.0.x branch and CI pipeline 7 years ago
Andy Wilkinson 4fbe0b1283 Add dependency management for Kafka
Closes gh-12815
7 years ago
Phillip Webb 8c4080b914 Merge branch '1.5.x' 7 years ago
Phillip Webb 370915f8f0 Fixup version numbers following release 7 years ago
Spring Buildmaster c10aad165f Next Development Version 7 years ago
Phillip Webb ba85cefce3 Polish 7 years ago
Stephane Nicoll d89048300a Merge branch '1.5.x' 7 years ago
Stephane Nicoll ba5ed5b97c Upgrade to Spring Framework 4.3.16
Closes gh-12806
7 years ago
Andy Wilkinson 8d5b9f37d5 Merge branch '1.5.x' 7 years ago
Andy Wilkinson cd0e4fe945 Sanitize sun.java.command by default
Closes gh-12796
7 years ago
Andy Wilkinson 8b1a101cb6 Merge branch '1.5.x' 7 years ago
Andy Wilkinson a06de4d997 Stop error page filter from commiting response prematurely
Previously, the error page filter used sendError to set the response
status when handling an exception and before forwarding the request
to the error controller. Following the fix for gh-11814, this meant
that the error controller was unable to write its response and the
containers default error page was returned instead.

This commit updates the error page filter to use setStatus rather than
sendError. This ensures that the response has the correct status code
while allowing the error controller to write its body. Tests have
been added to the Tomcat deployment test suite to verify that the
error page filter behaves as intended when dealing with a sent error
and an exception for requests accepting HTML, JSON, or anything.

Closes gh-12787
7 years ago
Stephane Nicoll 1454bce725 Merge pull request #12655 from diamondblack:update-couchbase-deprecated-endpoint
* pr/12655:
  Polish "Replace Couchbase's deprecated methods"
  Replace Couchbase's deprecated methods
7 years ago
Stephane Nicoll 6692301d51 Polish "Replace Couchbase's deprecated methods"
Closes gh-12655
7 years ago
Yulin Qin 3236306e53 Replace Couchbase's deprecated methods
See gh-12655
7 years ago
Stephane Nicoll 92d9479765 Gracefully handle exclusion of DataSourceAutoConfiguration
This commit makes sure that an auto-configuration that requires
`DataSourceProperties` will not break if `DataSourceAutoConfiguration`
has been explicitly excluded.

Closes gh-12512
7 years ago
Madhura Bhave 2f5ab50367 Add @QuartzDataSource for quartz auto-configuration
Closes gh-12755
7 years ago
Spring Buildmaster 5587eac8de Next development version (v2.0.2.BUILD-SNAPSHOT) 7 years ago
Andy Wilkinson c3bf8541d7 Do not rely on findAvailableTcpPort finding an available port
Closes gh-12779
7 years ago
Stephane Nicoll c0af8666c3 Merge branch '1.5.x' 7 years ago
Stephane Nicoll 3634a1d9d1 Fixup version numbers following release 7 years ago
Brian Clozel b23befcaf8 Merge pull request #12605 from jliu666:master
* pr/12605:
  Add docker-api starter to 3rd party list
7 years ago
Jichun Liu 34986ed12f Add docker-api starter to 3rd party list
See https://github.com/jliu666/docker-api-spring-boot

Closes gh-12605
7 years ago
Spring Buildmaster ade4760842 Next Development Version 7 years ago
Andy Wilkinson f335ec00bf Polish 7 years ago
Andy Wilkinson b13b3be2f1 Merge pull request #12776 from Dejan Jankov
* gh-12776:
  Fix broken links to Gradle and Maven tools, and CLI samples in README
7 years ago