{"action":"created","comment":{"url":"https://api.github.com/repos/cumulus-nasa/cumulus/pulls/comments/167337066","pull_request_review_id":95551499,"id":167337066,"diff_hunk":"@@ -98,6 +100,68 @@ test('download Granule from HTTP endpoint', (t) => {\n     });\n });\n \n+test('download Granule from S3 endpoint', (t) => {\n+  const provider = {\n+    id: 'MODAPS',\n+    protocol: 's3'\n+  };\n+\n+  const newPayload = Object.assign({}, payload);\n+  newPayload.config.provider = provider;\n+\n+  // update path to start with s3://, upload the granule files to s3 for testing,\n+  // update information of test files\n+  for (let i = 0; i < newPayload.input.granules.length; i++) {","path":"cumulus/tasks/sync-granule/tests/sync_granule_test.js","position":null,"original_position":23,"commit_id":"8f5a9b6a216394e3d990f0afdbaca8cfa2ddcefc","original_commit_id":"0e0a1686e53aa2c1799f03bed09706f4d21b0908","user":{"login":"jennyhliu","id":34660846,"avatar_url":"https://avatars2.githubusercontent.com/u/34660846?v=4","gravatar_id":"","url":"https://api.github.com/users/jennyhliu","html_url":"https://github.com/jennyhliu","followers_url":"https://api.github.com/users/jennyhliu/followers","following_url":"https://api.github.com/users/jennyhliu/following{/other_user}","gists_url":"https://api.github.com/users/jennyhliu/gists{/gist_id}","starred_url":"https://api.github.com/users/jennyhliu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jennyhliu/subscriptions","organizations_url":"https://api.github.com/users/jennyhliu/orgs","repos_url":"https://api.github.com/users/jennyhliu/repos","events_url":"https://api.github.com/users/jennyhliu/events{/privacy}","received_events_url":"https://api.github.com/users/jennyhliu/received_events","type":"User","site_admin":false},"body":"with foreach, not sure how to update the value. e.g. newPayload.input.granules[i].files[j].path =","created_at":"2018-02-09T20:23:37Z","updated_at":"2018-02-09T20:23:37Z","html_url":"https://github.com/cumulus-nasa/cumulus/pull/184#discussion_r167337066","pull_request_url":"https://api.github.com/repos/cumulus-nasa/cumulus/pulls/184","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/cumulus-nasa/cumulus/pulls/comments/167337066"},"html":{"href":"https://github.com/cumulus-nasa/cumulus/pull/184#discussion_r167337066"},"pull_request":{"href":"https://api.github.com/repos/cumulus-nasa/cumulus/pulls/184"}},"in_reply_to_id":167284968},"pull_request":{"url":"https://api.github.com/repos/cumulus-nasa/cumulus/pulls/184","id":168273675,"html_url":"https://github.com/cumulus-nasa/cumulus/pull/184","diff_url":"https://github.com/cumulus-nasa/cumulus/pull/184.diff","patch_url":"https://github.com/cumulus-nasa/cumulus/pull/184.patch","issue_url":"https://api.github.com/repos/cumulus-nasa/cumulus/issues/184","number":184,"state":"open","locked":false,"title":"CUMULUS-227 Add S3 ingest support","user":{"login":"jennyhliu","id":34660846,"avatar_url":"https://avatars2.githubusercontent.com/u/34660846?v=4","gravatar_id":"","url":"https://api.github.com/users/jennyhliu","html_url":"https://github.com/jennyhliu","followers_url":"https://api.github.com/users/jennyhliu/followers","following_url":"https://api.github.com/users/jennyhliu/following{/other_user}","gists_url":"https://api.github.com/users/jennyhliu/gists{/gist_id}","starred_url":"https://api.github.com/users/jennyhliu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jennyhliu/subscriptions","organizations_url":"https://api.github.com/users/jennyhliu/orgs","repos_url":"https://api.github.com/users/jennyhliu/repos","events_url":"https://api.github.com/users/jennyhliu/events{/privacy}","received_events_url":"https://api.github.com/users/jennyhliu/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-02-09T15:48:50Z","updated_at":"2018-02-09T20:23:37Z","closed_at":null,"merged_at":null,"merge_commit_sha":"5d0d235f8f051baef34771b68b2f7eadaf200fb0","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/cumulus-nasa/cumulus/pulls/184/commits","review_comments_url":"https://api.github.com/repos/cumulus-nasa/cumulus/pulls/184/comments","review_comment_url":"https://api.github.com/repos/cumulus-nasa/cumulus/pulls/comments{/number}","comments_url":"https://api.github.com/repos/cumulus-nasa/cumulus/issues/184/comments","statuses_url":"https://api.github.com/repos/cumulus-nasa/cumulus/statuses/8f5a9b6a216394e3d990f0afdbaca8cfa2ddcefc","head":{"label":"cumulus-nasa:s3syngran_mu","ref":"s3syngran_mu","sha":"8f5a9b6a216394e3d990f0afdbaca8cfa2ddcefc","user":{"login":"cumulus-nasa","id":20669771,"avatar_url":"https://avatars3.githubusercontent.com/u/20669771?v=4","gravatar_id":"","url":"https://api.github.com/users/cumulus-nasa","html_url":"https://github.com/cumulus-nasa","followers_url":"https://api.github.com/users/cumulus-nasa/followers","following_url":"https://api.github.com/users/cumulus-nasa/following{/other_user}","gists_url":"https://api.github.com/users/cumulus-nasa/gists{/gist_id}","starred_url":"https://api.github.com/users/cumulus-nasa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cumulus-nasa/subscriptions","organizations_url":"https://api.github.com/users/cumulus-nasa/orgs","repos_url":"https://api.github.com/users/cumulus-nasa/repos","events_url":"https://api.github.com/users/cumulus-nasa/events{/privacy}","received_events_url":"https://api.github.com/users/cumulus-nasa/received_events","type":"Organization","site_admin":false},"repo":{"id":95879196,"name":"cumulus","full_name":"cumulus-nasa/cumulus","owner":{"login":"cumulus-nasa","id":20669771,"avatar_url":"https://avatars3.githubusercontent.com/u/20669771?v=4","gravatar_id":"","url":"https://api.github.com/users/cumulus-nasa","html_url":"https://github.com/cumulus-nasa","followers_url":"https://api.github.com/users/cumulus-nasa/followers","following_url":"https://api.github.com/users/cumulus-nasa/following{/other_user}","gists_url":"https://api.github.com/users/cumulus-nasa/gists{/gist_id}","starred_url":"https://api.github.com/users/cumulus-nasa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cumulus-nasa/subscriptions","organizations_url":"https://api.github.com/users/cumulus-nasa/orgs","repos_url":"https://api.github.com/users/cumulus-nasa/repos","events_url":"https://api.github.com/users/cumulus-nasa/events{/privacy}","received_events_url":"https://api.github.com/users/cumulus-nasa/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/cumulus-nasa/cumulus","description":"Cumulus Framework + Cumulus API","fork":false,"url":"https://api.github.com/repos/cumulus-nasa/cumulus","forks_url":"https://api.github.com/repos/cumulus-nasa/cumulus/forks","keys_url":"https://api.github.com/repos/cumulus-nasa/cumulus/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cumulus-nasa/cumulus/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cumulus-nasa/cumulus/teams","hooks_url":"https://api.github.com/repos/cumulus-nasa/cumulus/hooks","issue_events_url":"https://api.github.com/repos/cumulus-nasa/cumulus/issues/events{/number}","events_url":"https://api.github.com/repos/cumulus-nasa/cumulus/events","assignees_url":"https://api.github.com/repos/cumulus-nasa/cumulus/assignees{/user}","branches_url":"https://api.github.com/repos/cumulus-nasa/cumulus/branches{/branch}","tags_url":"https://api.github.com/repos/cumulus-nasa/cumulus/tags","blobs_url":"https://api.github.com/repos/cumulus-nasa/cumulus/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cumulus-nasa/cumulus/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cumulus-nasa/cumulus/git/refs{/sha}","trees_url":"https://api.github.com/repos/cumulus-nasa/cumulus/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cumulus-nasa/cumulus/statuses/{sha}","languages_url":"https://api.github.com/repos/cumulus-nasa/cumulus/languages","stargazers_url":"https://api.github.com/repos/cumulus-nasa/cumulus/stargazers","contributors_url":"https://api.github.com/repos/cumulus-nasa/cumulus/contributors","subscribers_url":"https://api.github.com/repos/cumulus-nasa/cumulus/subscribers","subscription_url":"https://api.github.com/repos/cumulus-nasa/cumulus/subscription","commits_url":"https://api.github.com/repos/cumulus-nasa/cumulus/commits{/sha}","git_commits_url":"https://api.github.com/repos/cumulus-nasa/cumulus/git/commits{/sha}","comments_url":"https://api.github.com/repos/cumulus-nasa/cumulus/comments{/number}","issue_comment_url":"https://api.github.com/repos/cumulus-nasa/cumulus/issues/comments{/number}","contents_url":"https://api.github.com/repos/cumulus-nasa/cumulus/contents/{+path}","compare_url":"https://api.github.com/repos/cumulus-nasa/cumulus/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cumulus-nasa/cumulus/merges","archive_url":"https://api.github.com/repos/cumulus-nasa/cumulus/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cumulus-nasa/cumulus/downloads","issues_url":"https://api.github.com/repos/cumulus-nasa/cumulus/issues{/number}","pulls_url":"https://api.github.com/repos/cumulus-nasa/cumulus/pulls{/number}","milestones_url":"https://api.github.com/repos/cumulus-nasa/cumulus/milestones{/number}","notifications_url":"https://api.github.com/repos/cumulus-nasa/cumulus/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cumulus-nasa/cumulus/labels{/name}","releases_url":"https://api.github.com/repos/cumulus-nasa/cumulus/releases{/id}","deployments_url":"https://api.github.com/repos/cumulus-nasa/cumulus/deployments","created_at":"2017-06-30T10:52:28Z","updated_at":"2018-01-24T19:59:16Z","pushed_at":"2018-02-09T20:22:50Z","git_url":"git://github.com/cumulus-nasa/cumulus.git","ssh_url":"git@github.com:cumulus-nasa/cumulus.git","clone_url":"https://github.com/cumulus-nasa/cumulus.git","svn_url":"https://github.com/cumulus-nasa/cumulus","homepage":"","size":55046,"stargazers_count":2,"watchers_count":2,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"archived":false,"open_issues_count":2,"license":{"key":"other","name":"Other","spdx_id":null,"url":null},"forks":1,"open_issues":2,"watchers":2,"default_branch":"master"}},"base":{"label":"cumulus-nasa:message-updates","ref":"message-updates","sha":"2e23a1da2ad13bc22c172572c7a728224549de47","user":{"login":"cumulus-nasa","id":20669771,"avatar_url":"https://avatars3.githubusercontent.com/u/20669771?v=4","gravatar_id":"","url":"https://api.github.com/users/cumulus-nasa","html_url":"https://github.com/cumulus-nasa","followers_url":"https://api.github.com/users/cumulus-nasa/followers","following_url":"https://api.github.com/users/cumulus-nasa/following{/other_user}","gists_url":"https://api.github.com/users/cumulus-nasa/gists{/gist_id}","starred_url":"https://api.github.com/users/cumulus-nasa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cumulus-nasa/subscriptions","organizations_url":"https://api.github.com/users/cumulus-nasa/orgs","repos_url":"https://api.github.com/users/cumulus-nasa/repos","events_url":"https://api.github.com/users/cumulus-nasa/events{/privacy}","received_events_url":"https://api.github.com/users/cumulus-nasa/received_events","type":"Organization","site_admin":false},"repo":{"id":95879196,"name":"cumulus","full_name":"cumulus-nasa/cumulus","owner":{"login":"cumulus-nasa","id":20669771,"avatar_url":"https://avatars3.githubusercontent.com/u/20669771?v=4","gravatar_id":"","url":"https://api.github.com/users/cumulus-nasa","html_url":"https://github.com/cumulus-nasa","followers_url":"https://api.github.com/users/cumulus-nasa/followers","following_url":"https://api.github.com/users/cumulus-nasa/following{/other_user}","gists_url":"https://api.github.com/users/cumulus-nasa/gists{/gist_id}","starred_url":"https://api.github.com/users/cumulus-nasa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cumulus-nasa/subscriptions","organizations_url":"https://api.github.com/users/cumulus-nasa/orgs","repos_url":"https://api.github.com/users/cumulus-nasa/repos","events_url":"https://api.github.com/users/cumulus-nasa/events{/privacy}","received_events_url":"https://api.github.com/users/cumulus-nasa/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/cumulus-nasa/cumulus","description":"Cumulus Framework + Cumulus API","fork":false,"url":"https://api.github.com/repos/cumulus-nasa/cumulus","forks_url":"https://api.github.com/repos/cumulus-nasa/cumulus/forks","keys_url":"https://api.github.com/repos/cumulus-nasa/cumulus/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cumulus-nasa/cumulus/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cumulus-nasa/cumulus/teams","hooks_url":"https://api.github.com/repos/cumulus-nasa/cumulus/hooks","issue_events_url":"https://api.github.com/repos/cumulus-nasa/cumulus/issues/events{/number}","events_url":"https://api.github.com/repos/cumulus-nasa/cumulus/events","assignees_url":"https://api.github.com/repos/cumulus-nasa/cumulus/assignees{/user}","branches_url":"https://api.github.com/repos/cumulus-nasa/cumulus/branches{/branch}","tags_url":"https://api.github.com/repos/cumulus-nasa/cumulus/tags","blobs_url":"https://api.github.com/repos/cumulus-nasa/cumulus/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cumulus-nasa/cumulus/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cumulus-nasa/cumulus/git/refs{/sha}","trees_url":"https://api.github.com/repos/cumulus-nasa/cumulus/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cumulus-nasa/cumulus/statuses/{sha}","languages_url":"https://api.github.com/repos/cumulus-nasa/cumulus/languages","stargazers_url":"https://api.github.com/repos/cumulus-nasa/cumulus/stargazers","contributors_url":"https://api.github.com/repos/cumulus-nasa/cumulus/contributors","subscribers_url":"https://api.github.com/repos/cumulus-nasa/cumulus/subscribers","subscription_url":"https://api.github.com/repos/cumulus-nasa/cumulus/subscription","commits_url":"https://api.github.com/repos/cumulus-nasa/cumulus/commits{/sha}","git_commits_url":"https://api.github.com/repos/cumulus-nasa/cumulus/git/commits{/sha}","comments_url":"https://api.github.com/repos/cumulus-nasa/cumulus/comments{/number}","issue_comment_url":"https://api.github.com/repos/cumulus-nasa/cumulus/issues/comments{/number}","contents_url":"https://api.github.com/repos/cumulus-nasa/cumulus/contents/{+path}","compare_url":"https://api.github.com/repos/cumulus-nasa/cumulus/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cumulus-nasa/cumulus/merges","archive_url":"https://api.github.com/repos/cumulus-nasa/cumulus/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cumulus-nasa/cumulus/downloads","issues_url":"https://api.github.com/repos/cumulus-nasa/cumulus/issues{/number}","pulls_url":"https://api.github.com/repos/cumulus-nasa/cumulus/pulls{/number}","milestones_url":"https://api.github.com/repos/cumulus-nasa/cumulus/milestones{/number}","notifications_url":"https://api.github.com/repos/cumulus-nasa/cumulus/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cumulus-nasa/cumulus/labels{/name}","releases_url":"https://api.github.com/repos/cumulus-nasa/cumulus/releases{/id}","deployments_url":"https://api.github.com/repos/cumulus-nasa/cumulus/deployments","created_at":"2017-06-30T10:52:28Z","updated_at":"2018-01-24T19:59:16Z","pushed_at":"2018-02-09T20:22:50Z","git_url":"git://github.com/cumulus-nasa/cumulus.git","ssh_url":"git@github.com:cumulus-nasa/cumulus.git","clone_url":"https://github.com/cumulus-nasa/cumulus.git","svn_url":"https://github.com/cumulus-nasa/cumulus","homepage":"","size":55046,"stargazers_count":2,"watchers_count":2,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"archived":false,"open_issues_count":2,"license":{"key":"other","name":"Other","spdx_id":null,"url":null},"forks":1,"open_issues":2,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/cumulus-nasa/cumulus/pulls/184"},"html":{"href":"https://github.com/cumulus-nasa/cumulus/pull/184"},"issue":{"href":"https://api.github.com/repos/cumulus-nasa/cumulus/issues/184"},"comments":{"href":"https://api.github.com/repos/cumulus-nasa/cumulus/issues/184/comments"},"review_comments":{"href":"https://api.github.com/repos/cumulus-nasa/cumulus/pulls/184/comments"},"review_comment":{"href":"https://api.github.com/repos/cumulus-nasa/cumulus/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/cumulus-nasa/cumulus/pulls/184/commits"},"statuses":{"href":"https://api.github.com/repos/cumulus-nasa/cumulus/statuses/8f5a9b6a216394e3d990f0afdbaca8cfa2ddcefc"}},"author_association":"NONE"}}
{"actor":{"display_login":"jennyhliu"}}