Added application configurations
This commit is contained in:
parent
da1bdf90bf
commit
f28343cd54
|
@ -7,7 +7,8 @@ import org.springframework.web.bind.annotation.PathVariable;
|
|||
|
||||
@FeignClient(
|
||||
name = "rest-producer",
|
||||
url = "http://localhost:9090/greeting/{username}",
|
||||
url = "http://localhost:9090",
|
||||
//path = "/greeting/{username}",
|
||||
fallback = GreetingClient.GreetingClientFallback.class
|
||||
)
|
||||
public interface GreetingClient extends GreetingController {
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
server.port=8082
|
|
@ -0,0 +1 @@
|
|||
server.port=8080
|
|
@ -1 +1,2 @@
|
|||
spring.application.name=rest-producer
|
||||
server.port=9090
|
Loading…
Reference in New Issue