{"action":"created","comment":{"url":"https://api.github.com/repos/icgc-dcc/dcc-import/pulls/comments/60761757","id":60761757,"diff_hunk":"@@ -107,8 +106,8 @@ public void execute() {\n             .map(this::joinTrials)\n             .map(this::denormalizeAtcCodes)\n             .map(this::cleanSynonyms)\n-            .map(this::cleanDrug)\n-            .collect(toList()));\n+            .map(DrugImporter::cleanDrug)","path":"dcc-import-drug/src/main/java/org/icgc/dcc/imports/drug/DrugImporter.java","position":null,"original_position":43,"commit_id":"0fefcb52e1f7dbb7c8af7a199381c2d4cb62c360","original_commit_id":"0fefcb52e1f7dbb7c8af7a199381c2d4cb62c360","user":{"login":"btiernay","id":2717578,"avatar_url":"https://avatars.githubusercontent.com/u/2717578?v=3","gravatar_id":"","url":"https://api.github.com/users/btiernay","html_url":"https://github.com/btiernay","followers_url":"https://api.github.com/users/btiernay/followers","following_url":"https://api.github.com/users/btiernay/following{/other_user}","gists_url":"https://api.github.com/users/btiernay/gists{/gist_id}","starred_url":"https://api.github.com/users/btiernay/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/btiernay/subscriptions","organizations_url":"https://api.github.com/users/btiernay/orgs","repos_url":"https://api.github.com/users/btiernay/repos","events_url":"https://api.github.com/users/btiernay/events{/privacy}","received_events_url":"https://api.github.com/users/btiernay/received_events","type":"User","site_admin":false},"body":"Ok, I see why you did that now :)","created_at":"2016-04-22T15:56:57Z","updated_at":"2016-04-22T15:56:57Z","html_url":"https://github.com/icgc-dcc/dcc-import/pull/9#discussion_r60761757","pull_request_url":"https://api.github.com/repos/icgc-dcc/dcc-import/pulls/9","_links":{"self":{"href":"https://api.github.com/repos/icgc-dcc/dcc-import/pulls/comments/60761757"},"html":{"href":"https://github.com/icgc-dcc/dcc-import/pull/9#discussion_r60761757"},"pull_request":{"href":"https://api.github.com/repos/icgc-dcc/dcc-import/pulls/9"}}},"pull_request":{"url":"https://api.github.com/repos/icgc-dcc/dcc-import/pulls/9","id":67528367,"html_url":"https://github.com/icgc-dcc/dcc-import/pull/9","diff_url":"https://github.com/icgc-dcc/dcc-import/pull/9.diff","patch_url":"https://github.com/icgc-dcc/dcc-import/pull/9.patch","issue_url":"https://api.github.com/repos/icgc-dcc/dcc-import/issues/9","number":9,"state":"open","locked":false,"title":"Feature/dcc 4672 drug fields","user":{"login":"andricDu","id":6350043,"avatar_url":"https://avatars.githubusercontent.com/u/6350043?v=3","gravatar_id":"","url":"https://api.github.com/users/andricDu","html_url":"https://github.com/andricDu","followers_url":"https://api.github.com/users/andricDu/followers","following_url":"https://api.github.com/users/andricDu/following{/other_user}","gists_url":"https://api.github.com/users/andricDu/gists{/gist_id}","starred_url":"https://api.github.com/users/andricDu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andricDu/subscriptions","organizations_url":"https://api.github.com/users/andricDu/orgs","repos_url":"https://api.github.com/users/andricDu/repos","events_url":"https://api.github.com/users/andricDu/events{/privacy}","received_events_url":"https://api.github.com/users/andricDu/received_events","type":"User","site_admin":false},"body":"Enforcing allowable fields for drug output. \r\n\r\nDid a little bit of refactor to move the code towards Streams so it is more inline with the rest of the code base. \r\n\r\nI see lots of improvements to be made in general but want to limit the number of moving pieces at the moment. Obvious offender to fix in the future is the writer. ","created_at":"2016-04-22T15:18:59Z","updated_at":"2016-04-22T15:56:57Z","closed_at":null,"merged_at":null,"merge_commit_sha":"00fe40b15b15764cb6e3b0ed1b9a249a1c1a3e90","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/icgc-dcc/dcc-import/pulls/9/commits","review_comments_url":"https://api.github.com/repos/icgc-dcc/dcc-import/pulls/9/comments","review_comment_url":"https://api.github.com/repos/icgc-dcc/dcc-import/pulls/comments{/number}","comments_url":"https://api.github.com/repos/icgc-dcc/dcc-import/issues/9/comments","statuses_url":"https://api.github.com/repos/icgc-dcc/dcc-import/statuses/0fefcb52e1f7dbb7c8af7a199381c2d4cb62c360","head":{"label":"icgc-dcc:feature/DCC-4672-drug-fields","ref":"feature/DCC-4672-drug-fields","sha":"0fefcb52e1f7dbb7c8af7a199381c2d4cb62c360","user":{"login":"icgc-dcc","id":1508638,"avatar_url":"https://avatars.githubusercontent.com/u/1508638?v=3","gravatar_id":"","url":"https://api.github.com/users/icgc-dcc","html_url":"https://github.com/icgc-dcc","followers_url":"https://api.github.com/users/icgc-dcc/followers","following_url":"https://api.github.com/users/icgc-dcc/following{/other_user}","gists_url":"https://api.github.com/users/icgc-dcc/gists{/gist_id}","starred_url":"https://api.github.com/users/icgc-dcc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/icgc-dcc/subscriptions","organizations_url":"https://api.github.com/users/icgc-dcc/orgs","repos_url":"https://api.github.com/users/icgc-dcc/repos","events_url":"https://api.github.com/users/icgc-dcc/events{/privacy}","received_events_url":"https://api.github.com/users/icgc-dcc/received_events","type":"Organization","site_admin":false},"repo":{"id":50677343,"name":"dcc-import","full_name":"icgc-dcc/dcc-import","owner":{"login":"icgc-dcc","id":1508638,"avatar_url":"https://avatars.githubusercontent.com/u/1508638?v=3","gravatar_id":"","url":"https://api.github.com/users/icgc-dcc","html_url":"https://github.com/icgc-dcc","followers_url":"https://api.github.com/users/icgc-dcc/followers","following_url":"https://api.github.com/users/icgc-dcc/following{/other_user}","gists_url":"https://api.github.com/users/icgc-dcc/gists{/gist_id}","starred_url":"https://api.github.com/users/icgc-dcc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/icgc-dcc/subscriptions","organizations_url":"https://api.github.com/users/icgc-dcc/orgs","repos_url":"https://api.github.com/users/icgc-dcc/repos","events_url":"https://api.github.com/users/icgc-dcc/events{/privacy}","received_events_url":"https://api.github.com/users/icgc-dcc/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/icgc-dcc/dcc-import","description":"Reference data importers","fork":false,"url":"https://api.github.com/repos/icgc-dcc/dcc-import","forks_url":"https://api.github.com/repos/icgc-dcc/dcc-import/forks","keys_url":"https://api.github.com/repos/icgc-dcc/dcc-import/keys{/key_id}","collaborators_url":"https://api.github.com/repos/icgc-dcc/dcc-import/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/icgc-dcc/dcc-import/teams","hooks_url":"https://api.github.com/repos/icgc-dcc/dcc-import/hooks","issue_events_url":"https://api.github.com/repos/icgc-dcc/dcc-import/issues/events{/number}","events_url":"https://api.github.com/repos/icgc-dcc/dcc-import/events","assignees_url":"https://api.github.com/repos/icgc-dcc/dcc-import/assignees{/user}","branches_url":"https://api.github.com/repos/icgc-dcc/dcc-import/branches{/branch}","tags_url":"https://api.github.com/repos/icgc-dcc/dcc-import/tags","blobs_url":"https://api.github.com/repos/icgc-dcc/dcc-import/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/icgc-dcc/dcc-import/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/icgc-dcc/dcc-import/git/refs{/sha}","trees_url":"https://api.github.com/repos/icgc-dcc/dcc-import/git/trees{/sha}","statuses_url":"https://api.github.com/repos/icgc-dcc/dcc-import/statuses/{sha}","languages_url":"https://api.github.com/repos/icgc-dcc/dcc-import/languages","stargazers_url":"https://api.github.com/repos/icgc-dcc/dcc-import/stargazers","contributors_url":"https://api.github.com/repos/icgc-dcc/dcc-import/contributors","subscribers_url":"https://api.github.com/repos/icgc-dcc/dcc-import/subscribers","subscription_url":"https://api.github.com/repos/icgc-dcc/dcc-import/subscription","commits_url":"https://api.github.com/repos/icgc-dcc/dcc-import/commits{/sha}","git_commits_url":"https://api.github.com/repos/icgc-dcc/dcc-import/git/commits{/sha}","comments_url":"https://api.github.com/repos/icgc-dcc/dcc-import/comments{/number}","issue_comment_url":"https://api.github.com/repos/icgc-dcc/dcc-import/issues/comments{/number}","contents_url":"https://api.github.com/repos/icgc-dcc/dcc-import/contents/{+path}","compare_url":"https://api.github.com/repos/icgc-dcc/dcc-import/compare/{base}...{head}","merges_url":"https://api.github.com/repos/icgc-dcc/dcc-import/merges","archive_url":"https://api.github.com/repos/icgc-dcc/dcc-import/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/icgc-dcc/dcc-import/downloads","issues_url":"https://api.github.com/repos/icgc-dcc/dcc-import/issues{/number}","pulls_url":"https://api.github.com/repos/icgc-dcc/dcc-import/pulls{/number}","milestones_url":"https://api.github.com/repos/icgc-dcc/dcc-import/milestones{/number}","notifications_url":"https://api.github.com/repos/icgc-dcc/dcc-import/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/icgc-dcc/dcc-import/labels{/name}","releases_url":"https://api.github.com/repos/icgc-dcc/dcc-import/releases{/id}","deployments_url":"https://api.github.com/repos/icgc-dcc/dcc-import/deployments","created_at":"2016-01-29T17:03:56Z","updated_at":"2016-04-05T20:23:48Z","pushed_at":"2016-04-22T15:42:43Z","git_url":"git://github.com/icgc-dcc/dcc-import.git","ssh_url":"git@github.com:icgc-dcc/dcc-import.git","clone_url":"https://github.com/icgc-dcc/dcc-import.git","svn_url":"https://github.com/icgc-dcc/dcc-import","homepage":"","size":6108,"stargazers_count":1,"watchers_count":1,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":1,"default_branch":"develop"}},"base":{"label":"icgc-dcc:develop","ref":"develop","sha":"d218caac25eb2753779b82111b14be5243fdce57","user":{"login":"icgc-dcc","id":1508638,"avatar_url":"https://avatars.githubusercontent.com/u/1508638?v=3","gravatar_id":"","url":"https://api.github.com/users/icgc-dcc","html_url":"https://github.com/icgc-dcc","followers_url":"https://api.github.com/users/icgc-dcc/followers","following_url":"https://api.github.com/users/icgc-dcc/following{/other_user}","gists_url":"https://api.github.com/users/icgc-dcc/gists{/gist_id}","starred_url":"https://api.github.com/users/icgc-dcc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/icgc-dcc/subscriptions","organizations_url":"https://api.github.com/users/icgc-dcc/orgs","repos_url":"https://api.github.com/users/icgc-dcc/repos","events_url":"https://api.github.com/users/icgc-dcc/events{/privacy}","received_events_url":"https://api.github.com/users/icgc-dcc/received_events","type":"Organization","site_admin":false},"repo":{"id":50677343,"name":"dcc-import","full_name":"icgc-dcc/dcc-import","owner":{"login":"icgc-dcc","id":1508638,"avatar_url":"https://avatars.githubusercontent.com/u/1508638?v=3","gravatar_id":"","url":"https://api.github.com/users/icgc-dcc","html_url":"https://github.com/icgc-dcc","followers_url":"https://api.github.com/users/icgc-dcc/followers","following_url":"https://api.github.com/users/icgc-dcc/following{/other_user}","gists_url":"https://api.github.com/users/icgc-dcc/gists{/gist_id}","starred_url":"https://api.github.com/users/icgc-dcc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/icgc-dcc/subscriptions","organizations_url":"https://api.github.com/users/icgc-dcc/orgs","repos_url":"https://api.github.com/users/icgc-dcc/repos","events_url":"https://api.github.com/users/icgc-dcc/events{/privacy}","received_events_url":"https://api.github.com/users/icgc-dcc/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/icgc-dcc/dcc-import","description":"Reference data importers","fork":false,"url":"https://api.github.com/repos/icgc-dcc/dcc-import","forks_url":"https://api.github.com/repos/icgc-dcc/dcc-import/forks","keys_url":"https://api.github.com/repos/icgc-dcc/dcc-import/keys{/key_id}","collaborators_url":"https://api.github.com/repos/icgc-dcc/dcc-import/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/icgc-dcc/dcc-import/teams","hooks_url":"https://api.github.com/repos/icgc-dcc/dcc-import/hooks","issue_events_url":"https://api.github.com/repos/icgc-dcc/dcc-import/issues/events{/number}","events_url":"https://api.github.com/repos/icgc-dcc/dcc-import/events","assignees_url":"https://api.github.com/repos/icgc-dcc/dcc-import/assignees{/user}","branches_url":"https://api.github.com/repos/icgc-dcc/dcc-import/branches{/branch}","tags_url":"https://api.github.com/repos/icgc-dcc/dcc-import/tags","blobs_url":"https://api.github.com/repos/icgc-dcc/dcc-import/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/icgc-dcc/dcc-import/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/icgc-dcc/dcc-import/git/refs{/sha}","trees_url":"https://api.github.com/repos/icgc-dcc/dcc-import/git/trees{/sha}","statuses_url":"https://api.github.com/repos/icgc-dcc/dcc-import/statuses/{sha}","languages_url":"https://api.github.com/repos/icgc-dcc/dcc-import/languages","stargazers_url":"https://api.github.com/repos/icgc-dcc/dcc-import/stargazers","contributors_url":"https://api.github.com/repos/icgc-dcc/dcc-import/contributors","subscribers_url":"https://api.github.com/repos/icgc-dcc/dcc-import/subscribers","subscription_url":"https://api.github.com/repos/icgc-dcc/dcc-import/subscription","commits_url":"https://api.github.com/repos/icgc-dcc/dcc-import/commits{/sha}","git_commits_url":"https://api.github.com/repos/icgc-dcc/dcc-import/git/commits{/sha}","comments_url":"https://api.github.com/repos/icgc-dcc/dcc-import/comments{/number}","issue_comment_url":"https://api.github.com/repos/icgc-dcc/dcc-import/issues/comments{/number}","contents_url":"https://api.github.com/repos/icgc-dcc/dcc-import/contents/{+path}","compare_url":"https://api.github.com/repos/icgc-dcc/dcc-import/compare/{base}...{head}","merges_url":"https://api.github.com/repos/icgc-dcc/dcc-import/merges","archive_url":"https://api.github.com/repos/icgc-dcc/dcc-import/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/icgc-dcc/dcc-import/downloads","issues_url":"https://api.github.com/repos/icgc-dcc/dcc-import/issues{/number}","pulls_url":"https://api.github.com/repos/icgc-dcc/dcc-import/pulls{/number}","milestones_url":"https://api.github.com/repos/icgc-dcc/dcc-import/milestones{/number}","notifications_url":"https://api.github.com/repos/icgc-dcc/dcc-import/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/icgc-dcc/dcc-import/labels{/name}","releases_url":"https://api.github.com/repos/icgc-dcc/dcc-import/releases{/id}","deployments_url":"https://api.github.com/repos/icgc-dcc/dcc-import/deployments","created_at":"2016-01-29T17:03:56Z","updated_at":"2016-04-05T20:23:48Z","pushed_at":"2016-04-22T15:42:43Z","git_url":"git://github.com/icgc-dcc/dcc-import.git","ssh_url":"git@github.com:icgc-dcc/dcc-import.git","clone_url":"https://github.com/icgc-dcc/dcc-import.git","svn_url":"https://github.com/icgc-dcc/dcc-import","homepage":"","size":6108,"stargazers_count":1,"watchers_count":1,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":1,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/icgc-dcc/dcc-import/pulls/9"},"html":{"href":"https://github.com/icgc-dcc/dcc-import/pull/9"},"issue":{"href":"https://api.github.com/repos/icgc-dcc/dcc-import/issues/9"},"comments":{"href":"https://api.github.com/repos/icgc-dcc/dcc-import/issues/9/comments"},"review_comments":{"href":"https://api.github.com/repos/icgc-dcc/dcc-import/pulls/9/comments"},"review_comment":{"href":"https://api.github.com/repos/icgc-dcc/dcc-import/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/icgc-dcc/dcc-import/pulls/9/commits"},"statuses":{"href":"https://api.github.com/repos/icgc-dcc/dcc-import/statuses/0fefcb52e1f7dbb7c8af7a199381c2d4cb62c360"}}}}