DATAREST-1567 - Polishing.

Tweaked test setups to work without the explicit component scanning.

Original pull request: #382.
This commit is contained in:
Oliver Drotbohm
2020-09-25 09:18:50 +02:00
parent 8ff438678d
commit 25cfb6ecb9
7 changed files with 71 additions and 31 deletions

View File

@@ -45,15 +45,14 @@ class HalExplorerConfiguration implements StaticResourceProvider {
}
/**
* The controller that exposes the {@link HalExplorer}.
* The controller that exposes the {@link HalExplorer}. TODO: Maybe register this one directly on mvc via
* WebMvcConfigurer.addViewCntroller(…)?
*
* @return never {@literal null}.
* @since 3.4
*/
@Bean
HalExplorer halExplorer() {
// TODO: maybe register this one directly on mvc via WebMvcConfigurer.addRedirectVieController()
return new HalExplorer();
}
}