{"action":"created","issue":{"url":"https://api.github.com/repos/aces/Loris/issues/3507","repository_url":"https://api.github.com/repos/aces/Loris","labels_url":"https://api.github.com/repos/aces/Loris/issues/3507/labels{/name}","comments_url":"https://api.github.com/repos/aces/Loris/issues/3507/comments","events_url":"https://api.github.com/repos/aces/Loris/issues/3507/events","html_url":"https://github.com/aces/Loris/pull/3507","id":299127013,"number":3507,"title":"[Proposal] Using factory->database across LORIS","user":{"login":"xlecours","id":12155214,"avatar_url":"https://avatars3.githubusercontent.com/u/12155214?v=4","gravatar_id":"","url":"https://api.github.com/users/xlecours","html_url":"https://github.com/xlecours","followers_url":"https://api.github.com/users/xlecours/followers","following_url":"https://api.github.com/users/xlecours/following{/other_user}","gists_url":"https://api.github.com/users/xlecours/gists{/gist_id}","starred_url":"https://api.github.com/users/xlecours/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xlecours/subscriptions","organizations_url":"https://api.github.com/users/xlecours/orgs","repos_url":"https://api.github.com/users/xlecours/repos","events_url":"https://api.github.com/users/xlecours/events{/privacy}","received_events_url":"https://api.github.com/users/xlecours/received_events","type":"User","site_admin":false},"labels":[{"id":152314516,"url":"https://api.github.com/repos/aces/Loris/labels/Cleanup","name":"Cleanup","color":"006b75","default":false},{"id":345188265,"url":"https://api.github.com/repos/aces/Loris/labels/Needs%20Work","name":"Needs Work","color":"eb6420","default":false},{"id":188060585,"url":"https://api.github.com/repos/aces/Loris/labels/Testing","name":"Testing","color":"5319e7","default":false},{"id":708896092,"url":"https://api.github.com/repos/aces/Loris/labels/[branch]%20major","name":"[branch] major","color":"4d3319","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/aces/Loris/milestones/21","html_url":"https://github.com/aces/Loris/milestone/21","labels_url":"https://api.github.com/repos/aces/Loris/milestones/21/labels","id":2855054,"number":21,"title":"20.0","description":"","creator":{"login":"ridz1208","id":15268287,"avatar_url":"https://avatars3.githubusercontent.com/u/15268287?v=4","gravatar_id":"","url":"https://api.github.com/users/ridz1208","html_url":"https://github.com/ridz1208","followers_url":"https://api.github.com/users/ridz1208/followers","following_url":"https://api.github.com/users/ridz1208/following{/other_user}","gists_url":"https://api.github.com/users/ridz1208/gists{/gist_id}","starred_url":"https://api.github.com/users/ridz1208/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ridz1208/subscriptions","organizations_url":"https://api.github.com/users/ridz1208/orgs","repos_url":"https://api.github.com/users/ridz1208/repos","events_url":"https://api.github.com/users/ridz1208/events{/privacy}","received_events_url":"https://api.github.com/users/ridz1208/received_events","type":"User","site_admin":false},"open_issues":4,"closed_issues":9,"state":"open","created_at":"2017-10-20T19:10:53Z","updated_at":"2018-02-22T16:51:19Z","due_on":null,"closed_at":null},"comments":4,"created_at":"2018-02-21T21:01:07Z","updated_at":"2018-02-26T15:13:57Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/aces/Loris/pulls/3507","html_url":"https://github.com/aces/Loris/pull/3507","diff_url":"https://github.com/aces/Loris/pull/3507.diff","patch_url":"https://github.com/aces/Loris/pull/3507.patch"},"body":"This pull change all the calls to Database::singleton to NDB_Factory->databases\r\nIt is a step toward testability\r\n"},"comment":{"url":"https://api.github.com/repos/aces/Loris/issues/comments/368535268","html_url":"https://github.com/aces/Loris/pull/3507#issuecomment-368535268","issue_url":"https://api.github.com/repos/aces/Loris/issues/3507","id":368535268,"user":{"login":"driusan","id":498329,"avatar_url":"https://avatars0.githubusercontent.com/u/498329?v=4","gravatar_id":"","url":"https://api.github.com/users/driusan","html_url":"https://github.com/driusan","followers_url":"https://api.github.com/users/driusan/followers","following_url":"https://api.github.com/users/driusan/following{/other_user}","gists_url":"https://api.github.com/users/driusan/gists{/gist_id}","starred_url":"https://api.github.com/users/driusan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/driusan/subscriptions","organizations_url":"https://api.github.com/users/driusan/orgs","repos_url":"https://api.github.com/users/driusan/repos","events_url":"https://api.github.com/users/driusan/events{/privacy}","received_events_url":"https://api.github.com/users/driusan/received_events","type":"User","site_admin":false},"created_at":"2018-02-26T15:13:56Z","updated_at":"2018-02-26T15:13:56Z","author_association":"COLLABORATOR","body":"@ridz1208 what's the difference between a class which is its own factory and a singleton?"}}
{"actor":{"display_login":"driusan"}}