Merge pull request #1266 from spring-operator/polish-urls-remaining-master

URL Cleanup
This commit is contained in:
Marcin Grzejszczak
2019-03-29 11:45:59 +01:00
committed by GitHub
9 changed files with 26 additions and 26 deletions

View File

@@ -38,13 +38,13 @@ public class SampleController {
@RequestMapping("/")
public String hi() throws InterruptedException {
Thread.sleep(this.random.nextInt(1000));
String s = this.restTemplate.getForObject("http://zipkin/hi2", String.class);
String s = this.restTemplate.getForObject("https://zipkin/hi2", String.class);
return "hi/" + s;
}
@RequestMapping("/call")
public String traced() {
String s = this.restTemplate.getForObject("http://zipkin/call", String.class);
String s = this.restTemplate.getForObject("https://zipkin/call", String.class);
return "call/" + s;
}