Fix initial Java migration

This commit fixes several issues with the initial java migration.

On MacOS, the name of the temp directory can be `T` and the new tgz API
requires a parent folder whose name has at least 3 characters.

The Selenium tests require a more precise element to show the advanced
section.

The integration tests were generation the docs snippet on the wrong
accept header.
This commit is contained in:
Stephane Nicoll
2017-02-08 11:32:28 +01:00
parent ec5a7da507
commit 2c0269c96b
4 changed files with 19 additions and 11 deletions

View File

@@ -19,7 +19,6 @@ package io.spring.initializr.service
import java.util.concurrent.Executor
import io.spring.initializr.metadata.InitializrMetadataProvider
import io.spring.initializr.util.GroovyTemplate
import io.spring.initializr.web.project.LegacyStsController
import org.springframework.boot.SpringApplication
@@ -47,9 +46,8 @@ class InitializrService {
@Bean
@SuppressWarnings("deprecation")
LegacyStsController legacyStsController(InitializrMetadataProvider metadataProvider,
ResourceUrlProvider resourceUrlProvider,
GroovyTemplate groovyTemplate) {
new LegacyStsController(metadataProvider, resourceUrlProvider, groovyTemplate)
ResourceUrlProvider resourceUrlProvider) {
new LegacyStsController(metadataProvider, resourceUrlProvider)
}
@Configuration