{"action":"created","comment":{"url":"https://api.github.com/repos/ox-it/wl-turnitin/pulls/comments/58846673","id":58846673,"diff_hunk":"@@ -123,6 +135,21 @@ protected void doPostJSON(HttpServletRequest request, HttpServletResponse respon\n         return;\n     }\n \t\n+\tpublic Map<String,Object> obtainGlobalTurnitinLTITool(String turnitinSite){\n+\t\tM_log.debug(\"Getting global TII LTI tool\");","path":"contentreview-impl/tool/src/java/org/sakaiproject/contentreview/servlet/TIICallbackServlet.java","position":52,"original_position":52,"commit_id":"eab74997903c9e07f0c1aba4e1f4d7e94f5242ca","original_commit_id":"eab74997903c9e07f0c1aba4e1f4d7e94f5242ca","user":{"login":"buckett","id":5921,"avatar_url":"https://avatars.githubusercontent.com/u/5921?v=3","gravatar_id":"","url":"https://api.github.com/users/buckett","html_url":"https://github.com/buckett","followers_url":"https://api.github.com/users/buckett/followers","following_url":"https://api.github.com/users/buckett/following{/other_user}","gists_url":"https://api.github.com/users/buckett/gists{/gist_id}","starred_url":"https://api.github.com/users/buckett/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/buckett/subscriptions","organizations_url":"https://api.github.com/users/buckett/orgs","repos_url":"https://api.github.com/users/buckett/repos","events_url":"https://api.github.com/users/buckett/events{/privacy}","received_events_url":"https://api.github.com/users/buckett/received_events","type":"User","site_admin":false},"body":"Again, duplicated code.","created_at":"2016-04-07T09:55:01Z","updated_at":"2016-04-07T09:55:01Z","html_url":"https://github.com/ox-it/wl-turnitin/pull/17#discussion_r58846673","pull_request_url":"https://api.github.com/repos/ox-it/wl-turnitin/pulls/17","_links":{"self":{"href":"https://api.github.com/repos/ox-it/wl-turnitin/pulls/comments/58846673"},"html":{"href":"https://github.com/ox-it/wl-turnitin/pull/17#discussion_r58846673"},"pull_request":{"href":"https://api.github.com/repos/ox-it/wl-turnitin/pulls/17"}}},"pull_request":{"url":"https://api.github.com/repos/ox-it/wl-turnitin/pulls/17","id":63712277,"html_url":"https://github.com/ox-it/wl-turnitin/pull/17","diff_url":"https://github.com/ox-it/wl-turnitin/pull/17.diff","patch_url":"https://github.com/ox-it/wl-turnitin/pull/17.patch","issue_url":"https://api.github.com/repos/ox-it/wl-turnitin/issues/17","number":17,"state":"open","locked":false,"title":"WL-4296 centralise TII configuration","user":{"login":"bgarciaentornos","id":11438230,"avatar_url":"https://avatars.githubusercontent.com/u/11438230?v=3","gravatar_id":"","url":"https://api.github.com/users/bgarciaentornos","html_url":"https://github.com/bgarciaentornos","followers_url":"https://api.github.com/users/bgarciaentornos/followers","following_url":"https://api.github.com/users/bgarciaentornos/following{/other_user}","gists_url":"https://api.github.com/users/bgarciaentornos/gists{/gist_id}","starred_url":"https://api.github.com/users/bgarciaentornos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bgarciaentornos/subscriptions","organizations_url":"https://api.github.com/users/bgarciaentornos/orgs","repos_url":"https://api.github.com/users/bgarciaentornos/repos","events_url":"https://api.github.com/users/bgarciaentornos/events{/privacy}","received_events_url":"https://api.github.com/users/bgarciaentornos/received_events","type":"User","site_admin":false},"body":"TII account settings will always be retrieved from the global LTI tool. Endpoint url setting is still needed.","created_at":"2016-03-22T12:32:59Z","updated_at":"2016-04-07T09:55:01Z","closed_at":null,"merged_at":null,"merge_commit_sha":"702b0de7de49353bfbef41ea083958ccec867395","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/ox-it/wl-turnitin/pulls/17/commits","review_comments_url":"https://api.github.com/repos/ox-it/wl-turnitin/pulls/17/comments","review_comment_url":"https://api.github.com/repos/ox-it/wl-turnitin/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ox-it/wl-turnitin/issues/17/comments","statuses_url":"https://api.github.com/repos/ox-it/wl-turnitin/statuses/eab74997903c9e07f0c1aba4e1f4d7e94f5242ca","head":{"label":"ox-it:WL-4296","ref":"WL-4296","sha":"eab74997903c9e07f0c1aba4e1f4d7e94f5242ca","user":{"login":"ox-it","id":351950,"avatar_url":"https://avatars.githubusercontent.com/u/351950?v=3","gravatar_id":"","url":"https://api.github.com/users/ox-it","html_url":"https://github.com/ox-it","followers_url":"https://api.github.com/users/ox-it/followers","following_url":"https://api.github.com/users/ox-it/following{/other_user}","gists_url":"https://api.github.com/users/ox-it/gists{/gist_id}","starred_url":"https://api.github.com/users/ox-it/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ox-it/subscriptions","organizations_url":"https://api.github.com/users/ox-it/orgs","repos_url":"https://api.github.com/users/ox-it/repos","events_url":"https://api.github.com/users/ox-it/events{/privacy}","received_events_url":"https://api.github.com/users/ox-it/received_events","type":"Organization","site_admin":false},"repo":{"id":6059265,"name":"wl-turnitin","full_name":"ox-it/wl-turnitin","owner":{"login":"ox-it","id":351950,"avatar_url":"https://avatars.githubusercontent.com/u/351950?v=3","gravatar_id":"","url":"https://api.github.com/users/ox-it","html_url":"https://github.com/ox-it","followers_url":"https://api.github.com/users/ox-it/followers","following_url":"https://api.github.com/users/ox-it/following{/other_user}","gists_url":"https://api.github.com/users/ox-it/gists{/gist_id}","starred_url":"https://api.github.com/users/ox-it/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ox-it/subscriptions","organizations_url":"https://api.github.com/users/ox-it/orgs","repos_url":"https://api.github.com/users/ox-it/repos","events_url":"https://api.github.com/users/ox-it/events{/privacy}","received_events_url":"https://api.github.com/users/ox-it/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ox-it/wl-turnitin","description":null,"fork":false,"url":"https://api.github.com/repos/ox-it/wl-turnitin","forks_url":"https://api.github.com/repos/ox-it/wl-turnitin/forks","keys_url":"https://api.github.com/repos/ox-it/wl-turnitin/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ox-it/wl-turnitin/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ox-it/wl-turnitin/teams","hooks_url":"https://api.github.com/repos/ox-it/wl-turnitin/hooks","issue_events_url":"https://api.github.com/repos/ox-it/wl-turnitin/issues/events{/number}","events_url":"https://api.github.com/repos/ox-it/wl-turnitin/events","assignees_url":"https://api.github.com/repos/ox-it/wl-turnitin/assignees{/user}","branches_url":"https://api.github.com/repos/ox-it/wl-turnitin/branches{/branch}","tags_url":"https://api.github.com/repos/ox-it/wl-turnitin/tags","blobs_url":"https://api.github.com/repos/ox-it/wl-turnitin/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ox-it/wl-turnitin/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ox-it/wl-turnitin/git/refs{/sha}","trees_url":"https://api.github.com/repos/ox-it/wl-turnitin/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ox-it/wl-turnitin/statuses/{sha}","languages_url":"https://api.github.com/repos/ox-it/wl-turnitin/languages","stargazers_url":"https://api.github.com/repos/ox-it/wl-turnitin/stargazers","contributors_url":"https://api.github.com/repos/ox-it/wl-turnitin/contributors","subscribers_url":"https://api.github.com/repos/ox-it/wl-turnitin/subscribers","subscription_url":"https://api.github.com/repos/ox-it/wl-turnitin/subscription","commits_url":"https://api.github.com/repos/ox-it/wl-turnitin/commits{/sha}","git_commits_url":"https://api.github.com/repos/ox-it/wl-turnitin/git/commits{/sha}","comments_url":"https://api.github.com/repos/ox-it/wl-turnitin/comments{/number}","issue_comment_url":"https://api.github.com/repos/ox-it/wl-turnitin/issues/comments{/number}","contents_url":"https://api.github.com/repos/ox-it/wl-turnitin/contents/{+path}","compare_url":"https://api.github.com/repos/ox-it/wl-turnitin/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ox-it/wl-turnitin/merges","archive_url":"https://api.github.com/repos/ox-it/wl-turnitin/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ox-it/wl-turnitin/downloads","issues_url":"https://api.github.com/repos/ox-it/wl-turnitin/issues{/number}","pulls_url":"https://api.github.com/repos/ox-it/wl-turnitin/pulls{/number}","milestones_url":"https://api.github.com/repos/ox-it/wl-turnitin/milestones{/number}","notifications_url":"https://api.github.com/repos/ox-it/wl-turnitin/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ox-it/wl-turnitin/labels{/name}","releases_url":"https://api.github.com/repos/ox-it/wl-turnitin/releases{/id}","deployments_url":"https://api.github.com/repos/ox-it/wl-turnitin/deployments","created_at":"2012-10-03T11:46:53Z","updated_at":"2016-03-14T11:21:32Z","pushed_at":"2016-03-29T14:18:33Z","git_url":"git://github.com/ox-it/wl-turnitin.git","ssh_url":"git@github.com:ox-it/wl-turnitin.git","clone_url":"https://github.com/ox-it/wl-turnitin.git","svn_url":"https://github.com/ox-it/wl-turnitin","homepage":null,"size":922,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_downloads":false,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":4,"forks":0,"open_issues":4,"watchers":0,"default_branch":"master"}},"base":{"label":"ox-it:master","ref":"master","sha":"4a82005e4bfc0f0dee0b30b50ee4a15420f626d6","user":{"login":"ox-it","id":351950,"avatar_url":"https://avatars.githubusercontent.com/u/351950?v=3","gravatar_id":"","url":"https://api.github.com/users/ox-it","html_url":"https://github.com/ox-it","followers_url":"https://api.github.com/users/ox-it/followers","following_url":"https://api.github.com/users/ox-it/following{/other_user}","gists_url":"https://api.github.com/users/ox-it/gists{/gist_id}","starred_url":"https://api.github.com/users/ox-it/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ox-it/subscriptions","organizations_url":"https://api.github.com/users/ox-it/orgs","repos_url":"https://api.github.com/users/ox-it/repos","events_url":"https://api.github.com/users/ox-it/events{/privacy}","received_events_url":"https://api.github.com/users/ox-it/received_events","type":"Organization","site_admin":false},"repo":{"id":6059265,"name":"wl-turnitin","full_name":"ox-it/wl-turnitin","owner":{"login":"ox-it","id":351950,"avatar_url":"https://avatars.githubusercontent.com/u/351950?v=3","gravatar_id":"","url":"https://api.github.com/users/ox-it","html_url":"https://github.com/ox-it","followers_url":"https://api.github.com/users/ox-it/followers","following_url":"https://api.github.com/users/ox-it/following{/other_user}","gists_url":"https://api.github.com/users/ox-it/gists{/gist_id}","starred_url":"https://api.github.com/users/ox-it/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ox-it/subscriptions","organizations_url":"https://api.github.com/users/ox-it/orgs","repos_url":"https://api.github.com/users/ox-it/repos","events_url":"https://api.github.com/users/ox-it/events{/privacy}","received_events_url":"https://api.github.com/users/ox-it/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ox-it/wl-turnitin","description":null,"fork":false,"url":"https://api.github.com/repos/ox-it/wl-turnitin","forks_url":"https://api.github.com/repos/ox-it/wl-turnitin/forks","keys_url":"https://api.github.com/repos/ox-it/wl-turnitin/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ox-it/wl-turnitin/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ox-it/wl-turnitin/teams","hooks_url":"https://api.github.com/repos/ox-it/wl-turnitin/hooks","issue_events_url":"https://api.github.com/repos/ox-it/wl-turnitin/issues/events{/number}","events_url":"https://api.github.com/repos/ox-it/wl-turnitin/events","assignees_url":"https://api.github.com/repos/ox-it/wl-turnitin/assignees{/user}","branches_url":"https://api.github.com/repos/ox-it/wl-turnitin/branches{/branch}","tags_url":"https://api.github.com/repos/ox-it/wl-turnitin/tags","blobs_url":"https://api.github.com/repos/ox-it/wl-turnitin/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ox-it/wl-turnitin/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ox-it/wl-turnitin/git/refs{/sha}","trees_url":"https://api.github.com/repos/ox-it/wl-turnitin/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ox-it/wl-turnitin/statuses/{sha}","languages_url":"https://api.github.com/repos/ox-it/wl-turnitin/languages","stargazers_url":"https://api.github.com/repos/ox-it/wl-turnitin/stargazers","contributors_url":"https://api.github.com/repos/ox-it/wl-turnitin/contributors","subscribers_url":"https://api.github.com/repos/ox-it/wl-turnitin/subscribers","subscription_url":"https://api.github.com/repos/ox-it/wl-turnitin/subscription","commits_url":"https://api.github.com/repos/ox-it/wl-turnitin/commits{/sha}","git_commits_url":"https://api.github.com/repos/ox-it/wl-turnitin/git/commits{/sha}","comments_url":"https://api.github.com/repos/ox-it/wl-turnitin/comments{/number}","issue_comment_url":"https://api.github.com/repos/ox-it/wl-turnitin/issues/comments{/number}","contents_url":"https://api.github.com/repos/ox-it/wl-turnitin/contents/{+path}","compare_url":"https://api.github.com/repos/ox-it/wl-turnitin/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ox-it/wl-turnitin/merges","archive_url":"https://api.github.com/repos/ox-it/wl-turnitin/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ox-it/wl-turnitin/downloads","issues_url":"https://api.github.com/repos/ox-it/wl-turnitin/issues{/number}","pulls_url":"https://api.github.com/repos/ox-it/wl-turnitin/pulls{/number}","milestones_url":"https://api.github.com/repos/ox-it/wl-turnitin/milestones{/number}","notifications_url":"https://api.github.com/repos/ox-it/wl-turnitin/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ox-it/wl-turnitin/labels{/name}","releases_url":"https://api.github.com/repos/ox-it/wl-turnitin/releases{/id}","deployments_url":"https://api.github.com/repos/ox-it/wl-turnitin/deployments","created_at":"2012-10-03T11:46:53Z","updated_at":"2016-03-14T11:21:32Z","pushed_at":"2016-03-29T14:18:33Z","git_url":"git://github.com/ox-it/wl-turnitin.git","ssh_url":"git@github.com:ox-it/wl-turnitin.git","clone_url":"https://github.com/ox-it/wl-turnitin.git","svn_url":"https://github.com/ox-it/wl-turnitin","homepage":null,"size":922,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_downloads":false,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":4,"forks":0,"open_issues":4,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ox-it/wl-turnitin/pulls/17"},"html":{"href":"https://github.com/ox-it/wl-turnitin/pull/17"},"issue":{"href":"https://api.github.com/repos/ox-it/wl-turnitin/issues/17"},"comments":{"href":"https://api.github.com/repos/ox-it/wl-turnitin/issues/17/comments"},"review_comments":{"href":"https://api.github.com/repos/ox-it/wl-turnitin/pulls/17/comments"},"review_comment":{"href":"https://api.github.com/repos/ox-it/wl-turnitin/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ox-it/wl-turnitin/pulls/17/commits"},"statuses":{"href":"https://api.github.com/repos/ox-it/wl-turnitin/statuses/eab74997903c9e07f0c1aba4e1f4d7e94f5242ca"}}}}