{"action":"created","comment":{"url":"https://api.github.com/repos/EBIvariation/ega-accession/pulls/comments/219800889","pull_request_review_id":158058578,"id":219800889,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIxOTgwMDg4OQ==","diff_hunk":"@@ -49,9 +47,9 @@\n \n     @Test\n     public void testRestApi() {\n-        FileDTO fileA = new FileDTO(HashType.MD5, \"checksumAAAAAAAAAAAAAAAAAAAAAAAA\");\n-        FileDTO fileB = new FileDTO(HashType.MD5, \"checksumBBBBBBBBBBBBBBBBBBBBBBBB\");\n-        FileDTO fileC = new FileDTO(HashType.SHA1, \"checksumCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC\");\n+        FileDTO fileA = new FileDTO(\"checksumAAAAAAAAAAAAAAAAAAAAAAAA\", null);\n+        FileDTO fileB = new FileDTO(\"checksumBBBBBBBBBBBBBBBBBBBBBBBB\", null);\n+        FileDTO fileC = new FileDTO(\"checksumCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC\", null);","path":"src/test/java/uk/ac/ebi/ega/accession/file/FileRestControllerTest.java","position":23,"original_position":23,"commit_id":"d572bcc9f4194a86bd93d78b3349c62cf6af273b","original_commit_id":"d572bcc9f4194a86bd93d78b3349c62cf6af273b","user":{"login":"jorizci","id":13378840,"node_id":"MDQ6VXNlcjEzMzc4ODQw","avatar_url":"https://avatars0.githubusercontent.com/u/13378840?v=4","gravatar_id":"","url":"https://api.github.com/users/jorizci","html_url":"https://github.com/jorizci","followers_url":"https://api.github.com/users/jorizci/followers","following_url":"https://api.github.com/users/jorizci/following{/other_user}","gists_url":"https://api.github.com/users/jorizci/gists{/gist_id}","starred_url":"https://api.github.com/users/jorizci/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jorizci/subscriptions","organizations_url":"https://api.github.com/users/jorizci/orgs","repos_url":"https://api.github.com/users/jorizci/repos","events_url":"https://api.github.com/users/jorizci/events{/privacy}","received_events_url":"https://api.github.com/users/jorizci/received_events","type":"User","site_admin":false},"body":"This last checksum was a Sha2 one, you need to put a valid md5 and the sha2 in this case. The test expects that all the elements are correct, valid and that they are gonna be accepted.","created_at":"2018-09-24T11:17:56Z","updated_at":"2018-09-24T11:21:24Z","html_url":"https://github.com/EBIvariation/ega-accession/pull/6#discussion_r219800889","pull_request_url":"https://api.github.com/repos/EBIvariation/ega-accession/pulls/6","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/EBIvariation/ega-accession/pulls/comments/219800889"},"html":{"href":"https://github.com/EBIvariation/ega-accession/pull/6#discussion_r219800889"},"pull_request":{"href":"https://api.github.com/repos/EBIvariation/ega-accession/pulls/6"}}},"pull_request":{"url":"https://api.github.com/repos/EBIvariation/ega-accession/pulls/6","id":217302117,"node_id":"MDExOlB1bGxSZXF1ZXN0MjE3MzAyMTE3","html_url":"https://github.com/EBIvariation/ega-accession/pull/6","diff_url":"https://github.com/EBIvariation/ega-accession/pull/6.diff","patch_url":"https://github.com/EBIvariation/ega-accession/pull/6.patch","issue_url":"https://api.github.com/repos/EBIvariation/ega-accession/issues/6","number":6,"state":"open","locked":false,"title":"make file endpoint able to receive multiple hash, md5 mandatory","user":{"login":"omllobet","id":1505258,"node_id":"MDQ6VXNlcjE1MDUyNTg=","avatar_url":"https://avatars0.githubusercontent.com/u/1505258?v=4","gravatar_id":"","url":"https://api.github.com/users/omllobet","html_url":"https://github.com/omllobet","followers_url":"https://api.github.com/users/omllobet/followers","following_url":"https://api.github.com/users/omllobet/following{/other_user}","gists_url":"https://api.github.com/users/omllobet/gists{/gist_id}","starred_url":"https://api.github.com/users/omllobet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/omllobet/subscriptions","organizations_url":"https://api.github.com/users/omllobet/orgs","repos_url":"https://api.github.com/users/omllobet/repos","events_url":"https://api.github.com/users/omllobet/events{/privacy}","received_events_url":"https://api.github.com/users/omllobet/received_events","type":"User","site_admin":false},"body":"Changed file endpoint to receive the params fileMd5 and fileSha2 instead of hashtype and hash.","created_at":"2018-09-21T14:27:55Z","updated_at":"2018-09-24T11:21:24Z","closed_at":null,"merged_at":null,"merge_commit_sha":"74e1d765d511ed7aa2bd6209c829462cf2f6d984","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/EBIvariation/ega-accession/pulls/6/commits","review_comments_url":"https://api.github.com/repos/EBIvariation/ega-accession/pulls/6/comments","review_comment_url":"https://api.github.com/repos/EBIvariation/ega-accession/pulls/comments{/number}","comments_url":"https://api.github.com/repos/EBIvariation/ega-accession/issues/6/comments","statuses_url":"https://api.github.com/repos/EBIvariation/ega-accession/statuses/d572bcc9f4194a86bd93d78b3349c62cf6af273b","head":{"label":"omllobet:file_endpoint_modifications","ref":"file_endpoint_modifications","sha":"d572bcc9f4194a86bd93d78b3349c62cf6af273b","user":{"login":"omllobet","id":1505258,"node_id":"MDQ6VXNlcjE1MDUyNTg=","avatar_url":"https://avatars0.githubusercontent.com/u/1505258?v=4","gravatar_id":"","url":"https://api.github.com/users/omllobet","html_url":"https://github.com/omllobet","followers_url":"https://api.github.com/users/omllobet/followers","following_url":"https://api.github.com/users/omllobet/following{/other_user}","gists_url":"https://api.github.com/users/omllobet/gists{/gist_id}","starred_url":"https://api.github.com/users/omllobet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/omllobet/subscriptions","organizations_url":"https://api.github.com/users/omllobet/orgs","repos_url":"https://api.github.com/users/omllobet/repos","events_url":"https://api.github.com/users/omllobet/events{/privacy}","received_events_url":"https://api.github.com/users/omllobet/received_events","type":"User","site_admin":false},"repo":{"id":149087269,"node_id":"MDEwOlJlcG9zaXRvcnkxNDkwODcyNjk=","name":"ega-accession","full_name":"omllobet/ega-accession","private":false,"owner":{"login":"omllobet","id":1505258,"node_id":"MDQ6VXNlcjE1MDUyNTg=","avatar_url":"https://avatars0.githubusercontent.com/u/1505258?v=4","gravatar_id":"","url":"https://api.github.com/users/omllobet","html_url":"https://github.com/omllobet","followers_url":"https://api.github.com/users/omllobet/followers","following_url":"https://api.github.com/users/omllobet/following{/other_user}","gists_url":"https://api.github.com/users/omllobet/gists{/gist_id}","starred_url":"https://api.github.com/users/omllobet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/omllobet/subscriptions","organizations_url":"https://api.github.com/users/omllobet/orgs","repos_url":"https://api.github.com/users/omllobet/repos","events_url":"https://api.github.com/users/omllobet/events{/privacy}","received_events_url":"https://api.github.com/users/omllobet/received_events","type":"User","site_admin":false},"html_url":"https://github.com/omllobet/ega-accession","description":"EGA accessioning service","fork":true,"url":"https://api.github.com/repos/omllobet/ega-accession","forks_url":"https://api.github.com/repos/omllobet/ega-accession/forks","keys_url":"https://api.github.com/repos/omllobet/ega-accession/keys{/key_id}","collaborators_url":"https://api.github.com/repos/omllobet/ega-accession/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/omllobet/ega-accession/teams","hooks_url":"https://api.github.com/repos/omllobet/ega-accession/hooks","issue_events_url":"https://api.github.com/repos/omllobet/ega-accession/issues/events{/number}","events_url":"https://api.github.com/repos/omllobet/ega-accession/events","assignees_url":"https://api.github.com/repos/omllobet/ega-accession/assignees{/user}","branches_url":"https://api.github.com/repos/omllobet/ega-accession/branches{/branch}","tags_url":"https://api.github.com/repos/omllobet/ega-accession/tags","blobs_url":"https://api.github.com/repos/omllobet/ega-accession/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/omllobet/ega-accession/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/omllobet/ega-accession/git/refs{/sha}","trees_url":"https://api.github.com/repos/omllobet/ega-accession/git/trees{/sha}","statuses_url":"https://api.github.com/repos/omllobet/ega-accession/statuses/{sha}","languages_url":"https://api.github.com/repos/omllobet/ega-accession/languages","stargazers_url":"https://api.github.com/repos/omllobet/ega-accession/stargazers","contributors_url":"https://api.github.com/repos/omllobet/ega-accession/contributors","subscribers_url":"https://api.github.com/repos/omllobet/ega-accession/subscribers","subscription_url":"https://api.github.com/repos/omllobet/ega-accession/subscription","commits_url":"https://api.github.com/repos/omllobet/ega-accession/commits{/sha}","git_commits_url":"https://api.github.com/repos/omllobet/ega-accession/git/commits{/sha}","comments_url":"https://api.github.com/repos/omllobet/ega-accession/comments{/number}","issue_comment_url":"https://api.github.com/repos/omllobet/ega-accession/issues/comments{/number}","contents_url":"https://api.github.com/repos/omllobet/ega-accession/contents/{+path}","compare_url":"https://api.github.com/repos/omllobet/ega-accession/compare/{base}...{head}","merges_url":"https://api.github.com/repos/omllobet/ega-accession/merges","archive_url":"https://api.github.com/repos/omllobet/ega-accession/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/omllobet/ega-accession/downloads","issues_url":"https://api.github.com/repos/omllobet/ega-accession/issues{/number}","pulls_url":"https://api.github.com/repos/omllobet/ega-accession/pulls{/number}","milestones_url":"https://api.github.com/repos/omllobet/ega-accession/milestones{/number}","notifications_url":"https://api.github.com/repos/omllobet/ega-accession/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/omllobet/ega-accession/labels{/name}","releases_url":"https://api.github.com/repos/omllobet/ega-accession/releases{/id}","deployments_url":"https://api.github.com/repos/omllobet/ega-accession/deployments","created_at":"2018-09-17T07:39:07Z","updated_at":"2018-09-17T07:39:09Z","pushed_at":"2018-09-21T14:24:17Z","git_url":"git://github.com/omllobet/ega-accession.git","ssh_url":"git@github.com:omllobet/ega-accession.git","clone_url":"https://github.com/omllobet/ega-accession.git","svn_url":"https://github.com/omllobet/ega-accession","homepage":"","size":109,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"EBIvariation:master","ref":"master","sha":"fbe3c74e2d07594276395c4376f55f6120400273","user":{"login":"EBIvariation","id":6419333,"node_id":"MDEyOk9yZ2FuaXphdGlvbjY0MTkzMzM=","avatar_url":"https://avatars1.githubusercontent.com/u/6419333?v=4","gravatar_id":"","url":"https://api.github.com/users/EBIvariation","html_url":"https://github.com/EBIvariation","followers_url":"https://api.github.com/users/EBIvariation/followers","following_url":"https://api.github.com/users/EBIvariation/following{/other_user}","gists_url":"https://api.github.com/users/EBIvariation/gists{/gist_id}","starred_url":"https://api.github.com/users/EBIvariation/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/EBIvariation/subscriptions","organizations_url":"https://api.github.com/users/EBIvariation/orgs","repos_url":"https://api.github.com/users/EBIvariation/repos","events_url":"https://api.github.com/users/EBIvariation/events{/privacy}","received_events_url":"https://api.github.com/users/EBIvariation/received_events","type":"Organization","site_admin":false},"repo":{"id":128208068,"node_id":"MDEwOlJlcG9zaXRvcnkxMjgyMDgwNjg=","name":"ega-accession","full_name":"EBIvariation/ega-accession","private":false,"owner":{"login":"EBIvariation","id":6419333,"node_id":"MDEyOk9yZ2FuaXphdGlvbjY0MTkzMzM=","avatar_url":"https://avatars1.githubusercontent.com/u/6419333?v=4","gravatar_id":"","url":"https://api.github.com/users/EBIvariation","html_url":"https://github.com/EBIvariation","followers_url":"https://api.github.com/users/EBIvariation/followers","following_url":"https://api.github.com/users/EBIvariation/following{/other_user}","gists_url":"https://api.github.com/users/EBIvariation/gists{/gist_id}","starred_url":"https://api.github.com/users/EBIvariation/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/EBIvariation/subscriptions","organizations_url":"https://api.github.com/users/EBIvariation/orgs","repos_url":"https://api.github.com/users/EBIvariation/repos","events_url":"https://api.github.com/users/EBIvariation/events{/privacy}","received_events_url":"https://api.github.com/users/EBIvariation/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/EBIvariation/ega-accession","description":"EGA accessioning service","fork":false,"url":"https://api.github.com/repos/EBIvariation/ega-accession","forks_url":"https://api.github.com/repos/EBIvariation/ega-accession/forks","keys_url":"https://api.github.com/repos/EBIvariation/ega-accession/keys{/key_id}","collaborators_url":"https://api.github.com/repos/EBIvariation/ega-accession/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/EBIvariation/ega-accession/teams","hooks_url":"https://api.github.com/repos/EBIvariation/ega-accession/hooks","issue_events_url":"https://api.github.com/repos/EBIvariation/ega-accession/issues/events{/number}","events_url":"https://api.github.com/repos/EBIvariation/ega-accession/events","assignees_url":"https://api.github.com/repos/EBIvariation/ega-accession/assignees{/user}","branches_url":"https://api.github.com/repos/EBIvariation/ega-accession/branches{/branch}","tags_url":"https://api.github.com/repos/EBIvariation/ega-accession/tags","blobs_url":"https://api.github.com/repos/EBIvariation/ega-accession/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/EBIvariation/ega-accession/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/EBIvariation/ega-accession/git/refs{/sha}","trees_url":"https://api.github.com/repos/EBIvariation/ega-accession/git/trees{/sha}","statuses_url":"https://api.github.com/repos/EBIvariation/ega-accession/statuses/{sha}","languages_url":"https://api.github.com/repos/EBIvariation/ega-accession/languages","stargazers_url":"https://api.github.com/repos/EBIvariation/ega-accession/stargazers","contributors_url":"https://api.github.com/repos/EBIvariation/ega-accession/contributors","subscribers_url":"https://api.github.com/repos/EBIvariation/ega-accession/subscribers","subscription_url":"https://api.github.com/repos/EBIvariation/ega-accession/subscription","commits_url":"https://api.github.com/repos/EBIvariation/ega-accession/commits{/sha}","git_commits_url":"https://api.github.com/repos/EBIvariation/ega-accession/git/commits{/sha}","comments_url":"https://api.github.com/repos/EBIvariation/ega-accession/comments{/number}","issue_comment_url":"https://api.github.com/repos/EBIvariation/ega-accession/issues/comments{/number}","contents_url":"https://api.github.com/repos/EBIvariation/ega-accession/contents/{+path}","compare_url":"https://api.github.com/repos/EBIvariation/ega-accession/compare/{base}...{head}","merges_url":"https://api.github.com/repos/EBIvariation/ega-accession/merges","archive_url":"https://api.github.com/repos/EBIvariation/ega-accession/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/EBIvariation/ega-accession/downloads","issues_url":"https://api.github.com/repos/EBIvariation/ega-accession/issues{/number}","pulls_url":"https://api.github.com/repos/EBIvariation/ega-accession/pulls{/number}","milestones_url":"https://api.github.com/repos/EBIvariation/ega-accession/milestones{/number}","notifications_url":"https://api.github.com/repos/EBIvariation/ega-accession/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/EBIvariation/ega-accession/labels{/name}","releases_url":"https://api.github.com/repos/EBIvariation/ega-accession/releases{/id}","deployments_url":"https://api.github.com/repos/EBIvariation/ega-accession/deployments","created_at":"2018-04-05T13:10:43Z","updated_at":"2018-08-31T14:30:00Z","pushed_at":"2018-09-21T14:27:56Z","git_url":"git://github.com/EBIvariation/ega-accession.git","ssh_url":"git@github.com:EBIvariation/ega-accession.git","clone_url":"https://github.com/EBIvariation/ega-accession.git","svn_url":"https://github.com/EBIvariation/ega-accession","homepage":"","size":104,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"archived":false,"open_issues_count":1,"license":null,"forks":3,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/EBIvariation/ega-accession/pulls/6"},"html":{"href":"https://github.com/EBIvariation/ega-accession/pull/6"},"issue":{"href":"https://api.github.com/repos/EBIvariation/ega-accession/issues/6"},"comments":{"href":"https://api.github.com/repos/EBIvariation/ega-accession/issues/6/comments"},"review_comments":{"href":"https://api.github.com/repos/EBIvariation/ega-accession/pulls/6/comments"},"review_comment":{"href":"https://api.github.com/repos/EBIvariation/ega-accession/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/EBIvariation/ega-accession/pulls/6/commits"},"statuses":{"href":"https://api.github.com/repos/EBIvariation/ega-accession/statuses/d572bcc9f4194a86bd93d78b3349c62cf6af273b"}},"author_association":"NONE"}}
{"actor":{"display_login":"jorizci"}}