{"action":"created","comment":{"url":"https://api.github.com/repos/cBioPortal/oncotree/pulls/comments/181520726","pull_request_review_id":112082201,"id":181520726,"diff_hunk":"@@ -53,6 +49,12 @@ public void handleTopBraidException() {\n         // nothing to do\n     }\n \n+    @ResponseStatus(code = HttpStatus.SERVICE_UNAVAILABLE, reason = \"Failed to connect to CVS\")\n+    @ExceptionHandler(CrosswalkServiceUnavailableException.class)\n+    public void handleCrosswalkServiceUnavailableException() {","path":"web/src/main/java/org/mskcc/oncotree/api/GlobalControllerExceptionHandler.java","position":19,"original_position":19,"commit_id":"81f58d778e13e493d062025068a4ddbcb17ea8a0","original_commit_id":"81f58d778e13e493d062025068a4ddbcb17ea8a0","user":{"login":"angelicaochoa","id":15623749,"avatar_url":"https://avatars2.githubusercontent.com/u/15623749?v=4","gravatar_id":"","url":"https://api.github.com/users/angelicaochoa","html_url":"https://github.com/angelicaochoa","followers_url":"https://api.github.com/users/angelicaochoa/followers","following_url":"https://api.github.com/users/angelicaochoa/following{/other_user}","gists_url":"https://api.github.com/users/angelicaochoa/gists{/gist_id}","starred_url":"https://api.github.com/users/angelicaochoa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/angelicaochoa/subscriptions","organizations_url":"https://api.github.com/users/angelicaochoa/orgs","repos_url":"https://api.github.com/users/angelicaochoa/repos","events_url":"https://api.github.com/users/angelicaochoa/events{/privacy}","received_events_url":"https://api.github.com/users/angelicaochoa/received_events","type":"User","site_admin":false},"body":"you can make this a one liner if there's nothing to do \r\n\r\n`public void handleCrosswalkServiceUnavailableException() {}`","created_at":"2018-04-13T22:09:22Z","updated_at":"2018-04-13T22:11:00Z","html_url":"https://github.com/cBioPortal/oncotree/pull/108#discussion_r181520726","pull_request_url":"https://api.github.com/repos/cBioPortal/oncotree/pulls/108","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/cBioPortal/oncotree/pulls/comments/181520726"},"html":{"href":"https://github.com/cBioPortal/oncotree/pull/108#discussion_r181520726"},"pull_request":{"href":"https://api.github.com/repos/cBioPortal/oncotree/pulls/108"}}},"pull_request":{"url":"https://api.github.com/repos/cBioPortal/oncotree/pulls/108","id":181315872,"html_url":"https://github.com/cBioPortal/oncotree/pull/108","diff_url":"https://github.com/cBioPortal/oncotree/pull/108.diff","patch_url":"https://github.com/cBioPortal/oncotree/pull/108.patch","issue_url":"https://api.github.com/repos/cBioPortal/oncotree/issues/108","number":108,"state":"open","locked":false,"title":"- changed tumor types endpoint to throw TumorTypesNotFound exception …","user":{"login":"averyniceday","id":18199796,"avatar_url":"https://avatars2.githubusercontent.com/u/18199796?v=4","gravatar_id":"","url":"https://api.github.com/users/averyniceday","html_url":"https://github.com/averyniceday","followers_url":"https://api.github.com/users/averyniceday/followers","following_url":"https://api.github.com/users/averyniceday/following{/other_user}","gists_url":"https://api.github.com/users/averyniceday/gists{/gist_id}","starred_url":"https://api.github.com/users/averyniceday/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/averyniceday/subscriptions","organizations_url":"https://api.github.com/users/averyniceday/orgs","repos_url":"https://api.github.com/users/averyniceday/repos","events_url":"https://api.github.com/users/averyniceday/events{/privacy}","received_events_url":"https://api.github.com/users/averyniceday/received_events","type":"User","site_admin":false},"body":"- changed tumor types endpoint to throw TumorTypesNotFound exception when empty list is returned\r\n- annotate possible error codes returned in endpoints\r\n- update swagger versions in pom to 2.5.0\r\n    - old version does not display success code\r\n- differentiate between different responses from Crosswalk (4xx, 5xx) - throws different exceptions\r\n- moved all exceptions/error classes into error package","created_at":"2018-04-12T20:24:48Z","updated_at":"2018-04-13T22:11:00Z","closed_at":null,"merged_at":null,"merge_commit_sha":"98749ac6ec5986aad1e50951067b4553d91c74de","assignee":null,"assignees":[],"requested_reviewers":[{"login":"mandawilson","id":1458628,"avatar_url":"https://avatars3.githubusercontent.com/u/1458628?v=4","gravatar_id":"","url":"https://api.github.com/users/mandawilson","html_url":"https://github.com/mandawilson","followers_url":"https://api.github.com/users/mandawilson/followers","following_url":"https://api.github.com/users/mandawilson/following{/other_user}","gists_url":"https://api.github.com/users/mandawilson/gists{/gist_id}","starred_url":"https://api.github.com/users/mandawilson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mandawilson/subscriptions","organizations_url":"https://api.github.com/users/mandawilson/orgs","repos_url":"https://api.github.com/users/mandawilson/repos","events_url":"https://api.github.com/users/mandawilson/events{/privacy}","received_events_url":"https://api.github.com/users/mandawilson/received_events","type":"User","site_admin":false},{"login":"sheridancbio","id":7747489,"avatar_url":"https://avatars3.githubusercontent.com/u/7747489?v=4","gravatar_id":"","url":"https://api.github.com/users/sheridancbio","html_url":"https://github.com/sheridancbio","followers_url":"https://api.github.com/users/sheridancbio/followers","following_url":"https://api.github.com/users/sheridancbio/following{/other_user}","gists_url":"https://api.github.com/users/sheridancbio/gists{/gist_id}","starred_url":"https://api.github.com/users/sheridancbio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sheridancbio/subscriptions","organizations_url":"https://api.github.com/users/sheridancbio/orgs","repos_url":"https://api.github.com/users/sheridancbio/repos","events_url":"https://api.github.com/users/sheridancbio/events{/privacy}","received_events_url":"https://api.github.com/users/sheridancbio/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[{"id":245008439,"url":"https://api.github.com/repos/cBioPortal/oncotree/labels/enhancement","name":"enhancement","color":"84b6eb","default":true}],"milestone":null,"commits_url":"https://api.github.com/repos/cBioPortal/oncotree/pulls/108/commits","review_comments_url":"https://api.github.com/repos/cBioPortal/oncotree/pulls/108/comments","review_comment_url":"https://api.github.com/repos/cBioPortal/oncotree/pulls/comments{/number}","comments_url":"https://api.github.com/repos/cBioPortal/oncotree/issues/108/comments","statuses_url":"https://api.github.com/repos/cBioPortal/oncotree/statuses/81f58d778e13e493d062025068a4ddbcb17ea8a0","head":{"label":"averyniceday:annotate-error-codes","ref":"annotate-error-codes","sha":"81f58d778e13e493d062025068a4ddbcb17ea8a0","user":{"login":"averyniceday","id":18199796,"avatar_url":"https://avatars2.githubusercontent.com/u/18199796?v=4","gravatar_id":"","url":"https://api.github.com/users/averyniceday","html_url":"https://github.com/averyniceday","followers_url":"https://api.github.com/users/averyniceday/followers","following_url":"https://api.github.com/users/averyniceday/following{/other_user}","gists_url":"https://api.github.com/users/averyniceday/gists{/gist_id}","starred_url":"https://api.github.com/users/averyniceday/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/averyniceday/subscriptions","organizations_url":"https://api.github.com/users/averyniceday/orgs","repos_url":"https://api.github.com/users/averyniceday/repos","events_url":"https://api.github.com/users/averyniceday/events{/privacy}","received_events_url":"https://api.github.com/users/averyniceday/received_events","type":"User","site_admin":false},"repo":{"id":128242369,"name":"oncotree","full_name":"averyniceday/oncotree","owner":{"login":"averyniceday","id":18199796,"avatar_url":"https://avatars2.githubusercontent.com/u/18199796?v=4","gravatar_id":"","url":"https://api.github.com/users/averyniceday","html_url":"https://github.com/averyniceday","followers_url":"https://api.github.com/users/averyniceday/followers","following_url":"https://api.github.com/users/averyniceday/following{/other_user}","gists_url":"https://api.github.com/users/averyniceday/gists{/gist_id}","starred_url":"https://api.github.com/users/averyniceday/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/averyniceday/subscriptions","organizations_url":"https://api.github.com/users/averyniceday/orgs","repos_url":"https://api.github.com/users/averyniceday/repos","events_url":"https://api.github.com/users/averyniceday/events{/privacy}","received_events_url":"https://api.github.com/users/averyniceday/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/averyniceday/oncotree","description":null,"fork":true,"url":"https://api.github.com/repos/averyniceday/oncotree","forks_url":"https://api.github.com/repos/averyniceday/oncotree/forks","keys_url":"https://api.github.com/repos/averyniceday/oncotree/keys{/key_id}","collaborators_url":"https://api.github.com/repos/averyniceday/oncotree/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/averyniceday/oncotree/teams","hooks_url":"https://api.github.com/repos/averyniceday/oncotree/hooks","issue_events_url":"https://api.github.com/repos/averyniceday/oncotree/issues/events{/number}","events_url":"https://api.github.com/repos/averyniceday/oncotree/events","assignees_url":"https://api.github.com/repos/averyniceday/oncotree/assignees{/user}","branches_url":"https://api.github.com/repos/averyniceday/oncotree/branches{/branch}","tags_url":"https://api.github.com/repos/averyniceday/oncotree/tags","blobs_url":"https://api.github.com/repos/averyniceday/oncotree/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/averyniceday/oncotree/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/averyniceday/oncotree/git/refs{/sha}","trees_url":"https://api.github.com/repos/averyniceday/oncotree/git/trees{/sha}","statuses_url":"https://api.github.com/repos/averyniceday/oncotree/statuses/{sha}","languages_url":"https://api.github.com/repos/averyniceday/oncotree/languages","stargazers_url":"https://api.github.com/repos/averyniceday/oncotree/stargazers","contributors_url":"https://api.github.com/repos/averyniceday/oncotree/contributors","subscribers_url":"https://api.github.com/repos/averyniceday/oncotree/subscribers","subscription_url":"https://api.github.com/repos/averyniceday/oncotree/subscription","commits_url":"https://api.github.com/repos/averyniceday/oncotree/commits{/sha}","git_commits_url":"https://api.github.com/repos/averyniceday/oncotree/git/commits{/sha}","comments_url":"https://api.github.com/repos/averyniceday/oncotree/comments{/number}","issue_comment_url":"https://api.github.com/repos/averyniceday/oncotree/issues/comments{/number}","contents_url":"https://api.github.com/repos/averyniceday/oncotree/contents/{+path}","compare_url":"https://api.github.com/repos/averyniceday/oncotree/compare/{base}...{head}","merges_url":"https://api.github.com/repos/averyniceday/oncotree/merges","archive_url":"https://api.github.com/repos/averyniceday/oncotree/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/averyniceday/oncotree/downloads","issues_url":"https://api.github.com/repos/averyniceday/oncotree/issues{/number}","pulls_url":"https://api.github.com/repos/averyniceday/oncotree/pulls{/number}","milestones_url":"https://api.github.com/repos/averyniceday/oncotree/milestones{/number}","notifications_url":"https://api.github.com/repos/averyniceday/oncotree/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/averyniceday/oncotree/labels{/name}","releases_url":"https://api.github.com/repos/averyniceday/oncotree/releases{/id}","deployments_url":"https://api.github.com/repos/averyniceday/oncotree/deployments","created_at":"2018-04-05T17:42:40Z","updated_at":"2018-04-12T13:49:16Z","pushed_at":"2018-04-13T14:39:16Z","git_url":"git://github.com/averyniceday/oncotree.git","ssh_url":"git@github.com:averyniceday/oncotree.git","clone_url":"https://github.com/averyniceday/oncotree.git","svn_url":"https://github.com/averyniceday/oncotree","homepage":null,"size":22556,"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":{"key":"cc-by-4.0","name":"Creative Commons Attribution 4.0","spdx_id":"CC-BY-4.0","url":"https://api.github.com/licenses/cc-by-4.0"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"cBioPortal:master","ref":"master","sha":"6544d49f6e1f21b427c9b0dac0dfe1823419e57b","user":{"login":"cBioPortal","id":9876251,"avatar_url":"https://avatars2.githubusercontent.com/u/9876251?v=4","gravatar_id":"","url":"https://api.github.com/users/cBioPortal","html_url":"https://github.com/cBioPortal","followers_url":"https://api.github.com/users/cBioPortal/followers","following_url":"https://api.github.com/users/cBioPortal/following{/other_user}","gists_url":"https://api.github.com/users/cBioPortal/gists{/gist_id}","starred_url":"https://api.github.com/users/cBioPortal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cBioPortal/subscriptions","organizations_url":"https://api.github.com/users/cBioPortal/orgs","repos_url":"https://api.github.com/users/cBioPortal/repos","events_url":"https://api.github.com/users/cBioPortal/events{/privacy}","received_events_url":"https://api.github.com/users/cBioPortal/received_events","type":"Organization","site_admin":false},"repo":{"id":40321883,"name":"oncotree","full_name":"cBioPortal/oncotree","owner":{"login":"cBioPortal","id":9876251,"avatar_url":"https://avatars2.githubusercontent.com/u/9876251?v=4","gravatar_id":"","url":"https://api.github.com/users/cBioPortal","html_url":"https://github.com/cBioPortal","followers_url":"https://api.github.com/users/cBioPortal/followers","following_url":"https://api.github.com/users/cBioPortal/following{/other_user}","gists_url":"https://api.github.com/users/cBioPortal/gists{/gist_id}","starred_url":"https://api.github.com/users/cBioPortal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cBioPortal/subscriptions","organizations_url":"https://api.github.com/users/cBioPortal/orgs","repos_url":"https://api.github.com/users/cBioPortal/repos","events_url":"https://api.github.com/users/cBioPortal/events{/privacy}","received_events_url":"https://api.github.com/users/cBioPortal/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/cBioPortal/oncotree","description":null,"fork":false,"url":"https://api.github.com/repos/cBioPortal/oncotree","forks_url":"https://api.github.com/repos/cBioPortal/oncotree/forks","keys_url":"https://api.github.com/repos/cBioPortal/oncotree/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cBioPortal/oncotree/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cBioPortal/oncotree/teams","hooks_url":"https://api.github.com/repos/cBioPortal/oncotree/hooks","issue_events_url":"https://api.github.com/repos/cBioPortal/oncotree/issues/events{/number}","events_url":"https://api.github.com/repos/cBioPortal/oncotree/events","assignees_url":"https://api.github.com/repos/cBioPortal/oncotree/assignees{/user}","branches_url":"https://api.github.com/repos/cBioPortal/oncotree/branches{/branch}","tags_url":"https://api.github.com/repos/cBioPortal/oncotree/tags","blobs_url":"https://api.github.com/repos/cBioPortal/oncotree/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cBioPortal/oncotree/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cBioPortal/oncotree/git/refs{/sha}","trees_url":"https://api.github.com/repos/cBioPortal/oncotree/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cBioPortal/oncotree/statuses/{sha}","languages_url":"https://api.github.com/repos/cBioPortal/oncotree/languages","stargazers_url":"https://api.github.com/repos/cBioPortal/oncotree/stargazers","contributors_url":"https://api.github.com/repos/cBioPortal/oncotree/contributors","subscribers_url":"https://api.github.com/repos/cBioPortal/oncotree/subscribers","subscription_url":"https://api.github.com/repos/cBioPortal/oncotree/subscription","commits_url":"https://api.github.com/repos/cBioPortal/oncotree/commits{/sha}","git_commits_url":"https://api.github.com/repos/cBioPortal/oncotree/git/commits{/sha}","comments_url":"https://api.github.com/repos/cBioPortal/oncotree/comments{/number}","issue_comment_url":"https://api.github.com/repos/cBioPortal/oncotree/issues/comments{/number}","contents_url":"https://api.github.com/repos/cBioPortal/oncotree/contents/{+path}","compare_url":"https://api.github.com/repos/cBioPortal/oncotree/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cBioPortal/oncotree/merges","archive_url":"https://api.github.com/repos/cBioPortal/oncotree/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cBioPortal/oncotree/downloads","issues_url":"https://api.github.com/repos/cBioPortal/oncotree/issues{/number}","pulls_url":"https://api.github.com/repos/cBioPortal/oncotree/pulls{/number}","milestones_url":"https://api.github.com/repos/cBioPortal/oncotree/milestones{/number}","notifications_url":"https://api.github.com/repos/cBioPortal/oncotree/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cBioPortal/oncotree/labels{/name}","releases_url":"https://api.github.com/repos/cBioPortal/oncotree/releases{/id}","deployments_url":"https://api.github.com/repos/cBioPortal/oncotree/deployments","created_at":"2015-08-06T18:57:32Z","updated_at":"2018-04-11T21:52:55Z","pushed_at":"2018-04-13T14:39:18Z","git_url":"git://github.com/cBioPortal/oncotree.git","ssh_url":"git@github.com:cBioPortal/oncotree.git","clone_url":"https://github.com/cBioPortal/oncotree.git","svn_url":"https://github.com/cBioPortal/oncotree","homepage":null,"size":22544,"stargazers_count":3,"watchers_count":3,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":15,"mirror_url":null,"archived":false,"open_issues_count":18,"license":{"key":"cc-by-4.0","name":"Creative Commons Attribution 4.0","spdx_id":"CC-BY-4.0","url":"https://api.github.com/licenses/cc-by-4.0"},"forks":15,"open_issues":18,"watchers":3,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/cBioPortal/oncotree/pulls/108"},"html":{"href":"https://github.com/cBioPortal/oncotree/pull/108"},"issue":{"href":"https://api.github.com/repos/cBioPortal/oncotree/issues/108"},"comments":{"href":"https://api.github.com/repos/cBioPortal/oncotree/issues/108/comments"},"review_comments":{"href":"https://api.github.com/repos/cBioPortal/oncotree/pulls/108/comments"},"review_comment":{"href":"https://api.github.com/repos/cBioPortal/oncotree/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/cBioPortal/oncotree/pulls/108/commits"},"statuses":{"href":"https://api.github.com/repos/cBioPortal/oncotree/statuses/81f58d778e13e493d062025068a4ddbcb17ea8a0"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"angelicaochoa"}}