{"action":"created","comment":{"url":"https://api.github.com/repos/ballerina-platform/ballerina-lang/pulls/comments/243161092","pull_request_review_id":186855191,"id":243161092,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDI0MzE2MTA5Mg==","diff_hunk":"@@ -8,15 +8,19 @@ service helloWorld on new http:Listener(9090) {\n         path: \"/\"\n     }\n     resource function sayHello(http:Caller caller, http:Request req) {\n+        // Create new `http:Client`.\n         http:Client clientEP = new(\"http://httpstat.us\");\n+        // Forward incoming requests to the remote backend.\n         var resp = clientEP->forward(\"/200\", req);\n         if (resp is http:Response) {\n+            // Respond to the caller.\n             var result = caller->respond(resp);\n+            // Log the error in case of failure.","path":"examples/http-trace-logs/http_trace_logs.bal","position":11,"original_position":11,"commit_id":"3869e5ac6eb53387229c15b3c7845e1fff06986a","original_commit_id":"3869e5ac6eb53387229c15b3c7845e1fff06986a","user":{"login":"wggihan","id":2101222,"node_id":"MDQ6VXNlcjIxMDEyMjI=","avatar_url":"https://avatars0.githubusercontent.com/u/2101222?v=4","gravatar_id":"","url":"https://api.github.com/users/wggihan","html_url":"https://github.com/wggihan","followers_url":"https://api.github.com/users/wggihan/followers","following_url":"https://api.github.com/users/wggihan/following{/other_user}","gists_url":"https://api.github.com/users/wggihan/gists{/gist_id}","starred_url":"https://api.github.com/users/wggihan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wggihan/subscriptions","organizations_url":"https://api.github.com/users/wggihan/orgs","repos_url":"https://api.github.com/users/wggihan/repos","events_url":"https://api.github.com/users/wggihan/events{/privacy}","received_events_url":"https://api.github.com/users/wggihan/received_events","type":"User","site_admin":false},"body":"```suggestion\r\n             // Log the error in case of a failure.\r\n```","created_at":"2018-12-20T05:43:41Z","updated_at":"2018-12-20T05:43:42Z","html_url":"https://github.com/ballerina-platform/ballerina-lang/pull/12862#discussion_r243161092","pull_request_url":"https://api.github.com/repos/ballerina-platform/ballerina-lang/pulls/12862","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/ballerina-platform/ballerina-lang/pulls/comments/243161092"},"html":{"href":"https://github.com/ballerina-platform/ballerina-lang/pull/12862#discussion_r243161092"},"pull_request":{"href":"https://api.github.com/repos/ballerina-platform/ballerina-lang/pulls/12862"}}},"pull_request":{"url":"https://api.github.com/repos/ballerina-platform/ballerina-lang/pulls/12862","id":239770728,"node_id":"MDExOlB1bGxSZXF1ZXN0MjM5NzcwNzI4","html_url":"https://github.com/ballerina-platform/ballerina-lang/pull/12862","diff_url":"https://github.com/ballerina-platform/ballerina-lang/pull/12862.diff","patch_url":"https://github.com/ballerina-platform/ballerina-lang/pull/12862.patch","issue_url":"https://api.github.com/repos/ballerina-platform/ballerina-lang/issues/12862","number":12862,"state":"open","locked":false,"title":"Fix stdlib examples","user":{"login":"riyafa","id":8238078,"node_id":"MDQ6VXNlcjgyMzgwNzg=","avatar_url":"https://avatars2.githubusercontent.com/u/8238078?v=4","gravatar_id":"","url":"https://api.github.com/users/riyafa","html_url":"https://github.com/riyafa","followers_url":"https://api.github.com/users/riyafa/followers","following_url":"https://api.github.com/users/riyafa/following{/other_user}","gists_url":"https://api.github.com/users/riyafa/gists{/gist_id}","starred_url":"https://api.github.com/users/riyafa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/riyafa/subscriptions","organizations_url":"https://api.github.com/users/riyafa/orgs","repos_url":"https://api.github.com/users/riyafa/repos","events_url":"https://api.github.com/users/riyafa/events{/privacy}","received_events_url":"https://api.github.com/users/riyafa/received_events","type":"User","site_admin":false},"body":"## Purpose\r\n> Fix Stdlib examples","created_at":"2018-12-19T09:46:07Z","updated_at":"2018-12-20T05:43:42Z","closed_at":null,"merged_at":null,"merge_commit_sha":"63f2e4b7285aea71e89326b5f7da94a98f85e76b","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/ballerina-platform/ballerina-lang/pulls/12862/commits","review_comments_url":"https://api.github.com/repos/ballerina-platform/ballerina-lang/pulls/12862/comments","review_comment_url":"https://api.github.com/repos/ballerina-platform/ballerina-lang/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ballerina-platform/ballerina-lang/issues/12862/comments","statuses_url":"https://api.github.com/repos/ballerina-platform/ballerina-lang/statuses/3869e5ac6eb53387229c15b3c7845e1fff06986a","head":{"label":"riyafa:http-examples","ref":"http-examples","sha":"3869e5ac6eb53387229c15b3c7845e1fff06986a","user":{"login":"riyafa","id":8238078,"node_id":"MDQ6VXNlcjgyMzgwNzg=","avatar_url":"https://avatars2.githubusercontent.com/u/8238078?v=4","gravatar_id":"","url":"https://api.github.com/users/riyafa","html_url":"https://github.com/riyafa","followers_url":"https://api.github.com/users/riyafa/followers","following_url":"https://api.github.com/users/riyafa/following{/other_user}","gists_url":"https://api.github.com/users/riyafa/gists{/gist_id}","starred_url":"https://api.github.com/users/riyafa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/riyafa/subscriptions","organizations_url":"https://api.github.com/users/riyafa/orgs","repos_url":"https://api.github.com/users/riyafa/repos","events_url":"https://api.github.com/users/riyafa/events{/privacy}","received_events_url":"https://api.github.com/users/riyafa/received_events","type":"User","site_admin":false},"repo":{"id":119494276,"node_id":"MDEwOlJlcG9zaXRvcnkxMTk0OTQyNzY=","name":"ballerina","full_name":"riyafa/ballerina","private":false,"owner":{"login":"riyafa","id":8238078,"node_id":"MDQ6VXNlcjgyMzgwNzg=","avatar_url":"https://avatars2.githubusercontent.com/u/8238078?v=4","gravatar_id":"","url":"https://api.github.com/users/riyafa","html_url":"https://github.com/riyafa","followers_url":"https://api.github.com/users/riyafa/followers","following_url":"https://api.github.com/users/riyafa/following{/other_user}","gists_url":"https://api.github.com/users/riyafa/gists{/gist_id}","starred_url":"https://api.github.com/users/riyafa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/riyafa/subscriptions","organizations_url":"https://api.github.com/users/riyafa/orgs","repos_url":"https://api.github.com/users/riyafa/repos","events_url":"https://api.github.com/users/riyafa/events{/privacy}","received_events_url":"https://api.github.com/users/riyafa/received_events","type":"User","site_admin":false},"html_url":"https://github.com/riyafa/ballerina","description":"Ballerina is a new programming language for integration built on a sequence diagram metaphor.","fork":true,"url":"https://api.github.com/repos/riyafa/ballerina","forks_url":"https://api.github.com/repos/riyafa/ballerina/forks","keys_url":"https://api.github.com/repos/riyafa/ballerina/keys{/key_id}","collaborators_url":"https://api.github.com/repos/riyafa/ballerina/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/riyafa/ballerina/teams","hooks_url":"https://api.github.com/repos/riyafa/ballerina/hooks","issue_events_url":"https://api.github.com/repos/riyafa/ballerina/issues/events{/number}","events_url":"https://api.github.com/repos/riyafa/ballerina/events","assignees_url":"https://api.github.com/repos/riyafa/ballerina/assignees{/user}","branches_url":"https://api.github.com/repos/riyafa/ballerina/branches{/branch}","tags_url":"https://api.github.com/repos/riyafa/ballerina/tags","blobs_url":"https://api.github.com/repos/riyafa/ballerina/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/riyafa/ballerina/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/riyafa/ballerina/git/refs{/sha}","trees_url":"https://api.github.com/repos/riyafa/ballerina/git/trees{/sha}","statuses_url":"https://api.github.com/repos/riyafa/ballerina/statuses/{sha}","languages_url":"https://api.github.com/repos/riyafa/ballerina/languages","stargazers_url":"https://api.github.com/repos/riyafa/ballerina/stargazers","contributors_url":"https://api.github.com/repos/riyafa/ballerina/contributors","subscribers_url":"https://api.github.com/repos/riyafa/ballerina/subscribers","subscription_url":"https://api.github.com/repos/riyafa/ballerina/subscription","commits_url":"https://api.github.com/repos/riyafa/ballerina/commits{/sha}","git_commits_url":"https://api.github.com/repos/riyafa/ballerina/git/commits{/sha}","comments_url":"https://api.github.com/repos/riyafa/ballerina/comments{/number}","issue_comment_url":"https://api.github.com/repos/riyafa/ballerina/issues/comments{/number}","contents_url":"https://api.github.com/repos/riyafa/ballerina/contents/{+path}","compare_url":"https://api.github.com/repos/riyafa/ballerina/compare/{base}...{head}","merges_url":"https://api.github.com/repos/riyafa/ballerina/merges","archive_url":"https://api.github.com/repos/riyafa/ballerina/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/riyafa/ballerina/downloads","issues_url":"https://api.github.com/repos/riyafa/ballerina/issues{/number}","pulls_url":"https://api.github.com/repos/riyafa/ballerina/pulls{/number}","milestones_url":"https://api.github.com/repos/riyafa/ballerina/milestones{/number}","notifications_url":"https://api.github.com/repos/riyafa/ballerina/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/riyafa/ballerina/labels{/name}","releases_url":"https://api.github.com/repos/riyafa/ballerina/releases{/id}","deployments_url":"https://api.github.com/repos/riyafa/ballerina/deployments","created_at":"2018-01-30T06:43:17Z","updated_at":"2018-12-12T07:38:29Z","pushed_at":"2018-12-20T04:45:30Z","git_url":"git://github.com/riyafa/ballerina.git","ssh_url":"git@github.com:riyafa/ballerina.git","clone_url":"https://github.com/riyafa/ballerina.git","svn_url":"https://github.com/riyafa/ballerina","homepage":"","size":300619,"stargazers_count":0,"watchers_count":0,"language":"Java","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":"other","name":"Other","spdx_id":"NOASSERTION","url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"ballerina-platform:release-0.990.0","ref":"release-0.990.0","sha":"53c8fed822cccc53050ed8e1f30b0596ebc36827","user":{"login":"ballerina-platform","id":34733518,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM0NzMzNTE4","avatar_url":"https://avatars2.githubusercontent.com/u/34733518?v=4","gravatar_id":"","url":"https://api.github.com/users/ballerina-platform","html_url":"https://github.com/ballerina-platform","followers_url":"https://api.github.com/users/ballerina-platform/followers","following_url":"https://api.github.com/users/ballerina-platform/following{/other_user}","gists_url":"https://api.github.com/users/ballerina-platform/gists{/gist_id}","starred_url":"https://api.github.com/users/ballerina-platform/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ballerina-platform/subscriptions","organizations_url":"https://api.github.com/users/ballerina-platform/orgs","repos_url":"https://api.github.com/users/ballerina-platform/repos","events_url":"https://api.github.com/users/ballerina-platform/events{/privacy}","received_events_url":"https://api.github.com/users/ballerina-platform/received_events","type":"Organization","site_admin":false},"repo":{"id":73930305,"node_id":"MDEwOlJlcG9zaXRvcnk3MzkzMDMwNQ==","name":"ballerina-lang","full_name":"ballerina-platform/ballerina-lang","private":false,"owner":{"login":"ballerina-platform","id":34733518,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM0NzMzNTE4","avatar_url":"https://avatars2.githubusercontent.com/u/34733518?v=4","gravatar_id":"","url":"https://api.github.com/users/ballerina-platform","html_url":"https://github.com/ballerina-platform","followers_url":"https://api.github.com/users/ballerina-platform/followers","following_url":"https://api.github.com/users/ballerina-platform/following{/other_user}","gists_url":"https://api.github.com/users/ballerina-platform/gists{/gist_id}","starred_url":"https://api.github.com/users/ballerina-platform/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ballerina-platform/subscriptions","organizations_url":"https://api.github.com/users/ballerina-platform/orgs","repos_url":"https://api.github.com/users/ballerina-platform/repos","events_url":"https://api.github.com/users/ballerina-platform/events{/privacy}","received_events_url":"https://api.github.com/users/ballerina-platform/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/ballerina-platform/ballerina-lang","description":"Ballerina is a compiled, transactional, statically and strongly typed programming language with textual and graphical syntaxes.","fork":false,"url":"https://api.github.com/repos/ballerina-platform/ballerina-lang","forks_url":"https://api.github.com/repos/ballerina-platform/ballerina-lang/forks","keys_url":"https://api.github.com/repos/ballerina-platform/ballerina-lang/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ballerina-platform/ballerina-lang/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ballerina-platform/ballerina-lang/teams","hooks_url":"https://api.github.com/repos/ballerina-platform/ballerina-lang/hooks","issue_events_url":"https://api.github.com/repos/ballerina-platform/ballerina-lang/issues/events{/number}","events_url":"https://api.github.com/repos/ballerina-platform/ballerina-lang/events","assignees_url":"https://api.github.com/repos/ballerina-platform/ballerina-lang/assignees{/user}","branches_url":"https://api.github.com/repos/ballerina-platform/ballerina-lang/branches{/branch}","tags_url":"https://api.github.com/repos/ballerina-platform/ballerina-lang/tags","blobs_url":"https://api.github.com/repos/ballerina-platform/ballerina-lang/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ballerina-platform/ballerina-lang/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ballerina-platform/ballerina-lang/git/refs{/sha}","trees_url":"https://api.github.com/repos/ballerina-platform/ballerina-lang/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ballerina-platform/ballerina-lang/statuses/{sha}","languages_url":"https://api.github.com/repos/ballerina-platform/ballerina-lang/languages","stargazers_url":"https://api.github.com/repos/ballerina-platform/ballerina-lang/stargazers","contributors_url":"https://api.github.com/repos/ballerina-platform/ballerina-lang/contributors","subscribers_url":"https://api.github.com/repos/ballerina-platform/ballerina-lang/subscribers","subscription_url":"https://api.github.com/repos/ballerina-platform/ballerina-lang/subscription","commits_url":"https://api.github.com/repos/ballerina-platform/ballerina-lang/commits{/sha}","git_commits_url":"https://api.github.com/repos/ballerina-platform/ballerina-lang/git/commits{/sha}","comments_url":"https://api.github.com/repos/ballerina-platform/ballerina-lang/comments{/number}","issue_comment_url":"https://api.github.com/repos/ballerina-platform/ballerina-lang/issues/comments{/number}","contents_url":"https://api.github.com/repos/ballerina-platform/ballerina-lang/contents/{+path}","compare_url":"https://api.github.com/repos/ballerina-platform/ballerina-lang/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ballerina-platform/ballerina-lang/merges","archive_url":"https://api.github.com/repos/ballerina-platform/ballerina-lang/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ballerina-platform/ballerina-lang/downloads","issues_url":"https://api.github.com/repos/ballerina-platform/ballerina-lang/issues{/number}","pulls_url":"https://api.github.com/repos/ballerina-platform/ballerina-lang/pulls{/number}","milestones_url":"https://api.github.com/repos/ballerina-platform/ballerina-lang/milestones{/number}","notifications_url":"https://api.github.com/repos/ballerina-platform/ballerina-lang/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ballerina-platform/ballerina-lang/labels{/name}","releases_url":"https://api.github.com/repos/ballerina-platform/ballerina-lang/releases{/id}","deployments_url":"https://api.github.com/repos/ballerina-platform/ballerina-lang/deployments","created_at":"2016-11-16T14:58:44Z","updated_at":"2018-12-20T05:38:04Z","pushed_at":"2018-12-20T05:43:39Z","git_url":"git://github.com/ballerina-platform/ballerina-lang.git","ssh_url":"git@github.com:ballerina-platform/ballerina-lang.git","clone_url":"https://github.com/ballerina-platform/ballerina-lang.git","svn_url":"https://github.com/ballerina-platform/ballerina-lang","homepage":"","size":307543,"stargazers_count":1549,"watchers_count":1549,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":413,"mirror_url":null,"archived":false,"open_issues_count":608,"license":{"key":"other","name":"Other","spdx_id":"NOASSERTION","url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":413,"open_issues":608,"watchers":1549,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ballerina-platform/ballerina-lang/pulls/12862"},"html":{"href":"https://github.com/ballerina-platform/ballerina-lang/pull/12862"},"issue":{"href":"https://api.github.com/repos/ballerina-platform/ballerina-lang/issues/12862"},"comments":{"href":"https://api.github.com/repos/ballerina-platform/ballerina-lang/issues/12862/comments"},"review_comments":{"href":"https://api.github.com/repos/ballerina-platform/ballerina-lang/pulls/12862/comments"},"review_comment":{"href":"https://api.github.com/repos/ballerina-platform/ballerina-lang/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ballerina-platform/ballerina-lang/pulls/12862/commits"},"statuses":{"href":"https://api.github.com/repos/ballerina-platform/ballerina-lang/statuses/3869e5ac6eb53387229c15b3c7845e1fff06986a"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"wggihan"}}