From 647d35cafb9d8502370a2776e911398b4ddc313b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christian=20R=C3=A4del?= Date: Tue, 23 Aug 2016 02:51:49 +0200 Subject: [PATCH] Small formatting fixes. --- .../spring/cloud/hystrix/rest/consumer/GreetingClient.java | 7 +++---- .../src/main/resources/application.properties | 2 +- .../src/main/resources/templates/greeting-view.html | 2 +- .../src/main/resources/application.properties | 2 +- .../src/main/resources/templates/greeting-view.html | 2 +- .../src/main/resources/application.properties | 2 +- 6 files changed, 8 insertions(+), 9 deletions(-) diff --git a/spring-cloud-hystrix/spring-cloud-hystrix-feign-rest-consumer/src/main/java/com/baeldung/spring/cloud/hystrix/rest/consumer/GreetingClient.java b/spring-cloud-hystrix/spring-cloud-hystrix-feign-rest-consumer/src/main/java/com/baeldung/spring/cloud/hystrix/rest/consumer/GreetingClient.java index d12ef2a583..b715e8c052 100644 --- a/spring-cloud-hystrix/spring-cloud-hystrix-feign-rest-consumer/src/main/java/com/baeldung/spring/cloud/hystrix/rest/consumer/GreetingClient.java +++ b/spring-cloud-hystrix/spring-cloud-hystrix-feign-rest-consumer/src/main/java/com/baeldung/spring/cloud/hystrix/rest/consumer/GreetingClient.java @@ -6,10 +6,9 @@ import org.springframework.stereotype.Component; import org.springframework.web.bind.annotation.PathVariable; @FeignClient( - name = "rest-producer", - url = "http://localhost:9090", - //path = "/greeting/{username}", - fallback = GreetingClient.GreetingClientFallback.class + name = "rest-producer", + url = "http://localhost:9090", + fallback = GreetingClient.GreetingClientFallback.class ) public interface GreetingClient extends GreetingController { @Component diff --git a/spring-cloud-hystrix/spring-cloud-hystrix-feign-rest-consumer/src/main/resources/application.properties b/spring-cloud-hystrix/spring-cloud-hystrix-feign-rest-consumer/src/main/resources/application.properties index 8d51d0c619..3cf12afeb9 100644 --- a/spring-cloud-hystrix/spring-cloud-hystrix-feign-rest-consumer/src/main/resources/application.properties +++ b/spring-cloud-hystrix/spring-cloud-hystrix-feign-rest-consumer/src/main/resources/application.properties @@ -1 +1 @@ -server.port=8082 \ No newline at end of file +server.port=8082 diff --git a/spring-cloud-hystrix/spring-cloud-hystrix-feign-rest-consumer/src/main/resources/templates/greeting-view.html b/spring-cloud-hystrix/spring-cloud-hystrix-feign-rest-consumer/src/main/resources/templates/greeting-view.html index 6cb70edf2d..302390fde0 100644 --- a/spring-cloud-hystrix/spring-cloud-hystrix-feign-rest-consumer/src/main/resources/templates/greeting-view.html +++ b/spring-cloud-hystrix/spring-cloud-hystrix-feign-rest-consumer/src/main/resources/templates/greeting-view.html @@ -6,4 +6,4 @@

- \ No newline at end of file + diff --git a/spring-cloud-hystrix/spring-cloud-hystrix-rest-consumer/src/main/resources/application.properties b/spring-cloud-hystrix/spring-cloud-hystrix-rest-consumer/src/main/resources/application.properties index a3ac65cee5..4c00e40deb 100644 --- a/spring-cloud-hystrix/spring-cloud-hystrix-rest-consumer/src/main/resources/application.properties +++ b/spring-cloud-hystrix/spring-cloud-hystrix-rest-consumer/src/main/resources/application.properties @@ -1 +1 @@ -server.port=8080 \ No newline at end of file +server.port=8080 diff --git a/spring-cloud-hystrix/spring-cloud-hystrix-rest-consumer/src/main/resources/templates/greeting-view.html b/spring-cloud-hystrix/spring-cloud-hystrix-rest-consumer/src/main/resources/templates/greeting-view.html index 6cb70edf2d..302390fde0 100644 --- a/spring-cloud-hystrix/spring-cloud-hystrix-rest-consumer/src/main/resources/templates/greeting-view.html +++ b/spring-cloud-hystrix/spring-cloud-hystrix-rest-consumer/src/main/resources/templates/greeting-view.html @@ -6,4 +6,4 @@

- \ No newline at end of file + diff --git a/spring-cloud-hystrix/spring-cloud-hystrix-rest-producer/src/main/resources/application.properties b/spring-cloud-hystrix/spring-cloud-hystrix-rest-producer/src/main/resources/application.properties index 0560a60908..9ce9d88ffb 100644 --- a/spring-cloud-hystrix/spring-cloud-hystrix-rest-producer/src/main/resources/application.properties +++ b/spring-cloud-hystrix/spring-cloud-hystrix-rest-producer/src/main/resources/application.properties @@ -1,2 +1,2 @@ spring.application.name=rest-producer -server.port=9090 \ No newline at end of file +server.port=9090