{"action":"created","comment":{"url":"https://api.github.com/repos/wso2/carbon-analytics/pulls/comments/237367788","pull_request_review_id":179645554,"id":237367788,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIzNzM2Nzc4OA==","diff_hunk":"@@ -0,0 +1,149 @@\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+\n+define(['require', 'jquery', 'log', 'backbone', '../../../js/event-simulator/simulator-rest-client',\n+        './sample-event-rest-client', '../../js/utils/vkbeautify.0.99.00.beta'],\n+    function (require, $, log, Backbone, SimulatorRestClient, SampleEventRestClient, vkbeautify) {\n+        var SampleEventsDialog = Backbone.View.extend(\n+            /** @lends SettingsDialog.prototype */\n+            {\n+                /**\n+                 * @augments Backbone.View\n+                 * @constructs\n+                 * @class SettingsDialog\n+                 * @param {Object} options configuration options\n+                 */\n+                initialize: function (options) {\n+                    this._options = options;\n+                    this.application = _.get(options, \"application\");\n+                    this._dialogContainer = $(_.get(options, \"application.config.dialog.container\"));\n+                },\n+\n+                show: function () {\n+                    this._modalContainer.modal('show');\n+                },\n+\n+                setSelectedFolder: function (path) {\n+                    this._fileBrowser.select(path);\n+                },\n+\n+                render: function () {\n+                    var app = this.application, options = this._options;\n+                    this.notification_container = $(\"#notification-container\");\n+                    if (!_.isNil(this._modalContainer)) {\n+                        this._modalContainer.remove();\n+                    }\n+                    var sampleEventModal = $(_.get(options, 'selector')).clone();\n+                    this._modalContainer = sampleEventModal;\n+                    SimulatorRestClient.retrieveSiddhiAppNames(\n+                        function (data) {\n+                            var initialOptionValue = '<option selected=\"selected\" value = \"-1\" ' +\n+                                'disabled>-- Please Select a Siddhi App --</option>';\n+                            var siddhiApps = self.generateOptions(data, initialOptionValue, \"siddhiAppName\");\n+                            sampleEventModal.find(\"select[name='siddhi-app-name']\").html(siddhiApps);\n+                            initialOptionValue = '<option selected=\"selected\" value = \"-1\" ' +\n+                                'disabled>-- Please Select a Stream name --</option>';\n+                            var streamNames = self.generateOptions(null, initialOptionValue);\n+                            sampleEventModal.find(\"select[name='stream-name']\").html(streamNames);\n+                        },\n+                        function (data) {\n+                            self.alertError(\"Error when retrieving siddhi apps. Reason: \" + data);\n+                        }\n+                    );\n+\n+                    sampleEventModal.find(\"select[name='siddhi-app-name']\").on('change', function () {\n+                        SimulatorRestClient.retrieveStreamNames(\n+                            sampleEventModal.find(\"select[name='siddhi-app-name'] option:selected\").text(),\n+                            function (data) {\n+                                var initialOptionValue = '<option selected=\"selected\" ' +\n+                                    'value = \"-1\" disabled>-- Please Select a Stream name --</option>';\n+                                var streamNames = self.generateOptions(data, initialOptionValue);\n+                                sampleEventModal.find(\"select[name='stream-name']\").html(streamNames);\n+                            },\n+                            function (data) {\n+                                self.alertError(\"Error when retrieving siddhi streams. Reason: \" + data);\n+                            });\n+                    });\n+                    var $sampleEvent = sampleEventModal.find(\"textarea[name='generatedSampleEvent']\");\n+                    sampleEventModal.submit(function (event) {\n+                        var eventType = sampleEventModal.find(\"select[name='event-format']\").val();\n+                        SampleEventRestClient.retrieveSampleEvent(\n+                            sampleEventModal.find(\"select[name='siddhi-app-name']\").val(),\n+                            sampleEventModal.find(\"select[name='stream-name']\").val(),\n+                            eventType,\n+                            function (data) {\n+                                if (eventType === \"xml\") {\n+                                    $sampleEvent.val(window.vkbeautify.xml(data));\n+                                } else if (eventType === \"json\") {\n+                                    $sampleEvent.val(window.vkbeautify.json(data));\n+                                } else {\n+                                    $sampleEvent.val(data);\n+                                }\n+                                $sampleEvent.select();\n+                            },\n+                            function (data) {\n+                                self.alertError(\"Error when generating sample event. Reason: \" + data.responseText);\n+                            }\n+                        );\n+                        event.preventDefault();\n+                    });\n+                }\n+            });\n+\n+        self.generateOptions = function (dataArray, initialOptionValue, componentName) {\n+            var dataOption =\n+                '<option value = \"{{dataName}}\">' +\n+                '{{dataName}}' +\n+                '</option>';\n+            var result = '';\n+            if (initialOptionValue !== undefined) {\n+                result += initialOptionValue;\n+            }\n+            if (dataArray) {\n+                dataArray.sort();\n+                for (var i = 0; i < dataArray.length; i++) {\n+                    if (componentName) {\n+                        result += dataOption.replaceAll('{{dataName}}', dataArray[i][componentName]);\n+                    } else {\n+                        result += dataOption.replaceAll('{{dataName}}', dataArray[i]);\n+                    }\n+                }\n+            }\n+            return result;\n+        };\n+\n+        self.alertError = function (errorMessage) {\n+            var errorNotification = getErrorNotification(errorMessage);\n+            $(\"#notification-container\").append(errorNotification);\n+            errorNotification.fadeTo(2000, 200).slideUp(1000, function () {\n+                errorNotification.slideUp(1000);\n+            });\n+        };\n+\n+        function getErrorNotification(errorMessage) {\n+            return $(\n+                \"<div style='z-index: 9999;' style='line-height: 20%;' class='alert alert-danger' id='error-alert'>\" +\n+                \"<span class='notification'>\" +\n+                errorMessage +\n+                \"</span>\" +\n+                \"</div>\");\n+        };\n+\n+        return SampleEventsDialog;\n+    });","path":"components/org.wso2.carbon.siddhi.editor.core/src/main/resources/web/commons/js/dialog/sample-event-dialog.js","position":null,"original_position":149,"commit_id":"0704977fb8b1659fbe7b23d5cb7b990315400fb6","original_commit_id":"b1c1063506e1c27e3b517175176431b8a5945b79","user":{"login":"ramindu90","id":10056966,"node_id":"MDQ6VXNlcjEwMDU2OTY2","avatar_url":"https://avatars1.githubusercontent.com/u/10056966?v=4","gravatar_id":"","url":"https://api.github.com/users/ramindu90","html_url":"https://github.com/ramindu90","followers_url":"https://api.github.com/users/ramindu90/followers","following_url":"https://api.github.com/users/ramindu90/following{/other_user}","gists_url":"https://api.github.com/users/ramindu90/gists{/gist_id}","starred_url":"https://api.github.com/users/ramindu90/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ramindu90/subscriptions","organizations_url":"https://api.github.com/users/ramindu90/orgs","repos_url":"https://api.github.com/users/ramindu90/repos","events_url":"https://api.github.com/users/ramindu90/events{/privacy}","received_events_url":"https://api.github.com/users/ramindu90/received_events","type":"User","site_admin":false},"body":"@TanyaM fixed","created_at":"2018-11-29T06:38:34Z","updated_at":"2018-11-29T06:38:34Z","html_url":"https://github.com/wso2/carbon-analytics/pull/1493#discussion_r237367788","pull_request_url":"https://api.github.com/repos/wso2/carbon-analytics/pulls/1493","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/wso2/carbon-analytics/pulls/comments/237367788"},"html":{"href":"https://github.com/wso2/carbon-analytics/pull/1493#discussion_r237367788"},"pull_request":{"href":"https://api.github.com/repos/wso2/carbon-analytics/pulls/1493"}},"in_reply_to_id":236529074},"pull_request":{"url":"https://api.github.com/repos/wso2/carbon-analytics/pulls/1493","id":233222925,"node_id":"MDExOlB1bGxSZXF1ZXN0MjMzMjIyOTI1","html_url":"https://github.com/wso2/carbon-analytics/pull/1493","diff_url":"https://github.com/wso2/carbon-analytics/pull/1493.diff","patch_url":"https://github.com/wso2/carbon-analytics/pull/1493.patch","issue_url":"https://api.github.com/repos/wso2/carbon-analytics/issues/1493","number":1493,"state":"open","locked":false,"title":"Add sample event generation for default mapping","user":{"login":"ramindu90","id":10056966,"node_id":"MDQ6VXNlcjEwMDU2OTY2","avatar_url":"https://avatars1.githubusercontent.com/u/10056966?v=4","gravatar_id":"","url":"https://api.github.com/users/ramindu90","html_url":"https://github.com/ramindu90","followers_url":"https://api.github.com/users/ramindu90/followers","following_url":"https://api.github.com/users/ramindu90/following{/other_user}","gists_url":"https://api.github.com/users/ramindu90/gists{/gist_id}","starred_url":"https://api.github.com/users/ramindu90/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ramindu90/subscriptions","organizations_url":"https://api.github.com/users/ramindu90/orgs","repos_url":"https://api.github.com/users/ramindu90/repos","events_url":"https://api.github.com/users/ramindu90/events{/privacy}","received_events_url":"https://api.github.com/users/ramindu90/received_events","type":"User","site_admin":false},"body":"## Purpose\r\n> $subject","created_at":"2018-11-23T14:57:35Z","updated_at":"2018-11-29T06:38:34Z","closed_at":null,"merged_at":null,"merge_commit_sha":"d7e37a3163bb00093e8570fd47efbe996731e4fa","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/wso2/carbon-analytics/pulls/1493/commits","review_comments_url":"https://api.github.com/repos/wso2/carbon-analytics/pulls/1493/comments","review_comment_url":"https://api.github.com/repos/wso2/carbon-analytics/pulls/comments{/number}","comments_url":"https://api.github.com/repos/wso2/carbon-analytics/issues/1493/comments","statuses_url":"https://api.github.com/repos/wso2/carbon-analytics/statuses/0704977fb8b1659fbe7b23d5cb7b990315400fb6","head":{"label":"ramindu90:master","ref":"master","sha":"0704977fb8b1659fbe7b23d5cb7b990315400fb6","user":{"login":"ramindu90","id":10056966,"node_id":"MDQ6VXNlcjEwMDU2OTY2","avatar_url":"https://avatars1.githubusercontent.com/u/10056966?v=4","gravatar_id":"","url":"https://api.github.com/users/ramindu90","html_url":"https://github.com/ramindu90","followers_url":"https://api.github.com/users/ramindu90/followers","following_url":"https://api.github.com/users/ramindu90/following{/other_user}","gists_url":"https://api.github.com/users/ramindu90/gists{/gist_id}","starred_url":"https://api.github.com/users/ramindu90/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ramindu90/subscriptions","organizations_url":"https://api.github.com/users/ramindu90/orgs","repos_url":"https://api.github.com/users/ramindu90/repos","events_url":"https://api.github.com/users/ramindu90/events{/privacy}","received_events_url":"https://api.github.com/users/ramindu90/received_events","type":"User","site_admin":false},"repo":{"id":133798172,"node_id":"MDEwOlJlcG9zaXRvcnkxMzM3OTgxNzI=","name":"carbon-analytics","full_name":"ramindu90/carbon-analytics","private":false,"owner":{"login":"ramindu90","id":10056966,"node_id":"MDQ6VXNlcjEwMDU2OTY2","avatar_url":"https://avatars1.githubusercontent.com/u/10056966?v=4","gravatar_id":"","url":"https://api.github.com/users/ramindu90","html_url":"https://github.com/ramindu90","followers_url":"https://api.github.com/users/ramindu90/followers","following_url":"https://api.github.com/users/ramindu90/following{/other_user}","gists_url":"https://api.github.com/users/ramindu90/gists{/gist_id}","starred_url":"https://api.github.com/users/ramindu90/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ramindu90/subscriptions","organizations_url":"https://api.github.com/users/ramindu90/orgs","repos_url":"https://api.github.com/users/ramindu90/repos","events_url":"https://api.github.com/users/ramindu90/events{/privacy}","received_events_url":"https://api.github.com/users/ramindu90/received_events","type":"User","site_admin":false},"html_url":"https://github.com/ramindu90/carbon-analytics","description":null,"fork":true,"url":"https://api.github.com/repos/ramindu90/carbon-analytics","forks_url":"https://api.github.com/repos/ramindu90/carbon-analytics/forks","keys_url":"https://api.github.com/repos/ramindu90/carbon-analytics/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ramindu90/carbon-analytics/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ramindu90/carbon-analytics/teams","hooks_url":"https://api.github.com/repos/ramindu90/carbon-analytics/hooks","issue_events_url":"https://api.github.com/repos/ramindu90/carbon-analytics/issues/events{/number}","events_url":"https://api.github.com/repos/ramindu90/carbon-analytics/events","assignees_url":"https://api.github.com/repos/ramindu90/carbon-analytics/assignees{/user}","branches_url":"https://api.github.com/repos/ramindu90/carbon-analytics/branches{/branch}","tags_url":"https://api.github.com/repos/ramindu90/carbon-analytics/tags","blobs_url":"https://api.github.com/repos/ramindu90/carbon-analytics/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ramindu90/carbon-analytics/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ramindu90/carbon-analytics/git/refs{/sha}","trees_url":"https://api.github.com/repos/ramindu90/carbon-analytics/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ramindu90/carbon-analytics/statuses/{sha}","languages_url":"https://api.github.com/repos/ramindu90/carbon-analytics/languages","stargazers_url":"https://api.github.com/repos/ramindu90/carbon-analytics/stargazers","contributors_url":"https://api.github.com/repos/ramindu90/carbon-analytics/contributors","subscribers_url":"https://api.github.com/repos/ramindu90/carbon-analytics/subscribers","subscription_url":"https://api.github.com/repos/ramindu90/carbon-analytics/subscription","commits_url":"https://api.github.com/repos/ramindu90/carbon-analytics/commits{/sha}","git_commits_url":"https://api.github.com/repos/ramindu90/carbon-analytics/git/commits{/sha}","comments_url":"https://api.github.com/repos/ramindu90/carbon-analytics/comments{/number}","issue_comment_url":"https://api.github.com/repos/ramindu90/carbon-analytics/issues/comments{/number}","contents_url":"https://api.github.com/repos/ramindu90/carbon-analytics/contents/{+path}","compare_url":"https://api.github.com/repos/ramindu90/carbon-analytics/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ramindu90/carbon-analytics/merges","archive_url":"https://api.github.com/repos/ramindu90/carbon-analytics/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ramindu90/carbon-analytics/downloads","issues_url":"https://api.github.com/repos/ramindu90/carbon-analytics/issues{/number}","pulls_url":"https://api.github.com/repos/ramindu90/carbon-analytics/pulls{/number}","milestones_url":"https://api.github.com/repos/ramindu90/carbon-analytics/milestones{/number}","notifications_url":"https://api.github.com/repos/ramindu90/carbon-analytics/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ramindu90/carbon-analytics/labels{/name}","releases_url":"https://api.github.com/repos/ramindu90/carbon-analytics/releases{/id}","deployments_url":"https://api.github.com/repos/ramindu90/carbon-analytics/deployments","created_at":"2018-05-17T10:32:46Z","updated_at":"2018-11-29T06:38:01Z","pushed_at":"2018-11-29T06:37:49Z","git_url":"git://github.com/ramindu90/carbon-analytics.git","ssh_url":"git@github.com:ramindu90/carbon-analytics.git","clone_url":"https://github.com/ramindu90/carbon-analytics.git","svn_url":"https://github.com/ramindu90/carbon-analytics","homepage":null,"size":101691,"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":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"wso2:master","ref":"master","sha":"ca339f699c0836778414e1440f1be0db75cb1250","user":{"login":"wso2","id":533043,"node_id":"MDEyOk9yZ2FuaXphdGlvbjUzMzA0Mw==","avatar_url":"https://avatars3.githubusercontent.com/u/533043?v=4","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":16543113,"node_id":"MDEwOlJlcG9zaXRvcnkxNjU0MzExMw==","name":"carbon-analytics","full_name":"wso2/carbon-analytics","private":false,"owner":{"login":"wso2","id":533043,"node_id":"MDEyOk9yZ2FuaXphdGlvbjUzMzA0Mw==","avatar_url":"https://avatars3.githubusercontent.com/u/533043?v=4","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},"html_url":"https://github.com/wso2/carbon-analytics","description":null,"fork":false,"url":"https://api.github.com/repos/wso2/carbon-analytics","forks_url":"https://api.github.com/repos/wso2/carbon-analytics/forks","keys_url":"https://api.github.com/repos/wso2/carbon-analytics/keys{/key_id}","collaborators_url":"https://api.github.com/repos/wso2/carbon-analytics/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/wso2/carbon-analytics/teams","hooks_url":"https://api.github.com/repos/wso2/carbon-analytics/hooks","issue_events_url":"https://api.github.com/repos/wso2/carbon-analytics/issues/events{/number}","events_url":"https://api.github.com/repos/wso2/carbon-analytics/events","assignees_url":"https://api.github.com/repos/wso2/carbon-analytics/assignees{/user}","branches_url":"https://api.github.com/repos/wso2/carbon-analytics/branches{/branch}","tags_url":"https://api.github.com/repos/wso2/carbon-analytics/tags","blobs_url":"https://api.github.com/repos/wso2/carbon-analytics/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/wso2/carbon-analytics/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/wso2/carbon-analytics/git/refs{/sha}","trees_url":"https://api.github.com/repos/wso2/carbon-analytics/git/trees{/sha}","statuses_url":"https://api.github.com/repos/wso2/carbon-analytics/statuses/{sha}","languages_url":"https://api.github.com/repos/wso2/carbon-analytics/languages","stargazers_url":"https://api.github.com/repos/wso2/carbon-analytics/stargazers","contributors_url":"https://api.github.com/repos/wso2/carbon-analytics/contributors","subscribers_url":"https://api.github.com/repos/wso2/carbon-analytics/subscribers","subscription_url":"https://api.github.com/repos/wso2/carbon-analytics/subscription","commits_url":"https://api.github.com/repos/wso2/carbon-analytics/commits{/sha}","git_commits_url":"https://api.github.com/repos/wso2/carbon-analytics/git/commits{/sha}","comments_url":"https://api.github.com/repos/wso2/carbon-analytics/comments{/number}","issue_comment_url":"https://api.github.com/repos/wso2/carbon-analytics/issues/comments{/number}","contents_url":"https://api.github.com/repos/wso2/carbon-analytics/contents/{+path}","compare_url":"https://api.github.com/repos/wso2/carbon-analytics/compare/{base}...{head}","merges_url":"https://api.github.com/repos/wso2/carbon-analytics/merges","archive_url":"https://api.github.com/repos/wso2/carbon-analytics/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/wso2/carbon-analytics/downloads","issues_url":"https://api.github.com/repos/wso2/carbon-analytics/issues{/number}","pulls_url":"https://api.github.com/repos/wso2/carbon-analytics/pulls{/number}","milestones_url":"https://api.github.com/repos/wso2/carbon-analytics/milestones{/number}","notifications_url":"https://api.github.com/repos/wso2/carbon-analytics/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/wso2/carbon-analytics/labels{/name}","releases_url":"https://api.github.com/repos/wso2/carbon-analytics/releases{/id}","deployments_url":"https://api.github.com/repos/wso2/carbon-analytics/deployments","created_at":"2014-02-05T11:40:58Z","updated_at":"2018-11-28T14:15:44Z","pushed_at":"2018-11-29T06:37:50Z","git_url":"git://github.com/wso2/carbon-analytics.git","ssh_url":"git@github.com:wso2/carbon-analytics.git","clone_url":"https://github.com/wso2/carbon-analytics.git","svn_url":"https://github.com/wso2/carbon-analytics","homepage":null,"size":102464,"stargazers_count":20,"watchers_count":20,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":150,"mirror_url":null,"archived":false,"open_issues_count":45,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":150,"open_issues":45,"watchers":20,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/wso2/carbon-analytics/pulls/1493"},"html":{"href":"https://github.com/wso2/carbon-analytics/pull/1493"},"issue":{"href":"https://api.github.com/repos/wso2/carbon-analytics/issues/1493"},"comments":{"href":"https://api.github.com/repos/wso2/carbon-analytics/issues/1493/comments"},"review_comments":{"href":"https://api.github.com/repos/wso2/carbon-analytics/pulls/1493/comments"},"review_comment":{"href":"https://api.github.com/repos/wso2/carbon-analytics/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/wso2/carbon-analytics/pulls/1493/commits"},"statuses":{"href":"https://api.github.com/repos/wso2/carbon-analytics/statuses/0704977fb8b1659fbe7b23d5cb7b990315400fb6"}},"author_association":"MEMBER"}}
{"actor":{"display_login":"ramindu90"}}