{"action":"created","issue":{"url":"https://api.github.com/repos/spring-cloud/spring-cloud-config/issues/444","repository_url":"https://api.github.com/repos/spring-cloud/spring-cloud-config","labels_url":"https://api.github.com/repos/spring-cloud/spring-cloud-config/issues/444/labels{/name}","comments_url":"https://api.github.com/repos/spring-cloud/spring-cloud-config/issues/444/comments","events_url":"https://api.github.com/repos/spring-cloud/spring-cloud-config/issues/444/events","html_url":"https://github.com/spring-cloud/spring-cloud-config/issues/444","id":165223919,"number":444,"title":"RefreshScope","user":{"login":"iboppana","id":11382475,"avatar_url":"https://avatars.githubusercontent.com/u/11382475?v=3","gravatar_id":"","url":"https://api.github.com/users/iboppana","html_url":"https://github.com/iboppana","followers_url":"https://api.github.com/users/iboppana/followers","following_url":"https://api.github.com/users/iboppana/following{/other_user}","gists_url":"https://api.github.com/users/iboppana/gists{/gist_id}","starred_url":"https://api.github.com/users/iboppana/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iboppana/subscriptions","organizations_url":"https://api.github.com/users/iboppana/orgs","repos_url":"https://api.github.com/users/iboppana/repos","events_url":"https://api.github.com/users/iboppana/events{/privacy}","received_events_url":"https://api.github.com/users/iboppana/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-07-13T02:36:50Z","updated_at":"2016-07-13T02:41:59Z","closed_at":null,"body":"Say we have a simple Application which talks to config server.\r\nIt has a Application class and a simple Class annotated as @RestController\r\nIn the RestController class we are using the property from configServer\r\n@Value(\"${example-property}\")\r\n\tString luckyWord;\r\n\r\nWe annotated the main ApplicationClass with @RefreshScope.\r\nso when we post to /refresh endpoint does it gaurantee all the other beans in this application are refreshed too\r\n\r\nOr each has to be separately annotated ?\r\n"},"comment":{"url":"https://api.github.com/repos/spring-cloud/spring-cloud-config/issues/comments/232239054","html_url":"https://github.com/spring-cloud/spring-cloud-config/issues/444#issuecomment-232239054","issue_url":"https://api.github.com/repos/spring-cloud/spring-cloud-config/issues/444","id":232239054,"user":{"login":"spencergibb","id":594085,"avatar_url":"https://avatars.githubusercontent.com/u/594085?v=3","gravatar_id":"","url":"https://api.github.com/users/spencergibb","html_url":"https://github.com/spencergibb","followers_url":"https://api.github.com/users/spencergibb/followers","following_url":"https://api.github.com/users/spencergibb/following{/other_user}","gists_url":"https://api.github.com/users/spencergibb/gists{/gist_id}","starred_url":"https://api.github.com/users/spencergibb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/spencergibb/subscriptions","organizations_url":"https://api.github.com/users/spencergibb/orgs","repos_url":"https://api.github.com/users/spencergibb/repos","events_url":"https://api.github.com/users/spencergibb/events{/privacy}","received_events_url":"https://api.github.com/users/spencergibb/received_events","type":"User","site_admin":false},"created_at":"2016-07-13T02:41:59Z","updated_at":"2016-07-13T02:41:59Z","body":"Only refresh scope beans. But if you're just using `@Value`, move it to a `@ConfigurationProperties` and you don't need refresh scope beans."}}
{"actor":{"display_login":"spencergibb"}}