{"action":"opened","number":9,"pull_request":{"url":"https://api.github.com/repos/Datanexus/dn-zookeeper/pulls/9","id":122954266,"html_url":"https://github.com/Datanexus/dn-zookeeper/pull/9","diff_url":"https://github.com/Datanexus/dn-zookeeper/pull/9.diff","patch_url":"https://github.com/Datanexus/dn-zookeeper/pull/9.patch","issue_url":"https://api.github.com/repos/Datanexus/dn-zookeeper/issues/9","number":9,"state":"open","locked":false,"title":"Support for adding nodes and new common-flows submodule","user":{"login":"tjmcs","id":1375734,"avatar_url":"https://avatars2.githubusercontent.com/u/1375734?v=3","gravatar_id":"","url":"https://api.github.com/users/tjmcs","html_url":"https://github.com/tjmcs","followers_url":"https://api.github.com/users/tjmcs/followers","following_url":"https://api.github.com/users/tjmcs/following{/other_user}","gists_url":"https://api.github.com/users/tjmcs/gists{/gist_id}","starred_url":"https://api.github.com/users/tjmcs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tjmcs/subscriptions","organizations_url":"https://api.github.com/users/tjmcs/orgs","repos_url":"https://api.github.com/users/tjmcs/repos","events_url":"https://api.github.com/users/tjmcs/events{/privacy}","received_events_url":"https://api.github.com/users/tjmcs/received_events","type":"User","site_admin":false},"body":"The changes in this pull request add a new `common-flows` submodule containing generic flows that can be used to:\r\n    * provision a new cluster/ensemble\r\n    * add new nodes to an existing cluster/ensemble\r\n\r\nIn addition to adding the new `common-flows` submodule, the version of the `common-roles` submodule used in this repository is also updated in this pull request to include the recently added `initialize-play` common role, which has a collection of tasks in it that are used across all of our playbooks to initialize the plays that they contain.\r\n\r\nThis pull request also replaces the `LICENSE.md` file that was included in previous versions with a standard APLv2 LICENSE file in order to bring this repository in line with a similar change we are making in all of our other (public) repositories (the previous `LICENSE.md` file was not recognized by GitHub's infrastructure, so the licensing terms of our repositories were not being reported correctly).\r\n\r\nFinally, the existing `provision-zookeeper.yml` playbook to make use of the `initialize-play` common role and the `provision-nodes` flow in the `common-flows` submodule, and a new `add-nodes.yml` playbook is added to this repository that can be used to add new nodes to an existing Zookeeper ensemble; this last change required adding a few new roles to this repository (the `get-ensemble-role-and-id`, `get-zk-nodes`, and `reconfigure-ensemble-nodes` roles) so that the `add-nodes.yml` playbook can reconfigure the existing ensemble nodes in order to include the nodes that are being added to the ensemble in their configuration, then perform a controlled, rolling restart of the existing ensemble nodes.","created_at":"2017-05-30T00:02:52Z","updated_at":"2017-05-30T00:02:52Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/Datanexus/dn-zookeeper/pulls/9/commits","review_comments_url":"https://api.github.com/repos/Datanexus/dn-zookeeper/pulls/9/comments","review_comment_url":"https://api.github.com/repos/Datanexus/dn-zookeeper/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Datanexus/dn-zookeeper/issues/9/comments","statuses_url":"https://api.github.com/repos/Datanexus/dn-zookeeper/statuses/d847145df3f1bfda94314d10ebed06cb8b766ec7","head":{"label":"tjmcs:tb/refactor-to-use-common-flows","ref":"tb/refactor-to-use-common-flows","sha":"d847145df3f1bfda94314d10ebed06cb8b766ec7","user":{"login":"tjmcs","id":1375734,"avatar_url":"https://avatars2.githubusercontent.com/u/1375734?v=3","gravatar_id":"","url":"https://api.github.com/users/tjmcs","html_url":"https://github.com/tjmcs","followers_url":"https://api.github.com/users/tjmcs/followers","following_url":"https://api.github.com/users/tjmcs/following{/other_user}","gists_url":"https://api.github.com/users/tjmcs/gists{/gist_id}","starred_url":"https://api.github.com/users/tjmcs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tjmcs/subscriptions","organizations_url":"https://api.github.com/users/tjmcs/orgs","repos_url":"https://api.github.com/users/tjmcs/repos","events_url":"https://api.github.com/users/tjmcs/events{/privacy}","received_events_url":"https://api.github.com/users/tjmcs/received_events","type":"User","site_admin":false},"repo":{"id":81792663,"name":"dn-zookeeper","full_name":"tjmcs/dn-zookeeper","owner":{"login":"tjmcs","id":1375734,"avatar_url":"https://avatars2.githubusercontent.com/u/1375734?v=3","gravatar_id":"","url":"https://api.github.com/users/tjmcs","html_url":"https://github.com/tjmcs","followers_url":"https://api.github.com/users/tjmcs/followers","following_url":"https://api.github.com/users/tjmcs/following{/other_user}","gists_url":"https://api.github.com/users/tjmcs/gists{/gist_id}","starred_url":"https://api.github.com/users/tjmcs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tjmcs/subscriptions","organizations_url":"https://api.github.com/users/tjmcs/orgs","repos_url":"https://api.github.com/users/tjmcs/repos","events_url":"https://api.github.com/users/tjmcs/events{/privacy}","received_events_url":"https://api.github.com/users/tjmcs/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/tjmcs/dn-zookeeper","description":"Playbooks/Roles used to deploy Zookeeper","fork":true,"url":"https://api.github.com/repos/tjmcs/dn-zookeeper","forks_url":"https://api.github.com/repos/tjmcs/dn-zookeeper/forks","keys_url":"https://api.github.com/repos/tjmcs/dn-zookeeper/keys{/key_id}","collaborators_url":"https://api.github.com/repos/tjmcs/dn-zookeeper/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/tjmcs/dn-zookeeper/teams","hooks_url":"https://api.github.com/repos/tjmcs/dn-zookeeper/hooks","issue_events_url":"https://api.github.com/repos/tjmcs/dn-zookeeper/issues/events{/number}","events_url":"https://api.github.com/repos/tjmcs/dn-zookeeper/events","assignees_url":"https://api.github.com/repos/tjmcs/dn-zookeeper/assignees{/user}","branches_url":"https://api.github.com/repos/tjmcs/dn-zookeeper/branches{/branch}","tags_url":"https://api.github.com/repos/tjmcs/dn-zookeeper/tags","blobs_url":"https://api.github.com/repos/tjmcs/dn-zookeeper/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/tjmcs/dn-zookeeper/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/tjmcs/dn-zookeeper/git/refs{/sha}","trees_url":"https://api.github.com/repos/tjmcs/dn-zookeeper/git/trees{/sha}","statuses_url":"https://api.github.com/repos/tjmcs/dn-zookeeper/statuses/{sha}","languages_url":"https://api.github.com/repos/tjmcs/dn-zookeeper/languages","stargazers_url":"https://api.github.com/repos/tjmcs/dn-zookeeper/stargazers","contributors_url":"https://api.github.com/repos/tjmcs/dn-zookeeper/contributors","subscribers_url":"https://api.github.com/repos/tjmcs/dn-zookeeper/subscribers","subscription_url":"https://api.github.com/repos/tjmcs/dn-zookeeper/subscription","commits_url":"https://api.github.com/repos/tjmcs/dn-zookeeper/commits{/sha}","git_commits_url":"https://api.github.com/repos/tjmcs/dn-zookeeper/git/commits{/sha}","comments_url":"https://api.github.com/repos/tjmcs/dn-zookeeper/comments{/number}","issue_comment_url":"https://api.github.com/repos/tjmcs/dn-zookeeper/issues/comments{/number}","contents_url":"https://api.github.com/repos/tjmcs/dn-zookeeper/contents/{+path}","compare_url":"https://api.github.com/repos/tjmcs/dn-zookeeper/compare/{base}...{head}","merges_url":"https://api.github.com/repos/tjmcs/dn-zookeeper/merges","archive_url":"https://api.github.com/repos/tjmcs/dn-zookeeper/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/tjmcs/dn-zookeeper/downloads","issues_url":"https://api.github.com/repos/tjmcs/dn-zookeeper/issues{/number}","pulls_url":"https://api.github.com/repos/tjmcs/dn-zookeeper/pulls{/number}","milestones_url":"https://api.github.com/repos/tjmcs/dn-zookeeper/milestones{/number}","notifications_url":"https://api.github.com/repos/tjmcs/dn-zookeeper/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/tjmcs/dn-zookeeper/labels{/name}","releases_url":"https://api.github.com/repos/tjmcs/dn-zookeeper/releases{/id}","deployments_url":"https://api.github.com/repos/tjmcs/dn-zookeeper/deployments","created_at":"2017-02-13T06:31:28Z","updated_at":"2017-02-13T06:30:29Z","pushed_at":"2017-05-29T23:45:13Z","git_url":"git://github.com/tjmcs/dn-zookeeper.git","ssh_url":"git@github.com:tjmcs/dn-zookeeper.git","clone_url":"https://github.com/tjmcs/dn-zookeeper.git","svn_url":"https://github.com/tjmcs/dn-zookeeper","homepage":null,"size":55,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"Datanexus:master","ref":"master","sha":"e793f654ac7643e4152e433b964174057689b375","user":{"login":"Datanexus","id":13738224,"avatar_url":"https://avatars2.githubusercontent.com/u/13738224?v=3","gravatar_id":"","url":"https://api.github.com/users/Datanexus","html_url":"https://github.com/Datanexus","followers_url":"https://api.github.com/users/Datanexus/followers","following_url":"https://api.github.com/users/Datanexus/following{/other_user}","gists_url":"https://api.github.com/users/Datanexus/gists{/gist_id}","starred_url":"https://api.github.com/users/Datanexus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Datanexus/subscriptions","organizations_url":"https://api.github.com/users/Datanexus/orgs","repos_url":"https://api.github.com/users/Datanexus/repos","events_url":"https://api.github.com/users/Datanexus/events{/privacy}","received_events_url":"https://api.github.com/users/Datanexus/received_events","type":"Organization","site_admin":false},"repo":{"id":81764038,"name":"dn-zookeeper","full_name":"Datanexus/dn-zookeeper","owner":{"login":"Datanexus","id":13738224,"avatar_url":"https://avatars2.githubusercontent.com/u/13738224?v=3","gravatar_id":"","url":"https://api.github.com/users/Datanexus","html_url":"https://github.com/Datanexus","followers_url":"https://api.github.com/users/Datanexus/followers","following_url":"https://api.github.com/users/Datanexus/following{/other_user}","gists_url":"https://api.github.com/users/Datanexus/gists{/gist_id}","starred_url":"https://api.github.com/users/Datanexus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Datanexus/subscriptions","organizations_url":"https://api.github.com/users/Datanexus/orgs","repos_url":"https://api.github.com/users/Datanexus/repos","events_url":"https://api.github.com/users/Datanexus/events{/privacy}","received_events_url":"https://api.github.com/users/Datanexus/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Datanexus/dn-zookeeper","description":"Playbooks/Roles used to deploy Zookeeper","fork":false,"url":"https://api.github.com/repos/Datanexus/dn-zookeeper","forks_url":"https://api.github.com/repos/Datanexus/dn-zookeeper/forks","keys_url":"https://api.github.com/repos/Datanexus/dn-zookeeper/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Datanexus/dn-zookeeper/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Datanexus/dn-zookeeper/teams","hooks_url":"https://api.github.com/repos/Datanexus/dn-zookeeper/hooks","issue_events_url":"https://api.github.com/repos/Datanexus/dn-zookeeper/issues/events{/number}","events_url":"https://api.github.com/repos/Datanexus/dn-zookeeper/events","assignees_url":"https://api.github.com/repos/Datanexus/dn-zookeeper/assignees{/user}","branches_url":"https://api.github.com/repos/Datanexus/dn-zookeeper/branches{/branch}","tags_url":"https://api.github.com/repos/Datanexus/dn-zookeeper/tags","blobs_url":"https://api.github.com/repos/Datanexus/dn-zookeeper/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Datanexus/dn-zookeeper/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Datanexus/dn-zookeeper/git/refs{/sha}","trees_url":"https://api.github.com/repos/Datanexus/dn-zookeeper/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Datanexus/dn-zookeeper/statuses/{sha}","languages_url":"https://api.github.com/repos/Datanexus/dn-zookeeper/languages","stargazers_url":"https://api.github.com/repos/Datanexus/dn-zookeeper/stargazers","contributors_url":"https://api.github.com/repos/Datanexus/dn-zookeeper/contributors","subscribers_url":"https://api.github.com/repos/Datanexus/dn-zookeeper/subscribers","subscription_url":"https://api.github.com/repos/Datanexus/dn-zookeeper/subscription","commits_url":"https://api.github.com/repos/Datanexus/dn-zookeeper/commits{/sha}","git_commits_url":"https://api.github.com/repos/Datanexus/dn-zookeeper/git/commits{/sha}","comments_url":"https://api.github.com/repos/Datanexus/dn-zookeeper/comments{/number}","issue_comment_url":"https://api.github.com/repos/Datanexus/dn-zookeeper/issues/comments{/number}","contents_url":"https://api.github.com/repos/Datanexus/dn-zookeeper/contents/{+path}","compare_url":"https://api.github.com/repos/Datanexus/dn-zookeeper/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Datanexus/dn-zookeeper/merges","archive_url":"https://api.github.com/repos/Datanexus/dn-zookeeper/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Datanexus/dn-zookeeper/downloads","issues_url":"https://api.github.com/repos/Datanexus/dn-zookeeper/issues{/number}","pulls_url":"https://api.github.com/repos/Datanexus/dn-zookeeper/pulls{/number}","milestones_url":"https://api.github.com/repos/Datanexus/dn-zookeeper/milestones{/number}","notifications_url":"https://api.github.com/repos/Datanexus/dn-zookeeper/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Datanexus/dn-zookeeper/labels{/name}","releases_url":"https://api.github.com/repos/Datanexus/dn-zookeeper/releases{/id}","deployments_url":"https://api.github.com/repos/Datanexus/dn-zookeeper/deployments","created_at":"2017-02-12T22:55:00Z","updated_at":"2017-02-13T06:30:29Z","pushed_at":"2017-05-22T23:54:18Z","git_url":"git://github.com/Datanexus/dn-zookeeper.git","ssh_url":"git@github.com:Datanexus/dn-zookeeper.git","clone_url":"https://github.com/Datanexus/dn-zookeeper.git","svn_url":"https://github.com/Datanexus/dn-zookeeper","homepage":null,"size":45,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":1,"forks":2,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Datanexus/dn-zookeeper/pulls/9"},"html":{"href":"https://github.com/Datanexus/dn-zookeeper/pull/9"},"issue":{"href":"https://api.github.com/repos/Datanexus/dn-zookeeper/issues/9"},"comments":{"href":"https://api.github.com/repos/Datanexus/dn-zookeeper/issues/9/comments"},"review_comments":{"href":"https://api.github.com/repos/Datanexus/dn-zookeeper/pulls/9/comments"},"review_comment":{"href":"https://api.github.com/repos/Datanexus/dn-zookeeper/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Datanexus/dn-zookeeper/pulls/9/commits"},"statuses":{"href":"https://api.github.com/repos/Datanexus/dn-zookeeper/statuses/d847145df3f1bfda94314d10ebed06cb8b766ec7"}},"merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":3,"additions":408,"deletions":76,"changed_files":15}}
{"actor":{"display_login":"tjmcs"}}