{"action":"created","comment":{"url":"https://api.github.com/repos/europeana/api2/pulls/comments/39875253","id":39875253,"diff_hunk":"@@ -0,0 +1,49 @@\n+/*","path":"api2-war/src/main/java/eu/europeana/api2/v2/web/controller/ExceptionControllerAdvice.java","position":1,"original_position":1,"commit_id":"e4ecf014b2f02b4f7f8ed10637f7566041e9ab4e","original_commit_id":"e4ecf014b2f02b4f7f8ed10637f7566041e9ab4e","user":{"login":"paulsabou","id":1481557,"avatar_url":"https://avatars.githubusercontent.com/u/1481557?v=3","gravatar_id":"","url":"https://api.github.com/users/paulsabou","html_url":"https://github.com/paulsabou","followers_url":"https://api.github.com/users/paulsabou/followers","following_url":"https://api.github.com/users/paulsabou/following{/other_user}","gists_url":"https://api.github.com/users/paulsabou/gists{/gist_id}","starred_url":"https://api.github.com/users/paulsabou/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/paulsabou/subscriptions","organizations_url":"https://api.github.com/users/paulsabou/orgs","repos_url":"https://api.github.com/users/paulsabou/repos","events_url":"https://api.github.com/users/paulsabou/events{/privacy}","received_events_url":"https://api.github.com/users/paulsabou/received_events","type":"User","site_admin":false},"body":"Definitely agree.  Refactored all tag related code in eu.europeana.corelib.search.utils.FakeTagsUtils and now the controller refers to these helpers directly. reduced the number of lines by 30%\r\n","created_at":"2015-09-18T16:42:10Z","updated_at":"2015-09-18T16:42:10Z","html_url":"https://github.com/europeana/api2/pull/7#discussion_r39875253","pull_request_url":"https://api.github.com/repos/europeana/api2/pulls/7","_links":{"self":{"href":"https://api.github.com/repos/europeana/api2/pulls/comments/39875253"},"html":{"href":"https://github.com/europeana/api2/pull/7#discussion_r39875253"},"pull_request":{"href":"https://api.github.com/repos/europeana/api2/pulls/7"}}},"pull_request":{"url":"https://api.github.com/repos/europeana/api2/pulls/7","id":45384207,"html_url":"https://github.com/europeana/api2/pull/7","diff_url":"https://github.com/europeana/api2/pull/7.diff","patch_url":"https://github.com/europeana/api2/pull/7.patch","issue_url":"https://api.github.com/repos/europeana/api2/issues/7","number":7,"state":"open","locked":false,"title":"Busymachines","user":{"login":"wjboogerd","id":3786135,"avatar_url":"https://avatars.githubusercontent.com/u/3786135?v=3","gravatar_id":"","url":"https://api.github.com/users/wjboogerd","html_url":"https://github.com/wjboogerd","followers_url":"https://api.github.com/users/wjboogerd/followers","following_url":"https://api.github.com/users/wjboogerd/following{/other_user}","gists_url":"https://api.github.com/users/wjboogerd/gists{/gist_id}","starred_url":"https://api.github.com/users/wjboogerd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wjboogerd/subscriptions","organizations_url":"https://api.github.com/users/wjboogerd/orgs","repos_url":"https://api.github.com/users/wjboogerd/repos","events_url":"https://api.github.com/users/wjboogerd/events{/privacy}","received_events_url":"https://api.github.com/users/wjboogerd/received_events","type":"User","site_admin":false},"body":"NOTE 2 ANYONE: do NOT apply this pull request for now!!!\r\n\r\nAt the moment, this request is meant for code quality discussion only!","created_at":"2015-09-18T09:08:25Z","updated_at":"2015-09-18T16:42:10Z","closed_at":null,"merged_at":null,"merge_commit_sha":"28f9c9178acc9d675e295b6ee63f92eefbddad9e","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/europeana/api2/pulls/7/commits","review_comments_url":"https://api.github.com/repos/europeana/api2/pulls/7/comments","review_comment_url":"https://api.github.com/repos/europeana/api2/pulls/comments{/number}","comments_url":"https://api.github.com/repos/europeana/api2/issues/7/comments","statuses_url":"https://api.github.com/repos/europeana/api2/statuses/e4ecf014b2f02b4f7f8ed10637f7566041e9ab4e","head":{"label":"europeana:busymachines","ref":"busymachines","sha":"e4ecf014b2f02b4f7f8ed10637f7566041e9ab4e","user":{"login":"europeana","id":4570681,"avatar_url":"https://avatars.githubusercontent.com/u/4570681?v=3","gravatar_id":"","url":"https://api.github.com/users/europeana","html_url":"https://github.com/europeana","followers_url":"https://api.github.com/users/europeana/followers","following_url":"https://api.github.com/users/europeana/following{/other_user}","gists_url":"https://api.github.com/users/europeana/gists{/gist_id}","starred_url":"https://api.github.com/users/europeana/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/europeana/subscriptions","organizations_url":"https://api.github.com/users/europeana/orgs","repos_url":"https://api.github.com/users/europeana/repos","events_url":"https://api.github.com/users/europeana/events{/privacy}","received_events_url":"https://api.github.com/users/europeana/received_events","type":"Organization","site_admin":false},"repo":{"id":11658921,"name":"api2","full_name":"europeana/api2","owner":{"login":"europeana","id":4570681,"avatar_url":"https://avatars.githubusercontent.com/u/4570681?v=3","gravatar_id":"","url":"https://api.github.com/users/europeana","html_url":"https://github.com/europeana","followers_url":"https://api.github.com/users/europeana/followers","following_url":"https://api.github.com/users/europeana/following{/other_user}","gists_url":"https://api.github.com/users/europeana/gists{/gist_id}","starred_url":"https://api.github.com/users/europeana/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/europeana/subscriptions","organizations_url":"https://api.github.com/users/europeana/orgs","repos_url":"https://api.github.com/users/europeana/repos","events_url":"https://api.github.com/users/europeana/events{/privacy}","received_events_url":"https://api.github.com/users/europeana/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/europeana/api2","description":"This is the software powering the Europeana RESTlish API","fork":false,"url":"https://api.github.com/repos/europeana/api2","forks_url":"https://api.github.com/repos/europeana/api2/forks","keys_url":"https://api.github.com/repos/europeana/api2/keys{/key_id}","collaborators_url":"https://api.github.com/repos/europeana/api2/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/europeana/api2/teams","hooks_url":"https://api.github.com/repos/europeana/api2/hooks","issue_events_url":"https://api.github.com/repos/europeana/api2/issues/events{/number}","events_url":"https://api.github.com/repos/europeana/api2/events","assignees_url":"https://api.github.com/repos/europeana/api2/assignees{/user}","branches_url":"https://api.github.com/repos/europeana/api2/branches{/branch}","tags_url":"https://api.github.com/repos/europeana/api2/tags","blobs_url":"https://api.github.com/repos/europeana/api2/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/europeana/api2/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/europeana/api2/git/refs{/sha}","trees_url":"https://api.github.com/repos/europeana/api2/git/trees{/sha}","statuses_url":"https://api.github.com/repos/europeana/api2/statuses/{sha}","languages_url":"https://api.github.com/repos/europeana/api2/languages","stargazers_url":"https://api.github.com/repos/europeana/api2/stargazers","contributors_url":"https://api.github.com/repos/europeana/api2/contributors","subscribers_url":"https://api.github.com/repos/europeana/api2/subscribers","subscription_url":"https://api.github.com/repos/europeana/api2/subscription","commits_url":"https://api.github.com/repos/europeana/api2/commits{/sha}","git_commits_url":"https://api.github.com/repos/europeana/api2/git/commits{/sha}","comments_url":"https://api.github.com/repos/europeana/api2/comments{/number}","issue_comment_url":"https://api.github.com/repos/europeana/api2/issues/comments{/number}","contents_url":"https://api.github.com/repos/europeana/api2/contents/{+path}","compare_url":"https://api.github.com/repos/europeana/api2/compare/{base}...{head}","merges_url":"https://api.github.com/repos/europeana/api2/merges","archive_url":"https://api.github.com/repos/europeana/api2/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/europeana/api2/downloads","issues_url":"https://api.github.com/repos/europeana/api2/issues{/number}","pulls_url":"https://api.github.com/repos/europeana/api2/pulls{/number}","milestones_url":"https://api.github.com/repos/europeana/api2/milestones{/number}","notifications_url":"https://api.github.com/repos/europeana/api2/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/europeana/api2/labels{/name}","releases_url":"https://api.github.com/repos/europeana/api2/releases{/id}","created_at":"2013-07-25T11:30:43Z","updated_at":"2015-03-30T14:10:57Z","pushed_at":"2015-09-18T10:13:44Z","git_url":"git://github.com/europeana/api2.git","ssh_url":"git@github.com:europeana/api2.git","clone_url":"https://github.com/europeana/api2.git","svn_url":"https://github.com/europeana/api2","homepage":"http://labs.europeana.eu/api/introduction/","size":4488,"stargazers_count":2,"watchers_count":2,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":1,"forks":2,"open_issues":1,"watchers":2,"default_branch":"master"}},"base":{"label":"europeana:master","ref":"master","sha":"121a1da7df71318bcbcf2c5144a0788f3ad10dfe","user":{"login":"europeana","id":4570681,"avatar_url":"https://avatars.githubusercontent.com/u/4570681?v=3","gravatar_id":"","url":"https://api.github.com/users/europeana","html_url":"https://github.com/europeana","followers_url":"https://api.github.com/users/europeana/followers","following_url":"https://api.github.com/users/europeana/following{/other_user}","gists_url":"https://api.github.com/users/europeana/gists{/gist_id}","starred_url":"https://api.github.com/users/europeana/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/europeana/subscriptions","organizations_url":"https://api.github.com/users/europeana/orgs","repos_url":"https://api.github.com/users/europeana/repos","events_url":"https://api.github.com/users/europeana/events{/privacy}","received_events_url":"https://api.github.com/users/europeana/received_events","type":"Organization","site_admin":false},"repo":{"id":11658921,"name":"api2","full_name":"europeana/api2","owner":{"login":"europeana","id":4570681,"avatar_url":"https://avatars.githubusercontent.com/u/4570681?v=3","gravatar_id":"","url":"https://api.github.com/users/europeana","html_url":"https://github.com/europeana","followers_url":"https://api.github.com/users/europeana/followers","following_url":"https://api.github.com/users/europeana/following{/other_user}","gists_url":"https://api.github.com/users/europeana/gists{/gist_id}","starred_url":"https://api.github.com/users/europeana/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/europeana/subscriptions","organizations_url":"https://api.github.com/users/europeana/orgs","repos_url":"https://api.github.com/users/europeana/repos","events_url":"https://api.github.com/users/europeana/events{/privacy}","received_events_url":"https://api.github.com/users/europeana/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/europeana/api2","description":"This is the software powering the Europeana RESTlish API","fork":false,"url":"https://api.github.com/repos/europeana/api2","forks_url":"https://api.github.com/repos/europeana/api2/forks","keys_url":"https://api.github.com/repos/europeana/api2/keys{/key_id}","collaborators_url":"https://api.github.com/repos/europeana/api2/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/europeana/api2/teams","hooks_url":"https://api.github.com/repos/europeana/api2/hooks","issue_events_url":"https://api.github.com/repos/europeana/api2/issues/events{/number}","events_url":"https://api.github.com/repos/europeana/api2/events","assignees_url":"https://api.github.com/repos/europeana/api2/assignees{/user}","branches_url":"https://api.github.com/repos/europeana/api2/branches{/branch}","tags_url":"https://api.github.com/repos/europeana/api2/tags","blobs_url":"https://api.github.com/repos/europeana/api2/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/europeana/api2/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/europeana/api2/git/refs{/sha}","trees_url":"https://api.github.com/repos/europeana/api2/git/trees{/sha}","statuses_url":"https://api.github.com/repos/europeana/api2/statuses/{sha}","languages_url":"https://api.github.com/repos/europeana/api2/languages","stargazers_url":"https://api.github.com/repos/europeana/api2/stargazers","contributors_url":"https://api.github.com/repos/europeana/api2/contributors","subscribers_url":"https://api.github.com/repos/europeana/api2/subscribers","subscription_url":"https://api.github.com/repos/europeana/api2/subscription","commits_url":"https://api.github.com/repos/europeana/api2/commits{/sha}","git_commits_url":"https://api.github.com/repos/europeana/api2/git/commits{/sha}","comments_url":"https://api.github.com/repos/europeana/api2/comments{/number}","issue_comment_url":"https://api.github.com/repos/europeana/api2/issues/comments{/number}","contents_url":"https://api.github.com/repos/europeana/api2/contents/{+path}","compare_url":"https://api.github.com/repos/europeana/api2/compare/{base}...{head}","merges_url":"https://api.github.com/repos/europeana/api2/merges","archive_url":"https://api.github.com/repos/europeana/api2/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/europeana/api2/downloads","issues_url":"https://api.github.com/repos/europeana/api2/issues{/number}","pulls_url":"https://api.github.com/repos/europeana/api2/pulls{/number}","milestones_url":"https://api.github.com/repos/europeana/api2/milestones{/number}","notifications_url":"https://api.github.com/repos/europeana/api2/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/europeana/api2/labels{/name}","releases_url":"https://api.github.com/repos/europeana/api2/releases{/id}","created_at":"2013-07-25T11:30:43Z","updated_at":"2015-03-30T14:10:57Z","pushed_at":"2015-09-18T10:13:44Z","git_url":"git://github.com/europeana/api2.git","ssh_url":"git@github.com:europeana/api2.git","clone_url":"https://github.com/europeana/api2.git","svn_url":"https://github.com/europeana/api2","homepage":"http://labs.europeana.eu/api/introduction/","size":4488,"stargazers_count":2,"watchers_count":2,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":1,"forks":2,"open_issues":1,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/europeana/api2/pulls/7"},"html":{"href":"https://github.com/europeana/api2/pull/7"},"issue":{"href":"https://api.github.com/repos/europeana/api2/issues/7"},"comments":{"href":"https://api.github.com/repos/europeana/api2/issues/7/comments"},"review_comments":{"href":"https://api.github.com/repos/europeana/api2/pulls/7/comments"},"review_comment":{"href":"https://api.github.com/repos/europeana/api2/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/europeana/api2/pulls/7/commits"},"statuses":{"href":"https://api.github.com/repos/europeana/api2/statuses/e4ecf014b2f02b4f7f8ed10637f7566041e9ab4e"}}}}