- 04 Apr, 2018 8 commits
-
-
Andy Wilkinson authored
-
Andy Wilkinson authored
Previously, ErrorPageFilter's ErrorResponseWrapper would delaying sending an error back to the client. In cases where the response's Writer or OutputStream was accessed and flushed or closed, this could lead to the wrong response status being sent. This commit updates ErrorResponseWrapper so that it will send any capture error to the client before returning the response's Writer or OutputStream. This ensures that closing the Writer or OutputStream does not cause the response to be committed with the default response status rather than the previously captured error status. Such responses will now include the correct status, but will not be forwarded to the error controller. Such forwarding is not possible due to the response already having been committed. Closes gh-11814
-
Andy Wilkinson authored
Closes gh-12681
-
Brian Clozel authored
This commit ensures that `WebFluxTags` not only relies on `BEST_MATCHING_PATTERN_ATTRIBUTE` or request URI to provide the "uri" tag information. To avoid cardinality explosion, HTTP not found and redirects are assigned fixed uri tags. Closes gh-12685
-
Stephane Nicoll authored
-
Stephane Nicoll authored
Closes gh-12750
-
Stephane Nicoll authored
-
Stephane Nicoll authored
Closes gh-12739
-
- 03 Apr, 2018 32 commits
-
-
Madhura Bhave authored
-
Madhura Bhave authored
Fixes gh-12728
-
Stephane Nicoll authored
Closes gh-12340
-
Stephane Nicoll authored
Closes gh-12698
-
Stephane Nicoll authored
-
Stephane Nicoll authored
Closes gh-12344
-
Madhura Bhave authored
See if that fixes intermittent NoClassDefFoundError. See gh-12689
-
Andy Wilkinson authored
-
Andy Wilkinson authored
Closes gh-12748
-
Andy Wilkinson authored
Closes gh-12746
-
Andy Wilkinson authored
Closes gh-12745
-
Andy Wilkinson authored
Closes gh-12744
-
Andy Wilkinson authored
-
Andy Wilkinson authored
Closes gh-12734
-
Andy Wilkinson authored
Closes gh-12736
-
Andy Wilkinson authored
Closes gh-12735
-
Stephane Nicoll authored
* pr/12711: Remove outdated reference to `EnvironmentTestUtils`
-
Rui Figueira authored
Documentation still refers to the now deprecated `EnvironmentTestUtils` class instead of `TestPropertyValues` for setting environment values in tests. This commit replaces it with `TestPropertyValues` and provides an equivalent code example. Closes gh-12711
-
Andy Wilkinson authored
-
Andy Wilkinson authored
* gh-12715: Polish "Use modifiable set for @ServletComponentScan with no packages" Use modifiable set for @ServletComponentScan with no packages
-
Andy Wilkinson authored
Closes gh-12715
-
Wenwei Liao authored
Previously, when a project contained multiple `@ServletComponentScan` annotated classes in classpath, and at least one annotation don't explicitly specify `basePackages` and `basePackageClass` attribute, the application could fail to start with an UnsupportedOperationException. The failure occurred due to the creating of an unmodifiable set when no base packages are configured and a subsequent attempt to add base packages to that sit. This commit fixes the issue by removing the use of an unmodifiable set when `@ServletComponentScan` with no base packages in processed before any other `@ServletComponentScan` annotations. See gh-12715
-
Stephane Nicoll authored
This commit updates WebTestClientAutoConfiguration to only create a WebTestClient when running a WebFlux-based application as mocking the context only works with that mode at the moment. Closes gh-12318
-
Stephane Nicoll authored
* pr/12683: Polish "Remove HierarchicalNameMapper as a configured @Bean" Remove HierarchicalNameMapper as a configured @Bean
-
Stephane Nicoll authored
Closes gh-12683
-
Jon Schneider authored
HierarchicalNameMapper is not a component that can be shared amongst multiple monitoring systems. See gh-12683
-
Stephane Nicoll authored
Closes gh-12557
-
Stephane Nicoll authored
* pr/12725: Remove destroyMethod attribute in @Bean for MeterRegistry
-
Johnny Lim authored
Closes gh-12725
-
Andy Wilkinson authored
-
Andy Wilkinson authored
Closes gh-12731
-
Andy Wilkinson authored
Closes gh-12730
-