{"action":"created","comment":{"url":"https://api.github.com/repos/music-for-all/music-for-all-application/pulls/comments/71567631","id":71567631,"diff_hunk":"@@ -1,44 +1,74 @@\n package com.musicforall.web;\n \n-import com.fasterxml.jackson.databind.ObjectMapper;\n import com.musicforall.model.Track;\n+import com.musicforall.services.track.TrackService;","path":"application/src/main/java/com/musicforall/web/SearchRestController.java","position":5,"original_position":5,"commit_id":"013a501c2d39c304b3375aedf6b0792e035a6066","original_commit_id":"013a501c2d39c304b3375aedf6b0792e035a6066","user":{"login":"codacy-bot","id":19940114,"avatar_url":"https://avatars.githubusercontent.com/u/19940114?v=3","gravatar_id":"","url":"https://api.github.com/users/codacy-bot","html_url":"https://github.com/codacy-bot","followers_url":"https://api.github.com/users/codacy-bot/followers","following_url":"https://api.github.com/users/codacy-bot/following{/other_user}","gists_url":"https://api.github.com/users/codacy-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/codacy-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/codacy-bot/subscriptions","organizations_url":"https://api.github.com/users/codacy-bot/orgs","repos_url":"https://api.github.com/users/codacy-bot/repos","events_url":"https://api.github.com/users/codacy-bot/events{/privacy}","received_events_url":"https://api.github.com/users/codacy-bot/received_events","type":"User","site_admin":false},"body":"![Codacy](https://www.codacy.com/assets/images/favicon.png) Issue found: [The method search() has an NPath complexity of 256](https://www.codacy.com/app/music_for_all/music-for-all-application/file/3042144833/issues/source?bid=3379442&fileBranchId=3446410#l47)","created_at":"2016-07-20T17:17:45Z","updated_at":"2016-07-20T17:17:45Z","html_url":"https://github.com/music-for-all/music-for-all-application/pull/38#discussion_r71567631","pull_request_url":"https://api.github.com/repos/music-for-all/music-for-all-application/pulls/38","_links":{"self":{"href":"https://api.github.com/repos/music-for-all/music-for-all-application/pulls/comments/71567631"},"html":{"href":"https://github.com/music-for-all/music-for-all-application/pull/38#discussion_r71567631"},"pull_request":{"href":"https://api.github.com/repos/music-for-all/music-for-all-application/pulls/38"}}},"pull_request":{"url":"https://api.github.com/repos/music-for-all/music-for-all-application/pulls/38","id":77642738,"html_url":"https://github.com/music-for-all/music-for-all-application/pull/38","diff_url":"https://github.com/music-for-all/music-for-all-application/pull/38.diff","patch_url":"https://github.com/music-for-all/music-for-all-application/pull/38.patch","issue_url":"https://api.github.com/repos/music-for-all/music-for-all-application/issues/38","number":38,"state":"open","locked":false,"title":"Search page","user":{"login":"excaliware","id":11667030,"avatar_url":"https://avatars.githubusercontent.com/u/11667030?v=3","gravatar_id":"","url":"https://api.github.com/users/excaliware","html_url":"https://github.com/excaliware","followers_url":"https://api.github.com/users/excaliware/followers","following_url":"https://api.github.com/users/excaliware/following{/other_user}","gists_url":"https://api.github.com/users/excaliware/gists{/gist_id}","starred_url":"https://api.github.com/users/excaliware/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/excaliware/subscriptions","organizations_url":"https://api.github.com/users/excaliware/orgs","repos_url":"https://api.github.com/users/excaliware/repos","events_url":"https://api.github.com/users/excaliware/events{/privacy}","received_events_url":"https://api.github.com/users/excaliware/received_events","type":"User","site_admin":false},"body":"Only the search by track 'title' (or currently 'name') is available for now (since the Track entity has not got other attributes yet).\r\nAbility to redirect to the target URL after successful login.\r\n","created_at":"2016-07-15T16:29:25Z","updated_at":"2016-07-20T17:17:45Z","closed_at":null,"merged_at":null,"merge_commit_sha":"ad4e4c77bb00360c1a166a571c0871e2cfd0b0b1","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/music-for-all/music-for-all-application/pulls/38/commits","review_comments_url":"https://api.github.com/repos/music-for-all/music-for-all-application/pulls/38/comments","review_comment_url":"https://api.github.com/repos/music-for-all/music-for-all-application/pulls/comments{/number}","comments_url":"https://api.github.com/repos/music-for-all/music-for-all-application/issues/38/comments","statuses_url":"https://api.github.com/repos/music-for-all/music-for-all-application/statuses/013a501c2d39c304b3375aedf6b0792e035a6066","head":{"label":"music-for-all:searchPage","ref":"searchPage","sha":"013a501c2d39c304b3375aedf6b0792e035a6066","user":{"login":"music-for-all","id":19793146,"avatar_url":"https://avatars.githubusercontent.com/u/19793146?v=3","gravatar_id":"","url":"https://api.github.com/users/music-for-all","html_url":"https://github.com/music-for-all","followers_url":"https://api.github.com/users/music-for-all/followers","following_url":"https://api.github.com/users/music-for-all/following{/other_user}","gists_url":"https://api.github.com/users/music-for-all/gists{/gist_id}","starred_url":"https://api.github.com/users/music-for-all/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/music-for-all/subscriptions","organizations_url":"https://api.github.com/users/music-for-all/orgs","repos_url":"https://api.github.com/users/music-for-all/repos","events_url":"https://api.github.com/users/music-for-all/events{/privacy}","received_events_url":"https://api.github.com/users/music-for-all/received_events","type":"Organization","site_admin":false},"repo":{"id":60590888,"name":"music-for-all-application","full_name":"music-for-all/music-for-all-application","owner":{"login":"music-for-all","id":19793146,"avatar_url":"https://avatars.githubusercontent.com/u/19793146?v=3","gravatar_id":"","url":"https://api.github.com/users/music-for-all","html_url":"https://github.com/music-for-all","followers_url":"https://api.github.com/users/music-for-all/followers","following_url":"https://api.github.com/users/music-for-all/following{/other_user}","gists_url":"https://api.github.com/users/music-for-all/gists{/gist_id}","starred_url":"https://api.github.com/users/music-for-all/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/music-for-all/subscriptions","organizations_url":"https://api.github.com/users/music-for-all/orgs","repos_url":"https://api.github.com/users/music-for-all/repos","events_url":"https://api.github.com/users/music-for-all/events{/privacy}","received_events_url":"https://api.github.com/users/music-for-all/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/music-for-all/music-for-all-application","description":"","fork":false,"url":"https://api.github.com/repos/music-for-all/music-for-all-application","forks_url":"https://api.github.com/repos/music-for-all/music-for-all-application/forks","keys_url":"https://api.github.com/repos/music-for-all/music-for-all-application/keys{/key_id}","collaborators_url":"https://api.github.com/repos/music-for-all/music-for-all-application/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/music-for-all/music-for-all-application/teams","hooks_url":"https://api.github.com/repos/music-for-all/music-for-all-application/hooks","issue_events_url":"https://api.github.com/repos/music-for-all/music-for-all-application/issues/events{/number}","events_url":"https://api.github.com/repos/music-for-all/music-for-all-application/events","assignees_url":"https://api.github.com/repos/music-for-all/music-for-all-application/assignees{/user}","branches_url":"https://api.github.com/repos/music-for-all/music-for-all-application/branches{/branch}","tags_url":"https://api.github.com/repos/music-for-all/music-for-all-application/tags","blobs_url":"https://api.github.com/repos/music-for-all/music-for-all-application/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/music-for-all/music-for-all-application/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/music-for-all/music-for-all-application/git/refs{/sha}","trees_url":"https://api.github.com/repos/music-for-all/music-for-all-application/git/trees{/sha}","statuses_url":"https://api.github.com/repos/music-for-all/music-for-all-application/statuses/{sha}","languages_url":"https://api.github.com/repos/music-for-all/music-for-all-application/languages","stargazers_url":"https://api.github.com/repos/music-for-all/music-for-all-application/stargazers","contributors_url":"https://api.github.com/repos/music-for-all/music-for-all-application/contributors","subscribers_url":"https://api.github.com/repos/music-for-all/music-for-all-application/subscribers","subscription_url":"https://api.github.com/repos/music-for-all/music-for-all-application/subscription","commits_url":"https://api.github.com/repos/music-for-all/music-for-all-application/commits{/sha}","git_commits_url":"https://api.github.com/repos/music-for-all/music-for-all-application/git/commits{/sha}","comments_url":"https://api.github.com/repos/music-for-all/music-for-all-application/comments{/number}","issue_comment_url":"https://api.github.com/repos/music-for-all/music-for-all-application/issues/comments{/number}","contents_url":"https://api.github.com/repos/music-for-all/music-for-all-application/contents/{+path}","compare_url":"https://api.github.com/repos/music-for-all/music-for-all-application/compare/{base}...{head}","merges_url":"https://api.github.com/repos/music-for-all/music-for-all-application/merges","archive_url":"https://api.github.com/repos/music-for-all/music-for-all-application/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/music-for-all/music-for-all-application/downloads","issues_url":"https://api.github.com/repos/music-for-all/music-for-all-application/issues{/number}","pulls_url":"https://api.github.com/repos/music-for-all/music-for-all-application/pulls{/number}","milestones_url":"https://api.github.com/repos/music-for-all/music-for-all-application/milestones{/number}","notifications_url":"https://api.github.com/repos/music-for-all/music-for-all-application/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/music-for-all/music-for-all-application/labels{/name}","releases_url":"https://api.github.com/repos/music-for-all/music-for-all-application/releases{/id}","deployments_url":"https://api.github.com/repos/music-for-all/music-for-all-application/deployments","created_at":"2016-06-07T07:13:41Z","updated_at":"2016-07-19T16:55:01Z","pushed_at":"2016-07-20T16:29:40Z","git_url":"git://github.com/music-for-all/music-for-all-application.git","ssh_url":"git@github.com:music-for-all/music-for-all-application.git","clone_url":"https://github.com/music-for-all/music-for-all-application.git","svn_url":"https://github.com/music-for-all/music-for-all-application","homepage":null,"size":12221,"stargazers_count":3,"watchers_count":3,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":3,"forks":1,"open_issues":3,"watchers":3,"default_branch":"master"}},"base":{"label":"music-for-all:master","ref":"master","sha":"97c26dfa238d0853f8151a00886f64fea3c8bdae","user":{"login":"music-for-all","id":19793146,"avatar_url":"https://avatars.githubusercontent.com/u/19793146?v=3","gravatar_id":"","url":"https://api.github.com/users/music-for-all","html_url":"https://github.com/music-for-all","followers_url":"https://api.github.com/users/music-for-all/followers","following_url":"https://api.github.com/users/music-for-all/following{/other_user}","gists_url":"https://api.github.com/users/music-for-all/gists{/gist_id}","starred_url":"https://api.github.com/users/music-for-all/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/music-for-all/subscriptions","organizations_url":"https://api.github.com/users/music-for-all/orgs","repos_url":"https://api.github.com/users/music-for-all/repos","events_url":"https://api.github.com/users/music-for-all/events{/privacy}","received_events_url":"https://api.github.com/users/music-for-all/received_events","type":"Organization","site_admin":false},"repo":{"id":60590888,"name":"music-for-all-application","full_name":"music-for-all/music-for-all-application","owner":{"login":"music-for-all","id":19793146,"avatar_url":"https://avatars.githubusercontent.com/u/19793146?v=3","gravatar_id":"","url":"https://api.github.com/users/music-for-all","html_url":"https://github.com/music-for-all","followers_url":"https://api.github.com/users/music-for-all/followers","following_url":"https://api.github.com/users/music-for-all/following{/other_user}","gists_url":"https://api.github.com/users/music-for-all/gists{/gist_id}","starred_url":"https://api.github.com/users/music-for-all/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/music-for-all/subscriptions","organizations_url":"https://api.github.com/users/music-for-all/orgs","repos_url":"https://api.github.com/users/music-for-all/repos","events_url":"https://api.github.com/users/music-for-all/events{/privacy}","received_events_url":"https://api.github.com/users/music-for-all/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/music-for-all/music-for-all-application","description":"","fork":false,"url":"https://api.github.com/repos/music-for-all/music-for-all-application","forks_url":"https://api.github.com/repos/music-for-all/music-for-all-application/forks","keys_url":"https://api.github.com/repos/music-for-all/music-for-all-application/keys{/key_id}","collaborators_url":"https://api.github.com/repos/music-for-all/music-for-all-application/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/music-for-all/music-for-all-application/teams","hooks_url":"https://api.github.com/repos/music-for-all/music-for-all-application/hooks","issue_events_url":"https://api.github.com/repos/music-for-all/music-for-all-application/issues/events{/number}","events_url":"https://api.github.com/repos/music-for-all/music-for-all-application/events","assignees_url":"https://api.github.com/repos/music-for-all/music-for-all-application/assignees{/user}","branches_url":"https://api.github.com/repos/music-for-all/music-for-all-application/branches{/branch}","tags_url":"https://api.github.com/repos/music-for-all/music-for-all-application/tags","blobs_url":"https://api.github.com/repos/music-for-all/music-for-all-application/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/music-for-all/music-for-all-application/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/music-for-all/music-for-all-application/git/refs{/sha}","trees_url":"https://api.github.com/repos/music-for-all/music-for-all-application/git/trees{/sha}","statuses_url":"https://api.github.com/repos/music-for-all/music-for-all-application/statuses/{sha}","languages_url":"https://api.github.com/repos/music-for-all/music-for-all-application/languages","stargazers_url":"https://api.github.com/repos/music-for-all/music-for-all-application/stargazers","contributors_url":"https://api.github.com/repos/music-for-all/music-for-all-application/contributors","subscribers_url":"https://api.github.com/repos/music-for-all/music-for-all-application/subscribers","subscription_url":"https://api.github.com/repos/music-for-all/music-for-all-application/subscription","commits_url":"https://api.github.com/repos/music-for-all/music-for-all-application/commits{/sha}","git_commits_url":"https://api.github.com/repos/music-for-all/music-for-all-application/git/commits{/sha}","comments_url":"https://api.github.com/repos/music-for-all/music-for-all-application/comments{/number}","issue_comment_url":"https://api.github.com/repos/music-for-all/music-for-all-application/issues/comments{/number}","contents_url":"https://api.github.com/repos/music-for-all/music-for-all-application/contents/{+path}","compare_url":"https://api.github.com/repos/music-for-all/music-for-all-application/compare/{base}...{head}","merges_url":"https://api.github.com/repos/music-for-all/music-for-all-application/merges","archive_url":"https://api.github.com/repos/music-for-all/music-for-all-application/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/music-for-all/music-for-all-application/downloads","issues_url":"https://api.github.com/repos/music-for-all/music-for-all-application/issues{/number}","pulls_url":"https://api.github.com/repos/music-for-all/music-for-all-application/pulls{/number}","milestones_url":"https://api.github.com/repos/music-for-all/music-for-all-application/milestones{/number}","notifications_url":"https://api.github.com/repos/music-for-all/music-for-all-application/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/music-for-all/music-for-all-application/labels{/name}","releases_url":"https://api.github.com/repos/music-for-all/music-for-all-application/releases{/id}","deployments_url":"https://api.github.com/repos/music-for-all/music-for-all-application/deployments","created_at":"2016-06-07T07:13:41Z","updated_at":"2016-07-19T16:55:01Z","pushed_at":"2016-07-20T16:29:40Z","git_url":"git://github.com/music-for-all/music-for-all-application.git","ssh_url":"git@github.com:music-for-all/music-for-all-application.git","clone_url":"https://github.com/music-for-all/music-for-all-application.git","svn_url":"https://github.com/music-for-all/music-for-all-application","homepage":null,"size":12221,"stargazers_count":3,"watchers_count":3,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":3,"forks":1,"open_issues":3,"watchers":3,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/music-for-all/music-for-all-application/pulls/38"},"html":{"href":"https://github.com/music-for-all/music-for-all-application/pull/38"},"issue":{"href":"https://api.github.com/repos/music-for-all/music-for-all-application/issues/38"},"comments":{"href":"https://api.github.com/repos/music-for-all/music-for-all-application/issues/38/comments"},"review_comments":{"href":"https://api.github.com/repos/music-for-all/music-for-all-application/pulls/38/comments"},"review_comment":{"href":"https://api.github.com/repos/music-for-all/music-for-all-application/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/music-for-all/music-for-all-application/pulls/38/commits"},"statuses":{"href":"https://api.github.com/repos/music-for-all/music-for-all-application/statuses/013a501c2d39c304b3375aedf6b0792e035a6066"}}}}
{"actor":{"display_login":"codacy-bot"}}