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;
|
||||
|
||||
@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
|
||||
|
|
|
@ -1 +1 @@
|
|||
server.port=8082
|
||||
server.port=8082
|
||||
|
|
|
@ -6,4 +6,4 @@
|
|||
<body>
|
||||
<h2 th:text="${greeting}"/>
|
||||
</body>
|
||||
</html>
|
||||
</html>
|
||||
|
|
|
@ -1 +1 @@
|
|||
server.port=8080
|
||||
server.port=8080
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue