{"action":"created","comment":{"url":"https://api.github.com/repos/atlasapi/atlas/pulls/comments/68961587","id":68961587,"diff_hunk":"@@ -105,22 +118,34 @@ private Void deserializeAndUpdateContent(HttpServletRequest req, HttpServletResp\n             inputStreamBytes = IOUtils.toByteArray(req.getInputStream());\n             InputStream inputStream = new ByteArrayInputStream(inputStreamBytes);\n             inputContent = writeExecutor.parseInputStream(inputStream);\n+        } catch (UnrecognizedPropertyException |\n+                JsonParseException |\n+                ConstraintViolationException exception) {","path":"src/main/java/org/atlasapi/query/v2/ContentWriteController.java","position":77,"original_position":77,"commit_id":"e0e1d2e36de60f4c9fa8845822c5de76b69cb443","original_commit_id":"e0e1d2e36de60f4c9fa8845822c5de76b69cb443","user":{"login":"Dalamar42","id":1230838,"avatar_url":"https://avatars.githubusercontent.com/u/1230838?v=3","gravatar_id":"","url":"https://api.github.com/users/Dalamar42","html_url":"https://github.com/Dalamar42","followers_url":"https://api.github.com/users/Dalamar42/followers","following_url":"https://api.github.com/users/Dalamar42/following{/other_user}","gists_url":"https://api.github.com/users/Dalamar42/gists{/gist_id}","starred_url":"https://api.github.com/users/Dalamar42/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Dalamar42/subscriptions","organizations_url":"https://api.github.com/users/Dalamar42/orgs","repos_url":"https://api.github.com/users/Dalamar42/repos","events_url":"https://api.github.com/users/Dalamar42/events{/privacy}","received_events_url":"https://api.github.com/users/Dalamar42/received_events","type":"User","site_admin":false},"body":"Code style. Exception variable should be named `e`","created_at":"2016-06-29T14:57:21Z","updated_at":"2016-06-29T14:57:21Z","html_url":"https://github.com/atlasapi/atlas/pull/1015#discussion_r68961587","pull_request_url":"https://api.github.com/repos/atlasapi/atlas/pulls/1015","_links":{"self":{"href":"https://api.github.com/repos/atlasapi/atlas/pulls/comments/68961587"},"html":{"href":"https://github.com/atlasapi/atlas/pull/1015#discussion_r68961587"},"pull_request":{"href":"https://api.github.com/repos/atlasapi/atlas/pulls/1015"}}},"pull_request":{"url":"https://api.github.com/repos/atlasapi/atlas/pulls/1015","id":75469748,"html_url":"https://github.com/atlasapi/atlas/pull/1015","diff_url":"https://github.com/atlasapi/atlas/pull/1015.diff","patch_url":"https://github.com/atlasapi/atlas/pull/1015.patch","issue_url":"https://api.github.com/repos/atlasapi/atlas/issues/1015","number":1015,"state":"open","locked":false,"title":"wrote different exceptions for different error cases","user":{"login":"ljeyaratnam","id":1388061,"avatar_url":"https://avatars.githubusercontent.com/u/1388061?v=3","gravatar_id":"","url":"https://api.github.com/users/ljeyaratnam","html_url":"https://github.com/ljeyaratnam","followers_url":"https://api.github.com/users/ljeyaratnam/followers","following_url":"https://api.github.com/users/ljeyaratnam/following{/other_user}","gists_url":"https://api.github.com/users/ljeyaratnam/gists{/gist_id}","starred_url":"https://api.github.com/users/ljeyaratnam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ljeyaratnam/subscriptions","organizations_url":"https://api.github.com/users/ljeyaratnam/orgs","repos_url":"https://api.github.com/users/ljeyaratnam/repos","events_url":"https://api.github.com/users/ljeyaratnam/events{/privacy}","received_events_url":"https://api.github.com/users/ljeyaratnam/received_events","type":"User","site_admin":false},"body":"- changed the deserialser to use jackson\r\n- added new exceptions to the current exception mapper logic\r\n- using hibernate validator to check if fields are not null\r\n- changed all write controller to use jackson translator","created_at":"2016-06-28T12:39:48Z","updated_at":"2016-06-29T14:57:22Z","closed_at":null,"merged_at":null,"merge_commit_sha":"f229cdd8bb28606d5a24078060c2d026c0d6ad48","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/atlasapi/atlas/pulls/1015/commits","review_comments_url":"https://api.github.com/repos/atlasapi/atlas/pulls/1015/comments","review_comment_url":"https://api.github.com/repos/atlasapi/atlas/pulls/comments{/number}","comments_url":"https://api.github.com/repos/atlasapi/atlas/issues/1015/comments","statuses_url":"https://api.github.com/repos/atlasapi/atlas/statuses/e0e1d2e36de60f4c9fa8845822c5de76b69cb443","head":{"label":"atlasapi:MBST-14674-api-error-handling","ref":"MBST-14674-api-error-handling","sha":"e0e1d2e36de60f4c9fa8845822c5de76b69cb443","user":{"login":"atlasapi","id":325129,"avatar_url":"https://avatars.githubusercontent.com/u/325129?v=3","gravatar_id":"","url":"https://api.github.com/users/atlasapi","html_url":"https://github.com/atlasapi","followers_url":"https://api.github.com/users/atlasapi/followers","following_url":"https://api.github.com/users/atlasapi/following{/other_user}","gists_url":"https://api.github.com/users/atlasapi/gists{/gist_id}","starred_url":"https://api.github.com/users/atlasapi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/atlasapi/subscriptions","organizations_url":"https://api.github.com/users/atlasapi/orgs","repos_url":"https://api.github.com/users/atlasapi/repos","events_url":"https://api.github.com/users/atlasapi/events{/privacy}","received_events_url":"https://api.github.com/users/atlasapi/received_events","type":"Organization","site_admin":false},"repo":{"id":762119,"name":"atlas","full_name":"atlasapi/atlas","owner":{"login":"atlasapi","id":325129,"avatar_url":"https://avatars.githubusercontent.com/u/325129?v=3","gravatar_id":"","url":"https://api.github.com/users/atlasapi","html_url":"https://github.com/atlasapi","followers_url":"https://api.github.com/users/atlasapi/followers","following_url":"https://api.github.com/users/atlasapi/following{/other_user}","gists_url":"https://api.github.com/users/atlasapi/gists{/gist_id}","starred_url":"https://api.github.com/users/atlasapi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/atlasapi/subscriptions","organizations_url":"https://api.github.com/users/atlasapi/orgs","repos_url":"https://api.github.com/users/atlasapi/repos","events_url":"https://api.github.com/users/atlasapi/events{/privacy}","received_events_url":"https://api.github.com/users/atlasapi/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/atlasapi/atlas","description":"the global video & audio index","fork":false,"url":"https://api.github.com/repos/atlasapi/atlas","forks_url":"https://api.github.com/repos/atlasapi/atlas/forks","keys_url":"https://api.github.com/repos/atlasapi/atlas/keys{/key_id}","collaborators_url":"https://api.github.com/repos/atlasapi/atlas/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/atlasapi/atlas/teams","hooks_url":"https://api.github.com/repos/atlasapi/atlas/hooks","issue_events_url":"https://api.github.com/repos/atlasapi/atlas/issues/events{/number}","events_url":"https://api.github.com/repos/atlasapi/atlas/events","assignees_url":"https://api.github.com/repos/atlasapi/atlas/assignees{/user}","branches_url":"https://api.github.com/repos/atlasapi/atlas/branches{/branch}","tags_url":"https://api.github.com/repos/atlasapi/atlas/tags","blobs_url":"https://api.github.com/repos/atlasapi/atlas/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/atlasapi/atlas/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/atlasapi/atlas/git/refs{/sha}","trees_url":"https://api.github.com/repos/atlasapi/atlas/git/trees{/sha}","statuses_url":"https://api.github.com/repos/atlasapi/atlas/statuses/{sha}","languages_url":"https://api.github.com/repos/atlasapi/atlas/languages","stargazers_url":"https://api.github.com/repos/atlasapi/atlas/stargazers","contributors_url":"https://api.github.com/repos/atlasapi/atlas/contributors","subscribers_url":"https://api.github.com/repos/atlasapi/atlas/subscribers","subscription_url":"https://api.github.com/repos/atlasapi/atlas/subscription","commits_url":"https://api.github.com/repos/atlasapi/atlas/commits{/sha}","git_commits_url":"https://api.github.com/repos/atlasapi/atlas/git/commits{/sha}","comments_url":"https://api.github.com/repos/atlasapi/atlas/comments{/number}","issue_comment_url":"https://api.github.com/repos/atlasapi/atlas/issues/comments{/number}","contents_url":"https://api.github.com/repos/atlasapi/atlas/contents/{+path}","compare_url":"https://api.github.com/repos/atlasapi/atlas/compare/{base}...{head}","merges_url":"https://api.github.com/repos/atlasapi/atlas/merges","archive_url":"https://api.github.com/repos/atlasapi/atlas/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/atlasapi/atlas/downloads","issues_url":"https://api.github.com/repos/atlasapi/atlas/issues{/number}","pulls_url":"https://api.github.com/repos/atlasapi/atlas/pulls{/number}","milestones_url":"https://api.github.com/repos/atlasapi/atlas/milestones{/number}","notifications_url":"https://api.github.com/repos/atlasapi/atlas/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/atlasapi/atlas/labels{/name}","releases_url":"https://api.github.com/repos/atlasapi/atlas/releases{/id}","deployments_url":"https://api.github.com/repos/atlasapi/atlas/deployments","created_at":"2010-07-07T16:28:33Z","updated_at":"2016-06-18T02:14:42Z","pushed_at":"2016-06-29T14:44:54Z","git_url":"git://github.com/atlasapi/atlas.git","ssh_url":"git@github.com:atlasapi/atlas.git","clone_url":"https://github.com/atlasapi/atlas.git","svn_url":"https://github.com/atlasapi/atlas","homepage":"http://atlas.metabroadcast.com/","size":25234,"stargazers_count":31,"watchers_count":31,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":10,"mirror_url":null,"open_issues_count":17,"forks":10,"open_issues":17,"watchers":31,"default_branch":"master"}},"base":{"label":"atlasapi:master","ref":"master","sha":"835d2766961edabb3f17e41360db9cb69408e5ec","user":{"login":"atlasapi","id":325129,"avatar_url":"https://avatars.githubusercontent.com/u/325129?v=3","gravatar_id":"","url":"https://api.github.com/users/atlasapi","html_url":"https://github.com/atlasapi","followers_url":"https://api.github.com/users/atlasapi/followers","following_url":"https://api.github.com/users/atlasapi/following{/other_user}","gists_url":"https://api.github.com/users/atlasapi/gists{/gist_id}","starred_url":"https://api.github.com/users/atlasapi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/atlasapi/subscriptions","organizations_url":"https://api.github.com/users/atlasapi/orgs","repos_url":"https://api.github.com/users/atlasapi/repos","events_url":"https://api.github.com/users/atlasapi/events{/privacy}","received_events_url":"https://api.github.com/users/atlasapi/received_events","type":"Organization","site_admin":false},"repo":{"id":762119,"name":"atlas","full_name":"atlasapi/atlas","owner":{"login":"atlasapi","id":325129,"avatar_url":"https://avatars.githubusercontent.com/u/325129?v=3","gravatar_id":"","url":"https://api.github.com/users/atlasapi","html_url":"https://github.com/atlasapi","followers_url":"https://api.github.com/users/atlasapi/followers","following_url":"https://api.github.com/users/atlasapi/following{/other_user}","gists_url":"https://api.github.com/users/atlasapi/gists{/gist_id}","starred_url":"https://api.github.com/users/atlasapi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/atlasapi/subscriptions","organizations_url":"https://api.github.com/users/atlasapi/orgs","repos_url":"https://api.github.com/users/atlasapi/repos","events_url":"https://api.github.com/users/atlasapi/events{/privacy}","received_events_url":"https://api.github.com/users/atlasapi/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/atlasapi/atlas","description":"the global video & audio index","fork":false,"url":"https://api.github.com/repos/atlasapi/atlas","forks_url":"https://api.github.com/repos/atlasapi/atlas/forks","keys_url":"https://api.github.com/repos/atlasapi/atlas/keys{/key_id}","collaborators_url":"https://api.github.com/repos/atlasapi/atlas/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/atlasapi/atlas/teams","hooks_url":"https://api.github.com/repos/atlasapi/atlas/hooks","issue_events_url":"https://api.github.com/repos/atlasapi/atlas/issues/events{/number}","events_url":"https://api.github.com/repos/atlasapi/atlas/events","assignees_url":"https://api.github.com/repos/atlasapi/atlas/assignees{/user}","branches_url":"https://api.github.com/repos/atlasapi/atlas/branches{/branch}","tags_url":"https://api.github.com/repos/atlasapi/atlas/tags","blobs_url":"https://api.github.com/repos/atlasapi/atlas/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/atlasapi/atlas/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/atlasapi/atlas/git/refs{/sha}","trees_url":"https://api.github.com/repos/atlasapi/atlas/git/trees{/sha}","statuses_url":"https://api.github.com/repos/atlasapi/atlas/statuses/{sha}","languages_url":"https://api.github.com/repos/atlasapi/atlas/languages","stargazers_url":"https://api.github.com/repos/atlasapi/atlas/stargazers","contributors_url":"https://api.github.com/repos/atlasapi/atlas/contributors","subscribers_url":"https://api.github.com/repos/atlasapi/atlas/subscribers","subscription_url":"https://api.github.com/repos/atlasapi/atlas/subscription","commits_url":"https://api.github.com/repos/atlasapi/atlas/commits{/sha}","git_commits_url":"https://api.github.com/repos/atlasapi/atlas/git/commits{/sha}","comments_url":"https://api.github.com/repos/atlasapi/atlas/comments{/number}","issue_comment_url":"https://api.github.com/repos/atlasapi/atlas/issues/comments{/number}","contents_url":"https://api.github.com/repos/atlasapi/atlas/contents/{+path}","compare_url":"https://api.github.com/repos/atlasapi/atlas/compare/{base}...{head}","merges_url":"https://api.github.com/repos/atlasapi/atlas/merges","archive_url":"https://api.github.com/repos/atlasapi/atlas/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/atlasapi/atlas/downloads","issues_url":"https://api.github.com/repos/atlasapi/atlas/issues{/number}","pulls_url":"https://api.github.com/repos/atlasapi/atlas/pulls{/number}","milestones_url":"https://api.github.com/repos/atlasapi/atlas/milestones{/number}","notifications_url":"https://api.github.com/repos/atlasapi/atlas/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/atlasapi/atlas/labels{/name}","releases_url":"https://api.github.com/repos/atlasapi/atlas/releases{/id}","deployments_url":"https://api.github.com/repos/atlasapi/atlas/deployments","created_at":"2010-07-07T16:28:33Z","updated_at":"2016-06-18T02:14:42Z","pushed_at":"2016-06-29T14:44:54Z","git_url":"git://github.com/atlasapi/atlas.git","ssh_url":"git@github.com:atlasapi/atlas.git","clone_url":"https://github.com/atlasapi/atlas.git","svn_url":"https://github.com/atlasapi/atlas","homepage":"http://atlas.metabroadcast.com/","size":25234,"stargazers_count":31,"watchers_count":31,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":10,"mirror_url":null,"open_issues_count":17,"forks":10,"open_issues":17,"watchers":31,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/atlasapi/atlas/pulls/1015"},"html":{"href":"https://github.com/atlasapi/atlas/pull/1015"},"issue":{"href":"https://api.github.com/repos/atlasapi/atlas/issues/1015"},"comments":{"href":"https://api.github.com/repos/atlasapi/atlas/issues/1015/comments"},"review_comments":{"href":"https://api.github.com/repos/atlasapi/atlas/pulls/1015/comments"},"review_comment":{"href":"https://api.github.com/repos/atlasapi/atlas/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/atlasapi/atlas/pulls/1015/commits"},"statuses":{"href":"https://api.github.com/repos/atlasapi/atlas/statuses/e0e1d2e36de60f4c9fa8845822c5de76b69cb443"}}}}
{"actor":{"display_login":"Dalamar42"}}