{"action":"created","comment":{"url":"https://api.github.com/repos/mesos/commons/pulls/comments/36993981","id":36993981,"diff_hunk":"@@ -0,0 +1,110 @@\n+=========================","path":"docs/leader_discovery.rst","position":1,"original_position":1,"commit_id":"a22de245fbfd158986956fb36259cef8b80d4ab5","original_commit_id":"a22de245fbfd158986956fb36259cef8b80d4ab5","user":{"login":"vinodkone","id":48131,"avatar_url":"https://avatars.githubusercontent.com/u/48131?v=3","gravatar_id":"","url":"https://api.github.com/users/vinodkone","html_url":"https://github.com/vinodkone","followers_url":"https://api.github.com/users/vinodkone/followers","following_url":"https://api.github.com/users/vinodkone/following{/other_user}","gists_url":"https://api.github.com/users/vinodkone/gists{/gist_id}","starred_url":"https://api.github.com/users/vinodkone/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vinodkone/subscriptions","organizations_url":"https://api.github.com/users/vinodkone/orgs","repos_url":"https://api.github.com/users/vinodkone/repos","events_url":"https://api.github.com/users/vinodkone/events{/privacy}","received_events_url":"https://api.github.com/users/vinodkone/received_events","type":"User","site_admin":false},"body":"ditto. mark down please.","created_at":"2015-08-13T16:22:40Z","updated_at":"2015-08-13T16:22:40Z","html_url":"https://github.com/mesos/commons/pull/2#discussion_r36993981","pull_request_url":"https://api.github.com/repos/mesos/commons/pulls/2","_links":{"self":{"href":"https://api.github.com/repos/mesos/commons/pulls/comments/36993981"},"html":{"href":"https://github.com/mesos/commons/pull/2#discussion_r36993981"},"pull_request":{"href":"https://api.github.com/repos/mesos/commons/pulls/2"}}},"pull_request":{"url":"https://api.github.com/repos/mesos/commons/pulls/2","id":42178323,"html_url":"https://github.com/mesos/commons/pull/2","diff_url":"https://github.com/mesos/commons/pull/2.diff","patch_url":"https://github.com/mesos/commons/pull/2.patch","issue_url":"https://api.github.com/repos/mesos/commons/issues/2","number":2,"state":"open","locked":false,"title":"ZooKeeper MasterInfo discovery (JSON)","user":{"login":"massenz","id":1153951,"avatar_url":"https://avatars.githubusercontent.com/u/1153951?v=3","gravatar_id":"","url":"https://api.github.com/users/massenz","html_url":"https://github.com/massenz","followers_url":"https://api.github.com/users/massenz/followers","following_url":"https://api.github.com/users/massenz/following{/other_user}","gists_url":"https://api.github.com/users/massenz/gists{/gist_id}","starred_url":"https://api.github.com/users/massenz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/massenz/subscriptions","organizations_url":"https://api.github.com/users/massenz/orgs","repos_url":"https://api.github.com/users/massenz/repos","events_url":"https://api.github.com/users/massenz/events{/privacy}","received_events_url":"https://api.github.com/users/massenz/received_events","type":"User","site_admin":false},"body":"Initial implementation of a Python library to discover\r\nleading Master information from ZooKeeper.\r\n\r\nMain use case is the discovery of JSON information, available\r\nfrom Mesos 0.24 onwards; however, the approach can be used with\r\nolder version of Mesos, by simply making the Protobuf bindings\r\navailable.\r\n\r\nJira: MESOS-2912","created_at":"2015-08-11T21:09:45Z","updated_at":"2015-08-13T16:22:40Z","closed_at":null,"merged_at":null,"merge_commit_sha":"11a8d00e9761512fb905eecdc3244406a194cd65","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/mesos/commons/pulls/2/commits","review_comments_url":"https://api.github.com/repos/mesos/commons/pulls/2/comments","review_comment_url":"https://api.github.com/repos/mesos/commons/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mesos/commons/issues/2/comments","statuses_url":"https://api.github.com/repos/mesos/commons/statuses/a22de245fbfd158986956fb36259cef8b80d4ab5","head":{"label":"mesos:marco/MESOS-2912_json_minfo","ref":"marco/MESOS-2912_json_minfo","sha":"a22de245fbfd158986956fb36259cef8b80d4ab5","user":{"login":"mesos","id":229272,"avatar_url":"https://avatars.githubusercontent.com/u/229272?v=3","gravatar_id":"","url":"https://api.github.com/users/mesos","html_url":"https://github.com/mesos","followers_url":"https://api.github.com/users/mesos/followers","following_url":"https://api.github.com/users/mesos/following{/other_user}","gists_url":"https://api.github.com/users/mesos/gists{/gist_id}","starred_url":"https://api.github.com/users/mesos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mesos/subscriptions","organizations_url":"https://api.github.com/users/mesos/orgs","repos_url":"https://api.github.com/users/mesos/repos","events_url":"https://api.github.com/users/mesos/events{/privacy}","received_events_url":"https://api.github.com/users/mesos/received_events","type":"Organization","site_admin":false},"repo":{"id":40271434,"name":"commons","full_name":"mesos/commons","owner":{"login":"mesos","id":229272,"avatar_url":"https://avatars.githubusercontent.com/u/229272?v=3","gravatar_id":"","url":"https://api.github.com/users/mesos","html_url":"https://github.com/mesos","followers_url":"https://api.github.com/users/mesos/followers","following_url":"https://api.github.com/users/mesos/following{/other_user}","gists_url":"https://api.github.com/users/mesos/gists{/gist_id}","starred_url":"https://api.github.com/users/mesos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mesos/subscriptions","organizations_url":"https://api.github.com/users/mesos/orgs","repos_url":"https://api.github.com/users/mesos/repos","events_url":"https://api.github.com/users/mesos/events{/privacy}","received_events_url":"https://api.github.com/users/mesos/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/mesos/commons","description":"Mesos common libraries for python and the jvm","fork":false,"url":"https://api.github.com/repos/mesos/commons","forks_url":"https://api.github.com/repos/mesos/commons/forks","keys_url":"https://api.github.com/repos/mesos/commons/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mesos/commons/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mesos/commons/teams","hooks_url":"https://api.github.com/repos/mesos/commons/hooks","issue_events_url":"https://api.github.com/repos/mesos/commons/issues/events{/number}","events_url":"https://api.github.com/repos/mesos/commons/events","assignees_url":"https://api.github.com/repos/mesos/commons/assignees{/user}","branches_url":"https://api.github.com/repos/mesos/commons/branches{/branch}","tags_url":"https://api.github.com/repos/mesos/commons/tags","blobs_url":"https://api.github.com/repos/mesos/commons/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mesos/commons/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mesos/commons/git/refs{/sha}","trees_url":"https://api.github.com/repos/mesos/commons/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mesos/commons/statuses/{sha}","languages_url":"https://api.github.com/repos/mesos/commons/languages","stargazers_url":"https://api.github.com/repos/mesos/commons/stargazers","contributors_url":"https://api.github.com/repos/mesos/commons/contributors","subscribers_url":"https://api.github.com/repos/mesos/commons/subscribers","subscription_url":"https://api.github.com/repos/mesos/commons/subscription","commits_url":"https://api.github.com/repos/mesos/commons/commits{/sha}","git_commits_url":"https://api.github.com/repos/mesos/commons/git/commits{/sha}","comments_url":"https://api.github.com/repos/mesos/commons/comments{/number}","issue_comment_url":"https://api.github.com/repos/mesos/commons/issues/comments{/number}","contents_url":"https://api.github.com/repos/mesos/commons/contents/{+path}","compare_url":"https://api.github.com/repos/mesos/commons/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mesos/commons/merges","archive_url":"https://api.github.com/repos/mesos/commons/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mesos/commons/downloads","issues_url":"https://api.github.com/repos/mesos/commons/issues{/number}","pulls_url":"https://api.github.com/repos/mesos/commons/pulls{/number}","milestones_url":"https://api.github.com/repos/mesos/commons/milestones{/number}","notifications_url":"https://api.github.com/repos/mesos/commons/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mesos/commons/labels{/name}","releases_url":"https://api.github.com/repos/mesos/commons/releases{/id}","created_at":"2015-08-05T22:16:15Z","updated_at":"2015-08-11T21:09:21Z","pushed_at":"2015-08-11T21:09:45Z","git_url":"git://github.com/mesos/commons.git","ssh_url":"git@github.com:mesos/commons.git","clone_url":"https://github.com/mesos/commons.git","svn_url":"https://github.com/mesos/commons","homepage":null,"size":160,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"mesos:master","ref":"master","sha":"7f40542ab8935526365d036327176c28db7d2be8","user":{"login":"mesos","id":229272,"avatar_url":"https://avatars.githubusercontent.com/u/229272?v=3","gravatar_id":"","url":"https://api.github.com/users/mesos","html_url":"https://github.com/mesos","followers_url":"https://api.github.com/users/mesos/followers","following_url":"https://api.github.com/users/mesos/following{/other_user}","gists_url":"https://api.github.com/users/mesos/gists{/gist_id}","starred_url":"https://api.github.com/users/mesos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mesos/subscriptions","organizations_url":"https://api.github.com/users/mesos/orgs","repos_url":"https://api.github.com/users/mesos/repos","events_url":"https://api.github.com/users/mesos/events{/privacy}","received_events_url":"https://api.github.com/users/mesos/received_events","type":"Organization","site_admin":false},"repo":{"id":40271434,"name":"commons","full_name":"mesos/commons","owner":{"login":"mesos","id":229272,"avatar_url":"https://avatars.githubusercontent.com/u/229272?v=3","gravatar_id":"","url":"https://api.github.com/users/mesos","html_url":"https://github.com/mesos","followers_url":"https://api.github.com/users/mesos/followers","following_url":"https://api.github.com/users/mesos/following{/other_user}","gists_url":"https://api.github.com/users/mesos/gists{/gist_id}","starred_url":"https://api.github.com/users/mesos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mesos/subscriptions","organizations_url":"https://api.github.com/users/mesos/orgs","repos_url":"https://api.github.com/users/mesos/repos","events_url":"https://api.github.com/users/mesos/events{/privacy}","received_events_url":"https://api.github.com/users/mesos/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/mesos/commons","description":"Mesos common libraries for python and the jvm","fork":false,"url":"https://api.github.com/repos/mesos/commons","forks_url":"https://api.github.com/repos/mesos/commons/forks","keys_url":"https://api.github.com/repos/mesos/commons/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mesos/commons/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mesos/commons/teams","hooks_url":"https://api.github.com/repos/mesos/commons/hooks","issue_events_url":"https://api.github.com/repos/mesos/commons/issues/events{/number}","events_url":"https://api.github.com/repos/mesos/commons/events","assignees_url":"https://api.github.com/repos/mesos/commons/assignees{/user}","branches_url":"https://api.github.com/repos/mesos/commons/branches{/branch}","tags_url":"https://api.github.com/repos/mesos/commons/tags","blobs_url":"https://api.github.com/repos/mesos/commons/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mesos/commons/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mesos/commons/git/refs{/sha}","trees_url":"https://api.github.com/repos/mesos/commons/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mesos/commons/statuses/{sha}","languages_url":"https://api.github.com/repos/mesos/commons/languages","stargazers_url":"https://api.github.com/repos/mesos/commons/stargazers","contributors_url":"https://api.github.com/repos/mesos/commons/contributors","subscribers_url":"https://api.github.com/repos/mesos/commons/subscribers","subscription_url":"https://api.github.com/repos/mesos/commons/subscription","commits_url":"https://api.github.com/repos/mesos/commons/commits{/sha}","git_commits_url":"https://api.github.com/repos/mesos/commons/git/commits{/sha}","comments_url":"https://api.github.com/repos/mesos/commons/comments{/number}","issue_comment_url":"https://api.github.com/repos/mesos/commons/issues/comments{/number}","contents_url":"https://api.github.com/repos/mesos/commons/contents/{+path}","compare_url":"https://api.github.com/repos/mesos/commons/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mesos/commons/merges","archive_url":"https://api.github.com/repos/mesos/commons/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mesos/commons/downloads","issues_url":"https://api.github.com/repos/mesos/commons/issues{/number}","pulls_url":"https://api.github.com/repos/mesos/commons/pulls{/number}","milestones_url":"https://api.github.com/repos/mesos/commons/milestones{/number}","notifications_url":"https://api.github.com/repos/mesos/commons/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mesos/commons/labels{/name}","releases_url":"https://api.github.com/repos/mesos/commons/releases{/id}","created_at":"2015-08-05T22:16:15Z","updated_at":"2015-08-11T21:09:21Z","pushed_at":"2015-08-11T21:09:45Z","git_url":"git://github.com/mesos/commons.git","ssh_url":"git@github.com:mesos/commons.git","clone_url":"https://github.com/mesos/commons.git","svn_url":"https://github.com/mesos/commons","homepage":null,"size":160,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/mesos/commons/pulls/2"},"html":{"href":"https://github.com/mesos/commons/pull/2"},"issue":{"href":"https://api.github.com/repos/mesos/commons/issues/2"},"comments":{"href":"https://api.github.com/repos/mesos/commons/issues/2/comments"},"review_comments":{"href":"https://api.github.com/repos/mesos/commons/pulls/2/comments"},"review_comment":{"href":"https://api.github.com/repos/mesos/commons/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mesos/commons/pulls/2/commits"},"statuses":{"href":"https://api.github.com/repos/mesos/commons/statuses/a22de245fbfd158986956fb36259cef8b80d4ab5"}}}}