{"action":"created","comment":{"url":"https://api.github.com/repos/apache/incubator-servicecomb-saga/pulls/comments/211620371","pull_request_review_id":148078649,"id":211620371,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIxMTYyMDM3MQ==","diff_hunk":"@@ -0,0 +1,50 @@\n+/*\n+ *\n+ *  * Licensed to the Apache Software Foundation (ASF) under one or more\n+ *  * contributor license agreements.  See the NOTICE file distributed with\n+ *  * this work for additional information regarding copyright ownership.\n+ *  * The ASF licenses this file to You under the Apache License, Version 2.0\n+ *  * (the \"License\"); you may not use this file except in compliance with\n+ *  * the License.  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, software\n+ *  * distributed under the License is distributed on an \"AS IS\" BASIS,\n+ *  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n+ *  * See the License for the specific language governing permissions and\n+ *  * limitations under the License.\n+ *\n+ */\n+\n+package org.apache.servicecomb.saga.alpha.tcc.server;\n+\n+import io.grpc.stub.StreamObserver;\n+import org.apache.servicecomb.saga.alpha.tcc.server.event.ParticipateEvent;\n+import org.apache.servicecomb.saga.common.TransactionStatus;\n+import org.apache.servicecomb.saga.pack.contract.grpc.GrpcTccCordinateCommand;\n+\n+/**\n+ * Grpc omega callback for TCC workflow.\n+ *\n+ * @author zhaojun","path":"alpha/alpha-server/src/main/java/org/apache/servicecomb/saga/alpha/tcc/server/GrpcOmegaTccCallback.java","position":30,"original_position":30,"commit_id":"94823342db959c1e0f5738e0153c174ba2473c8d","original_commit_id":"94823342db959c1e0f5738e0153c174ba2473c8d","user":{"login":"WillemJiang","id":219644,"node_id":"MDQ6VXNlcjIxOTY0NA==","avatar_url":"https://avatars2.githubusercontent.com/u/219644?v=4","gravatar_id":"","url":"https://api.github.com/users/WillemJiang","html_url":"https://github.com/WillemJiang","followers_url":"https://api.github.com/users/WillemJiang/followers","following_url":"https://api.github.com/users/WillemJiang/following{/other_user}","gists_url":"https://api.github.com/users/WillemJiang/gists{/gist_id}","starred_url":"https://api.github.com/users/WillemJiang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/WillemJiang/subscriptions","organizations_url":"https://api.github.com/users/WillemJiang/orgs","repos_url":"https://api.github.com/users/WillemJiang/repos","events_url":"https://api.github.com/users/WillemJiang/events{/privacy}","received_events_url":"https://api.github.com/users/WillemJiang/received_events","type":"User","site_admin":false},"body":"We normally don't use the author name in Apache as we can use git to look it up.","created_at":"2018-08-21T14:11:19Z","updated_at":"2018-08-21T14:35:07Z","html_url":"https://github.com/apache/incubator-servicecomb-saga/pull/260#discussion_r211620371","pull_request_url":"https://api.github.com/repos/apache/incubator-servicecomb-saga/pulls/260","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/apache/incubator-servicecomb-saga/pulls/comments/211620371"},"html":{"href":"https://github.com/apache/incubator-servicecomb-saga/pull/260#discussion_r211620371"},"pull_request":{"href":"https://api.github.com/repos/apache/incubator-servicecomb-saga/pulls/260"}}},"pull_request":{"url":"https://api.github.com/repos/apache/incubator-servicecomb-saga/pulls/260","id":209836961,"node_id":"MDExOlB1bGxSZXF1ZXN0MjA5ODM2OTYx","html_url":"https://github.com/apache/incubator-servicecomb-saga/pull/260","diff_url":"https://github.com/apache/incubator-servicecomb-saga/pull/260.diff","patch_url":"https://github.com/apache/incubator-servicecomb-saga/pull/260.patch","issue_url":"https://api.github.com/repos/apache/incubator-servicecomb-saga/issues/260","number":260,"state":"closed","locked":false,"title":"SCB-865 Implement reaction of the event in Alpha Server","user":{"login":"cherrylzhao","id":8317649,"node_id":"MDQ6VXNlcjgzMTc2NDk=","avatar_url":"https://avatars2.githubusercontent.com/u/8317649?v=4","gravatar_id":"","url":"https://api.github.com/users/cherrylzhao","html_url":"https://github.com/cherrylzhao","followers_url":"https://api.github.com/users/cherrylzhao/followers","following_url":"https://api.github.com/users/cherrylzhao/following{/other_user}","gists_url":"https://api.github.com/users/cherrylzhao/gists{/gist_id}","starred_url":"https://api.github.com/users/cherrylzhao/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cherrylzhao/subscriptions","organizations_url":"https://api.github.com/users/cherrylzhao/orgs","repos_url":"https://api.github.com/users/cherrylzhao/repos","events_url":"https://api.github.com/users/cherrylzhao/events{/privacy}","received_events_url":"https://api.github.com/users/cherrylzhao/received_events","type":"User","site_admin":false},"body":"Implement reaction of TCC event in alpha server, which involves\r\n-  rpc OnConnected (GrpcServiceConfig) returns (stream GrpcTccCordinateCommand)\r\n- rpc participate(GrpcTccParticipateEvent) returns (GrpcAck)\r\n- rpc OnTccTransactionEnded (GrpcTccTransactionEndedEvent) returns (GrpcAck)\r\n- rpc OnDisconnected (GrpcServiceConfig) returns (GrpcAck)\r\n","created_at":"2018-08-21T14:01:53Z","updated_at":"2018-08-21T14:35:07Z","closed_at":"2018-08-21T14:31:00Z","merged_at":null,"merge_commit_sha":"4c985394369ab62bf21d205b5da190f8150566ad","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/apache/incubator-servicecomb-saga/pulls/260/commits","review_comments_url":"https://api.github.com/repos/apache/incubator-servicecomb-saga/pulls/260/comments","review_comment_url":"https://api.github.com/repos/apache/incubator-servicecomb-saga/pulls/comments{/number}","comments_url":"https://api.github.com/repos/apache/incubator-servicecomb-saga/issues/260/comments","statuses_url":"https://api.github.com/repos/apache/incubator-servicecomb-saga/statuses/94823342db959c1e0f5738e0153c174ba2473c8d","head":{"label":"cherrylzhao:SCB-665","ref":"SCB-665","sha":"94823342db959c1e0f5738e0153c174ba2473c8d","user":{"login":"cherrylzhao","id":8317649,"node_id":"MDQ6VXNlcjgzMTc2NDk=","avatar_url":"https://avatars2.githubusercontent.com/u/8317649?v=4","gravatar_id":"","url":"https://api.github.com/users/cherrylzhao","html_url":"https://github.com/cherrylzhao","followers_url":"https://api.github.com/users/cherrylzhao/followers","following_url":"https://api.github.com/users/cherrylzhao/following{/other_user}","gists_url":"https://api.github.com/users/cherrylzhao/gists{/gist_id}","starred_url":"https://api.github.com/users/cherrylzhao/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cherrylzhao/subscriptions","organizations_url":"https://api.github.com/users/cherrylzhao/orgs","repos_url":"https://api.github.com/users/cherrylzhao/repos","events_url":"https://api.github.com/users/cherrylzhao/events{/privacy}","received_events_url":"https://api.github.com/users/cherrylzhao/received_events","type":"User","site_admin":false},"repo":{"id":145176562,"node_id":"MDEwOlJlcG9zaXRvcnkxNDUxNzY1NjI=","name":"incubator-servicecomb-saga","full_name":"cherrylzhao/incubator-servicecomb-saga","owner":{"login":"cherrylzhao","id":8317649,"node_id":"MDQ6VXNlcjgzMTc2NDk=","avatar_url":"https://avatars2.githubusercontent.com/u/8317649?v=4","gravatar_id":"","url":"https://api.github.com/users/cherrylzhao","html_url":"https://github.com/cherrylzhao","followers_url":"https://api.github.com/users/cherrylzhao/followers","following_url":"https://api.github.com/users/cherrylzhao/following{/other_user}","gists_url":"https://api.github.com/users/cherrylzhao/gists{/gist_id}","starred_url":"https://api.github.com/users/cherrylzhao/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cherrylzhao/subscriptions","organizations_url":"https://api.github.com/users/cherrylzhao/orgs","repos_url":"https://api.github.com/users/cherrylzhao/repos","events_url":"https://api.github.com/users/cherrylzhao/events{/privacy}","received_events_url":"https://api.github.com/users/cherrylzhao/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/cherrylzhao/incubator-servicecomb-saga","description":"Apache ServiceComb Saga (Incubating) ","fork":true,"url":"https://api.github.com/repos/cherrylzhao/incubator-servicecomb-saga","forks_url":"https://api.github.com/repos/cherrylzhao/incubator-servicecomb-saga/forks","keys_url":"https://api.github.com/repos/cherrylzhao/incubator-servicecomb-saga/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cherrylzhao/incubator-servicecomb-saga/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cherrylzhao/incubator-servicecomb-saga/teams","hooks_url":"https://api.github.com/repos/cherrylzhao/incubator-servicecomb-saga/hooks","issue_events_url":"https://api.github.com/repos/cherrylzhao/incubator-servicecomb-saga/issues/events{/number}","events_url":"https://api.github.com/repos/cherrylzhao/incubator-servicecomb-saga/events","assignees_url":"https://api.github.com/repos/cherrylzhao/incubator-servicecomb-saga/assignees{/user}","branches_url":"https://api.github.com/repos/cherrylzhao/incubator-servicecomb-saga/branches{/branch}","tags_url":"https://api.github.com/repos/cherrylzhao/incubator-servicecomb-saga/tags","blobs_url":"https://api.github.com/repos/cherrylzhao/incubator-servicecomb-saga/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cherrylzhao/incubator-servicecomb-saga/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cherrylzhao/incubator-servicecomb-saga/git/refs{/sha}","trees_url":"https://api.github.com/repos/cherrylzhao/incubator-servicecomb-saga/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cherrylzhao/incubator-servicecomb-saga/statuses/{sha}","languages_url":"https://api.github.com/repos/cherrylzhao/incubator-servicecomb-saga/languages","stargazers_url":"https://api.github.com/repos/cherrylzhao/incubator-servicecomb-saga/stargazers","contributors_url":"https://api.github.com/repos/cherrylzhao/incubator-servicecomb-saga/contributors","subscribers_url":"https://api.github.com/repos/cherrylzhao/incubator-servicecomb-saga/subscribers","subscription_url":"https://api.github.com/repos/cherrylzhao/incubator-servicecomb-saga/subscription","commits_url":"https://api.github.com/repos/cherrylzhao/incubator-servicecomb-saga/commits{/sha}","git_commits_url":"https://api.github.com/repos/cherrylzhao/incubator-servicecomb-saga/git/commits{/sha}","comments_url":"https://api.github.com/repos/cherrylzhao/incubator-servicecomb-saga/comments{/number}","issue_comment_url":"https://api.github.com/repos/cherrylzhao/incubator-servicecomb-saga/issues/comments{/number}","contents_url":"https://api.github.com/repos/cherrylzhao/incubator-servicecomb-saga/contents/{+path}","compare_url":"https://api.github.com/repos/cherrylzhao/incubator-servicecomb-saga/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cherrylzhao/incubator-servicecomb-saga/merges","archive_url":"https://api.github.com/repos/cherrylzhao/incubator-servicecomb-saga/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cherrylzhao/incubator-servicecomb-saga/downloads","issues_url":"https://api.github.com/repos/cherrylzhao/incubator-servicecomb-saga/issues{/number}","pulls_url":"https://api.github.com/repos/cherrylzhao/incubator-servicecomb-saga/pulls{/number}","milestones_url":"https://api.github.com/repos/cherrylzhao/incubator-servicecomb-saga/milestones{/number}","notifications_url":"https://api.github.com/repos/cherrylzhao/incubator-servicecomb-saga/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cherrylzhao/incubator-servicecomb-saga/labels{/name}","releases_url":"https://api.github.com/repos/cherrylzhao/incubator-servicecomb-saga/releases{/id}","deployments_url":"https://api.github.com/repos/cherrylzhao/incubator-servicecomb-saga/deployments","created_at":"2018-08-18T00:07:35Z","updated_at":"2018-08-18T00:07:39Z","pushed_at":"2018-08-21T13:50:10Z","git_url":"git://github.com/cherrylzhao/incubator-servicecomb-saga.git","ssh_url":"git@github.com:cherrylzhao/incubator-servicecomb-saga.git","clone_url":"https://github.com/cherrylzhao/incubator-servicecomb-saga.git","svn_url":"https://github.com/cherrylzhao/incubator-servicecomb-saga","homepage":"https://servicecomb.apache.org/","size":3403,"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":"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":"apache:SCB-665","ref":"SCB-665","sha":"718893b050f288ed60e79fd85b61f66705334c2e","user":{"login":"apache","id":47359,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQ3MzU5","avatar_url":"https://avatars0.githubusercontent.com/u/47359?v=4","gravatar_id":"","url":"https://api.github.com/users/apache","html_url":"https://github.com/apache","followers_url":"https://api.github.com/users/apache/followers","following_url":"https://api.github.com/users/apache/following{/other_user}","gists_url":"https://api.github.com/users/apache/gists{/gist_id}","starred_url":"https://api.github.com/users/apache/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apache/subscriptions","organizations_url":"https://api.github.com/users/apache/orgs","repos_url":"https://api.github.com/users/apache/repos","events_url":"https://api.github.com/users/apache/events{/privacy}","received_events_url":"https://api.github.com/users/apache/received_events","type":"Organization","site_admin":false},"repo":{"id":97573661,"node_id":"MDEwOlJlcG9zaXRvcnk5NzU3MzY2MQ==","name":"incubator-servicecomb-saga","full_name":"apache/incubator-servicecomb-saga","owner":{"login":"apache","id":47359,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQ3MzU5","avatar_url":"https://avatars0.githubusercontent.com/u/47359?v=4","gravatar_id":"","url":"https://api.github.com/users/apache","html_url":"https://github.com/apache","followers_url":"https://api.github.com/users/apache/followers","following_url":"https://api.github.com/users/apache/following{/other_user}","gists_url":"https://api.github.com/users/apache/gists{/gist_id}","starred_url":"https://api.github.com/users/apache/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apache/subscriptions","organizations_url":"https://api.github.com/users/apache/orgs","repos_url":"https://api.github.com/users/apache/repos","events_url":"https://api.github.com/users/apache/events{/privacy}","received_events_url":"https://api.github.com/users/apache/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/apache/incubator-servicecomb-saga","description":"Apache ServiceComb Saga (Incubating) ","fork":false,"url":"https://api.github.com/repos/apache/incubator-servicecomb-saga","forks_url":"https://api.github.com/repos/apache/incubator-servicecomb-saga/forks","keys_url":"https://api.github.com/repos/apache/incubator-servicecomb-saga/keys{/key_id}","collaborators_url":"https://api.github.com/repos/apache/incubator-servicecomb-saga/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/apache/incubator-servicecomb-saga/teams","hooks_url":"https://api.github.com/repos/apache/incubator-servicecomb-saga/hooks","issue_events_url":"https://api.github.com/repos/apache/incubator-servicecomb-saga/issues/events{/number}","events_url":"https://api.github.com/repos/apache/incubator-servicecomb-saga/events","assignees_url":"https://api.github.com/repos/apache/incubator-servicecomb-saga/assignees{/user}","branches_url":"https://api.github.com/repos/apache/incubator-servicecomb-saga/branches{/branch}","tags_url":"https://api.github.com/repos/apache/incubator-servicecomb-saga/tags","blobs_url":"https://api.github.com/repos/apache/incubator-servicecomb-saga/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/apache/incubator-servicecomb-saga/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/apache/incubator-servicecomb-saga/git/refs{/sha}","trees_url":"https://api.github.com/repos/apache/incubator-servicecomb-saga/git/trees{/sha}","statuses_url":"https://api.github.com/repos/apache/incubator-servicecomb-saga/statuses/{sha}","languages_url":"https://api.github.com/repos/apache/incubator-servicecomb-saga/languages","stargazers_url":"https://api.github.com/repos/apache/incubator-servicecomb-saga/stargazers","contributors_url":"https://api.github.com/repos/apache/incubator-servicecomb-saga/contributors","subscribers_url":"https://api.github.com/repos/apache/incubator-servicecomb-saga/subscribers","subscription_url":"https://api.github.com/repos/apache/incubator-servicecomb-saga/subscription","commits_url":"https://api.github.com/repos/apache/incubator-servicecomb-saga/commits{/sha}","git_commits_url":"https://api.github.com/repos/apache/incubator-servicecomb-saga/git/commits{/sha}","comments_url":"https://api.github.com/repos/apache/incubator-servicecomb-saga/comments{/number}","issue_comment_url":"https://api.github.com/repos/apache/incubator-servicecomb-saga/issues/comments{/number}","contents_url":"https://api.github.com/repos/apache/incubator-servicecomb-saga/contents/{+path}","compare_url":"https://api.github.com/repos/apache/incubator-servicecomb-saga/compare/{base}...{head}","merges_url":"https://api.github.com/repos/apache/incubator-servicecomb-saga/merges","archive_url":"https://api.github.com/repos/apache/incubator-servicecomb-saga/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/apache/incubator-servicecomb-saga/downloads","issues_url":"https://api.github.com/repos/apache/incubator-servicecomb-saga/issues{/number}","pulls_url":"https://api.github.com/repos/apache/incubator-servicecomb-saga/pulls{/number}","milestones_url":"https://api.github.com/repos/apache/incubator-servicecomb-saga/milestones{/number}","notifications_url":"https://api.github.com/repos/apache/incubator-servicecomb-saga/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/apache/incubator-servicecomb-saga/labels{/name}","releases_url":"https://api.github.com/repos/apache/incubator-servicecomb-saga/releases{/id}","deployments_url":"https://api.github.com/repos/apache/incubator-servicecomb-saga/deployments","created_at":"2017-07-18T08:27:38Z","updated_at":"2018-08-21T14:19:38Z","pushed_at":"2018-08-21T14:19:36Z","git_url":"git://github.com/apache/incubator-servicecomb-saga.git","ssh_url":"git@github.com:apache/incubator-servicecomb-saga.git","clone_url":"https://github.com/apache/incubator-servicecomb-saga.git","svn_url":"https://github.com/apache/incubator-servicecomb-saga","homepage":"https://servicecomb.apache.org/","size":3450,"stargazers_count":390,"watchers_count":390,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":157,"mirror_url":null,"archived":false,"open_issues_count":20,"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":157,"open_issues":20,"watchers":390,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/apache/incubator-servicecomb-saga/pulls/260"},"html":{"href":"https://github.com/apache/incubator-servicecomb-saga/pull/260"},"issue":{"href":"https://api.github.com/repos/apache/incubator-servicecomb-saga/issues/260"},"comments":{"href":"https://api.github.com/repos/apache/incubator-servicecomb-saga/issues/260/comments"},"review_comments":{"href":"https://api.github.com/repos/apache/incubator-servicecomb-saga/pulls/260/comments"},"review_comment":{"href":"https://api.github.com/repos/apache/incubator-servicecomb-saga/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/apache/incubator-servicecomb-saga/pulls/260/commits"},"statuses":{"href":"https://api.github.com/repos/apache/incubator-servicecomb-saga/statuses/94823342db959c1e0f5738e0153c174ba2473c8d"}},"author_association":"NONE"}}
{"actor":{"display_login":"WillemJiang"}}