- 17 May, 2016 5 commits
-
-
Stephane Nicoll authored
-
Stephane Nicoll authored
-
Phillip Webb authored
Update `UserInfoTokenServices` to use a PrincipalExtractor interface to extract the principal. Fixes gh-5186
-
Phillip Webb authored
Update HttpEncodingProperties to offer explicit `force-request` and `force-reponse` properties in additional to the existing `force` property. Closes gh-5459
-
Phillip Webb authored
Update EndpointWebMvcAutoConfiguration so that ApplicationFailedEvents cause the management context to close. Prior to this commit if an application failed to start (for example because `server.port` was already in use) the management context would remain open and the application would not exit. Fixes gh-5388
-
- 16 May, 2016 11 commits
-
-
Phillip Webb authored
Update MockitoPostProcessor to filter bean names that match `ScopedProxyUtils.isScopedTarget` from the candidates list. Fixes gh-5724
-
Phillip Webb authored
* pr/5972: Fix Mockito tests to align with name and comments
-
Johnny Lim authored
Fixup Mockto tests where the test implementation didn't align with the name of the test or the test Javadoc. Closes gh-5972
-
Phillip Webb authored
Update ResetMocksTestExecutionListener to only attempt a mock reset when a singleton has actually been created. Fixes gh-5870
-
Phillip Webb authored
Update TestRestTemplate so that it no longer directly extends RestTemplate. Prior to this commit it was possible that TestRestTemplate could interfere with user defined RestTemplate beans. TestRestTemplate offers the same methods as RestTemplate so should be a drop-in replacement. If access is needed to the actual underlying template the `getRestTemplate()` method should be used. Fixes gh-5915
-
Andy Wilkinson authored
Hibernate 5.1 logs an ugly but benign exception when using an in-memory HSQL database when it tries to drop a non-existent constraint. This commit changes the Spring Data REST sample to use H2 rather than HSQL. This prevents the unwanted exception from occurring as Hibernate's H2 dialect returns false from dropConstraints.
-
Phillip Webb authored
-
Dave Syer authored
-
Dave Syer authored
Instead of using a @Bean, it is better to use an opaque factory for an internal dependency that users are not going to want in the context. OAuth2RestTemplate is a common enough bean type that creating on in autoconfig makes it hard for users to add their own for business use. See gh-5967
-
Stephane Nicoll authored
* pr/5975: Remove unchecked casts
-
Casey Scarborough authored
Closes gh-5975
-
- 14 May, 2016 6 commits
-
-
Phillip Webb authored
-
Phillip Webb authored
Improve the message thrown when a @PropertyMapping is used in combination with a @Component to include the actual annotations that are causing the problem. Fixes gh-5897
-
Phillip Webb authored
Deprecate `PropertiesConfigurationFactory.setProperties()` since it was only being used in tests. Fixes gh-5930
-
Phillip Webb authored
Fixes gh-5933
-
Johnny Lim authored
The `if` in registerSpies() is not required as it's covered by the Assert check. Closes gh-5889
-
Phillip Webb authored
-
- 13 May, 2016 18 commits
-
-
Vedran Pavic authored
Closes gh-5883
-
Andy Wilkinson authored
Closes gh-5934
-
Stephane Nicoll authored
This commit removes the creation of a `@Primary` `OAuth2RestTemplate` and updates the documentation accordingly. Once #5507 is implemented we could revisit this area to provide a way for users to easily create such a bean. Closes gh-5202
-
Andy Wilkinson authored
Closes gh-5965
-
Stephane Nicoll authored
Closes gh-1440
-
Andy Wilkinson authored
Closes gh-5964
-
Andy Wilkinson authored
Closes gh-5963
-
Andy Wilkinson authored
Closes gh-5962
-
Andy Wilkinson authored
Closes gh-5961
-
Andy Wilkinson authored
Closes gh-5960
-
Andy Wilkinson authored
Closes gh-5959
-
Andy Wilkinson authored
Closes gh-5958
-
Andy Wilkinson authored
Closes gh-5957
-
Andy Wilkinson authored
Closes gh-5955
-
Andy Wilkinson authored
Closes gh-5953
-
Andy Wilkinson authored
Closes gh-5952
-
Andy Wilkinson authored
Closes gh-5951
-
Andy Wilkinson authored
Closes gh-5950
-