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

View File

@ -6,10 +6,9 @@ import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.PathVariable; import org.springframework.web.bind.annotation.PathVariable;
@FeignClient( @FeignClient(
name = "rest-producer", name = "rest-producer",
url = "http://localhost:9090", url = "http://localhost:9090",
//path = "/greeting/{username}", fallback = GreetingClient.GreetingClientFallback.class
fallback = GreetingClient.GreetingClientFallback.class
) )
public interface GreetingClient extends GreetingController { public interface GreetingClient extends GreetingController {
@Component @Component

View File

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

View File

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

View File

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