Clarify that this project does not provide a Web UI

This commit removes any reference to start.spring.io in the reference
guide, moving the user guide there in the process.

Closes gh-1100
This commit is contained in:
Stephane Nicoll
2020-11-16 15:10:17 +01:00
parent d18dcab14f
commit 2cd85513da
10 changed files with 134 additions and 366 deletions

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2012-2019 the original author or authors.
* Copyright 2012-2020 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -38,10 +38,10 @@ import org.springframework.test.context.TestExecutionListeners.MergeMode;
@TestExecutionListeners(mergeMode = MergeMode.MERGE_WITH_DEFAULTS,
listeners = MockMvcClientHttpRequestFactoryTestExecutionListener.class)
@AutoConfigureMockMvc
@AutoConfigureRestDocs(outputDir = "target/snippets", uriPort = 80, uriHost = "start.spring.io")
@AutoConfigureRestDocs(outputDir = "target/snippets", uriPort = 80, uriHost = "start.example.com")
public abstract class AbstractInitializrControllerIntegrationTests extends AbstractInitializrIntegrationTests {
protected String host = "start.spring.io";
protected String host = "start.example.com";
@Autowired
private MockMvcClientHttpRequestFactory requests;

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2012-2019 the original author or authors.
* Copyright 2012-2020 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -37,7 +37,7 @@ public class CommandLineMetadataControllerSslIntegrationTests extends AbstractIn
void forceSsl() {
ResponseEntity<String> response = invokeHome("curl/1.2.4", "*/*");
String body = response.getBody();
assertThat(body).as("Must force https").contains("https://start.spring.io/");
assertThat(body).as("Must force https").contains("https://start.example.com/");
assertThat(body).as("Must force https").doesNotContain("http://");
}