Skip to content

Commit f28343c

Browse files
Added application configurations
1 parent da1bdf9 commit f28343c

4 files changed

Lines changed: 5 additions & 1 deletion

File tree

‎spring-cloud-hystrix/spring-cloud-hystrix-feign-rest-consumer/src/main/java/com/baeldung/spring/cloud/hystrix/rest/consumer/GreetingClient.java‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@
77

88
@FeignClient(
99
name = "rest-producer",
10-
url = "http://localhost:9090/greeting/{username}",
10+
url = "http://localhost:9090",
11+
//path = "/greeting/{username}",
1112
fallback = GreetingClient.GreetingClientFallback.class
1213
)
1314
public interface GreetingClient extends GreetingController {
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
server.port=8082
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
server.port=8080
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1+
spring.application.name=rest-producer
12
server.port=9090

0 commit comments

Comments
 (0)