{"action":"created","comment":{"url":"https://api.github.com/repos/wso2/carbon-identity/pulls/comments/31866445","id":31866445,"diff_hunk":"@@ -1,103 +1,106 @@\n+\n <!--\n-  ~ Copyright WSO2, Inc. (http://wso2.com)\n-  ~\n-  ~ Licensed under the Apache License, Version 2.0 (the \"License\");\n-  ~ you may not use this file except in compliance with the License.\n-  ~ You may obtain a copy of the License at\n-  ~\n-  ~ http://www.apache.org/licenses/LICENSE-2.0\n-  ~\n-  ~ Unless required by applicable law or agreed to in writing, software\n-  ~ distributed under the License is distributed on an \"AS IS\" BASIS,\n-  ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n-  ~ See the License for the specific language governing permissions and\n-  ~ limitations under the License.\n-  -->\n-        \n+        ~ Copyright (c) 2010, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.","path":"components/remote-usermgt/docs/user-mgt.xml","position":18,"original_position":18,"commit_id":"31148b1b899772998090e000d61cc8154a5ee894","original_commit_id":"31148b1b899772998090e000d61cc8154a5ee894","user":{"login":"hpmtissera","id":5781269,"avatar_url":"https://avatars.githubusercontent.com/u/5781269?v=3","gravatar_id":"","url":"https://api.github.com/users/hpmtissera","html_url":"https://github.com/hpmtissera","followers_url":"https://api.github.com/users/hpmtissera/followers","following_url":"https://api.github.com/users/hpmtissera/following{/other_user}","gists_url":"https://api.github.com/users/hpmtissera/gists{/gist_id}","starred_url":"https://api.github.com/users/hpmtissera/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hpmtissera/subscriptions","organizations_url":"https://api.github.com/users/hpmtissera/orgs","repos_url":"https://api.github.com/users/hpmtissera/repos","events_url":"https://api.github.com/users/hpmtissera/events{/privacy}","received_events_url":"https://api.github.com/users/hpmtissera/received_events","type":"User","site_admin":false},"body":"licence header is wrong","created_at":"2015-06-06T09:38:46Z","updated_at":"2015-06-06T09:38:46Z","html_url":"https://github.com/wso2/carbon-identity/pull/353#discussion_r31866445","pull_request_url":"https://api.github.com/repos/wso2/carbon-identity/pulls/353","_links":{"self":{"href":"https://api.github.com/repos/wso2/carbon-identity/pulls/comments/31866445"},"html":{"href":"https://github.com/wso2/carbon-identity/pull/353#discussion_r31866445"},"pull_request":{"href":"https://api.github.com/repos/wso2/carbon-identity/pulls/353"}}},"pull_request":{"url":"https://api.github.com/repos/wso2/carbon-identity/pulls/353","id":36806973,"html_url":"https://github.com/wso2/carbon-identity/pull/353","diff_url":"https://github.com/wso2/carbon-identity/pull/353.diff","patch_url":"https://github.com/wso2/carbon-identity/pull/353.patch","issue_url":"https://api.github.com/repos/wso2/carbon-identity/issues/353","number":353,"state":"open","locked":false,"title":"Code quality um","user":{"login":"dracusds123","id":1591344,"avatar_url":"https://avatars.githubusercontent.com/u/1591344?v=3","gravatar_id":"","url":"https://api.github.com/users/dracusds123","html_url":"https://github.com/dracusds123","followers_url":"https://api.github.com/users/dracusds123/followers","following_url":"https://api.github.com/users/dracusds123/following{/other_user}","gists_url":"https://api.github.com/users/dracusds123/gists{/gist_id}","starred_url":"https://api.github.com/users/dracusds123/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dracusds123/subscriptions","organizations_url":"https://api.github.com/users/dracusds123/orgs","repos_url":"https://api.github.com/users/dracusds123/repos","events_url":"https://api.github.com/users/dracusds123/events{/privacy}","received_events_url":"https://api.github.com/users/dracusds123/received_events","type":"User","site_admin":false},"body":"Fixed all fixable issues reported by sonarqube. \r\n\r\nissues remaining : SQL constants not sanitized\r\nCode replication : complicated logic if tried to remove replication \r\nvariable renaming \r\nvariables with phrase 'password'\r\nunconfigurable IPs \r\nUnused method parameters\r\nUnchecked casts from carbon.user.core.<class> to carbon.identity.<class> ","created_at":"2015-06-03T08:00:50Z","updated_at":"2015-06-06T09:38:46Z","closed_at":null,"merged_at":null,"merge_commit_sha":"fad9a0d7db63574aaded033b4571fa537f9c9b71","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/wso2/carbon-identity/pulls/353/commits","review_comments_url":"https://api.github.com/repos/wso2/carbon-identity/pulls/353/comments","review_comment_url":"https://api.github.com/repos/wso2/carbon-identity/pulls/comments{/number}","comments_url":"https://api.github.com/repos/wso2/carbon-identity/issues/353/comments","statuses_url":"https://api.github.com/repos/wso2/carbon-identity/statuses/31148b1b899772998090e000d61cc8154a5ee894","head":{"label":"dracusds123:code-quality-um","ref":"code-quality-um","sha":"31148b1b899772998090e000d61cc8154a5ee894","user":{"login":"dracusds123","id":1591344,"avatar_url":"https://avatars.githubusercontent.com/u/1591344?v=3","gravatar_id":"","url":"https://api.github.com/users/dracusds123","html_url":"https://github.com/dracusds123","followers_url":"https://api.github.com/users/dracusds123/followers","following_url":"https://api.github.com/users/dracusds123/following{/other_user}","gists_url":"https://api.github.com/users/dracusds123/gists{/gist_id}","starred_url":"https://api.github.com/users/dracusds123/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dracusds123/subscriptions","organizations_url":"https://api.github.com/users/dracusds123/orgs","repos_url":"https://api.github.com/users/dracusds123/repos","events_url":"https://api.github.com/users/dracusds123/events{/privacy}","received_events_url":"https://api.github.com/users/dracusds123/received_events","type":"User","site_admin":false},"repo":{"id":36052134,"name":"carbon-identity","full_name":"dracusds123/carbon-identity","owner":{"login":"dracusds123","id":1591344,"avatar_url":"https://avatars.githubusercontent.com/u/1591344?v=3","gravatar_id":"","url":"https://api.github.com/users/dracusds123","html_url":"https://github.com/dracusds123","followers_url":"https://api.github.com/users/dracusds123/followers","following_url":"https://api.github.com/users/dracusds123/following{/other_user}","gists_url":"https://api.github.com/users/dracusds123/gists{/gist_id}","starred_url":"https://api.github.com/users/dracusds123/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dracusds123/subscriptions","organizations_url":"https://api.github.com/users/dracusds123/orgs","repos_url":"https://api.github.com/users/dracusds123/repos","events_url":"https://api.github.com/users/dracusds123/events{/privacy}","received_events_url":"https://api.github.com/users/dracusds123/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/dracusds123/carbon-identity","description":"","fork":true,"url":"https://api.github.com/repos/dracusds123/carbon-identity","forks_url":"https://api.github.com/repos/dracusds123/carbon-identity/forks","keys_url":"https://api.github.com/repos/dracusds123/carbon-identity/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dracusds123/carbon-identity/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dracusds123/carbon-identity/teams","hooks_url":"https://api.github.com/repos/dracusds123/carbon-identity/hooks","issue_events_url":"https://api.github.com/repos/dracusds123/carbon-identity/issues/events{/number}","events_url":"https://api.github.com/repos/dracusds123/carbon-identity/events","assignees_url":"https://api.github.com/repos/dracusds123/carbon-identity/assignees{/user}","branches_url":"https://api.github.com/repos/dracusds123/carbon-identity/branches{/branch}","tags_url":"https://api.github.com/repos/dracusds123/carbon-identity/tags","blobs_url":"https://api.github.com/repos/dracusds123/carbon-identity/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dracusds123/carbon-identity/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dracusds123/carbon-identity/git/refs{/sha}","trees_url":"https://api.github.com/repos/dracusds123/carbon-identity/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dracusds123/carbon-identity/statuses/{sha}","languages_url":"https://api.github.com/repos/dracusds123/carbon-identity/languages","stargazers_url":"https://api.github.com/repos/dracusds123/carbon-identity/stargazers","contributors_url":"https://api.github.com/repos/dracusds123/carbon-identity/contributors","subscribers_url":"https://api.github.com/repos/dracusds123/carbon-identity/subscribers","subscription_url":"https://api.github.com/repos/dracusds123/carbon-identity/subscription","commits_url":"https://api.github.com/repos/dracusds123/carbon-identity/commits{/sha}","git_commits_url":"https://api.github.com/repos/dracusds123/carbon-identity/git/commits{/sha}","comments_url":"https://api.github.com/repos/dracusds123/carbon-identity/comments{/number}","issue_comment_url":"https://api.github.com/repos/dracusds123/carbon-identity/issues/comments{/number}","contents_url":"https://api.github.com/repos/dracusds123/carbon-identity/contents/{+path}","compare_url":"https://api.github.com/repos/dracusds123/carbon-identity/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dracusds123/carbon-identity/merges","archive_url":"https://api.github.com/repos/dracusds123/carbon-identity/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dracusds123/carbon-identity/downloads","issues_url":"https://api.github.com/repos/dracusds123/carbon-identity/issues{/number}","pulls_url":"https://api.github.com/repos/dracusds123/carbon-identity/pulls{/number}","milestones_url":"https://api.github.com/repos/dracusds123/carbon-identity/milestones{/number}","notifications_url":"https://api.github.com/repos/dracusds123/carbon-identity/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dracusds123/carbon-identity/labels{/name}","releases_url":"https://api.github.com/repos/dracusds123/carbon-identity/releases{/id}","created_at":"2015-05-22T04:24:56Z","updated_at":"2015-05-22T04:25:04Z","pushed_at":"2015-06-05T11:51:16Z","git_url":"git://github.com/dracusds123/carbon-identity.git","ssh_url":"git@github.com:dracusds123/carbon-identity.git","clone_url":"https://github.com/dracusds123/carbon-identity.git","svn_url":"https://github.com/dracusds123/carbon-identity","homepage":null,"size":26831,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"wso2:code_quality_improvement","ref":"code_quality_improvement","sha":"3b08b5c4f641fc10da33cf0842171b9d202c959b","user":{"login":"wso2","id":533043,"avatar_url":"https://avatars.githubusercontent.com/u/533043?v=3","gravatar_id":"","url":"https://api.github.com/users/wso2","html_url":"https://github.com/wso2","followers_url":"https://api.github.com/users/wso2/followers","following_url":"https://api.github.com/users/wso2/following{/other_user}","gists_url":"https://api.github.com/users/wso2/gists{/gist_id}","starred_url":"https://api.github.com/users/wso2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wso2/subscriptions","organizations_url":"https://api.github.com/users/wso2/orgs","repos_url":"https://api.github.com/users/wso2/repos","events_url":"https://api.github.com/users/wso2/events{/privacy}","received_events_url":"https://api.github.com/users/wso2/received_events","type":"Organization","site_admin":false},"repo":{"id":16588204,"name":"carbon-identity","full_name":"wso2/carbon-identity","owner":{"login":"wso2","id":533043,"avatar_url":"https://avatars.githubusercontent.com/u/533043?v=3","gravatar_id":"","url":"https://api.github.com/users/wso2","html_url":"https://github.com/wso2","followers_url":"https://api.github.com/users/wso2/followers","following_url":"https://api.github.com/users/wso2/following{/other_user}","gists_url":"https://api.github.com/users/wso2/gists{/gist_id}","starred_url":"https://api.github.com/users/wso2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wso2/subscriptions","organizations_url":"https://api.github.com/users/wso2/orgs","repos_url":"https://api.github.com/users/wso2/repos","events_url":"https://api.github.com/users/wso2/events{/privacy}","received_events_url":"https://api.github.com/users/wso2/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/wso2/carbon-identity","description":"","fork":false,"url":"https://api.github.com/repos/wso2/carbon-identity","forks_url":"https://api.github.com/repos/wso2/carbon-identity/forks","keys_url":"https://api.github.com/repos/wso2/carbon-identity/keys{/key_id}","collaborators_url":"https://api.github.com/repos/wso2/carbon-identity/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/wso2/carbon-identity/teams","hooks_url":"https://api.github.com/repos/wso2/carbon-identity/hooks","issue_events_url":"https://api.github.com/repos/wso2/carbon-identity/issues/events{/number}","events_url":"https://api.github.com/repos/wso2/carbon-identity/events","assignees_url":"https://api.github.com/repos/wso2/carbon-identity/assignees{/user}","branches_url":"https://api.github.com/repos/wso2/carbon-identity/branches{/branch}","tags_url":"https://api.github.com/repos/wso2/carbon-identity/tags","blobs_url":"https://api.github.com/repos/wso2/carbon-identity/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/wso2/carbon-identity/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/wso2/carbon-identity/git/refs{/sha}","trees_url":"https://api.github.com/repos/wso2/carbon-identity/git/trees{/sha}","statuses_url":"https://api.github.com/repos/wso2/carbon-identity/statuses/{sha}","languages_url":"https://api.github.com/repos/wso2/carbon-identity/languages","stargazers_url":"https://api.github.com/repos/wso2/carbon-identity/stargazers","contributors_url":"https://api.github.com/repos/wso2/carbon-identity/contributors","subscribers_url":"https://api.github.com/repos/wso2/carbon-identity/subscribers","subscription_url":"https://api.github.com/repos/wso2/carbon-identity/subscription","commits_url":"https://api.github.com/repos/wso2/carbon-identity/commits{/sha}","git_commits_url":"https://api.github.com/repos/wso2/carbon-identity/git/commits{/sha}","comments_url":"https://api.github.com/repos/wso2/carbon-identity/comments{/number}","issue_comment_url":"https://api.github.com/repos/wso2/carbon-identity/issues/comments{/number}","contents_url":"https://api.github.com/repos/wso2/carbon-identity/contents/{+path}","compare_url":"https://api.github.com/repos/wso2/carbon-identity/compare/{base}...{head}","merges_url":"https://api.github.com/repos/wso2/carbon-identity/merges","archive_url":"https://api.github.com/repos/wso2/carbon-identity/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/wso2/carbon-identity/downloads","issues_url":"https://api.github.com/repos/wso2/carbon-identity/issues{/number}","pulls_url":"https://api.github.com/repos/wso2/carbon-identity/pulls{/number}","milestones_url":"https://api.github.com/repos/wso2/carbon-identity/milestones{/number}","notifications_url":"https://api.github.com/repos/wso2/carbon-identity/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/wso2/carbon-identity/labels{/name}","releases_url":"https://api.github.com/repos/wso2/carbon-identity/releases{/id}","created_at":"2014-02-06T17:58:23Z","updated_at":"2015-05-08T06:45:50Z","pushed_at":"2015-06-05T07:23:36Z","git_url":"git://github.com/wso2/carbon-identity.git","ssh_url":"git@github.com:wso2/carbon-identity.git","clone_url":"https://github.com/wso2/carbon-identity.git","svn_url":"https://github.com/wso2/carbon-identity","homepage":null,"size":54255,"stargazers_count":3,"watchers_count":3,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":101,"mirror_url":null,"open_issues_count":35,"forks":101,"open_issues":35,"watchers":3,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/wso2/carbon-identity/pulls/353"},"html":{"href":"https://github.com/wso2/carbon-identity/pull/353"},"issue":{"href":"https://api.github.com/repos/wso2/carbon-identity/issues/353"},"comments":{"href":"https://api.github.com/repos/wso2/carbon-identity/issues/353/comments"},"review_comments":{"href":"https://api.github.com/repos/wso2/carbon-identity/pulls/353/comments"},"review_comment":{"href":"https://api.github.com/repos/wso2/carbon-identity/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/wso2/carbon-identity/pulls/353/commits"},"statuses":{"href":"https://api.github.com/repos/wso2/carbon-identity/statuses/31148b1b899772998090e000d61cc8154a5ee894"}}}}