{"action":"closed","number":4678,"pull_request":{"url":"https://api.github.com/repos/spring-projects/spring-boot/pulls/4678","id":52664625,"html_url":"https://github.com/spring-projects/spring-boot/pull/4678","diff_url":"https://github.com/spring-projects/spring-boot/pull/4678.diff","patch_url":"https://github.com/spring-projects/spring-boot/pull/4678.patch","issue_url":"https://api.github.com/repos/spring-projects/spring-boot/issues/4678","number":4678,"state":"closed","locked":false,"title":"Support disabling of redis autoconfiguration via config property.","user":{"login":"sbuettner","id":1607241,"avatar_url":"https://avatars.githubusercontent.com/u/1607241?v=3","gravatar_id":"","url":"https://api.github.com/users/sbuettner","html_url":"https://github.com/sbuettner","followers_url":"https://api.github.com/users/sbuettner/followers","following_url":"https://api.github.com/users/sbuettner/following{/other_user}","gists_url":"https://api.github.com/users/sbuettner/gists{/gist_id}","starred_url":"https://api.github.com/users/sbuettner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sbuettner/subscriptions","organizations_url":"https://api.github.com/users/sbuettner/orgs","repos_url":"https://api.github.com/users/sbuettner/repos","events_url":"https://api.github.com/users/sbuettner/events{/privacy}","received_events_url":"https://api.github.com/users/sbuettner/received_events","type":"User","site_admin":false},"body":"Currently you can only disable the redis autoconfiguration using the `exclude` property in the respective spring boot annotations like this `@SpringBootApplication(exclude = RedisAutoConfiguration.class)`. This is needed if you have two redis connections (Spring Boots redis autoconfiguration expects a single bean). This PR introduces a single `enabled` flag that allows an application developer to control the autoconfiguration of redis more easily and in an environment dependent way.\r\n\r\nContribution agreement number: 133520150810110320","created_at":"2015-12-04T12:41:27Z","updated_at":"2015-12-09T17:17:53Z","closed_at":"2015-12-09T17:17:53Z","merged_at":null,"merge_commit_sha":"7a196fa689990fc4ca1ba65e0857bea1746443e7","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/spring-projects/spring-boot/pulls/4678/commits","review_comments_url":"https://api.github.com/repos/spring-projects/spring-boot/pulls/4678/comments","review_comment_url":"https://api.github.com/repos/spring-projects/spring-boot/pulls/comments{/number}","comments_url":"https://api.github.com/repos/spring-projects/spring-boot/issues/4678/comments","statuses_url":"https://api.github.com/repos/spring-projects/spring-boot/statuses/5d2217217ea27413adbcb42bbedb081adedf25f8","head":{"label":"sbuettner:upstream","ref":"upstream","sha":"5d2217217ea27413adbcb42bbedb081adedf25f8","user":{"login":"sbuettner","id":1607241,"avatar_url":"https://avatars.githubusercontent.com/u/1607241?v=3","gravatar_id":"","url":"https://api.github.com/users/sbuettner","html_url":"https://github.com/sbuettner","followers_url":"https://api.github.com/users/sbuettner/followers","following_url":"https://api.github.com/users/sbuettner/following{/other_user}","gists_url":"https://api.github.com/users/sbuettner/gists{/gist_id}","starred_url":"https://api.github.com/users/sbuettner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sbuettner/subscriptions","organizations_url":"https://api.github.com/users/sbuettner/orgs","repos_url":"https://api.github.com/users/sbuettner/repos","events_url":"https://api.github.com/users/sbuettner/events{/privacy}","received_events_url":"https://api.github.com/users/sbuettner/received_events","type":"User","site_admin":false},"repo":{"id":40477096,"name":"spring-boot","full_name":"sbuettner/spring-boot","owner":{"login":"sbuettner","id":1607241,"avatar_url":"https://avatars.githubusercontent.com/u/1607241?v=3","gravatar_id":"","url":"https://api.github.com/users/sbuettner","html_url":"https://github.com/sbuettner","followers_url":"https://api.github.com/users/sbuettner/followers","following_url":"https://api.github.com/users/sbuettner/following{/other_user}","gists_url":"https://api.github.com/users/sbuettner/gists{/gist_id}","starred_url":"https://api.github.com/users/sbuettner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sbuettner/subscriptions","organizations_url":"https://api.github.com/users/sbuettner/orgs","repos_url":"https://api.github.com/users/sbuettner/repos","events_url":"https://api.github.com/users/sbuettner/events{/privacy}","received_events_url":"https://api.github.com/users/sbuettner/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/sbuettner/spring-boot","description":"Spring Boot","fork":true,"url":"https://api.github.com/repos/sbuettner/spring-boot","forks_url":"https://api.github.com/repos/sbuettner/spring-boot/forks","keys_url":"https://api.github.com/repos/sbuettner/spring-boot/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sbuettner/spring-boot/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sbuettner/spring-boot/teams","hooks_url":"https://api.github.com/repos/sbuettner/spring-boot/hooks","issue_events_url":"https://api.github.com/repos/sbuettner/spring-boot/issues/events{/number}","events_url":"https://api.github.com/repos/sbuettner/spring-boot/events","assignees_url":"https://api.github.com/repos/sbuettner/spring-boot/assignees{/user}","branches_url":"https://api.github.com/repos/sbuettner/spring-boot/branches{/branch}","tags_url":"https://api.github.com/repos/sbuettner/spring-boot/tags","blobs_url":"https://api.github.com/repos/sbuettner/spring-boot/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sbuettner/spring-boot/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sbuettner/spring-boot/git/refs{/sha}","trees_url":"https://api.github.com/repos/sbuettner/spring-boot/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sbuettner/spring-boot/statuses/{sha}","languages_url":"https://api.github.com/repos/sbuettner/spring-boot/languages","stargazers_url":"https://api.github.com/repos/sbuettner/spring-boot/stargazers","contributors_url":"https://api.github.com/repos/sbuettner/spring-boot/contributors","subscribers_url":"https://api.github.com/repos/sbuettner/spring-boot/subscribers","subscription_url":"https://api.github.com/repos/sbuettner/spring-boot/subscription","commits_url":"https://api.github.com/repos/sbuettner/spring-boot/commits{/sha}","git_commits_url":"https://api.github.com/repos/sbuettner/spring-boot/git/commits{/sha}","comments_url":"https://api.github.com/repos/sbuettner/spring-boot/comments{/number}","issue_comment_url":"https://api.github.com/repos/sbuettner/spring-boot/issues/comments{/number}","contents_url":"https://api.github.com/repos/sbuettner/spring-boot/contents/{+path}","compare_url":"https://api.github.com/repos/sbuettner/spring-boot/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sbuettner/spring-boot/merges","archive_url":"https://api.github.com/repos/sbuettner/spring-boot/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sbuettner/spring-boot/downloads","issues_url":"https://api.github.com/repos/sbuettner/spring-boot/issues{/number}","pulls_url":"https://api.github.com/repos/sbuettner/spring-boot/pulls{/number}","milestones_url":"https://api.github.com/repos/sbuettner/spring-boot/milestones{/number}","notifications_url":"https://api.github.com/repos/sbuettner/spring-boot/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sbuettner/spring-boot/labels{/name}","releases_url":"https://api.github.com/repos/sbuettner/spring-boot/releases{/id}","created_at":"2015-08-10T10:34:22Z","updated_at":"2015-08-10T10:34:30Z","pushed_at":"2015-12-04T11:46:51Z","git_url":"git://github.com/sbuettner/spring-boot.git","ssh_url":"git@github.com:sbuettner/spring-boot.git","clone_url":"https://github.com/sbuettner/spring-boot.git","svn_url":"https://github.com/sbuettner/spring-boot","homepage":"http://projects.spring.io/spring-boot","size":32126,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"spring-projects:master","ref":"master","sha":"75f55ea0041e3370f9ce492f116d8a1e3be5808d","user":{"login":"spring-projects","id":317776,"avatar_url":"https://avatars.githubusercontent.com/u/317776?v=3","gravatar_id":"","url":"https://api.github.com/users/spring-projects","html_url":"https://github.com/spring-projects","followers_url":"https://api.github.com/users/spring-projects/followers","following_url":"https://api.github.com/users/spring-projects/following{/other_user}","gists_url":"https://api.github.com/users/spring-projects/gists{/gist_id}","starred_url":"https://api.github.com/users/spring-projects/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/spring-projects/subscriptions","organizations_url":"https://api.github.com/users/spring-projects/orgs","repos_url":"https://api.github.com/users/spring-projects/repos","events_url":"https://api.github.com/users/spring-projects/events{/privacy}","received_events_url":"https://api.github.com/users/spring-projects/received_events","type":"Organization","site_admin":false},"repo":{"id":6296790,"name":"spring-boot","full_name":"spring-projects/spring-boot","owner":{"login":"spring-projects","id":317776,"avatar_url":"https://avatars.githubusercontent.com/u/317776?v=3","gravatar_id":"","url":"https://api.github.com/users/spring-projects","html_url":"https://github.com/spring-projects","followers_url":"https://api.github.com/users/spring-projects/followers","following_url":"https://api.github.com/users/spring-projects/following{/other_user}","gists_url":"https://api.github.com/users/spring-projects/gists{/gist_id}","starred_url":"https://api.github.com/users/spring-projects/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/spring-projects/subscriptions","organizations_url":"https://api.github.com/users/spring-projects/orgs","repos_url":"https://api.github.com/users/spring-projects/repos","events_url":"https://api.github.com/users/spring-projects/events{/privacy}","received_events_url":"https://api.github.com/users/spring-projects/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/spring-projects/spring-boot","description":"Spring Boot","fork":false,"url":"https://api.github.com/repos/spring-projects/spring-boot","forks_url":"https://api.github.com/repos/spring-projects/spring-boot/forks","keys_url":"https://api.github.com/repos/spring-projects/spring-boot/keys{/key_id}","collaborators_url":"https://api.github.com/repos/spring-projects/spring-boot/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/spring-projects/spring-boot/teams","hooks_url":"https://api.github.com/repos/spring-projects/spring-boot/hooks","issue_events_url":"https://api.github.com/repos/spring-projects/spring-boot/issues/events{/number}","events_url":"https://api.github.com/repos/spring-projects/spring-boot/events","assignees_url":"https://api.github.com/repos/spring-projects/spring-boot/assignees{/user}","branches_url":"https://api.github.com/repos/spring-projects/spring-boot/branches{/branch}","tags_url":"https://api.github.com/repos/spring-projects/spring-boot/tags","blobs_url":"https://api.github.com/repos/spring-projects/spring-boot/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/spring-projects/spring-boot/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/spring-projects/spring-boot/git/refs{/sha}","trees_url":"https://api.github.com/repos/spring-projects/spring-boot/git/trees{/sha}","statuses_url":"https://api.github.com/repos/spring-projects/spring-boot/statuses/{sha}","languages_url":"https://api.github.com/repos/spring-projects/spring-boot/languages","stargazers_url":"https://api.github.com/repos/spring-projects/spring-boot/stargazers","contributors_url":"https://api.github.com/repos/spring-projects/spring-boot/contributors","subscribers_url":"https://api.github.com/repos/spring-projects/spring-boot/subscribers","subscription_url":"https://api.github.com/repos/spring-projects/spring-boot/subscription","commits_url":"https://api.github.com/repos/spring-projects/spring-boot/commits{/sha}","git_commits_url":"https://api.github.com/repos/spring-projects/spring-boot/git/commits{/sha}","comments_url":"https://api.github.com/repos/spring-projects/spring-boot/comments{/number}","issue_comment_url":"https://api.github.com/repos/spring-projects/spring-boot/issues/comments{/number}","contents_url":"https://api.github.com/repos/spring-projects/spring-boot/contents/{+path}","compare_url":"https://api.github.com/repos/spring-projects/spring-boot/compare/{base}...{head}","merges_url":"https://api.github.com/repos/spring-projects/spring-boot/merges","archive_url":"https://api.github.com/repos/spring-projects/spring-boot/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/spring-projects/spring-boot/downloads","issues_url":"https://api.github.com/repos/spring-projects/spring-boot/issues{/number}","pulls_url":"https://api.github.com/repos/spring-projects/spring-boot/pulls{/number}","milestones_url":"https://api.github.com/repos/spring-projects/spring-boot/milestones{/number}","notifications_url":"https://api.github.com/repos/spring-projects/spring-boot/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/spring-projects/spring-boot/labels{/name}","releases_url":"https://api.github.com/repos/spring-projects/spring-boot/releases{/id}","created_at":"2012-10-19T15:02:57Z","updated_at":"2015-12-09T13:48:22Z","pushed_at":"2015-12-09T11:58:12Z","git_url":"git://github.com/spring-projects/spring-boot.git","ssh_url":"git@github.com:spring-projects/spring-boot.git","clone_url":"https://github.com/spring-projects/spring-boot.git","svn_url":"https://github.com/spring-projects/spring-boot","homepage":"http://projects.spring.io/spring-boot","size":38055,"stargazers_count":3699,"watchers_count":3699,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":3782,"mirror_url":null,"open_issues_count":544,"forks":3782,"open_issues":544,"watchers":3699,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/spring-projects/spring-boot/pulls/4678"},"html":{"href":"https://github.com/spring-projects/spring-boot/pull/4678"},"issue":{"href":"https://api.github.com/repos/spring-projects/spring-boot/issues/4678"},"comments":{"href":"https://api.github.com/repos/spring-projects/spring-boot/issues/4678/comments"},"review_comments":{"href":"https://api.github.com/repos/spring-projects/spring-boot/pulls/4678/comments"},"review_comment":{"href":"https://api.github.com/repos/spring-projects/spring-boot/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/spring-projects/spring-boot/pulls/4678/commits"},"statuses":{"href":"https://api.github.com/repos/spring-projects/spring-boot/statuses/5d2217217ea27413adbcb42bbedb081adedf25f8"}},"merged":false,"mergeable":true,"mergeable_state":"clean","merged_by":null,"comments":10,"review_comments":0,"commits":1,"additions":32,"deletions":0,"changed_files":3}}