Added application configurations

This commit is contained in:
Christian Raedel 2016-08-22 23:45:32 +02:00
parent da1bdf90bf
commit f28343cd54
4 changed files with 5 additions and 1 deletions

View File

@ -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 {

View File

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