{"action":"closed","number":321,"pull_request":{"url":"https://api.github.com/repos/ballerina-platform/ballerina-message-broker/pulls/321","id":171861790,"html_url":"https://github.com/ballerina-platform/ballerina-message-broker/pull/321","diff_url":"https://github.com/ballerina-platform/ballerina-message-broker/pull/321.diff","patch_url":"https://github.com/ballerina-platform/ballerina-message-broker/pull/321.patch","issue_url":"https://api.github.com/repos/ballerina-platform/ballerina-message-broker/issues/321","number":321,"state":"closed","locked":false,"title":"Implement Dtx start, end, enqueue, dequeue functionality in broker core","user":{"login":"Asitha","id":919462,"avatar_url":"https://avatars3.githubusercontent.com/u/919462?v=4","gravatar_id":"","url":"https://api.github.com/users/Asitha","html_url":"https://github.com/Asitha","followers_url":"https://api.github.com/users/Asitha/followers","following_url":"https://api.github.com/users/Asitha/following{/other_user}","gists_url":"https://api.github.com/users/Asitha/gists{/gist_id}","starred_url":"https://api.github.com/users/Asitha/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Asitha/subscriptions","organizations_url":"https://api.github.com/users/Asitha/orgs","repos_url":"https://api.github.com/users/Asitha/repos","events_url":"https://api.github.com/users/Asitha/events{/privacy}","received_events_url":"https://api.github.com/users/Asitha/received_events","type":"User","site_admin":false},"body":"## Purpose\r\n> Describe the problems, issues, or needs driving this feature/fix and include links to related issues in the following format: Resolves issue1, issue2, etc.\r\n\r\nHandle dtx start, end, enqueue and dequeue frames from broker core.''\r\n\r\nRelates to: #115 \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\nThis will enable a user to start and end a XAResource after publishing or consuming from a queue within a distributed transaction.\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\nHandle the distributed transaction events through a DistributedTransaction object retrieved from the broker core. This objects internally handles working with transaction Branch and the transaction Registry. \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\nunit test added\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-02-28T05:47:44Z","updated_at":"2018-03-05T07:54:58Z","closed_at":"2018-03-05T07:54:58Z","merged_at":"2018-03-05T07:54:58Z","merge_commit_sha":"71e4103704dc520c42656081625f21f1dc108db5","assignee":{"login":"Asitha","id":919462,"avatar_url":"https://avatars3.githubusercontent.com/u/919462?v=4","gravatar_id":"","url":"https://api.github.com/users/Asitha","html_url":"https://github.com/Asitha","followers_url":"https://api.github.com/users/Asitha/followers","following_url":"https://api.github.com/users/Asitha/following{/other_user}","gists_url":"https://api.github.com/users/Asitha/gists{/gist_id}","starred_url":"https://api.github.com/users/Asitha/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Asitha/subscriptions","organizations_url":"https://api.github.com/users/Asitha/orgs","repos_url":"https://api.github.com/users/Asitha/repos","events_url":"https://api.github.com/users/Asitha/events{/privacy}","received_events_url":"https://api.github.com/users/Asitha/received_events","type":"User","site_admin":false},"assignees":[{"login":"Asitha","id":919462,"avatar_url":"https://avatars3.githubusercontent.com/u/919462?v=4","gravatar_id":"","url":"https://api.github.com/users/Asitha","html_url":"https://github.com/Asitha","followers_url":"https://api.github.com/users/Asitha/followers","following_url":"https://api.github.com/users/Asitha/following{/other_user}","gists_url":"https://api.github.com/users/Asitha/gists{/gist_id}","starred_url":"https://api.github.com/users/Asitha/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Asitha/subscriptions","organizations_url":"https://api.github.com/users/Asitha/orgs","repos_url":"https://api.github.com/users/Asitha/repos","events_url":"https://api.github.com/users/Asitha/events{/privacy}","received_events_url":"https://api.github.com/users/Asitha/received_events","type":"User","site_admin":false}],"requested_reviewers":[{"login":"indikasampath2000","id":3735291,"avatar_url":"https://avatars3.githubusercontent.com/u/3735291?v=4","gravatar_id":"","url":"https://api.github.com/users/indikasampath2000","html_url":"https://github.com/indikasampath2000","followers_url":"https://api.github.com/users/indikasampath2000/followers","following_url":"https://api.github.com/users/indikasampath2000/following{/other_user}","gists_url":"https://api.github.com/users/indikasampath2000/gists{/gist_id}","starred_url":"https://api.github.com/users/indikasampath2000/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/indikasampath2000/subscriptions","organizations_url":"https://api.github.com/users/indikasampath2000/orgs","repos_url":"https://api.github.com/users/indikasampath2000/repos","events_url":"https://api.github.com/users/indikasampath2000/events{/privacy}","received_events_url":"https://api.github.com/users/indikasampath2000/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[{"id":783489412,"url":"https://api.github.com/repos/ballerina-platform/ballerina-message-broker/labels/Module/broker-amqp","name":"Module/broker-amqp","color":"c6993d","default":false},{"id":783483737,"url":"https://api.github.com/repos/ballerina-platform/ballerina-message-broker/labels/Module/broker-core","name":"Module/broker-core","color":"c6993d","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/ballerina-platform/ballerina-message-broker/pulls/321/commits","review_comments_url":"https://api.github.com/repos/ballerina-platform/ballerina-message-broker/pulls/321/comments","review_comment_url":"https://api.github.com/repos/ballerina-platform/ballerina-message-broker/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ballerina-platform/ballerina-message-broker/issues/321/comments","statuses_url":"https://api.github.com/repos/ballerina-platform/ballerina-message-broker/statuses/d51e83c3dd61a2d1b52d4ba92554eb4f1381d02b","head":{"label":"Asitha:dtx-impl","ref":"dtx-impl","sha":"d51e83c3dd61a2d1b52d4ba92554eb4f1381d02b","user":{"login":"Asitha","id":919462,"avatar_url":"https://avatars3.githubusercontent.com/u/919462?v=4","gravatar_id":"","url":"https://api.github.com/users/Asitha","html_url":"https://github.com/Asitha","followers_url":"https://api.github.com/users/Asitha/followers","following_url":"https://api.github.com/users/Asitha/following{/other_user}","gists_url":"https://api.github.com/users/Asitha/gists{/gist_id}","starred_url":"https://api.github.com/users/Asitha/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Asitha/subscriptions","organizations_url":"https://api.github.com/users/Asitha/orgs","repos_url":"https://api.github.com/users/Asitha/repos","events_url":"https://api.github.com/users/Asitha/events{/privacy}","received_events_url":"https://api.github.com/users/Asitha/received_events","type":"User","site_admin":false},"repo":{"id":111645485,"name":"message-broker","full_name":"Asitha/message-broker","owner":{"login":"Asitha","id":919462,"avatar_url":"https://avatars3.githubusercontent.com/u/919462?v=4","gravatar_id":"","url":"https://api.github.com/users/Asitha","html_url":"https://github.com/Asitha","followers_url":"https://api.github.com/users/Asitha/followers","following_url":"https://api.github.com/users/Asitha/following{/other_user}","gists_url":"https://api.github.com/users/Asitha/gists{/gist_id}","starred_url":"https://api.github.com/users/Asitha/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Asitha/subscriptions","organizations_url":"https://api.github.com/users/Asitha/orgs","repos_url":"https://api.github.com/users/Asitha/repos","events_url":"https://api.github.com/users/Asitha/events{/privacy}","received_events_url":"https://api.github.com/users/Asitha/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Asitha/message-broker","description":null,"fork":true,"url":"https://api.github.com/repos/Asitha/message-broker","forks_url":"https://api.github.com/repos/Asitha/message-broker/forks","keys_url":"https://api.github.com/repos/Asitha/message-broker/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Asitha/message-broker/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Asitha/message-broker/teams","hooks_url":"https://api.github.com/repos/Asitha/message-broker/hooks","issue_events_url":"https://api.github.com/repos/Asitha/message-broker/issues/events{/number}","events_url":"https://api.github.com/repos/Asitha/message-broker/events","assignees_url":"https://api.github.com/repos/Asitha/message-broker/assignees{/user}","branches_url":"https://api.github.com/repos/Asitha/message-broker/branches{/branch}","tags_url":"https://api.github.com/repos/Asitha/message-broker/tags","blobs_url":"https://api.github.com/repos/Asitha/message-broker/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Asitha/message-broker/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Asitha/message-broker/git/refs{/sha}","trees_url":"https://api.github.com/repos/Asitha/message-broker/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Asitha/message-broker/statuses/{sha}","languages_url":"https://api.github.com/repos/Asitha/message-broker/languages","stargazers_url":"https://api.github.com/repos/Asitha/message-broker/stargazers","contributors_url":"https://api.github.com/repos/Asitha/message-broker/contributors","subscribers_url":"https://api.github.com/repos/Asitha/message-broker/subscribers","subscription_url":"https://api.github.com/repos/Asitha/message-broker/subscription","commits_url":"https://api.github.com/repos/Asitha/message-broker/commits{/sha}","git_commits_url":"https://api.github.com/repos/Asitha/message-broker/git/commits{/sha}","comments_url":"https://api.github.com/repos/Asitha/message-broker/comments{/number}","issue_comment_url":"https://api.github.com/repos/Asitha/message-broker/issues/comments{/number}","contents_url":"https://api.github.com/repos/Asitha/message-broker/contents/{+path}","compare_url":"https://api.github.com/repos/Asitha/message-broker/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Asitha/message-broker/merges","archive_url":"https://api.github.com/repos/Asitha/message-broker/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Asitha/message-broker/downloads","issues_url":"https://api.github.com/repos/Asitha/message-broker/issues{/number}","pulls_url":"https://api.github.com/repos/Asitha/message-broker/pulls{/number}","milestones_url":"https://api.github.com/repos/Asitha/message-broker/milestones{/number}","notifications_url":"https://api.github.com/repos/Asitha/message-broker/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Asitha/message-broker/labels{/name}","releases_url":"https://api.github.com/repos/Asitha/message-broker/releases{/id}","deployments_url":"https://api.github.com/repos/Asitha/message-broker/deployments","created_at":"2017-11-22T06:33:03Z","updated_at":"2017-11-28T09:45:09Z","pushed_at":"2018-03-04T05:44:01Z","git_url":"git://github.com/Asitha/message-broker.git","ssh_url":"git@github.com:Asitha/message-broker.git","clone_url":"https://github.com/Asitha/message-broker.git","svn_url":"https://github.com/Asitha/message-broker","homepage":null,"size":2279,"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-platform:transactions","ref":"transactions","sha":"5d64bd00f0ef86f63b1f85651338e18cf5156adb","user":{"login":"ballerina-platform","id":34733518,"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":111517878,"name":"ballerina-message-broker","full_name":"ballerina-platform/ballerina-message-broker","owner":{"login":"ballerina-platform","id":34733518,"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},"private":false,"html_url":"https://github.com/ballerina-platform/ballerina-message-broker","description":null,"fork":false,"url":"https://api.github.com/repos/ballerina-platform/ballerina-message-broker","forks_url":"https://api.github.com/repos/ballerina-platform/ballerina-message-broker/forks","keys_url":"https://api.github.com/repos/ballerina-platform/ballerina-message-broker/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ballerina-platform/ballerina-message-broker/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ballerina-platform/ballerina-message-broker/teams","hooks_url":"https://api.github.com/repos/ballerina-platform/ballerina-message-broker/hooks","issue_events_url":"https://api.github.com/repos/ballerina-platform/ballerina-message-broker/issues/events{/number}","events_url":"https://api.github.com/repos/ballerina-platform/ballerina-message-broker/events","assignees_url":"https://api.github.com/repos/ballerina-platform/ballerina-message-broker/assignees{/user}","branches_url":"https://api.github.com/repos/ballerina-platform/ballerina-message-broker/branches{/branch}","tags_url":"https://api.github.com/repos/ballerina-platform/ballerina-message-broker/tags","blobs_url":"https://api.github.com/repos/ballerina-platform/ballerina-message-broker/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ballerina-platform/ballerina-message-broker/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ballerina-platform/ballerina-message-broker/git/refs{/sha}","trees_url":"https://api.github.com/repos/ballerina-platform/ballerina-message-broker/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ballerina-platform/ballerina-message-broker/statuses/{sha}","languages_url":"https://api.github.com/repos/ballerina-platform/ballerina-message-broker/languages","stargazers_url":"https://api.github.com/repos/ballerina-platform/ballerina-message-broker/stargazers","contributors_url":"https://api.github.com/repos/ballerina-platform/ballerina-message-broker/contributors","subscribers_url":"https://api.github.com/repos/ballerina-platform/ballerina-message-broker/subscribers","subscription_url":"https://api.github.com/repos/ballerina-platform/ballerina-message-broker/subscription","commits_url":"https://api.github.com/repos/ballerina-platform/ballerina-message-broker/commits{/sha}","git_commits_url":"https://api.github.com/repos/ballerina-platform/ballerina-message-broker/git/commits{/sha}","comments_url":"https://api.github.com/repos/ballerina-platform/ballerina-message-broker/comments{/number}","issue_comment_url":"https://api.github.com/repos/ballerina-platform/ballerina-message-broker/issues/comments{/number}","contents_url":"https://api.github.com/repos/ballerina-platform/ballerina-message-broker/contents/{+path}","compare_url":"https://api.github.com/repos/ballerina-platform/ballerina-message-broker/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ballerina-platform/ballerina-message-broker/merges","archive_url":"https://api.github.com/repos/ballerina-platform/ballerina-message-broker/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ballerina-platform/ballerina-message-broker/downloads","issues_url":"https://api.github.com/repos/ballerina-platform/ballerina-message-broker/issues{/number}","pulls_url":"https://api.github.com/repos/ballerina-platform/ballerina-message-broker/pulls{/number}","milestones_url":"https://api.github.com/repos/ballerina-platform/ballerina-message-broker/milestones{/number}","notifications_url":"https://api.github.com/repos/ballerina-platform/ballerina-message-broker/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ballerina-platform/ballerina-message-broker/labels{/name}","releases_url":"https://api.github.com/repos/ballerina-platform/ballerina-message-broker/releases{/id}","deployments_url":"https://api.github.com/repos/ballerina-platform/ballerina-message-broker/deployments","created_at":"2017-11-21T08:02:59Z","updated_at":"2018-02-16T10:46:30Z","pushed_at":"2018-03-05T07:54:58Z","git_url":"git://github.com/ballerina-platform/ballerina-message-broker.git","ssh_url":"git@github.com:ballerina-platform/ballerina-message-broker.git","clone_url":"https://github.com/ballerina-platform/ballerina-message-broker.git","svn_url":"https://github.com/ballerina-platform/ballerina-message-broker","homepage":null,"size":2274,"stargazers_count":4,"watchers_count":4,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":10,"mirror_url":null,"archived":false,"open_issues_count":61,"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":10,"open_issues":61,"watchers":4,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ballerina-platform/ballerina-message-broker/pulls/321"},"html":{"href":"https://github.com/ballerina-platform/ballerina-message-broker/pull/321"},"issue":{"href":"https://api.github.com/repos/ballerina-platform/ballerina-message-broker/issues/321"},"comments":{"href":"https://api.github.com/repos/ballerina-platform/ballerina-message-broker/issues/321/comments"},"review_comments":{"href":"https://api.github.com/repos/ballerina-platform/ballerina-message-broker/pulls/321/comments"},"review_comment":{"href":"https://api.github.com/repos/ballerina-platform/ballerina-message-broker/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ballerina-platform/ballerina-message-broker/pulls/321/commits"},"statuses":{"href":"https://api.github.com/repos/ballerina-platform/ballerina-message-broker/statuses/d51e83c3dd61a2d1b52d4ba92554eb4f1381d02b"}},"author_association":"MEMBER","merged":true,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":{"login":"Asitha","id":919462,"avatar_url":"https://avatars3.githubusercontent.com/u/919462?v=4","gravatar_id":"","url":"https://api.github.com/users/Asitha","html_url":"https://github.com/Asitha","followers_url":"https://api.github.com/users/Asitha/followers","following_url":"https://api.github.com/users/Asitha/following{/other_user}","gists_url":"https://api.github.com/users/Asitha/gists{/gist_id}","starred_url":"https://api.github.com/users/Asitha/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Asitha/subscriptions","organizations_url":"https://api.github.com/users/Asitha/orgs","repos_url":"https://api.github.com/users/Asitha/repos","events_url":"https://api.github.com/users/Asitha/events{/privacy}","received_events_url":"https://api.github.com/users/Asitha/received_events","type":"User","site_admin":false},"comments":0,"review_comments":17,"maintainer_can_modify":false,"commits":4,"additions":431,"deletions":67,"changed_files":14}}
{"actor":{"display_login":"Asitha"}}