package pl.java.scalatech.config;

import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

import feign.Headers;
@FeignClient(name="greeting")
@Component
public interface GreetingFeignResource {
    
    @RequestMapping(method = RequestMethod.GET, value = "/message/sean")
    String getMessageNoName();
    
    @RequestMapping(method = RequestMethod.GET, value = "/message/{name}")
    String getMessage(@PathVariable("name") String name);

    @Headers("Content-Type: application/json")
    @RequestMapping(method = RequestMethod.POST, value = "/message/{newGreeting}")
    void updateMessage(@PathVariable("newGreeting") String message);
    
}
//client -> greeting.ribbon.listOfServers: localhost:9000

@@ -365,24 +365,33 @@
 t(name=%22
-greeting
+hystrix-dashboard
 %22)%0A@Comp

Update GreetingFeignResource.java