{"action":"created","comment":{"url":"https://api.github.com/repos/google/data-transfer-project/pulls/comments/172282994","pull_request_review_id":101273843,"id":172282994,"diff_hunk":"@@ -113,14 +125,31 @@ public void removeData(UUID id) {\n \n     @Override\n     public void create(UUID jobId, String key, InputStream stream) {\n-        // TODO implement with Azure Blob Storage\n-        throw new UnsupportedOperationException(\"Not yet implemented\");\n+        try {\n+            CloudBlobContainer container = blobClient.getContainerReference(jobId.toString());\n+            container.createIfNotExists();","path":"extensions/cloud/portability-cloud-microsoft/src/main/java/org/dataportabilityproject/cloud/microsoft/cosmos/CosmosStore.java","position":88,"original_position":88,"commit_id":"96755b012fd59f1f306241de2f202faabe37a40e","original_commit_id":"96755b012fd59f1f306241de2f202faabe37a40e","user":{"login":"jimmarino","id":377841,"avatar_url":"https://avatars1.githubusercontent.com/u/377841?v=4","gravatar_id":"","url":"https://api.github.com/users/jimmarino","html_url":"https://github.com/jimmarino","followers_url":"https://api.github.com/users/jimmarino/followers","following_url":"https://api.github.com/users/jimmarino/following{/other_user}","gists_url":"https://api.github.com/users/jimmarino/gists{/gist_id}","starred_url":"https://api.github.com/users/jimmarino/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jimmarino/subscriptions","organizations_url":"https://api.github.com/users/jimmarino/orgs","repos_url":"https://api.github.com/users/jimmarino/repos","events_url":"https://api.github.com/users/jimmarino/events{/privacy}","received_events_url":"https://api.github.com/users/jimmarino/received_events","type":"User","site_admin":false},"body":"I hate to bring this up but has the discussion of checked vs. unchecked exceptions come up?  (ducking) :-)\r\n\r\nI would argue for unchecked exceptions except in cases where it is absolutely necessary to signal a condition is recoverable. Runtime exceptions can bubble up to the top of the stack where they can be trapped and logged. In the case of a duplicate ID, it seems like an unrecoverable programming error.\r\n\r\nWhat do think?\r\n\r\nI'm fine with using checked exceptions if that is what the project standard is as well.\r\n\r\n\r\n","created_at":"2018-03-05T18:28:21Z","updated_at":"2018-03-05T18:28:22Z","html_url":"https://github.com/google/data-transfer-project/pull/167#discussion_r172282994","pull_request_url":"https://api.github.com/repos/google/data-transfer-project/pulls/167","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/google/data-transfer-project/pulls/comments/172282994"},"html":{"href":"https://github.com/google/data-transfer-project/pull/167#discussion_r172282994"},"pull_request":{"href":"https://api.github.com/repos/google/data-transfer-project/pulls/167"}},"in_reply_to_id":172270019},"pull_request":{"url":"https://api.github.com/repos/google/data-transfer-project/pulls/167","id":172513189,"html_url":"https://github.com/google/data-transfer-project/pull/167","diff_url":"https://github.com/google/data-transfer-project/pull/167.diff","patch_url":"https://github.com/google/data-transfer-project/pull/167.patch","issue_url":"https://api.github.com/repos/google/data-transfer-project/issues/167","number":167,"state":"open","locked":false,"title":"Implement support for Azure blob storage. ","user":{"login":"jimmarino","id":377841,"avatar_url":"https://avatars1.githubusercontent.com/u/377841?v=4","gravatar_id":"","url":"https://api.github.com/users/jimmarino","html_url":"https://github.com/jimmarino","followers_url":"https://api.github.com/users/jimmarino/followers","following_url":"https://api.github.com/users/jimmarino/following{/other_user}","gists_url":"https://api.github.com/users/jimmarino/gists{/gist_id}","starred_url":"https://api.github.com/users/jimmarino/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jimmarino/subscriptions","organizations_url":"https://api.github.com/users/jimmarino/orgs","repos_url":"https://api.github.com/users/jimmarino/repos","events_url":"https://api.github.com/users/jimmarino/events{/privacy}","received_events_url":"https://api.github.com/users/jimmarino/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-03-02T14:16:24Z","updated_at":"2018-03-05T18:28:22Z","closed_at":null,"merged_at":null,"merge_commit_sha":"fc8503d6dae017e143a78b6e4ae29fba506fed52","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/google/data-transfer-project/pulls/167/commits","review_comments_url":"https://api.github.com/repos/google/data-transfer-project/pulls/167/comments","review_comment_url":"https://api.github.com/repos/google/data-transfer-project/pulls/comments{/number}","comments_url":"https://api.github.com/repos/google/data-transfer-project/issues/167/comments","statuses_url":"https://api.github.com/repos/google/data-transfer-project/statuses/96755b012fd59f1f306241de2f202faabe37a40e","head":{"label":"Metaform:calendar-updates","ref":"calendar-updates","sha":"96755b012fd59f1f306241de2f202faabe37a40e","user":{"login":"Metaform","id":730916,"avatar_url":"https://avatars1.githubusercontent.com/u/730916?v=4","gravatar_id":"","url":"https://api.github.com/users/Metaform","html_url":"https://github.com/Metaform","followers_url":"https://api.github.com/users/Metaform/followers","following_url":"https://api.github.com/users/Metaform/following{/other_user}","gists_url":"https://api.github.com/users/Metaform/gists{/gist_id}","starred_url":"https://api.github.com/users/Metaform/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Metaform/subscriptions","organizations_url":"https://api.github.com/users/Metaform/orgs","repos_url":"https://api.github.com/users/Metaform/repos","events_url":"https://api.github.com/users/Metaform/events{/privacy}","received_events_url":"https://api.github.com/users/Metaform/received_events","type":"Organization","site_admin":false},"repo":{"id":116653894,"name":"data-portability","full_name":"Metaform/data-portability","owner":{"login":"Metaform","id":730916,"avatar_url":"https://avatars1.githubusercontent.com/u/730916?v=4","gravatar_id":"","url":"https://api.github.com/users/Metaform","html_url":"https://github.com/Metaform","followers_url":"https://api.github.com/users/Metaform/followers","following_url":"https://api.github.com/users/Metaform/following{/other_user}","gists_url":"https://api.github.com/users/Metaform/gists{/gist_id}","starred_url":"https://api.github.com/users/Metaform/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Metaform/subscriptions","organizations_url":"https://api.github.com/users/Metaform/orgs","repos_url":"https://api.github.com/users/Metaform/repos","events_url":"https://api.github.com/users/Metaform/events{/privacy}","received_events_url":"https://api.github.com/users/Metaform/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Metaform/data-portability","description":"The project aims to do this by providing a common framework and ecosystem to allow service provides to contribute to to allow seamless transfer of data into and out of their service.","fork":true,"url":"https://api.github.com/repos/Metaform/data-portability","forks_url":"https://api.github.com/repos/Metaform/data-portability/forks","keys_url":"https://api.github.com/repos/Metaform/data-portability/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Metaform/data-portability/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Metaform/data-portability/teams","hooks_url":"https://api.github.com/repos/Metaform/data-portability/hooks","issue_events_url":"https://api.github.com/repos/Metaform/data-portability/issues/events{/number}","events_url":"https://api.github.com/repos/Metaform/data-portability/events","assignees_url":"https://api.github.com/repos/Metaform/data-portability/assignees{/user}","branches_url":"https://api.github.com/repos/Metaform/data-portability/branches{/branch}","tags_url":"https://api.github.com/repos/Metaform/data-portability/tags","blobs_url":"https://api.github.com/repos/Metaform/data-portability/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Metaform/data-portability/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Metaform/data-portability/git/refs{/sha}","trees_url":"https://api.github.com/repos/Metaform/data-portability/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Metaform/data-portability/statuses/{sha}","languages_url":"https://api.github.com/repos/Metaform/data-portability/languages","stargazers_url":"https://api.github.com/repos/Metaform/data-portability/stargazers","contributors_url":"https://api.github.com/repos/Metaform/data-portability/contributors","subscribers_url":"https://api.github.com/repos/Metaform/data-portability/subscribers","subscription_url":"https://api.github.com/repos/Metaform/data-portability/subscription","commits_url":"https://api.github.com/repos/Metaform/data-portability/commits{/sha}","git_commits_url":"https://api.github.com/repos/Metaform/data-portability/git/commits{/sha}","comments_url":"https://api.github.com/repos/Metaform/data-portability/comments{/number}","issue_comment_url":"https://api.github.com/repos/Metaform/data-portability/issues/comments{/number}","contents_url":"https://api.github.com/repos/Metaform/data-portability/contents/{+path}","compare_url":"https://api.github.com/repos/Metaform/data-portability/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Metaform/data-portability/merges","archive_url":"https://api.github.com/repos/Metaform/data-portability/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Metaform/data-portability/downloads","issues_url":"https://api.github.com/repos/Metaform/data-portability/issues{/number}","pulls_url":"https://api.github.com/repos/Metaform/data-portability/pulls{/number}","milestones_url":"https://api.github.com/repos/Metaform/data-portability/milestones{/number}","notifications_url":"https://api.github.com/repos/Metaform/data-portability/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Metaform/data-portability/labels{/name}","releases_url":"https://api.github.com/repos/Metaform/data-portability/releases{/id}","deployments_url":"https://api.github.com/repos/Metaform/data-portability/deployments","created_at":"2018-01-08T09:04:40Z","updated_at":"2018-01-08T09:04:42Z","pushed_at":"2018-03-02T14:14:31Z","git_url":"git://github.com/Metaform/data-portability.git","ssh_url":"git@github.com:Metaform/data-portability.git","clone_url":"https://github.com/Metaform/data-portability.git","svn_url":"https://github.com/Metaform/data-portability","homepage":"","size":1997,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_projects":true,"has_downloads":false,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"google:master","ref":"master","sha":"e9524088ed00c33f174dec5abb9b08a54b2480b0","user":{"login":"google","id":1342004,"avatar_url":"https://avatars1.githubusercontent.com/u/1342004?v=4","gravatar_id":"","url":"https://api.github.com/users/google","html_url":"https://github.com/google","followers_url":"https://api.github.com/users/google/followers","following_url":"https://api.github.com/users/google/following{/other_user}","gists_url":"https://api.github.com/users/google/gists{/gist_id}","starred_url":"https://api.github.com/users/google/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/google/subscriptions","organizations_url":"https://api.github.com/users/google/orgs","repos_url":"https://api.github.com/users/google/repos","events_url":"https://api.github.com/users/google/events{/privacy}","received_events_url":"https://api.github.com/users/google/received_events","type":"Organization","site_admin":false},"repo":{"id":116309308,"name":"data-transfer-project","full_name":"google/data-transfer-project","owner":{"login":"google","id":1342004,"avatar_url":"https://avatars1.githubusercontent.com/u/1342004?v=4","gravatar_id":"","url":"https://api.github.com/users/google","html_url":"https://github.com/google","followers_url":"https://api.github.com/users/google/followers","following_url":"https://api.github.com/users/google/following{/other_user}","gists_url":"https://api.github.com/users/google/gists{/gist_id}","starred_url":"https://api.github.com/users/google/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/google/subscriptions","organizations_url":"https://api.github.com/users/google/orgs","repos_url":"https://api.github.com/users/google/repos","events_url":"https://api.github.com/users/google/events{/privacy}","received_events_url":"https://api.github.com/users/google/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/google/data-transfer-project","description":"The goal of the Data Transfer Project is to make it easy for users to transfer their data between online services (e.g. Google and Microsoft services). We provide a common framework and ecosystem to accept contributions from service providers to enable seamless transfer of data into and out of their service.","fork":false,"url":"https://api.github.com/repos/google/data-transfer-project","forks_url":"https://api.github.com/repos/google/data-transfer-project/forks","keys_url":"https://api.github.com/repos/google/data-transfer-project/keys{/key_id}","collaborators_url":"https://api.github.com/repos/google/data-transfer-project/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/google/data-transfer-project/teams","hooks_url":"https://api.github.com/repos/google/data-transfer-project/hooks","issue_events_url":"https://api.github.com/repos/google/data-transfer-project/issues/events{/number}","events_url":"https://api.github.com/repos/google/data-transfer-project/events","assignees_url":"https://api.github.com/repos/google/data-transfer-project/assignees{/user}","branches_url":"https://api.github.com/repos/google/data-transfer-project/branches{/branch}","tags_url":"https://api.github.com/repos/google/data-transfer-project/tags","blobs_url":"https://api.github.com/repos/google/data-transfer-project/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/google/data-transfer-project/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/google/data-transfer-project/git/refs{/sha}","trees_url":"https://api.github.com/repos/google/data-transfer-project/git/trees{/sha}","statuses_url":"https://api.github.com/repos/google/data-transfer-project/statuses/{sha}","languages_url":"https://api.github.com/repos/google/data-transfer-project/languages","stargazers_url":"https://api.github.com/repos/google/data-transfer-project/stargazers","contributors_url":"https://api.github.com/repos/google/data-transfer-project/contributors","subscribers_url":"https://api.github.com/repos/google/data-transfer-project/subscribers","subscription_url":"https://api.github.com/repos/google/data-transfer-project/subscription","commits_url":"https://api.github.com/repos/google/data-transfer-project/commits{/sha}","git_commits_url":"https://api.github.com/repos/google/data-transfer-project/git/commits{/sha}","comments_url":"https://api.github.com/repos/google/data-transfer-project/comments{/number}","issue_comment_url":"https://api.github.com/repos/google/data-transfer-project/issues/comments{/number}","contents_url":"https://api.github.com/repos/google/data-transfer-project/contents/{+path}","compare_url":"https://api.github.com/repos/google/data-transfer-project/compare/{base}...{head}","merges_url":"https://api.github.com/repos/google/data-transfer-project/merges","archive_url":"https://api.github.com/repos/google/data-transfer-project/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/google/data-transfer-project/downloads","issues_url":"https://api.github.com/repos/google/data-transfer-project/issues{/number}","pulls_url":"https://api.github.com/repos/google/data-transfer-project/pulls{/number}","milestones_url":"https://api.github.com/repos/google/data-transfer-project/milestones{/number}","notifications_url":"https://api.github.com/repos/google/data-transfer-project/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/google/data-transfer-project/labels{/name}","releases_url":"https://api.github.com/repos/google/data-transfer-project/releases{/id}","deployments_url":"https://api.github.com/repos/google/data-transfer-project/deployments","created_at":"2018-01-04T21:27:57Z","updated_at":"2018-03-05T16:21:51Z","pushed_at":"2018-03-05T17:55:06Z","git_url":"git://github.com/google/data-transfer-project.git","ssh_url":"git@github.com:google/data-transfer-project.git","clone_url":"https://github.com/google/data-transfer-project.git","svn_url":"https://github.com/google/data-transfer-project","homepage":"","size":2090,"stargazers_count":31,"watchers_count":31,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":false,"has_wiki":false,"has_pages":false,"forks_count":8,"mirror_url":null,"archived":false,"open_issues_count":24,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0"},"forks":8,"open_issues":24,"watchers":31,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/google/data-transfer-project/pulls/167"},"html":{"href":"https://github.com/google/data-transfer-project/pull/167"},"issue":{"href":"https://api.github.com/repos/google/data-transfer-project/issues/167"},"comments":{"href":"https://api.github.com/repos/google/data-transfer-project/issues/167/comments"},"review_comments":{"href":"https://api.github.com/repos/google/data-transfer-project/pulls/167/comments"},"review_comment":{"href":"https://api.github.com/repos/google/data-transfer-project/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/google/data-transfer-project/pulls/167/commits"},"statuses":{"href":"https://api.github.com/repos/google/data-transfer-project/statuses/96755b012fd59f1f306241de2f202faabe37a40e"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"jimmarino"}}