Small formatting fixes.
This commit is contained in:
parent
33fc42103a
commit
647d35cafb
|
@ -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
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
server.port=8082
|
server.port=8082
|
||||||
|
|
|
@ -6,4 +6,4 @@
|
||||||
<body>
|
<body>
|
||||||
<h2 th:text="${greeting}"/>
|
<h2 th:text="${greeting}"/>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
server.port=8080
|
server.port=8080
|
||||||
|
|
|
@ -6,4 +6,4 @@
|
||||||
<body>
|
<body>
|
||||||
<h2 th:text="${greeting}"/>
|
<h2 th:text="${greeting}"/>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|
|
@ -1,2 +1,2 @@
|
||||||
spring.application.name=rest-producer
|
spring.application.name=rest-producer
|
||||||
server.port=9090
|
server.port=9090
|
||||||
|
|
Loading…
Reference in New Issue