Small formatting fixes.

This commit is contained in:
Christian Rädel 2016-08-23 02:51:49 +02:00
parent 33fc42103a
commit 647d35cafb
6 changed files with 8 additions and 9 deletions
spring-cloud-hystrix
spring-cloud-hystrix-feign-rest-consumer/src/main
java/com/baeldung/spring/cloud/hystrix/rest/consumer
resources
spring-cloud-hystrix-rest-consumer/src/main/resources
spring-cloud-hystrix-rest-producer/src/main/resources

@ -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

@ -6,4 +6,4 @@
<body>
<h2 th:text="${greeting}"/>
</body>
</html>
</html>

@ -6,4 +6,4 @@
<body>
<h2 th:text="${greeting}"/>
</body>
</html>
</html>

@ -1,2 +1,2 @@
spring.application.name=rest-producer
server.port=9090
server.port=9090