{"action":"created","issue":{"url":"https://api.github.com/repos/wtsi-npg/npg_ranger/issues/17","repository_url":"https://api.github.com/repos/wtsi-npg/npg_ranger","labels_url":"https://api.github.com/repos/wtsi-npg/npg_ranger/issues/17/labels{/name}","comments_url":"https://api.github.com/repos/wtsi-npg/npg_ranger/issues/17/comments","events_url":"https://api.github.com/repos/wtsi-npg/npg_ranger/issues/17/events","html_url":"https://github.com/wtsi-npg/npg_ranger/pull/17","id":151403964,"number":17,"title":"Data mapper module","user":{"login":"mgcam","id":2123844,"avatar_url":"https://avatars.githubusercontent.com/u/2123844?v=3","gravatar_id":"","url":"https://api.github.com/users/mgcam","html_url":"https://github.com/mgcam","followers_url":"https://api.github.com/users/mgcam/followers","following_url":"https://api.github.com/users/mgcam/following{/other_user}","gists_url":"https://api.github.com/users/mgcam/gists{/gist_id}","starred_url":"https://api.github.com/users/mgcam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mgcam/subscriptions","organizations_url":"https://api.github.com/users/mgcam/orgs","repos_url":"https://api.github.com/users/mgcam/repos","events_url":"https://api.github.com/users/mgcam/events{/privacy}","received_events_url":"https://api.github.com/users/mgcam/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-04-27T14:44:03Z","updated_at":"2016-04-29T11:53:25Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/wtsi-npg/npg_ranger/pulls/17","html_url":"https://github.com/wtsi-npg/npg_ranger/pull/17","diff_url":"https://github.com/wtsi-npg/npg_ranger/pull/17.diff","patch_url":"https://github.com/wtsi-npg/npg_ranger/pull/17.patch"},"body":"A new module that maps the user query to information about available files and their data access groups.\r\n\r\nAuthorisation module's interface simplified.\r\n\r\nWe now have a clean separation between db queries and main application flow and clean-up ob objects in callbacks. The response time when a server shutdown is requested is improved. Previously there was a substantial delay in closing a database. Now the shutdown is immediate.\r\n"},"comment":{"url":"https://api.github.com/repos/wtsi-npg/npg_ranger/issues/comments/215692287","html_url":"https://github.com/wtsi-npg/npg_ranger/pull/17#issuecomment-215692287","issue_url":"https://api.github.com/repos/wtsi-npg/npg_ranger/issues/17","id":215692287,"user":{"login":"dkj","id":1033592,"avatar_url":"https://avatars.githubusercontent.com/u/1033592?v=3","gravatar_id":"","url":"https://api.github.com/users/dkj","html_url":"https://github.com/dkj","followers_url":"https://api.github.com/users/dkj/followers","following_url":"https://api.github.com/users/dkj/following{/other_user}","gists_url":"https://api.github.com/users/dkj/gists{/gist_id}","starred_url":"https://api.github.com/users/dkj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dkj/subscriptions","organizations_url":"https://api.github.com/users/dkj/orgs","repos_url":"https://api.github.com/users/dkj/repos","events_url":"https://api.github.com/users/dkj/events{/privacy}","received_events_url":"https://api.github.com/users/dkj/received_events","type":"User","site_admin":false},"created_at":"2016-04-29T11:53:25Z","updated_at":"2016-04-29T11:53:25Z","body":"Like - however the repeated pattern\r\n```\r\nev_emtr.once('eventfoo', (some_info) => {\r\n    ev_emtr.removeAllListeners();\r\n```\r\nmakes me wonder if there is an even more idiomatic way. (_Not a blocker!_)"}}