{"action":"created","issue":{"url":"https://api.github.com/repos/mybatis/spring-boot-starter/issues/208","repository_url":"https://api.github.com/repos/mybatis/spring-boot-starter","labels_url":"https://api.github.com/repos/mybatis/spring-boot-starter/issues/208/labels{/name}","comments_url":"https://api.github.com/repos/mybatis/spring-boot-starter/issues/208/comments","events_url":"https://api.github.com/repos/mybatis/spring-boot-starter/issues/208/events","html_url":"https://github.com/mybatis/spring-boot-starter/issues/208","id":276657363,"number":208,"title":"Enable auto-configure when DataSource is single candidate","user":{"login":"kazuki43zoo","id":5616270,"avatar_url":"https://avatars3.githubusercontent.com/u/5616270?v=4","gravatar_id":"","url":"https://api.github.com/users/kazuki43zoo","html_url":"https://github.com/kazuki43zoo","followers_url":"https://api.github.com/users/kazuki43zoo/followers","following_url":"https://api.github.com/users/kazuki43zoo/following{/other_user}","gists_url":"https://api.github.com/users/kazuki43zoo/gists{/gist_id}","starred_url":"https://api.github.com/users/kazuki43zoo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kazuki43zoo/subscriptions","organizations_url":"https://api.github.com/users/kazuki43zoo/orgs","repos_url":"https://api.github.com/users/kazuki43zoo/repos","events_url":"https://api.github.com/users/kazuki43zoo/events{/privacy}","received_events_url":"https://api.github.com/users/kazuki43zoo/received_events","type":"User","site_admin":false},"labels":[{"id":265085577,"url":"https://api.github.com/repos/mybatis/spring-boot-starter/labels/enhancement","name":"enhancement","color":"84b6eb","default":true}],"state":"closed","locked":false,"assignee":{"login":"kazuki43zoo","id":5616270,"avatar_url":"https://avatars3.githubusercontent.com/u/5616270?v=4","gravatar_id":"","url":"https://api.github.com/users/kazuki43zoo","html_url":"https://github.com/kazuki43zoo","followers_url":"https://api.github.com/users/kazuki43zoo/followers","following_url":"https://api.github.com/users/kazuki43zoo/following{/other_user}","gists_url":"https://api.github.com/users/kazuki43zoo/gists{/gist_id}","starred_url":"https://api.github.com/users/kazuki43zoo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kazuki43zoo/subscriptions","organizations_url":"https://api.github.com/users/kazuki43zoo/orgs","repos_url":"https://api.github.com/users/kazuki43zoo/repos","events_url":"https://api.github.com/users/kazuki43zoo/events{/privacy}","received_events_url":"https://api.github.com/users/kazuki43zoo/received_events","type":"User","site_admin":false},"assignees":[{"login":"kazuki43zoo","id":5616270,"avatar_url":"https://avatars3.githubusercontent.com/u/5616270?v=4","gravatar_id":"","url":"https://api.github.com/users/kazuki43zoo","html_url":"https://github.com/kazuki43zoo","followers_url":"https://api.github.com/users/kazuki43zoo/followers","following_url":"https://api.github.com/users/kazuki43zoo/following{/other_user}","gists_url":"https://api.github.com/users/kazuki43zoo/gists{/gist_id}","starred_url":"https://api.github.com/users/kazuki43zoo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kazuki43zoo/subscriptions","organizations_url":"https://api.github.com/users/kazuki43zoo/orgs","repos_url":"https://api.github.com/users/kazuki43zoo/repos","events_url":"https://api.github.com/users/kazuki43zoo/events{/privacy}","received_events_url":"https://api.github.com/users/kazuki43zoo/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/mybatis/spring-boot-starter/milestones/10","html_url":"https://github.com/mybatis/spring-boot-starter/milestone/10","labels_url":"https://api.github.com/repos/mybatis/spring-boot-starter/milestones/10/labels","id":2232285,"number":10,"title":"2.0.0","description":"Based on Spring Boot 2.0 (Spring Framework 5)","creator":{"login":"kazuki43zoo","id":5616270,"avatar_url":"https://avatars3.githubusercontent.com/u/5616270?v=4","gravatar_id":"","url":"https://api.github.com/users/kazuki43zoo","html_url":"https://github.com/kazuki43zoo","followers_url":"https://api.github.com/users/kazuki43zoo/followers","following_url":"https://api.github.com/users/kazuki43zoo/following{/other_user}","gists_url":"https://api.github.com/users/kazuki43zoo/gists{/gist_id}","starred_url":"https://api.github.com/users/kazuki43zoo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kazuki43zoo/subscriptions","organizations_url":"https://api.github.com/users/kazuki43zoo/orgs","repos_url":"https://api.github.com/users/kazuki43zoo/repos","events_url":"https://api.github.com/users/kazuki43zoo/events{/privacy}","received_events_url":"https://api.github.com/users/kazuki43zoo/received_events","type":"User","site_admin":false},"open_issues":1,"closed_issues":18,"state":"open","created_at":"2017-01-06T02:04:27Z","updated_at":"2018-03-18T01:04:18Z","due_on":"2018-02-28T08:00:00Z","closed_at":null},"comments":2,"created_at":"2017-11-24T16:11:51Z","updated_at":"2018-03-18T01:07:31Z","closed_at":"2018-03-18T01:04:18Z","author_association":"MEMBER","body":"In the current implementation, an error occurs when defines multiple `DataSource`.\r\nI suggest to change using `@ConditionalOnSingleCandidate` instead of `@ConditionalOnBean`.\r\nThis change applied already on auto-configuration classes provided by Spring Boot.\r\n"},"comment":{"url":"https://api.github.com/repos/mybatis/spring-boot-starter/issues/comments/373964813","html_url":"https://github.com/mybatis/spring-boot-starter/issues/208#issuecomment-373964813","issue_url":"https://api.github.com/repos/mybatis/spring-boot-starter/issues/208","id":373964813,"user":{"login":"kazuki43zoo","id":5616270,"avatar_url":"https://avatars3.githubusercontent.com/u/5616270?v=4","gravatar_id":"","url":"https://api.github.com/users/kazuki43zoo","html_url":"https://github.com/kazuki43zoo","followers_url":"https://api.github.com/users/kazuki43zoo/followers","following_url":"https://api.github.com/users/kazuki43zoo/following{/other_user}","gists_url":"https://api.github.com/users/kazuki43zoo/gists{/gist_id}","starred_url":"https://api.github.com/users/kazuki43zoo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kazuki43zoo/subscriptions","organizations_url":"https://api.github.com/users/kazuki43zoo/orgs","repos_url":"https://api.github.com/users/kazuki43zoo/repos","events_url":"https://api.github.com/users/kazuki43zoo/events{/privacy}","received_events_url":"https://api.github.com/users/kazuki43zoo/received_events","type":"User","site_admin":false},"created_at":"2018-03-18T01:07:31Z","updated_at":"2018-03-18T01:07:31Z","author_association":"MEMBER","body":"@h3adache \r\nI've fixed this. \r\n\r\n> I'm working with a different version of MybatisProperties which allows multiple datasources by default. I think it's feature worth integrating into our project. \r\n\r\nCould you create a new issue for supporting multiple `DataSource`?"}}
{"actor":{"display_login":"kazuki43zoo"}}