{"action":"closed","number":5281,"pull_request":{"url":"https://api.github.com/repos/ballerina-lang/ballerina/pulls/5281","id":175521297,"html_url":"https://github.com/ballerina-lang/ballerina/pull/5281","diff_url":"https://github.com/ballerina-lang/ballerina/pull/5281.diff","patch_url":"https://github.com/ballerina-lang/ballerina/pull/5281.patch","issue_url":"https://api.github.com/repos/ballerina-lang/ballerina/issues/5281","number":5281,"state":"closed","locked":false,"title":"Add HTTP trace log publishing functionality","user":{"login":"VijithaEkanayake","id":5285626,"avatar_url":"https://avatars1.githubusercontent.com/u/5285626?v=4","gravatar_id":"","url":"https://api.github.com/users/VijithaEkanayake","html_url":"https://github.com/VijithaEkanayake","followers_url":"https://api.github.com/users/VijithaEkanayake/followers","following_url":"https://api.github.com/users/VijithaEkanayake/following{/other_user}","gists_url":"https://api.github.com/users/VijithaEkanayake/gists{/gist_id}","starred_url":"https://api.github.com/users/VijithaEkanayake/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/VijithaEkanayake/subscriptions","organizations_url":"https://api.github.com/users/VijithaEkanayake/orgs","repos_url":"https://api.github.com/users/VijithaEkanayake/repos","events_url":"https://api.github.com/users/VijithaEkanayake/events{/privacy}","received_events_url":"https://api.github.com/users/VijithaEkanayake/received_events","type":"User","site_admin":false},"body":"Introduced trace log publishing functionality with json format.\r\n\r\n## Purpose\r\nProvide a way to publish HTTP trace logs to a socket in JSON format.\r\n\r\n## Approach\r\nProvide command line arguments to initialize HTTP trace log configurations and implement Json log formatter format Log records to json format.\r\n\r\n## Automation tests\r\n - Unit tests - Yes\r\n\r\n## Security checks\r\n - Followed secure coding standards in http://wso2.com/technical-reports/wso2-secure-engineering-guidelines? yes\r\n - Ran FindSecurityBugs plugin and verified report? yes\r\n - Confirmed that this PR doesn't commit any keys, passwords, tokens, usernames, or other secrets? yes\r\n\r\n## Samples\r\n```\r\nCommand Line Arguments\r\n\r\n-B[tracelog.http].level=TRACE -B[tracelog.http].publish.host=\"localhost\" -B[tracelog.http].publish.port=5000 -B[tracelog.http].logto=socket\r\n\r\n```\r\n","created_at":"2018-03-16T12:37:57Z","updated_at":"2018-03-27T06:04:13Z","closed_at":"2018-03-27T06:04:13Z","merged_at":null,"merge_commit_sha":"38ca29f676a47c64a62261acca95ebfb18ac5040","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/ballerina-lang/ballerina/pulls/5281/commits","review_comments_url":"https://api.github.com/repos/ballerina-lang/ballerina/pulls/5281/comments","review_comment_url":"https://api.github.com/repos/ballerina-lang/ballerina/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ballerina-lang/ballerina/issues/5281/comments","statuses_url":"https://api.github.com/repos/ballerina-lang/ballerina/statuses/d2521885208c6645517b8864c09ee955ef89babb","head":{"label":"VijithaEkanayake:log_publish","ref":"log_publish","sha":"d2521885208c6645517b8864c09ee955ef89babb","user":{"login":"VijithaEkanayake","id":5285626,"avatar_url":"https://avatars1.githubusercontent.com/u/5285626?v=4","gravatar_id":"","url":"https://api.github.com/users/VijithaEkanayake","html_url":"https://github.com/VijithaEkanayake","followers_url":"https://api.github.com/users/VijithaEkanayake/followers","following_url":"https://api.github.com/users/VijithaEkanayake/following{/other_user}","gists_url":"https://api.github.com/users/VijithaEkanayake/gists{/gist_id}","starred_url":"https://api.github.com/users/VijithaEkanayake/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/VijithaEkanayake/subscriptions","organizations_url":"https://api.github.com/users/VijithaEkanayake/orgs","repos_url":"https://api.github.com/users/VijithaEkanayake/repos","events_url":"https://api.github.com/users/VijithaEkanayake/events{/privacy}","received_events_url":"https://api.github.com/users/VijithaEkanayake/received_events","type":"User","site_admin":false},"repo":{"id":118728783,"name":"ballerina","full_name":"VijithaEkanayake/ballerina","owner":{"login":"VijithaEkanayake","id":5285626,"avatar_url":"https://avatars1.githubusercontent.com/u/5285626?v=4","gravatar_id":"","url":"https://api.github.com/users/VijithaEkanayake","html_url":"https://github.com/VijithaEkanayake","followers_url":"https://api.github.com/users/VijithaEkanayake/followers","following_url":"https://api.github.com/users/VijithaEkanayake/following{/other_user}","gists_url":"https://api.github.com/users/VijithaEkanayake/gists{/gist_id}","starred_url":"https://api.github.com/users/VijithaEkanayake/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/VijithaEkanayake/subscriptions","organizations_url":"https://api.github.com/users/VijithaEkanayake/orgs","repos_url":"https://api.github.com/users/VijithaEkanayake/repos","events_url":"https://api.github.com/users/VijithaEkanayake/events{/privacy}","received_events_url":"https://api.github.com/users/VijithaEkanayake/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/VijithaEkanayake/ballerina","description":"Ballerina is a new programming language for integration built on a sequence diagram metaphor.","fork":true,"url":"https://api.github.com/repos/VijithaEkanayake/ballerina","forks_url":"https://api.github.com/repos/VijithaEkanayake/ballerina/forks","keys_url":"https://api.github.com/repos/VijithaEkanayake/ballerina/keys{/key_id}","collaborators_url":"https://api.github.com/repos/VijithaEkanayake/ballerina/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/VijithaEkanayake/ballerina/teams","hooks_url":"https://api.github.com/repos/VijithaEkanayake/ballerina/hooks","issue_events_url":"https://api.github.com/repos/VijithaEkanayake/ballerina/issues/events{/number}","events_url":"https://api.github.com/repos/VijithaEkanayake/ballerina/events","assignees_url":"https://api.github.com/repos/VijithaEkanayake/ballerina/assignees{/user}","branches_url":"https://api.github.com/repos/VijithaEkanayake/ballerina/branches{/branch}","tags_url":"https://api.github.com/repos/VijithaEkanayake/ballerina/tags","blobs_url":"https://api.github.com/repos/VijithaEkanayake/ballerina/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/VijithaEkanayake/ballerina/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/VijithaEkanayake/ballerina/git/refs{/sha}","trees_url":"https://api.github.com/repos/VijithaEkanayake/ballerina/git/trees{/sha}","statuses_url":"https://api.github.com/repos/VijithaEkanayake/ballerina/statuses/{sha}","languages_url":"https://api.github.com/repos/VijithaEkanayake/ballerina/languages","stargazers_url":"https://api.github.com/repos/VijithaEkanayake/ballerina/stargazers","contributors_url":"https://api.github.com/repos/VijithaEkanayake/ballerina/contributors","subscribers_url":"https://api.github.com/repos/VijithaEkanayake/ballerina/subscribers","subscription_url":"https://api.github.com/repos/VijithaEkanayake/ballerina/subscription","commits_url":"https://api.github.com/repos/VijithaEkanayake/ballerina/commits{/sha}","git_commits_url":"https://api.github.com/repos/VijithaEkanayake/ballerina/git/commits{/sha}","comments_url":"https://api.github.com/repos/VijithaEkanayake/ballerina/comments{/number}","issue_comment_url":"https://api.github.com/repos/VijithaEkanayake/ballerina/issues/comments{/number}","contents_url":"https://api.github.com/repos/VijithaEkanayake/ballerina/contents/{+path}","compare_url":"https://api.github.com/repos/VijithaEkanayake/ballerina/compare/{base}...{head}","merges_url":"https://api.github.com/repos/VijithaEkanayake/ballerina/merges","archive_url":"https://api.github.com/repos/VijithaEkanayake/ballerina/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/VijithaEkanayake/ballerina/downloads","issues_url":"https://api.github.com/repos/VijithaEkanayake/ballerina/issues{/number}","pulls_url":"https://api.github.com/repos/VijithaEkanayake/ballerina/pulls{/number}","milestones_url":"https://api.github.com/repos/VijithaEkanayake/ballerina/milestones{/number}","notifications_url":"https://api.github.com/repos/VijithaEkanayake/ballerina/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/VijithaEkanayake/ballerina/labels{/name}","releases_url":"https://api.github.com/repos/VijithaEkanayake/ballerina/releases{/id}","deployments_url":"https://api.github.com/repos/VijithaEkanayake/ballerina/deployments","created_at":"2018-01-24T07:24:41Z","updated_at":"2018-01-24T07:24:47Z","pushed_at":"2018-03-27T05:11:01Z","git_url":"git://github.com/VijithaEkanayake/ballerina.git","ssh_url":"git@github.com:VijithaEkanayake/ballerina.git","clone_url":"https://github.com/VijithaEkanayake/ballerina.git","svn_url":"https://github.com/VijithaEkanayake/ballerina","homepage":"","size":191267,"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":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"ballerina-lang:master","ref":"master","sha":"bf542ac6a2f72937061b035133e34da8c159ea86","user":{"login":"ballerina-lang","id":24777199,"avatar_url":"https://avatars1.githubusercontent.com/u/24777199?v=4","gravatar_id":"","url":"https://api.github.com/users/ballerina-lang","html_url":"https://github.com/ballerina-lang","followers_url":"https://api.github.com/users/ballerina-lang/followers","following_url":"https://api.github.com/users/ballerina-lang/following{/other_user}","gists_url":"https://api.github.com/users/ballerina-lang/gists{/gist_id}","starred_url":"https://api.github.com/users/ballerina-lang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ballerina-lang/subscriptions","organizations_url":"https://api.github.com/users/ballerina-lang/orgs","repos_url":"https://api.github.com/users/ballerina-lang/repos","events_url":"https://api.github.com/users/ballerina-lang/events{/privacy}","received_events_url":"https://api.github.com/users/ballerina-lang/received_events","type":"Organization","site_admin":false},"repo":{"id":73930305,"name":"ballerina","full_name":"ballerina-lang/ballerina","owner":{"login":"ballerina-lang","id":24777199,"avatar_url":"https://avatars1.githubusercontent.com/u/24777199?v=4","gravatar_id":"","url":"https://api.github.com/users/ballerina-lang","html_url":"https://github.com/ballerina-lang","followers_url":"https://api.github.com/users/ballerina-lang/followers","following_url":"https://api.github.com/users/ballerina-lang/following{/other_user}","gists_url":"https://api.github.com/users/ballerina-lang/gists{/gist_id}","starred_url":"https://api.github.com/users/ballerina-lang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ballerina-lang/subscriptions","organizations_url":"https://api.github.com/users/ballerina-lang/orgs","repos_url":"https://api.github.com/users/ballerina-lang/repos","events_url":"https://api.github.com/users/ballerina-lang/events{/privacy}","received_events_url":"https://api.github.com/users/ballerina-lang/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ballerina-lang/ballerina","description":"Ballerina is a new programming language for integration built on a sequence diagram metaphor.","fork":false,"url":"https://api.github.com/repos/ballerina-lang/ballerina","forks_url":"https://api.github.com/repos/ballerina-lang/ballerina/forks","keys_url":"https://api.github.com/repos/ballerina-lang/ballerina/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ballerina-lang/ballerina/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ballerina-lang/ballerina/teams","hooks_url":"https://api.github.com/repos/ballerina-lang/ballerina/hooks","issue_events_url":"https://api.github.com/repos/ballerina-lang/ballerina/issues/events{/number}","events_url":"https://api.github.com/repos/ballerina-lang/ballerina/events","assignees_url":"https://api.github.com/repos/ballerina-lang/ballerina/assignees{/user}","branches_url":"https://api.github.com/repos/ballerina-lang/ballerina/branches{/branch}","tags_url":"https://api.github.com/repos/ballerina-lang/ballerina/tags","blobs_url":"https://api.github.com/repos/ballerina-lang/ballerina/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ballerina-lang/ballerina/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ballerina-lang/ballerina/git/refs{/sha}","trees_url":"https://api.github.com/repos/ballerina-lang/ballerina/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ballerina-lang/ballerina/statuses/{sha}","languages_url":"https://api.github.com/repos/ballerina-lang/ballerina/languages","stargazers_url":"https://api.github.com/repos/ballerina-lang/ballerina/stargazers","contributors_url":"https://api.github.com/repos/ballerina-lang/ballerina/contributors","subscribers_url":"https://api.github.com/repos/ballerina-lang/ballerina/subscribers","subscription_url":"https://api.github.com/repos/ballerina-lang/ballerina/subscription","commits_url":"https://api.github.com/repos/ballerina-lang/ballerina/commits{/sha}","git_commits_url":"https://api.github.com/repos/ballerina-lang/ballerina/git/commits{/sha}","comments_url":"https://api.github.com/repos/ballerina-lang/ballerina/comments{/number}","issue_comment_url":"https://api.github.com/repos/ballerina-lang/ballerina/issues/comments{/number}","contents_url":"https://api.github.com/repos/ballerina-lang/ballerina/contents/{+path}","compare_url":"https://api.github.com/repos/ballerina-lang/ballerina/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ballerina-lang/ballerina/merges","archive_url":"https://api.github.com/repos/ballerina-lang/ballerina/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ballerina-lang/ballerina/downloads","issues_url":"https://api.github.com/repos/ballerina-lang/ballerina/issues{/number}","pulls_url":"https://api.github.com/repos/ballerina-lang/ballerina/pulls{/number}","milestones_url":"https://api.github.com/repos/ballerina-lang/ballerina/milestones{/number}","notifications_url":"https://api.github.com/repos/ballerina-lang/ballerina/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ballerina-lang/ballerina/labels{/name}","releases_url":"https://api.github.com/repos/ballerina-lang/ballerina/releases{/id}","deployments_url":"https://api.github.com/repos/ballerina-lang/ballerina/deployments","created_at":"2016-11-16T14:58:44Z","updated_at":"2018-03-27T06:02:21Z","pushed_at":"2018-03-27T06:02:17Z","git_url":"git://github.com/ballerina-lang/ballerina.git","ssh_url":"git@github.com:ballerina-lang/ballerina.git","clone_url":"https://github.com/ballerina-lang/ballerina.git","svn_url":"https://github.com/ballerina-lang/ballerina","homepage":"","size":193226,"stargazers_count":245,"watchers_count":245,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":272,"mirror_url":null,"archived":false,"open_issues_count":542,"license":{"key":"other","name":"Other","spdx_id":null,"url":null},"forks":272,"open_issues":542,"watchers":245,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ballerina-lang/ballerina/pulls/5281"},"html":{"href":"https://github.com/ballerina-lang/ballerina/pull/5281"},"issue":{"href":"https://api.github.com/repos/ballerina-lang/ballerina/issues/5281"},"comments":{"href":"https://api.github.com/repos/ballerina-lang/ballerina/issues/5281/comments"},"review_comments":{"href":"https://api.github.com/repos/ballerina-lang/ballerina/pulls/5281/comments"},"review_comment":{"href":"https://api.github.com/repos/ballerina-lang/ballerina/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ballerina-lang/ballerina/pulls/5281/commits"},"statuses":{"href":"https://api.github.com/repos/ballerina-lang/ballerina/statuses/d2521885208c6645517b8864c09ee955ef89babb"}},"author_association":"CONTRIBUTOR","merged":false,"mergeable":false,"rebaseable":false,"mergeable_state":"dirty","merged_by":null,"comments":1,"review_comments":6,"maintainer_can_modify":false,"commits":2,"additions":349,"deletions":20,"changed_files":7}}
{"actor":{"display_login":"shafreenAnfar"}}