{"action":"created","issue":{"url":"https://api.github.com/repos/openscore/score/issues/18","labels_url":"https://api.github.com/repos/openscore/score/issues/18/labels{/name}","comments_url":"https://api.github.com/repos/openscore/score/issues/18/comments","events_url":"https://api.github.com/repos/openscore/score/issues/18/events","html_url":"https://github.com/openscore/score/issues/18","id":57723752,"number":18,"title":"Engine datasource dependency","user":{"login":"avimora","id":8080683,"avatar_url":"https://avatars.githubusercontent.com/u/8080683?v=3","gravatar_id":"","url":"https://api.github.com/users/avimora","html_url":"https://github.com/avimora","followers_url":"https://api.github.com/users/avimora/followers","following_url":"https://api.github.com/users/avimora/following{/other_user}","gists_url":"https://api.github.com/users/avimora/gists{/gist_id}","starred_url":"https://api.github.com/users/avimora/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/avimora/subscriptions","organizations_url":"https://api.github.com/users/avimora/orgs","repos_url":"https://api.github.com/users/avimora/repos","events_url":"https://api.github.com/users/avimora/events{/privacy}","received_events_url":"https://api.github.com/users/avimora/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-02-15T09:06:26Z","updated_at":"2015-02-15T09:30:06Z","closed_at":null,"body":"1. Minimize direct dependencies on `dataSource` (`HiloFactoryBean`, `DataBaseDetector` and `ExecutionQueueRepositoryImpl`)\r\n2. Use `@Resource` instead of `@Autowired`\r\n3. Consider supporting custom `dataSource` name\r\n4. Consider these point for other DB related stuff (`jdbcTemplate` etc)"},"comment":{"url":"https://api.github.com/repos/openscore/score/issues/comments/74410390","html_url":"https://github.com/openscore/score/issues/18#issuecomment-74410390","issue_url":"https://api.github.com/repos/openscore/score/issues/18","id":74410390,"user":{"login":"avimora","id":8080683,"avatar_url":"https://avatars.githubusercontent.com/u/8080683?v=3","gravatar_id":"","url":"https://api.github.com/users/avimora","html_url":"https://github.com/avimora","followers_url":"https://api.github.com/users/avimora/followers","following_url":"https://api.github.com/users/avimora/following{/other_user}","gists_url":"https://api.github.com/users/avimora/gists{/gist_id}","starred_url":"https://api.github.com/users/avimora/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/avimora/subscriptions","organizations_url":"https://api.github.com/users/avimora/orgs","repos_url":"https://api.github.com/users/avimora/repos","events_url":"https://api.github.com/users/avimora/events{/privacy}","received_events_url":"https://api.github.com/users/avimora/received_events","type":"User","site_admin":false},"created_at":"2015-02-15T09:30:06Z","updated_at":"2015-02-15T09:30:06Z","body":"With `@Resource` the resolution is done preliminary by name. Besides it's standard javax and recommended by spring.\r\nSuggestion: Pass the ds name through `EngineBeanDefinitionParser` "}}