- 05 Sep, 2016 4 commits
-
-
Johnny Lim authored
Closes gh-6817
-
Stephane Nicoll authored
-
Stephane Nicoll authored
* pr/6815: Polish `HealthEndpoint` javadoc
-
Vedran Pavic authored
Closes gh-6815
-
- 04 Sep, 2016 1 commit
-
-
Stephane Nicoll authored
See gh-2645
-
- 02 Sep, 2016 3 commits
-
-
Stephane Nicoll authored
Closes gh-6775
-
Andy Wilkinson authored
Post-processing of mocked beans causes a number of problems: - The mock may be proxied for asynchronous processing which can cause problems when configuring expectations on a mock (gh-6573) - The mock may be proxied so that its return values can be cached or so that its methods can be transactional. This causes problems with verification of the expected calls to a mock (gh-6573, gh-5837) - If the mock is created from a class that uses field injection, the container will attempt to inject values into its fields. This causes problems if the mock is being created to avoid the use of one of those dependencies (gh-6663) - Proxying a mocked bean can lead to a JDK proxy being created (if proxyTargetClass=false) as the mock implements a Mockito interface. This can then cause injection failures as the types don’t match (gh-6405, gh-6665) All of these problems can be avoided if a mocked bean is not post-processed. Avoiding post-processing prevents proxies from being created and autowiring from being performed. This commit avoids post-processing by registering mocked beans as singletons as well as via a bean definition. The latter is still used by the context for type matching purposes. Closes gh-6573, gh-6663, gh-6664
-
Stephane Nicoll authored
This commit adds `JdbcTemplateAutoConfiguration` to the list of auto- configurations that are applied with `DataJpaTest`. This effectively allows to inject a `JdbcTemplate` in any `@DataJpaTest` test. Closes gh-6802
-
- 01 Sep, 2016 3 commits
-
-
Phillip Webb authored
-
Phillip Webb authored
-
Stephane Nicoll authored
Closes gh-6780
-
- 31 Aug, 2016 23 commits
-
-
Andy Wilkinson authored
Closes gh-6668
-
Andy Wilkinson authored
Closes gh-6798
-
Andy Wilkinson authored
Closes gh-1309
-
Andy Wilkinson authored
Closes gh-3592
-
Andy Wilkinson authored
* gh-6399: Polish "Provide dependency management for Querydsl" Provide dependency management for Querydsl
-
Andy Wilkinson authored
Closes gh-6399
-
Eddú Meléndez authored
Closes gh-6777 See gh-6399
-
Andy Wilkinson authored
Closes gh-6765
-
Andy Wilkinson authored
Fix mistake introduced during forward merge
-
Andy Wilkinson authored
-
Andy Wilkinson authored
* gh-6759: Polish “Avoid null handler package in JarFile protocol handler registration” Avoid null handler package in JarFile protocol handler registration
-
Andy Wilkinson authored
See gh-6759
-
Phillip Webb authored
Rework commit 4a69755b to remove the need for the ApplicationInfo class. The updated code now uses the auto-configuration class to compute a default persistence unit root location Closes gh-6635
-
hengyunabc authored
Closes gh-6759
-
Andy Wilkinson authored
-
Andy Wilkinson authored
Closes gh-6762
-
Andy Wilkinson authored
Previously, the HAL browser endpoint did not consider the dispatcher servlet’s path (server.servlet-path) when redirecting to browser.html or when updating the API entry point in the served HTML. This commit moves to using ServletUriComponentsBuilder to build the URI for the redirect and the path for the entry point. In the interests of simplicity the logic that sometimes redirected and sometimes forwarded the request has been changed so that it will always perform a redirect. Closes gh-6586
-
Stephane Nicoll authored
This commit improves the run goal to automatically fork the process when devtools is present and log a warning when fork has been disabled via configuration since devtools will not work on a non-forked process. We don't want devtools to kick in for integration tests so the logic has been placed in `RunMojo` requiring a couple of protected methods to override. Closes gh-5137
-
Stephane Nicoll authored
-
Stephane Nicoll authored
Closes gh-6778
-
Stephane Nicoll authored
Closes gh-6770
-
Stephane Nicoll authored
See gh-6792
-
Stephane Nicoll authored
Closes gh-6788
-
- 29 Aug, 2016 4 commits
-
-
Phillip Webb authored
Update @MockBean and @SpyBean to support field generics. Prior to this commit the following fields would fail with a "Duplicate mock definition" exception: @MockBean private IdentityProvider<PasswordIdentity> passwordIdentityProvider; @MockBean private IdentityProvider<Oauth2Identity> oauth2IdentityProvider; Fixes gh-6602
-
Phillip Webb authored
-
Phillip Webb authored
-
Phillip Webb authored
-
- 28 Aug, 2016 1 commit
-
-
Stephane Nicoll authored
-
- 27 Aug, 2016 1 commit
-
-
Stephane Nicoll authored
-