{"action":"closed","issue":{"url":"https://api.github.com/repos/spring-cloud/spring-cloud-netflix/issues/2168","repository_url":"https://api.github.com/repos/spring-cloud/spring-cloud-netflix","labels_url":"https://api.github.com/repos/spring-cloud/spring-cloud-netflix/issues/2168/labels{/name}","comments_url":"https://api.github.com/repos/spring-cloud/spring-cloud-netflix/issues/2168/comments","events_url":"https://api.github.com/repos/spring-cloud/spring-cloud-netflix/issues/2168/events","html_url":"https://github.com/spring-cloud/spring-cloud-netflix/issues/2168","id":246427116,"number":2168,"title":"Spring cloud consul with Feign Client","user":{"login":"sunaina-ishi","id":13382257,"avatar_url":"https://avatars2.githubusercontent.com/u/13382257?v=4","gravatar_id":"","url":"https://api.github.com/users/sunaina-ishi","html_url":"https://github.com/sunaina-ishi","followers_url":"https://api.github.com/users/sunaina-ishi/followers","following_url":"https://api.github.com/users/sunaina-ishi/following{/other_user}","gists_url":"https://api.github.com/users/sunaina-ishi/gists{/gist_id}","starred_url":"https://api.github.com/users/sunaina-ishi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sunaina-ishi/subscriptions","organizations_url":"https://api.github.com/users/sunaina-ishi/orgs","repos_url":"https://api.github.com/users/sunaina-ishi/repos","events_url":"https://api.github.com/users/sunaina-ishi/events{/privacy}","received_events_url":"https://api.github.com/users/sunaina-ishi/received_events","type":"User","site_admin":false},"labels":[{"id":113315776,"url":"https://api.github.com/repos/spring-cloud/spring-cloud-netflix/labels/question","name":"question","color":"cc317c","default":true}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2017-07-28T18:38:19Z","updated_at":"2017-08-02T02:39:40Z","closed_at":"2017-08-02T02:39:40Z","body":"I am trying to use @FeignClient annotation with consul agent to discover a service. I have a spring boot application which is trying to invoke another spring boot application using RestTemplate. I want to replace resttemplate with Feign Client implementation. Below is the Feign client having consul url.\r\n\r\n@FeignClient(value= \"service-name\", url = \"http://localhost:8500\")\r\npublic interface InterceptTargetStoreFeignClient {\r\n\r\n    @RequestMapping(value = \"/abc\", method = RequestMethod.GET)\r\n    ResponseEntity<gpb object> getAbc();\r\n}\r\n\r\nInvoking the URL is giving 404 error. Any help will be appreciated"}}
{"actor":{"display_login":"sunaina-ishi"}}