{"action":"created","comment":{"url":"https://api.github.com/repos/wso2-ballerina/package-sonarqube/pulls/comments/179982403","pull_request_review_id":110323220,"id":179982403,"diff_hunk":"@@ -0,0 +1,339 @@\n+//\n+// Copyright (c) 2018, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.\n+//\n+// WSO2 Inc. licenses this file to you under the Apache License,\n+// Version 2.0 (the \"License\"); you may not use this file except\n+// 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,\n+// software distributed under the License is distributed on an\n+// \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\n+// KIND, either express or implied.  See the License for the\n+// specific language governing permissions and limitations\n+// under the License.\n+//\n+\n+import ballerina/http;\n+import ballerina/log;\n+import ballerina/math;\n+import ballerina/io;\n+\n+@Description {value:\"Get project details.\"}\n+@Param {value:\"projetName:Name of the project.\"}\n+@Return {value:\"project:Project struct with project details.\"}\n+@Return {value:\"err: Returns error if an exception raised in getting project details.\"}\n+public function SonarQubeConnector::getProject(string projectName) returns Project|error {\n+    endpoint http:ClientEndpoint httpEndpoint = clientEndpoint;\n+\n+    // get the first page of the project details\n+    string requestPath = API_RESOURCES + PROJECTS_PER_PAGE;\n+    http:Request request = check constructAuthenticatedRequest();\n+    var endpointResponse = httpEndpoint -> get(requestPath, request);\n+\n+    // match endpointResponse\n+    match endpointResponse{\n+        http:Response response => {\n+            // checking whether the response has errors\n+            error endpointErrors = checkResponse(response);\n+            if (endpointErrors.message == \"\"){\n+                // check the results in the first page of Project List\n+                json[] allComponents = check getJsonArrayByKey(response, COMPONENTS);\n+                Project project = getProjectFromList(projectName, allComponents);\n+                if (project.key != \"\") {\n+                    return project;\n+                }\n+                // Cannot find results in the first page.Iterate through other pages\n+                json paging = check getJsonValueByKey(response, PAGING);\n+                // get the total project count\n+                float totalProjectsCount = check <float>(paging[TOTAL].toString() but { () => \"0.0\" });\n+                // get the total number of projects which have the project details\n+                int totalPages = <int>math:ceil(totalProjectsCount / PROJECTS_PER_PAGE);\n+                int count = 0;\n+                project = {};\n+\n+                // iterate through pages up-to total pages\n+                while (count < totalPages - 1) {\n+                    request = check constructAuthenticatedRequest();\n+                    requestPath = API_RESOURCES + PROJECTS_PER_PAGE + \"&\" + PAGE_NUMBER + \"=\" + (count + 2);\n+                    endpointResponse = httpEndpoint -> get(requestPath, request);\n+                    match endpointResponse{\n+                        http:Response newResponse => {\n+                            endpointErrors = checkResponse(newResponse);\n+                            if (endpointErrors.message == \"\"){\n+                                json[] pageResult = check getJsonArrayByKey(newResponse, COMPONENTS);\n+                                Project sonarqubeProject = getProjectFromList(projectName, pageResult);\n+                                if (sonarqubeProject.key != \"\") {\n+                                    project = sonarqubeProject;\n+                                    break;\n+                                }\n+                            } else {\n+                                return endpointErrors;\n+                            }\n+                        }\n+                        http:HttpConnectorError err => return err;\n+                    }\n+                    count = count + 1;","path":"sonarqube6/sonarqube_connector.bal","position":78,"original_position":78,"commit_id":"1a5b0e6989182b12d7208dd7a0e11a815abf163e","original_commit_id":"1a5b0e6989182b12d7208dd7a0e11a815abf163e","user":{"login":"vlgunarathne","id":16064696,"avatar_url":"https://avatars2.githubusercontent.com/u/16064696?v=4","gravatar_id":"","url":"https://api.github.com/users/vlgunarathne","html_url":"https://github.com/vlgunarathne","followers_url":"https://api.github.com/users/vlgunarathne/followers","following_url":"https://api.github.com/users/vlgunarathne/following{/other_user}","gists_url":"https://api.github.com/users/vlgunarathne/gists{/gist_id}","starred_url":"https://api.github.com/users/vlgunarathne/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vlgunarathne/subscriptions","organizations_url":"https://api.github.com/users/vlgunarathne/orgs","repos_url":"https://api.github.com/users/vlgunarathne/repos","events_url":"https://api.github.com/users/vlgunarathne/events{/privacy}","received_events_url":"https://api.github.com/users/vlgunarathne/received_events","type":"User","site_admin":false},"body":"We can use \"count +=1\" also.","created_at":"2018-04-09T03:56:19Z","updated_at":"2018-04-09T03:56:19Z","html_url":"https://github.com/wso2-ballerina/package-sonarqube/pull/4#discussion_r179982403","pull_request_url":"https://api.github.com/repos/wso2-ballerina/package-sonarqube/pulls/4","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/wso2-ballerina/package-sonarqube/pulls/comments/179982403"},"html":{"href":"https://github.com/wso2-ballerina/package-sonarqube/pull/4#discussion_r179982403"},"pull_request":{"href":"https://api.github.com/repos/wso2-ballerina/package-sonarqube/pulls/4"}}},"pull_request":{"url":"https://api.github.com/repos/wso2-ballerina/package-sonarqube/pulls/4","id":179039013,"html_url":"https://github.com/wso2-ballerina/package-sonarqube/pull/4","diff_url":"https://github.com/wso2-ballerina/package-sonarqube/pull/4.diff","patch_url":"https://github.com/wso2-ballerina/package-sonarqube/pull/4.patch","issue_url":"https://api.github.com/repos/wso2-ballerina/package-sonarqube/issues/4","number":4,"state":"closed","locked":false,"title":"Change the implementation for Syntax Changes v2.","user":{"login":"hasithajayasundara","id":11781930,"avatar_url":"https://avatars1.githubusercontent.com/u/11781930?v=4","gravatar_id":"","url":"https://api.github.com/users/hasithajayasundara","html_url":"https://github.com/hasithajayasundara","followers_url":"https://api.github.com/users/hasithajayasundara/followers","following_url":"https://api.github.com/users/hasithajayasundara/following{/other_user}","gists_url":"https://api.github.com/users/hasithajayasundara/gists{/gist_id}","starred_url":"https://api.github.com/users/hasithajayasundara/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hasithajayasundara/subscriptions","organizations_url":"https://api.github.com/users/hasithajayasundara/orgs","repos_url":"https://api.github.com/users/hasithajayasundara/repos","events_url":"https://api.github.com/users/hasithajayasundara/events{/privacy}","received_events_url":"https://api.github.com/users/hasithajayasundara/received_events","type":"User","site_admin":false},"body":"## Purpose\r\n> The purpose of ths PR is to add tests to the SonarQube connector implementation.\r\n\r\n## Goals\r\n> Describe the solutions that this feature/fix will introduce to resolve the problems described above\r\n\r\n## Approach\r\n> Describe how you are implementing the solutions. Include an animated GIF or screenshot if the change affects the UI (email documentation@wso2.com to review all UI text). Include a link to a Markdown file or Google doc if the feature write-up is too long to paste here.\r\n\r\n## User stories\r\n> Summary of user stories addressed by this change>\r\n\r\n## Release note\r\n> Brief description of the new feature or bug fix as it will appear in the release notes\r\n\r\n## Documentation\r\n> Link(s) to product documentation that addresses the changes of this PR. If no doc impact, enter “N/A” plus brief explanation of why there’s no doc impact\r\n\r\n## Training\r\n> Link to the PR for changes to the training content in https://github.com/wso2/WSO2-Training, if applicable\r\n\r\n## Certification\r\n> Type “Sent” when you have provided new/updated certification questions, plus four answers for each question (correct answer highlighted in bold), based on this change. Certification questions/answers should be sent to certification@wso2.com and NOT pasted in this PR. If there is no impact on certification exams, type “N/A” and explain why.\r\n\r\n## Marketing\r\n> Link to drafts of marketing content that will describe and promote this feature, including product page changes, technical articles, blog posts, videos, etc., if applicable\r\n\r\n## Automation tests\r\n - Unit tests \r\n   > Code coverage information\r\n - Integration tests\r\n   > Details about the test cases and coverage\r\n\r\n## Security checks\r\n - Followed secure coding standards in http://wso2.com/technical-reports/wso2-secure-engineering-guidelines? yes/no\r\n - Ran FindSecurityBugs plugin and verified report? yes/no\r\n - Confirmed that this PR doesn't commit any keys, passwords, tokens, usernames, or other secrets? yes/no\r\n\r\n## Samples\r\n> Provide high-level details about the samples related to this feature\r\n\r\n## Related PRs\r\n> List any other related PRs\r\n\r\n## Migrations (if applicable)\r\n> Describe migration steps and platforms on which migration has been tested\r\n\r\n## Test environment\r\n> List all JDK versions, operating systems, databases, and browser/versions on which this feature/fix was tested\r\n \r\n## Learning\r\n> Describe the research phase and any blog posts, patterns, libraries, or add-ons you used to solve the problem.","created_at":"2018-04-03T09:22:15Z","updated_at":"2018-04-09T03:56:19Z","closed_at":"2018-04-09T03:32:04Z","merged_at":"2018-04-09T03:32:04Z","merge_commit_sha":"3c91b22e91f162629b0158819d4397f6a2c32396","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/wso2-ballerina/package-sonarqube/pulls/4/commits","review_comments_url":"https://api.github.com/repos/wso2-ballerina/package-sonarqube/pulls/4/comments","review_comment_url":"https://api.github.com/repos/wso2-ballerina/package-sonarqube/pulls/comments{/number}","comments_url":"https://api.github.com/repos/wso2-ballerina/package-sonarqube/issues/4/comments","statuses_url":"https://api.github.com/repos/wso2-ballerina/package-sonarqube/statuses/1a5b0e6989182b12d7208dd7a0e11a815abf163e","head":{"label":"hasithajayasundara:BasicAuth","ref":"BasicAuth","sha":"1a5b0e6989182b12d7208dd7a0e11a815abf163e","user":{"login":"hasithajayasundara","id":11781930,"avatar_url":"https://avatars1.githubusercontent.com/u/11781930?v=4","gravatar_id":"","url":"https://api.github.com/users/hasithajayasundara","html_url":"https://github.com/hasithajayasundara","followers_url":"https://api.github.com/users/hasithajayasundara/followers","following_url":"https://api.github.com/users/hasithajayasundara/following{/other_user}","gists_url":"https://api.github.com/users/hasithajayasundara/gists{/gist_id}","starred_url":"https://api.github.com/users/hasithajayasundara/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hasithajayasundara/subscriptions","organizations_url":"https://api.github.com/users/hasithajayasundara/orgs","repos_url":"https://api.github.com/users/hasithajayasundara/repos","events_url":"https://api.github.com/users/hasithajayasundara/events{/privacy}","received_events_url":"https://api.github.com/users/hasithajayasundara/received_events","type":"User","site_admin":false},"repo":{"id":125464418,"name":"package-sonarqube","full_name":"hasithajayasundara/package-sonarqube","owner":{"login":"hasithajayasundara","id":11781930,"avatar_url":"https://avatars1.githubusercontent.com/u/11781930?v=4","gravatar_id":"","url":"https://api.github.com/users/hasithajayasundara","html_url":"https://github.com/hasithajayasundara","followers_url":"https://api.github.com/users/hasithajayasundara/followers","following_url":"https://api.github.com/users/hasithajayasundara/following{/other_user}","gists_url":"https://api.github.com/users/hasithajayasundara/gists{/gist_id}","starred_url":"https://api.github.com/users/hasithajayasundara/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hasithajayasundara/subscriptions","organizations_url":"https://api.github.com/users/hasithajayasundara/orgs","repos_url":"https://api.github.com/users/hasithajayasundara/repos","events_url":"https://api.github.com/users/hasithajayasundara/events{/privacy}","received_events_url":"https://api.github.com/users/hasithajayasundara/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/hasithajayasundara/package-sonarqube","description":null,"fork":true,"url":"https://api.github.com/repos/hasithajayasundara/package-sonarqube","forks_url":"https://api.github.com/repos/hasithajayasundara/package-sonarqube/forks","keys_url":"https://api.github.com/repos/hasithajayasundara/package-sonarqube/keys{/key_id}","collaborators_url":"https://api.github.com/repos/hasithajayasundara/package-sonarqube/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/hasithajayasundara/package-sonarqube/teams","hooks_url":"https://api.github.com/repos/hasithajayasundara/package-sonarqube/hooks","issue_events_url":"https://api.github.com/repos/hasithajayasundara/package-sonarqube/issues/events{/number}","events_url":"https://api.github.com/repos/hasithajayasundara/package-sonarqube/events","assignees_url":"https://api.github.com/repos/hasithajayasundara/package-sonarqube/assignees{/user}","branches_url":"https://api.github.com/repos/hasithajayasundara/package-sonarqube/branches{/branch}","tags_url":"https://api.github.com/repos/hasithajayasundara/package-sonarqube/tags","blobs_url":"https://api.github.com/repos/hasithajayasundara/package-sonarqube/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/hasithajayasundara/package-sonarqube/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/hasithajayasundara/package-sonarqube/git/refs{/sha}","trees_url":"https://api.github.com/repos/hasithajayasundara/package-sonarqube/git/trees{/sha}","statuses_url":"https://api.github.com/repos/hasithajayasundara/package-sonarqube/statuses/{sha}","languages_url":"https://api.github.com/repos/hasithajayasundara/package-sonarqube/languages","stargazers_url":"https://api.github.com/repos/hasithajayasundara/package-sonarqube/stargazers","contributors_url":"https://api.github.com/repos/hasithajayasundara/package-sonarqube/contributors","subscribers_url":"https://api.github.com/repos/hasithajayasundara/package-sonarqube/subscribers","subscription_url":"https://api.github.com/repos/hasithajayasundara/package-sonarqube/subscription","commits_url":"https://api.github.com/repos/hasithajayasundara/package-sonarqube/commits{/sha}","git_commits_url":"https://api.github.com/repos/hasithajayasundara/package-sonarqube/git/commits{/sha}","comments_url":"https://api.github.com/repos/hasithajayasundara/package-sonarqube/comments{/number}","issue_comment_url":"https://api.github.com/repos/hasithajayasundara/package-sonarqube/issues/comments{/number}","contents_url":"https://api.github.com/repos/hasithajayasundara/package-sonarqube/contents/{+path}","compare_url":"https://api.github.com/repos/hasithajayasundara/package-sonarqube/compare/{base}...{head}","merges_url":"https://api.github.com/repos/hasithajayasundara/package-sonarqube/merges","archive_url":"https://api.github.com/repos/hasithajayasundara/package-sonarqube/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/hasithajayasundara/package-sonarqube/downloads","issues_url":"https://api.github.com/repos/hasithajayasundara/package-sonarqube/issues{/number}","pulls_url":"https://api.github.com/repos/hasithajayasundara/package-sonarqube/pulls{/number}","milestones_url":"https://api.github.com/repos/hasithajayasundara/package-sonarqube/milestones{/number}","notifications_url":"https://api.github.com/repos/hasithajayasundara/package-sonarqube/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/hasithajayasundara/package-sonarqube/labels{/name}","releases_url":"https://api.github.com/repos/hasithajayasundara/package-sonarqube/releases{/id}","deployments_url":"https://api.github.com/repos/hasithajayasundara/package-sonarqube/deployments","created_at":"2018-03-16T04:40:44Z","updated_at":"2018-03-27T05:15:15Z","pushed_at":"2018-04-08T15:08:49Z","git_url":"git://github.com/hasithajayasundara/package-sonarqube.git","ssh_url":"git@github.com:hasithajayasundara/package-sonarqube.git","clone_url":"https://github.com/hasithajayasundara/package-sonarqube.git","svn_url":"https://github.com/hasithajayasundara/package-sonarqube","homepage":null,"size":192,"stargazers_count":0,"watchers_count":0,"language":"Ballerina","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":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"wso2-ballerina:master","ref":"master","sha":"4d630cb5568a4ee948546d744bf6e2650bf1bd6d","user":{"login":"wso2-ballerina","id":35947277,"avatar_url":"https://avatars0.githubusercontent.com/u/35947277?v=4","gravatar_id":"","url":"https://api.github.com/users/wso2-ballerina","html_url":"https://github.com/wso2-ballerina","followers_url":"https://api.github.com/users/wso2-ballerina/followers","following_url":"https://api.github.com/users/wso2-ballerina/following{/other_user}","gists_url":"https://api.github.com/users/wso2-ballerina/gists{/gist_id}","starred_url":"https://api.github.com/users/wso2-ballerina/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wso2-ballerina/subscriptions","organizations_url":"https://api.github.com/users/wso2-ballerina/orgs","repos_url":"https://api.github.com/users/wso2-ballerina/repos","events_url":"https://api.github.com/users/wso2-ballerina/events{/privacy}","received_events_url":"https://api.github.com/users/wso2-ballerina/received_events","type":"Organization","site_admin":false},"repo":{"id":125455630,"name":"package-sonarqube","full_name":"wso2-ballerina/package-sonarqube","owner":{"login":"wso2-ballerina","id":35947277,"avatar_url":"https://avatars0.githubusercontent.com/u/35947277?v=4","gravatar_id":"","url":"https://api.github.com/users/wso2-ballerina","html_url":"https://github.com/wso2-ballerina","followers_url":"https://api.github.com/users/wso2-ballerina/followers","following_url":"https://api.github.com/users/wso2-ballerina/following{/other_user}","gists_url":"https://api.github.com/users/wso2-ballerina/gists{/gist_id}","starred_url":"https://api.github.com/users/wso2-ballerina/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wso2-ballerina/subscriptions","organizations_url":"https://api.github.com/users/wso2-ballerina/orgs","repos_url":"https://api.github.com/users/wso2-ballerina/repos","events_url":"https://api.github.com/users/wso2-ballerina/events{/privacy}","received_events_url":"https://api.github.com/users/wso2-ballerina/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/wso2-ballerina/package-sonarqube","description":null,"fork":false,"url":"https://api.github.com/repos/wso2-ballerina/package-sonarqube","forks_url":"https://api.github.com/repos/wso2-ballerina/package-sonarqube/forks","keys_url":"https://api.github.com/repos/wso2-ballerina/package-sonarqube/keys{/key_id}","collaborators_url":"https://api.github.com/repos/wso2-ballerina/package-sonarqube/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/wso2-ballerina/package-sonarqube/teams","hooks_url":"https://api.github.com/repos/wso2-ballerina/package-sonarqube/hooks","issue_events_url":"https://api.github.com/repos/wso2-ballerina/package-sonarqube/issues/events{/number}","events_url":"https://api.github.com/repos/wso2-ballerina/package-sonarqube/events","assignees_url":"https://api.github.com/repos/wso2-ballerina/package-sonarqube/assignees{/user}","branches_url":"https://api.github.com/repos/wso2-ballerina/package-sonarqube/branches{/branch}","tags_url":"https://api.github.com/repos/wso2-ballerina/package-sonarqube/tags","blobs_url":"https://api.github.com/repos/wso2-ballerina/package-sonarqube/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/wso2-ballerina/package-sonarqube/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/wso2-ballerina/package-sonarqube/git/refs{/sha}","trees_url":"https://api.github.com/repos/wso2-ballerina/package-sonarqube/git/trees{/sha}","statuses_url":"https://api.github.com/repos/wso2-ballerina/package-sonarqube/statuses/{sha}","languages_url":"https://api.github.com/repos/wso2-ballerina/package-sonarqube/languages","stargazers_url":"https://api.github.com/repos/wso2-ballerina/package-sonarqube/stargazers","contributors_url":"https://api.github.com/repos/wso2-ballerina/package-sonarqube/contributors","subscribers_url":"https://api.github.com/repos/wso2-ballerina/package-sonarqube/subscribers","subscription_url":"https://api.github.com/repos/wso2-ballerina/package-sonarqube/subscription","commits_url":"https://api.github.com/repos/wso2-ballerina/package-sonarqube/commits{/sha}","git_commits_url":"https://api.github.com/repos/wso2-ballerina/package-sonarqube/git/commits{/sha}","comments_url":"https://api.github.com/repos/wso2-ballerina/package-sonarqube/comments{/number}","issue_comment_url":"https://api.github.com/repos/wso2-ballerina/package-sonarqube/issues/comments{/number}","contents_url":"https://api.github.com/repos/wso2-ballerina/package-sonarqube/contents/{+path}","compare_url":"https://api.github.com/repos/wso2-ballerina/package-sonarqube/compare/{base}...{head}","merges_url":"https://api.github.com/repos/wso2-ballerina/package-sonarqube/merges","archive_url":"https://api.github.com/repos/wso2-ballerina/package-sonarqube/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/wso2-ballerina/package-sonarqube/downloads","issues_url":"https://api.github.com/repos/wso2-ballerina/package-sonarqube/issues{/number}","pulls_url":"https://api.github.com/repos/wso2-ballerina/package-sonarqube/pulls{/number}","milestones_url":"https://api.github.com/repos/wso2-ballerina/package-sonarqube/milestones{/number}","notifications_url":"https://api.github.com/repos/wso2-ballerina/package-sonarqube/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/wso2-ballerina/package-sonarqube/labels{/name}","releases_url":"https://api.github.com/repos/wso2-ballerina/package-sonarqube/releases{/id}","deployments_url":"https://api.github.com/repos/wso2-ballerina/package-sonarqube/deployments","created_at":"2018-03-16T02:59:49Z","updated_at":"2018-04-09T03:32:06Z","pushed_at":"2018-04-09T03:32:04Z","git_url":"git://github.com/wso2-ballerina/package-sonarqube.git","ssh_url":"git@github.com:wso2-ballerina/package-sonarqube.git","clone_url":"https://github.com/wso2-ballerina/package-sonarqube.git","svn_url":"https://github.com/wso2-ballerina/package-sonarqube","homepage":null,"size":151,"stargazers_count":0,"watchers_count":0,"language":"Ballerina","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0"},"forks":2,"open_issues":0,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/wso2-ballerina/package-sonarqube/pulls/4"},"html":{"href":"https://github.com/wso2-ballerina/package-sonarqube/pull/4"},"issue":{"href":"https://api.github.com/repos/wso2-ballerina/package-sonarqube/issues/4"},"comments":{"href":"https://api.github.com/repos/wso2-ballerina/package-sonarqube/issues/4/comments"},"review_comments":{"href":"https://api.github.com/repos/wso2-ballerina/package-sonarqube/pulls/4/comments"},"review_comment":{"href":"https://api.github.com/repos/wso2-ballerina/package-sonarqube/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/wso2-ballerina/package-sonarqube/pulls/4/commits"},"statuses":{"href":"https://api.github.com/repos/wso2-ballerina/package-sonarqube/statuses/1a5b0e6989182b12d7208dd7a0e11a815abf163e"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"vlgunarathne"}}