{"action":"created","comment":{"url":"https://api.github.com/repos/alibaba/pouch/pulls/comments/207769220","pull_request_review_id":143446449,"id":207769220,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIwNzc2OTIyMA==","diff_hunk":"@@ -3597,6 +3597,49 @@ definitions:\n           items:\n             type: \"string\"\n \n+  EventsMessage:","path":"apis/swagger.yml","position":4,"original_position":4,"commit_id":"9b007ddfe4100cfab0099dcacee34ba58f59c4fc","original_commit_id":"9b007ddfe4100cfab0099dcacee34ba58f59c4fc","user":{"login":"HusterWan","id":10414039,"node_id":"MDQ6VXNlcjEwNDE0MDM5","avatar_url":"https://avatars3.githubusercontent.com/u/10414039?v=4","gravatar_id":"","url":"https://api.github.com/users/HusterWan","html_url":"https://github.com/HusterWan","followers_url":"https://api.github.com/users/HusterWan/followers","following_url":"https://api.github.com/users/HusterWan/following{/other_user}","gists_url":"https://api.github.com/users/HusterWan/gists{/gist_id}","starred_url":"https://api.github.com/users/HusterWan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HusterWan/subscriptions","organizations_url":"https://api.github.com/users/HusterWan/orgs","repos_url":"https://api.github.com/users/HusterWan/repos","events_url":"https://api.github.com/users/HusterWan/events{/privacy}","received_events_url":"https://api.github.com/users/HusterWan/received_events","type":"User","site_admin":false},"body":"i have split this whole feature into 4 parts, the api will be added at API pr ","created_at":"2018-08-06T03:57:12Z","updated_at":"2018-08-06T03:57:12Z","html_url":"https://github.com/alibaba/pouch/pull/2053#discussion_r207769220","pull_request_url":"https://api.github.com/repos/alibaba/pouch/pulls/2053","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/alibaba/pouch/pulls/comments/207769220"},"html":{"href":"https://github.com/alibaba/pouch/pull/2053#discussion_r207769220"},"pull_request":{"href":"https://api.github.com/repos/alibaba/pouch/pulls/2053"}},"in_reply_to_id":207767623},"pull_request":{"url":"https://api.github.com/repos/alibaba/pouch/pulls/2053","id":206230843,"node_id":"MDExOlB1bGxSZXF1ZXN0MjA2MjMwODQz","html_url":"https://github.com/alibaba/pouch/pull/2053","diff_url":"https://github.com/alibaba/pouch/pull/2053.diff","patch_url":"https://github.com/alibaba/pouch/pull/2053.patch","issue_url":"https://api.github.com/repos/alibaba/pouch/issues/2053","number":2053,"state":"open","locked":false,"title":"feature: support event service","user":{"login":"HusterWan","id":10414039,"node_id":"MDQ6VXNlcjEwNDE0MDM5","avatar_url":"https://avatars3.githubusercontent.com/u/10414039?v=4","gravatar_id":"","url":"https://api.github.com/users/HusterWan","html_url":"https://github.com/HusterWan","followers_url":"https://api.github.com/users/HusterWan/followers","following_url":"https://api.github.com/users/HusterWan/following{/other_user}","gists_url":"https://api.github.com/users/HusterWan/gists{/gist_id}","starred_url":"https://api.github.com/users/HusterWan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HusterWan/subscriptions","organizations_url":"https://api.github.com/users/HusterWan/orgs","repos_url":"https://api.github.com/users/HusterWan/repos","events_url":"https://api.github.com/users/HusterWan/events{/privacy}","received_events_url":"https://api.github.com/users/HusterWan/received_events","type":"User","site_admin":false},"body":"Signed-off-by: Michael Wan <zirenwan@gmail.com>\r\n\r\n### Ⅰ. Describe what this PR did\r\n\r\nThis PR is to finish the core logic of event service\r\n\r\n`Event` Service has two function:\r\n  * Publish: send event msg to `Event` Service\r\n  * Subscribe: the client can subscribe all events of the pouchd\r\n\r\nI also support the `filter` to filter the event messages that client does not care about\r\n\r\n### Ⅱ. Does this pull request fix one issue?\r\nfixes part of #2052 \r\n\r\n### Ⅲ. Describe how you did it\r\n\r\n\r\n### Ⅳ. Describe how to verify it\r\n\r\n\r\n### Ⅴ. Special notes for reviews\r\n\r\n\r\n","created_at":"2018-08-05T09:47:03Z","updated_at":"2018-08-06T03:57:12Z","closed_at":null,"merged_at":null,"merge_commit_sha":"9fb0128ab7d2f33b845a7a6fdc6fc434e7f73806","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":722348097,"node_id":"MDU6TGFiZWw3MjIzNDgwOTc=","url":"https://api.github.com/repos/alibaba/pouch/labels/kind/feature","name":"kind/feature","color":"1d76db","default":false},{"id":722355711,"node_id":"MDU6TGFiZWw3MjIzNTU3MTE=","url":"https://api.github.com/repos/alibaba/pouch/labels/size/XXL","name":"size/XXL","color":"cc3d73","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/alibaba/pouch/pulls/2053/commits","review_comments_url":"https://api.github.com/repos/alibaba/pouch/pulls/2053/comments","review_comment_url":"https://api.github.com/repos/alibaba/pouch/pulls/comments{/number}","comments_url":"https://api.github.com/repos/alibaba/pouch/issues/2053/comments","statuses_url":"https://api.github.com/repos/alibaba/pouch/statuses/9b007ddfe4100cfab0099dcacee34ba58f59c4fc","head":{"label":"HusterWan:zr/support-event","ref":"zr/support-event","sha":"9b007ddfe4100cfab0099dcacee34ba58f59c4fc","user":{"login":"HusterWan","id":10414039,"node_id":"MDQ6VXNlcjEwNDE0MDM5","avatar_url":"https://avatars3.githubusercontent.com/u/10414039?v=4","gravatar_id":"","url":"https://api.github.com/users/HusterWan","html_url":"https://github.com/HusterWan","followers_url":"https://api.github.com/users/HusterWan/followers","following_url":"https://api.github.com/users/HusterWan/following{/other_user}","gists_url":"https://api.github.com/users/HusterWan/gists{/gist_id}","starred_url":"https://api.github.com/users/HusterWan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HusterWan/subscriptions","organizations_url":"https://api.github.com/users/HusterWan/orgs","repos_url":"https://api.github.com/users/HusterWan/repos","events_url":"https://api.github.com/users/HusterWan/events{/privacy}","received_events_url":"https://api.github.com/users/HusterWan/received_events","type":"User","site_admin":false},"repo":{"id":111375578,"node_id":"MDEwOlJlcG9zaXRvcnkxMTEzNzU1Nzg=","name":"pouch","full_name":"HusterWan/pouch","owner":{"login":"HusterWan","id":10414039,"node_id":"MDQ6VXNlcjEwNDE0MDM5","avatar_url":"https://avatars3.githubusercontent.com/u/10414039?v=4","gravatar_id":"","url":"https://api.github.com/users/HusterWan","html_url":"https://github.com/HusterWan","followers_url":"https://api.github.com/users/HusterWan/followers","following_url":"https://api.github.com/users/HusterWan/following{/other_user}","gists_url":"https://api.github.com/users/HusterWan/gists{/gist_id}","starred_url":"https://api.github.com/users/HusterWan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HusterWan/subscriptions","organizations_url":"https://api.github.com/users/HusterWan/orgs","repos_url":"https://api.github.com/users/HusterWan/repos","events_url":"https://api.github.com/users/HusterWan/events{/privacy}","received_events_url":"https://api.github.com/users/HusterWan/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/HusterWan/pouch","description":"Pouch is an open-source project created to promote the container technology movement.","fork":true,"url":"https://api.github.com/repos/HusterWan/pouch","forks_url":"https://api.github.com/repos/HusterWan/pouch/forks","keys_url":"https://api.github.com/repos/HusterWan/pouch/keys{/key_id}","collaborators_url":"https://api.github.com/repos/HusterWan/pouch/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/HusterWan/pouch/teams","hooks_url":"https://api.github.com/repos/HusterWan/pouch/hooks","issue_events_url":"https://api.github.com/repos/HusterWan/pouch/issues/events{/number}","events_url":"https://api.github.com/repos/HusterWan/pouch/events","assignees_url":"https://api.github.com/repos/HusterWan/pouch/assignees{/user}","branches_url":"https://api.github.com/repos/HusterWan/pouch/branches{/branch}","tags_url":"https://api.github.com/repos/HusterWan/pouch/tags","blobs_url":"https://api.github.com/repos/HusterWan/pouch/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/HusterWan/pouch/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/HusterWan/pouch/git/refs{/sha}","trees_url":"https://api.github.com/repos/HusterWan/pouch/git/trees{/sha}","statuses_url":"https://api.github.com/repos/HusterWan/pouch/statuses/{sha}","languages_url":"https://api.github.com/repos/HusterWan/pouch/languages","stargazers_url":"https://api.github.com/repos/HusterWan/pouch/stargazers","contributors_url":"https://api.github.com/repos/HusterWan/pouch/contributors","subscribers_url":"https://api.github.com/repos/HusterWan/pouch/subscribers","subscription_url":"https://api.github.com/repos/HusterWan/pouch/subscription","commits_url":"https://api.github.com/repos/HusterWan/pouch/commits{/sha}","git_commits_url":"https://api.github.com/repos/HusterWan/pouch/git/commits{/sha}","comments_url":"https://api.github.com/repos/HusterWan/pouch/comments{/number}","issue_comment_url":"https://api.github.com/repos/HusterWan/pouch/issues/comments{/number}","contents_url":"https://api.github.com/repos/HusterWan/pouch/contents/{+path}","compare_url":"https://api.github.com/repos/HusterWan/pouch/compare/{base}...{head}","merges_url":"https://api.github.com/repos/HusterWan/pouch/merges","archive_url":"https://api.github.com/repos/HusterWan/pouch/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/HusterWan/pouch/downloads","issues_url":"https://api.github.com/repos/HusterWan/pouch/issues{/number}","pulls_url":"https://api.github.com/repos/HusterWan/pouch/pulls{/number}","milestones_url":"https://api.github.com/repos/HusterWan/pouch/milestones{/number}","notifications_url":"https://api.github.com/repos/HusterWan/pouch/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/HusterWan/pouch/labels{/name}","releases_url":"https://api.github.com/repos/HusterWan/pouch/releases{/id}","deployments_url":"https://api.github.com/repos/HusterWan/pouch/deployments","created_at":"2017-11-20T07:19:16Z","updated_at":"2018-07-31T07:24:13Z","pushed_at":"2018-08-05T13:12:42Z","git_url":"git://github.com/HusterWan/pouch.git","ssh_url":"git@github.com:HusterWan/pouch.git","clone_url":"https://github.com/HusterWan/pouch.git","svn_url":"https://github.com/HusterWan/pouch","homepage":"","size":18717,"stargazers_count":0,"watchers_count":0,"language":"Go","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":"alibaba:master","ref":"master","sha":"f76d3bc5acd2fba61d5d65e6aafc6b0cc3a91b03","user":{"login":"alibaba","id":1961952,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE5NjE5NTI=","avatar_url":"https://avatars1.githubusercontent.com/u/1961952?v=4","gravatar_id":"","url":"https://api.github.com/users/alibaba","html_url":"https://github.com/alibaba","followers_url":"https://api.github.com/users/alibaba/followers","following_url":"https://api.github.com/users/alibaba/following{/other_user}","gists_url":"https://api.github.com/users/alibaba/gists{/gist_id}","starred_url":"https://api.github.com/users/alibaba/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alibaba/subscriptions","organizations_url":"https://api.github.com/users/alibaba/orgs","repos_url":"https://api.github.com/users/alibaba/repos","events_url":"https://api.github.com/users/alibaba/events{/privacy}","received_events_url":"https://api.github.com/users/alibaba/received_events","type":"Organization","site_admin":false},"repo":{"id":102555965,"node_id":"MDEwOlJlcG9zaXRvcnkxMDI1NTU5NjU=","name":"pouch","full_name":"alibaba/pouch","owner":{"login":"alibaba","id":1961952,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE5NjE5NTI=","avatar_url":"https://avatars1.githubusercontent.com/u/1961952?v=4","gravatar_id":"","url":"https://api.github.com/users/alibaba","html_url":"https://github.com/alibaba","followers_url":"https://api.github.com/users/alibaba/followers","following_url":"https://api.github.com/users/alibaba/following{/other_user}","gists_url":"https://api.github.com/users/alibaba/gists{/gist_id}","starred_url":"https://api.github.com/users/alibaba/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alibaba/subscriptions","organizations_url":"https://api.github.com/users/alibaba/orgs","repos_url":"https://api.github.com/users/alibaba/repos","events_url":"https://api.github.com/users/alibaba/events{/privacy}","received_events_url":"https://api.github.com/users/alibaba/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/alibaba/pouch","description":"An Efficient Enterprise-class Rich Container Engine","fork":false,"url":"https://api.github.com/repos/alibaba/pouch","forks_url":"https://api.github.com/repos/alibaba/pouch/forks","keys_url":"https://api.github.com/repos/alibaba/pouch/keys{/key_id}","collaborators_url":"https://api.github.com/repos/alibaba/pouch/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/alibaba/pouch/teams","hooks_url":"https://api.github.com/repos/alibaba/pouch/hooks","issue_events_url":"https://api.github.com/repos/alibaba/pouch/issues/events{/number}","events_url":"https://api.github.com/repos/alibaba/pouch/events","assignees_url":"https://api.github.com/repos/alibaba/pouch/assignees{/user}","branches_url":"https://api.github.com/repos/alibaba/pouch/branches{/branch}","tags_url":"https://api.github.com/repos/alibaba/pouch/tags","blobs_url":"https://api.github.com/repos/alibaba/pouch/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/alibaba/pouch/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/alibaba/pouch/git/refs{/sha}","trees_url":"https://api.github.com/repos/alibaba/pouch/git/trees{/sha}","statuses_url":"https://api.github.com/repos/alibaba/pouch/statuses/{sha}","languages_url":"https://api.github.com/repos/alibaba/pouch/languages","stargazers_url":"https://api.github.com/repos/alibaba/pouch/stargazers","contributors_url":"https://api.github.com/repos/alibaba/pouch/contributors","subscribers_url":"https://api.github.com/repos/alibaba/pouch/subscribers","subscription_url":"https://api.github.com/repos/alibaba/pouch/subscription","commits_url":"https://api.github.com/repos/alibaba/pouch/commits{/sha}","git_commits_url":"https://api.github.com/repos/alibaba/pouch/git/commits{/sha}","comments_url":"https://api.github.com/repos/alibaba/pouch/comments{/number}","issue_comment_url":"https://api.github.com/repos/alibaba/pouch/issues/comments{/number}","contents_url":"https://api.github.com/repos/alibaba/pouch/contents/{+path}","compare_url":"https://api.github.com/repos/alibaba/pouch/compare/{base}...{head}","merges_url":"https://api.github.com/repos/alibaba/pouch/merges","archive_url":"https://api.github.com/repos/alibaba/pouch/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/alibaba/pouch/downloads","issues_url":"https://api.github.com/repos/alibaba/pouch/issues{/number}","pulls_url":"https://api.github.com/repos/alibaba/pouch/pulls{/number}","milestones_url":"https://api.github.com/repos/alibaba/pouch/milestones{/number}","notifications_url":"https://api.github.com/repos/alibaba/pouch/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/alibaba/pouch/labels{/name}","releases_url":"https://api.github.com/repos/alibaba/pouch/releases{/id}","deployments_url":"https://api.github.com/repos/alibaba/pouch/deployments","created_at":"2017-09-06T03:01:51Z","updated_at":"2018-08-06T03:23:56Z","pushed_at":"2018-08-06T03:23:54Z","git_url":"git://github.com/alibaba/pouch.git","ssh_url":"git@github.com:alibaba/pouch.git","clone_url":"https://github.com/alibaba/pouch.git","svn_url":"https://github.com/alibaba/pouch","homepage":"https://pouchcontainer.io","size":18612,"stargazers_count":2997,"watchers_count":2997,"language":"Go","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":771,"mirror_url":null,"archived":false,"open_issues_count":168,"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":771,"open_issues":168,"watchers":2997,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/alibaba/pouch/pulls/2053"},"html":{"href":"https://github.com/alibaba/pouch/pull/2053"},"issue":{"href":"https://api.github.com/repos/alibaba/pouch/issues/2053"},"comments":{"href":"https://api.github.com/repos/alibaba/pouch/issues/2053/comments"},"review_comments":{"href":"https://api.github.com/repos/alibaba/pouch/pulls/2053/comments"},"review_comment":{"href":"https://api.github.com/repos/alibaba/pouch/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/alibaba/pouch/pulls/2053/commits"},"statuses":{"href":"https://api.github.com/repos/alibaba/pouch/statuses/9b007ddfe4100cfab0099dcacee34ba58f59c4fc"}},"author_association":"MEMBER"}}
{"actor":{"display_login":"HusterWan"}}