- 02 Feb, 2017 2 commits
-
-
Andy Wilkinson authored
-
Andy Wilkinson authored
Previously, TestRestTemplate applied the root URI to URIs by converting them to a String and then passing the String to the RestTemplate delegate. Being a String, meant that the URI passed through RestTemplate's standard URI template expansion processing using the configured UriTemplateHandler. While this caused the root URI to be applied, it also had the unwanted side-effect of encoding the URI for a second time. This commit updates TestRestTemplate so that, when configured with a RootUriTemplateHandler, it applies the root URI directly and then passes a modified URI to the RestTemplate delegate. Being a URI means that no template expansion is performed and the possible double encoding is avoided. Closes gh-8163
-
- 01 Feb, 2017 7 commits
-
-
Stephane Nicoll authored
* pr/8148: Polish
-
Johnny Lim authored
Closes gh-8148
-
Stephane Nicoll authored
-
Stephane Nicoll authored
* pr/8157: Polish contribution Update copyright header
-
Stephane Nicoll authored
Closes gh-8157
-
Raja Kolli authored
See gh-8157
-
Phillip Webb authored
Update `ConfigurationPropertiesBindingPostProcessor` to use a more exhaustive hierarchy search when checking for `@Validated`. Fixes gh-8150
-
- 31 Jan, 2017 1 commit
-
-
Phillip Webb authored
Update `EndpointMBeanExporter` to ensure that `JmxEndpoint` as well as regular `Endpoint` beans are considered when searching the parent context. Prior to this commit if the same `JmxEndpoint` was registered in the both the child and parent context then the `context=` element of the name wasn't added. Fixes gh-8152
-
- 30 Jan, 2017 6 commits
-
-
Madhura Bhave authored
-
Spring Buildmaster authored
-
Andy Wilkinson authored
Closes gh-8136
-
Andy Wilkinson authored
-
Spring Buildmaster authored
-
Andy Wilkinson authored
The caching behaviour when using ImportAutoConfiguration is covered by tests in spring-boot-test-auto-configuration, specifically by ImportsContextCustomizerFactoryWithAutoConfigurationTests. See gh-7953
-
- 28 Jan, 2017 4 commits
-
-
Phillip Webb authored
* pull7948: Document AWS Elastic Beanstalk deployment
-
Peter Szanto authored
Update the reference documentation to include details of Amazon Elastic Beanstalk. Closes gh-7948
-
Phillip Webb authored
Update `ImportsContextCustomizer` so that whenever possible a more specific cache key is used. Prior to this commit the customizer would generate a key based on *all* annotations on the test class. This has repeatedly caused issues where test classes that should have the same cache key did not due to unrelated annotations. A new `DeterminableImports` interface has been added that can be implemented by `ImportSelector` and `ImportBeanDefinitionRegistrar` implementations that are able to determine their imports early. The existing `ImportAutoConfigurationImportSelector` and `AutoConfigurationPackages` classes have been retrofitted with this interface. Fixes gh-7953
-
Phillip Webb authored
Update `TypeExcludeFiltersContextCustomer` to use filter instances as part of the key, rather than class references. In order to be used in tests, `TypeExcludeFilter` implementations must now implement valid `hashCode` and `equals` methods. Fixes gh-8125
-
- 26 Jan, 2017 20 commits
-
-
Andy Wilkinson authored
-
Andy Wilkinson authored
Previously, ManagementContextConfiguration classes were loaded to allow them to be ordered based on either @Order or implementing Ordered. This had the unwanted side-effect of possibly logging unwanted INFO messages if the reflection-based annotation introspection failed. One cause of this was @ConditionalOnClass when the referenced class was not on the classpath. This commit uses the ASM-based annotation metadata reading to determine the order of a management context configuration class based on the @Order annotation. The classes are then sorted using a standard OrderComparator. Note that Ordering via implemented Ordered is not supported as it cannot be determine without loading the class.
-
Andy Wilkinson authored
-
Stephane Nicoll authored
-
Stephane Nicoll authored
-
Spring Buildmaster authored
-
Stephane Nicoll authored
See gh-7579
-
Stephane Nicoll authored
Closes gh-8113
-
Stephane Nicoll authored
-
Stephane Nicoll authored
Closes gh-8112
-
Andy Wilkinson authored
-
Andy Wilkinson authored
Previously, Hibernate Validator would fail to initialize if it was on the classpath but an EL implementation was not. OnValidatorAvailableCondition protected against this scenario by initializing the validator. The Hibernate Validator shortcoming was addressed in eb222209 (gh-7598). As a result, checking for the precences of the ValidationProvider META-INF/services resource is now sufficient to auto-configure validation. This commit removes OnValidatorAvailableCondition as it is no longer necessary. Closes gh-8110
-
Andy Wilkinson authored
Closes gh-8114
-
Andy Wilkinson authored
Closes gh-7579
-
Stephane Nicoll authored
-
Stephane Nicoll authored
-
Stephane Nicoll authored
See gh-8112
-
Stephane Nicoll authored
Closes gh-8032
-
Phillip Webb authored
Update the open_source_licenses file to reflect the fact that the org.json library is no longer used. See gh-5929
-
Phillip Webb authored
-