{"action":"created","comment":{"url":"https://api.github.com/repos/WSO2Telco/component-ids/pulls/comments/178298105","pull_request_review_id":108341055,"id":178298105,"diff_hunk":"@@ -312,34 +313,45 @@ private static Connection getWSO2APIMDBConnection() throws SQLException, NamingE\n                     if (mainScopeFound) {\n                         throw new ConfigurationException(\"Multiple main scopes found\");\n                     }\n-\n                     //mark as main scope found\n                     mainScopeFound = true;\n-\n-\n                     scopeParamsMap.put(\"scope\", results.getString(\"scope\"));\n \n-                    ScopeParam parameters = new ScopeParam();\n                     parameters.setScope(results.getString(\"scope\"));\n                     parameters.setLoginHintMandatory(results.getBoolean(\"is_login_hint_mandatory\"));\n                     parameters.setHeaderMsisdnMandatory(results.getBoolean(\"is_header_msisdn_mandatory\"));\n+\n                     parameters.setMsisdnMismatchResult(ScopeParam.MsisdnMismatchResultTypes.valueOf(results.getString(\n                             \"msisdn_mismatch_result\")));\n                     parameters.setHeFailureResult(ScopeParam.HeFailureResults.valueOf(results.getString(\n                             \"he_failure_result\")));\n+\n                     parameters.setTncVisible(results.getBoolean(\"is_tnc_visible\"));\n                     parameters.setLoginHintFormat(getLoginHintFormatTypeDetails(results.getInt(\"param_id\"), conn));\n+                }\n \n-                    scopeParamsMap.put(\"params\", parameters);\n+                String scope_type=results.getString(\"scope_type\");","path":"components/auth-proxy-service/src/main/java/com/wso2telco/proxy/util/DBUtils.java","position":50,"original_position":50,"commit_id":"92108796c18333089dd41f22e6549eb54560b46f","original_commit_id":"92108796c18333089dd41f22e6549eb54560b46f","user":{"login":"TelcoGitHubBot","id":31726654,"avatar_url":"https://avatars1.githubusercontent.com/u/31726654?v=4","gravatar_id":"","url":"https://api.github.com/users/TelcoGitHubBot","html_url":"https://github.com/TelcoGitHubBot","followers_url":"https://api.github.com/users/TelcoGitHubBot/followers","following_url":"https://api.github.com/users/TelcoGitHubBot/following{/other_user}","gists_url":"https://api.github.com/users/TelcoGitHubBot/gists{/gist_id}","starred_url":"https://api.github.com/users/TelcoGitHubBot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TelcoGitHubBot/subscriptions","organizations_url":"https://api.github.com/users/TelcoGitHubBot/orgs","repos_url":"https://api.github.com/users/TelcoGitHubBot/repos","events_url":"https://api.github.com/users/TelcoGitHubBot/events{/privacy}","received_events_url":"https://api.github.com/users/TelcoGitHubBot/received_events","type":"User","site_admin":false},"body":"![MINOR](https://sonarsource.github.io/sonar-github/severity-minor.png 'Severity: MINOR') Rename this local variable to match the regular expression '^[a-z][a-zA-Z0-9]*$'. [![rule](https://sonarsource.github.io/sonar-github/rule.png)](http://ci.wso2telco.com:9000/coding_rules#rule_key=squid%3AS00117)\n","created_at":"2018-03-30T14:13:47Z","updated_at":"2018-03-30T14:13:47Z","html_url":"https://github.com/WSO2Telco/component-ids/pull/343#discussion_r178298105","pull_request_url":"https://api.github.com/repos/WSO2Telco/component-ids/pulls/343","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/WSO2Telco/component-ids/pulls/comments/178298105"},"html":{"href":"https://github.com/WSO2Telco/component-ids/pull/343#discussion_r178298105"},"pull_request":{"href":"https://api.github.com/repos/WSO2Telco/component-ids/pulls/343"}}},"pull_request":{"url":"https://api.github.com/repos/WSO2Telco/component-ids/pulls/343","id":178567598,"html_url":"https://github.com/WSO2Telco/component-ids/pull/343","diff_url":"https://github.com/WSO2Telco/component-ids/pull/343.diff","patch_url":"https://github.com/WSO2Telco/component-ids/pull/343.patch","issue_url":"https://api.github.com/repos/WSO2Telco/component-ids/issues/343","number":343,"state":"open","locked":false,"title":"Changes related to API Consent","user":{"login":"jaadds","id":9979804,"avatar_url":"https://avatars1.githubusercontent.com/u/9979804?v=4","gravatar_id":"","url":"https://api.github.com/users/jaadds","html_url":"https://github.com/jaadds","followers_url":"https://api.github.com/users/jaadds/followers","following_url":"https://api.github.com/users/jaadds/following{/other_user}","gists_url":"https://api.github.com/users/jaadds/gists{/gist_id}","starred_url":"https://api.github.com/users/jaadds/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jaadds/subscriptions","organizations_url":"https://api.github.com/users/jaadds/orgs","repos_url":"https://api.github.com/users/jaadds/repos","events_url":"https://api.github.com/users/jaadds/events{/privacy}","received_events_url":"https://api.github.com/users/jaadds/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-03-30T14:12:48Z","updated_at":"2018-03-30T14:13:47Z","closed_at":null,"merged_at":null,"merge_commit_sha":"40d7f77408bd2ad4c5b12a4493a008fa2256d707","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/WSO2Telco/component-ids/pulls/343/commits","review_comments_url":"https://api.github.com/repos/WSO2Telco/component-ids/pulls/343/comments","review_comment_url":"https://api.github.com/repos/WSO2Telco/component-ids/pulls/comments{/number}","comments_url":"https://api.github.com/repos/WSO2Telco/component-ids/issues/343/comments","statuses_url":"https://api.github.com/repos/WSO2Telco/component-ids/statuses/92108796c18333089dd41f22e6549eb54560b46f","head":{"label":"jaadds:master","ref":"master","sha":"92108796c18333089dd41f22e6549eb54560b46f","user":{"login":"jaadds","id":9979804,"avatar_url":"https://avatars1.githubusercontent.com/u/9979804?v=4","gravatar_id":"","url":"https://api.github.com/users/jaadds","html_url":"https://github.com/jaadds","followers_url":"https://api.github.com/users/jaadds/followers","following_url":"https://api.github.com/users/jaadds/following{/other_user}","gists_url":"https://api.github.com/users/jaadds/gists{/gist_id}","starred_url":"https://api.github.com/users/jaadds/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jaadds/subscriptions","organizations_url":"https://api.github.com/users/jaadds/orgs","repos_url":"https://api.github.com/users/jaadds/repos","events_url":"https://api.github.com/users/jaadds/events{/privacy}","received_events_url":"https://api.github.com/users/jaadds/received_events","type":"User","site_admin":false},"repo":{"id":110499573,"name":"component-ids","full_name":"jaadds/component-ids","owner":{"login":"jaadds","id":9979804,"avatar_url":"https://avatars1.githubusercontent.com/u/9979804?v=4","gravatar_id":"","url":"https://api.github.com/users/jaadds","html_url":"https://github.com/jaadds","followers_url":"https://api.github.com/users/jaadds/followers","following_url":"https://api.github.com/users/jaadds/following{/other_user}","gists_url":"https://api.github.com/users/jaadds/gists{/gist_id}","starred_url":"https://api.github.com/users/jaadds/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jaadds/subscriptions","organizations_url":"https://api.github.com/users/jaadds/orgs","repos_url":"https://api.github.com/users/jaadds/repos","events_url":"https://api.github.com/users/jaadds/events{/privacy}","received_events_url":"https://api.github.com/users/jaadds/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jaadds/component-ids","description":"components related to Identity server  .","fork":true,"url":"https://api.github.com/repos/jaadds/component-ids","forks_url":"https://api.github.com/repos/jaadds/component-ids/forks","keys_url":"https://api.github.com/repos/jaadds/component-ids/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jaadds/component-ids/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jaadds/component-ids/teams","hooks_url":"https://api.github.com/repos/jaadds/component-ids/hooks","issue_events_url":"https://api.github.com/repos/jaadds/component-ids/issues/events{/number}","events_url":"https://api.github.com/repos/jaadds/component-ids/events","assignees_url":"https://api.github.com/repos/jaadds/component-ids/assignees{/user}","branches_url":"https://api.github.com/repos/jaadds/component-ids/branches{/branch}","tags_url":"https://api.github.com/repos/jaadds/component-ids/tags","blobs_url":"https://api.github.com/repos/jaadds/component-ids/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jaadds/component-ids/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jaadds/component-ids/git/refs{/sha}","trees_url":"https://api.github.com/repos/jaadds/component-ids/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jaadds/component-ids/statuses/{sha}","languages_url":"https://api.github.com/repos/jaadds/component-ids/languages","stargazers_url":"https://api.github.com/repos/jaadds/component-ids/stargazers","contributors_url":"https://api.github.com/repos/jaadds/component-ids/contributors","subscribers_url":"https://api.github.com/repos/jaadds/component-ids/subscribers","subscription_url":"https://api.github.com/repos/jaadds/component-ids/subscription","commits_url":"https://api.github.com/repos/jaadds/component-ids/commits{/sha}","git_commits_url":"https://api.github.com/repos/jaadds/component-ids/git/commits{/sha}","comments_url":"https://api.github.com/repos/jaadds/component-ids/comments{/number}","issue_comment_url":"https://api.github.com/repos/jaadds/component-ids/issues/comments{/number}","contents_url":"https://api.github.com/repos/jaadds/component-ids/contents/{+path}","compare_url":"https://api.github.com/repos/jaadds/component-ids/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jaadds/component-ids/merges","archive_url":"https://api.github.com/repos/jaadds/component-ids/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jaadds/component-ids/downloads","issues_url":"https://api.github.com/repos/jaadds/component-ids/issues{/number}","pulls_url":"https://api.github.com/repos/jaadds/component-ids/pulls{/number}","milestones_url":"https://api.github.com/repos/jaadds/component-ids/milestones{/number}","notifications_url":"https://api.github.com/repos/jaadds/component-ids/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jaadds/component-ids/labels{/name}","releases_url":"https://api.github.com/repos/jaadds/component-ids/releases{/id}","deployments_url":"https://api.github.com/repos/jaadds/component-ids/deployments","created_at":"2017-11-13T04:19:54Z","updated_at":"2018-03-30T14:04:47Z","pushed_at":"2018-03-30T14:04:46Z","git_url":"git://github.com/jaadds/component-ids.git","ssh_url":"git@github.com:jaadds/component-ids.git","clone_url":"https://github.com/jaadds/component-ids.git","svn_url":"https://github.com/jaadds/component-ids","homepage":null,"size":43500,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"WSO2Telco:master","ref":"master","sha":"c64f9a3e90549757452eacefeb1e1d55d3a31ddc","user":{"login":"WSO2Telco","id":15646154,"avatar_url":"https://avatars2.githubusercontent.com/u/15646154?v=4","gravatar_id":"","url":"https://api.github.com/users/WSO2Telco","html_url":"https://github.com/WSO2Telco","followers_url":"https://api.github.com/users/WSO2Telco/followers","following_url":"https://api.github.com/users/WSO2Telco/following{/other_user}","gists_url":"https://api.github.com/users/WSO2Telco/gists{/gist_id}","starred_url":"https://api.github.com/users/WSO2Telco/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/WSO2Telco/subscriptions","organizations_url":"https://api.github.com/users/WSO2Telco/orgs","repos_url":"https://api.github.com/users/WSO2Telco/repos","events_url":"https://api.github.com/users/WSO2Telco/events{/privacy}","received_events_url":"https://api.github.com/users/WSO2Telco/received_events","type":"Organization","site_admin":false},"repo":{"id":49641240,"name":"component-ids","full_name":"WSO2Telco/component-ids","owner":{"login":"WSO2Telco","id":15646154,"avatar_url":"https://avatars2.githubusercontent.com/u/15646154?v=4","gravatar_id":"","url":"https://api.github.com/users/WSO2Telco","html_url":"https://github.com/WSO2Telco","followers_url":"https://api.github.com/users/WSO2Telco/followers","following_url":"https://api.github.com/users/WSO2Telco/following{/other_user}","gists_url":"https://api.github.com/users/WSO2Telco/gists{/gist_id}","starred_url":"https://api.github.com/users/WSO2Telco/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/WSO2Telco/subscriptions","organizations_url":"https://api.github.com/users/WSO2Telco/orgs","repos_url":"https://api.github.com/users/WSO2Telco/repos","events_url":"https://api.github.com/users/WSO2Telco/events{/privacy}","received_events_url":"https://api.github.com/users/WSO2Telco/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/WSO2Telco/component-ids","description":"components related to Identity server  .","fork":false,"url":"https://api.github.com/repos/WSO2Telco/component-ids","forks_url":"https://api.github.com/repos/WSO2Telco/component-ids/forks","keys_url":"https://api.github.com/repos/WSO2Telco/component-ids/keys{/key_id}","collaborators_url":"https://api.github.com/repos/WSO2Telco/component-ids/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/WSO2Telco/component-ids/teams","hooks_url":"https://api.github.com/repos/WSO2Telco/component-ids/hooks","issue_events_url":"https://api.github.com/repos/WSO2Telco/component-ids/issues/events{/number}","events_url":"https://api.github.com/repos/WSO2Telco/component-ids/events","assignees_url":"https://api.github.com/repos/WSO2Telco/component-ids/assignees{/user}","branches_url":"https://api.github.com/repos/WSO2Telco/component-ids/branches{/branch}","tags_url":"https://api.github.com/repos/WSO2Telco/component-ids/tags","blobs_url":"https://api.github.com/repos/WSO2Telco/component-ids/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/WSO2Telco/component-ids/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/WSO2Telco/component-ids/git/refs{/sha}","trees_url":"https://api.github.com/repos/WSO2Telco/component-ids/git/trees{/sha}","statuses_url":"https://api.github.com/repos/WSO2Telco/component-ids/statuses/{sha}","languages_url":"https://api.github.com/repos/WSO2Telco/component-ids/languages","stargazers_url":"https://api.github.com/repos/WSO2Telco/component-ids/stargazers","contributors_url":"https://api.github.com/repos/WSO2Telco/component-ids/contributors","subscribers_url":"https://api.github.com/repos/WSO2Telco/component-ids/subscribers","subscription_url":"https://api.github.com/repos/WSO2Telco/component-ids/subscription","commits_url":"https://api.github.com/repos/WSO2Telco/component-ids/commits{/sha}","git_commits_url":"https://api.github.com/repos/WSO2Telco/component-ids/git/commits{/sha}","comments_url":"https://api.github.com/repos/WSO2Telco/component-ids/comments{/number}","issue_comment_url":"https://api.github.com/repos/WSO2Telco/component-ids/issues/comments{/number}","contents_url":"https://api.github.com/repos/WSO2Telco/component-ids/contents/{+path}","compare_url":"https://api.github.com/repos/WSO2Telco/component-ids/compare/{base}...{head}","merges_url":"https://api.github.com/repos/WSO2Telco/component-ids/merges","archive_url":"https://api.github.com/repos/WSO2Telco/component-ids/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/WSO2Telco/component-ids/downloads","issues_url":"https://api.github.com/repos/WSO2Telco/component-ids/issues{/number}","pulls_url":"https://api.github.com/repos/WSO2Telco/component-ids/pulls{/number}","milestones_url":"https://api.github.com/repos/WSO2Telco/component-ids/milestones{/number}","notifications_url":"https://api.github.com/repos/WSO2Telco/component-ids/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/WSO2Telco/component-ids/labels{/name}","releases_url":"https://api.github.com/repos/WSO2Telco/component-ids/releases{/id}","deployments_url":"https://api.github.com/repos/WSO2Telco/component-ids/deployments","created_at":"2016-01-14T10:45:15Z","updated_at":"2018-03-29T13:38:42Z","pushed_at":"2018-03-30T14:12:48Z","git_url":"git://github.com/WSO2Telco/component-ids.git","ssh_url":"git@github.com:WSO2Telco/component-ids.git","clone_url":"https://github.com/WSO2Telco/component-ids.git","svn_url":"https://github.com/WSO2Telco/component-ids","homepage":null,"size":43786,"stargazers_count":1,"watchers_count":1,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":30,"mirror_url":null,"archived":false,"open_issues_count":8,"license":{"key":"other","name":"Other","spdx_id":null,"url":null},"forks":30,"open_issues":8,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/WSO2Telco/component-ids/pulls/343"},"html":{"href":"https://github.com/WSO2Telco/component-ids/pull/343"},"issue":{"href":"https://api.github.com/repos/WSO2Telco/component-ids/issues/343"},"comments":{"href":"https://api.github.com/repos/WSO2Telco/component-ids/issues/343/comments"},"review_comments":{"href":"https://api.github.com/repos/WSO2Telco/component-ids/pulls/343/comments"},"review_comment":{"href":"https://api.github.com/repos/WSO2Telco/component-ids/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/WSO2Telco/component-ids/pulls/343/commits"},"statuses":{"href":"https://api.github.com/repos/WSO2Telco/component-ids/statuses/92108796c18333089dd41f22e6549eb54560b46f"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"TelcoGitHubBot"}}