{"action":"created","issue":{"url":"https://api.github.com/repos/spring-cloud/spring-cloud-config/issues/196","labels_url":"https://api.github.com/repos/spring-cloud/spring-cloud-config/issues/196/labels{/name}","comments_url":"https://api.github.com/repos/spring-cloud/spring-cloud-config/issues/196/comments","events_url":"https://api.github.com/repos/spring-cloud/spring-cloud-config/issues/196/events","html_url":"https://github.com/spring-cloud/spring-cloud-config/issues/196","id":96096535,"number":196,"title":"Spring cloud bus refresh doesnt work with local repository","user":{"login":"samarth274","id":12155086,"avatar_url":"https://avatars.githubusercontent.com/u/12155086?v=3","gravatar_id":"","url":"https://api.github.com/users/samarth274","html_url":"https://github.com/samarth274","followers_url":"https://api.github.com/users/samarth274/followers","following_url":"https://api.github.com/users/samarth274/following{/other_user}","gists_url":"https://api.github.com/users/samarth274/gists{/gist_id}","starred_url":"https://api.github.com/users/samarth274/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/samarth274/subscriptions","organizations_url":"https://api.github.com/users/samarth274/orgs","repos_url":"https://api.github.com/users/samarth274/repos","events_url":"https://api.github.com/users/samarth274/events{/privacy}","received_events_url":"https://api.github.com/users/samarth274/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/spring-cloud/spring-cloud-config/labels/question","name":"question","color":"cc317c"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-07-20T16:03:49Z","updated_at":"2015-07-22T18:25:33Z","closed_at":"2015-07-22T18:25:33Z","body":"Hello,\r\n\r\nI am working on microservices using spring-cloud and I find it interesting. I am exploring cloud-bus feature of spring-cloud. I have added this dependency at both the client and the config-server:\r\n\r\ncompile(\"org.springframework.cloud:spring-cloud-starter-bus-amqp:1.0.0.RC1\")\r\n\r\nI have included @RefreshScope at the client end.\r\n\r\nI configured my local repository by using spring.platform.config.server.uri: file:/Users/samarth1/git/cloud-config-repo. And now, I modify a property in my config-server and do a refresh by using:\r\n\r\ncurl -X POST http://localhost:8080/bus/refresh\r\n\r\nI want property changes to be reflected in my client. But, it throws an error in config-server.\r\n\r\nHere is the client and config-server log:\r\n\r\nClient:\r\n\r\n2015-07-20 11:26:41.832  INFO 76569 --- [qtp697240075-21] o.s.cloud.bus.event.RefreshListener      : Received remote refresh request. Keys refreshed []\r\n\r\nConfig-server:\r\n\r\n2015-07-20 11:27:11.050  WARN 76549 --- [qtp100393301-19] o.s.c.c.s.JGitEnvironmentRepository      : Remote repository not available\r\n2015-07-20 11:27:11.088  INFO 76549 --- [qtp100393301-19] o.s.boot.SpringApplication               : Starting application on Samarths-MacBook-Pro.local with PID 76549 (/Users/samarth1/.gradle/caches/modules-2/files-2.1/org.springframework.boot/spring-boot/1.3.0.BUILD-SNAPSHOT/6a96a86171a7b349e4788a3f65ea1af548f902d8/spring-boot-1.3.0.BUILD-SNAPSHOT.jar started by samarth1 in /Users/samarth1/git/configuration/server)\r\n\r\nNow I am wondering whether spring-cloud-bus-refresh works well with local repositories?\r\n\r\n@dsyer : please help?\r\n\r\n \r\n\r\n"},"comment":{"url":"https://api.github.com/repos/spring-cloud/spring-cloud-config/issues/comments/123817144","html_url":"https://github.com/spring-cloud/spring-cloud-config/issues/196#issuecomment-123817144","issue_url":"https://api.github.com/repos/spring-cloud/spring-cloud-config/issues/196","id":123817144,"user":{"login":"dsyer","id":124075,"avatar_url":"https://avatars.githubusercontent.com/u/124075?v=3","gravatar_id":"","url":"https://api.github.com/users/dsyer","html_url":"https://github.com/dsyer","followers_url":"https://api.github.com/users/dsyer/followers","following_url":"https://api.github.com/users/dsyer/following{/other_user}","gists_url":"https://api.github.com/users/dsyer/gists{/gist_id}","starred_url":"https://api.github.com/users/dsyer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dsyer/subscriptions","organizations_url":"https://api.github.com/users/dsyer/orgs","repos_url":"https://api.github.com/users/dsyer/repos","events_url":"https://api.github.com/users/dsyer/events{/privacy}","received_events_url":"https://api.github.com/users/dsyer/received_events","type":"User","site_admin":false},"created_at":"2015-07-22T18:25:33Z","updated_at":"2015-07-22T18:25:33Z","body":"Cool. Glad to hear it."}}