- 07 Nov, 2019 7 commits
-
-
Andy Wilkinson authored
-
Andy Wilkinson authored
See gh-18844
-
Andy Wilkinson authored
Closes gh-18844
-
Andy Wilkinson authored
Closes gh-18913
-
Andy Wilkinson authored
Previously, whitespace in between the keys and values in the JSON was not trimmed correctly in BasicJsonParser which lead to it incorrectly parsing JSON with whitespace between the opening of a list ([) and the opening of a map ({). This commit updates the parser to trim unwanted whitespace and adds a test to AbstractJsonParserTests to verify the whitespace handling behaviour across all JsonParser implementations. Closes gh-18911
-
Andy Wilkinson authored
Closes gh-18912
-
Andy Wilkinson authored
Previously @ServletComponentScan did not work when there was a component index on the classpath as it made an assumption about the concrete type of the BeanDefinitions produced by scanning that does not hold true when an index is present. This commit updates the scanning and the handlers to correct the assumpution by working with a bean definition type that is produced by scanning both when there is and when there is not an index present. To prevent the problem from reoccuring, a test that uses and index has been added and the import of ScannedGenericBeanDefinition is now prohibited by Checkstyle. Closes gh-18910
-
- 06 Nov, 2019 18 commits
-
-
Spring Buildmaster authored
-
Madhura Bhave authored
Closes gh-18906
-
Madhura Bhave authored
Fixes gh-18901
-
Andy Wilkinson authored
Closes gh-18903
-
Andy Wilkinson authored
Previously, as soon as the distribution of a release from Artifactory to Bintray had been initiated we would start checking if it was complete. This created a race condition between the distribution being created and us checking if it was complete. If the check won the race and happened before the creation, Bintray would respond with a 404. This commit updates BintrayService to wait for up to 5 minutes for the distribution to be created on Bintray. Once it has been created we then wait for up to 40 minutes for it to be complete as we did before. The use of Awaitility has been introduced in this commit to simplify the logic required to wait for the distribution's creation and completion. Closes gh-18902
-
Stephane Nicoll authored
This commit makes sure that the health endpoint returns a default health status when no contributors are available. Previously, it was returning `null` which leads to a 404 when exposed via HTTP. Closes gh-18676
-
Stephane Nicoll authored
-
Spring Buildmaster authored
-
Stephane Nicoll authored
Closes gh-18898
-
Stephane Nicoll authored
-
Stephane Nicoll authored
Closes gh-18897
-
Stephane Nicoll authored
Closes gh-18896
-
Stephane Nicoll authored
* pr/18855: Polish "Polish comment in pom.xml" Polish comment in pom.xml Closes gh-18855
-
Stephane Nicoll authored
See gh-18855
-
Nick authored
See gh-18855
-
Stephane Nicoll authored
* pr/18883: Use try-with-resources blocks in JarFileArchiveTests Closes gh-18883
-
Johnny Lim authored
See gh-18883
-
Madhura Bhave authored
Prior to this commit constructor bound configuration properties could not be mocked because it would fail validation from ConfigurationPropertiesBeanDefinitionValidator. The MockitoPostProcessor registers the mocked bean as a singleton and validation can be skipped if a singleton for the type is found in the bean factory. Fixes gh-18652
-
- 05 Nov, 2019 15 commits
-
-
Madhura Bhave authored
This commit fixes a few bugs related to constructor binding. The ContructorFilter on the Bindable has been replaced with a Binder level BinderConstructorProvider so that it can be used to determine the constructor to use for nested properties as well. Fixes gh-18810 Fixes gh-18670 Closes gh-18685 Closes gh-18894 Co-authored-by:
Phillip Webb <pwebb@pivotal.io>
-
Phillip Webb authored
Closes gh-18892
-
Andy Wilkinson authored
Closes gh-18889
-
Andy Wilkinson authored
Previously, when the configuration properties annotation processor encountered a property that was the same as an outer type that had already been processed, it would fail with a stack overflow error. This commit introduces the use of a stack to track the types that have been processed. Types that have been seen before are skipped, thereby preventing a failure from occurring. We do not fail upon encountering a recursive type to allow metadata generation to complete. At runtime, the recursive property will not cause a problem if it is not bound. Fixes gh-18365
-
Andy Wilkinson authored
Closes gh-18887
-
Andy Wilkinson authored
Previously, the documentation did not provide any guidance on using Jersey alongside Spring MVC or any other web framework. This improves the documentation in two ways: 1. It notes that, in the presence of both Jersey and Spring MVC, the Actuator will prefer Spring MVC for exposing HTTP endpoints. 2. It adds a how-to describing how to configure Jersey to forward requests for which it has no handler on to the rest of the filter chain. When Spring MVC is the other framework, this allows them to be handled by its dispatcher servlet. Closes gh-17523
-
Andy Wilkinson authored
Closes gh-18877
-
Andy Wilkinson authored
This commit is a continuation of the work done in 987a5f81. In addition to developers and licenses that are covered in the earlier commit, a number of other settings are still inherited from the starter parent. This commit updates the documentation to show them being overridden as well. Closes gh-18532
-
Stephane Nicoll authored
Closes gh-18885
-
Stephane Nicoll authored
* pr/18884: Reduce method visibility in EndpointDiscovererTests Closes gh-18884
-
dreis2211 authored
See gh-18884
-
Stephane Nicoll authored
* pr/18808: Polish "Support amqps:// URIs in spring.rabbitmq.addresses" Support amqps:// URIs in spring.rabbitmq.addresses Closes gh-18808
-
Stephane Nicoll authored
See gh-18808
-
Mark Pollack authored
See gh-18808 Co-Authored-By:
Bryan Kelly <xyloman@gmail.com>
-
Andy Wilkinson authored
-