{"action":"closed","number":609,"pull_request":{"url":"https://api.github.com/repos/StackStorm/st2contrib/pulls/609","id":92360327,"html_url":"https://github.com/StackStorm/st2contrib/pull/609","diff_url":"https://github.com/StackStorm/st2contrib/pull/609.diff","patch_url":"https://github.com/StackStorm/st2contrib/pull/609.patch","issue_url":"https://api.github.com/repos/StackStorm/st2contrib/issues/609","number":609,"state":"closed","locked":false,"title":"New actions for consul pack","user":{"login":"TuxInvader","id":2316818,"avatar_url":"https://avatars.githubusercontent.com/u/2316818?v=3","gravatar_id":"","url":"https://api.github.com/users/TuxInvader","html_url":"https://github.com/TuxInvader","followers_url":"https://api.github.com/users/TuxInvader/followers","following_url":"https://api.github.com/users/TuxInvader/following{/other_user}","gists_url":"https://api.github.com/users/TuxInvader/gists{/gist_id}","starred_url":"https://api.github.com/users/TuxInvader/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TuxInvader/subscriptions","organizations_url":"https://api.github.com/users/TuxInvader/orgs","repos_url":"https://api.github.com/users/TuxInvader/repos","events_url":"https://api.github.com/users/TuxInvader/events{/privacy}","received_events_url":"https://api.github.com/users/TuxInvader/received_events","type":"User","site_admin":false},"body":"## Pack Consul\r\n\r\n### Status \r\n\r\nAdd actions to register and de-register external services, and also update the query_service action to return IPs and ports. \r\n\r\n- pack extension\r\n\r\n### Description\r\n\r\nquery_service has an additional ports=<boolean> parameter, which defaults to false. When true, the returned list includes the port as ip:port.\r\n\r\nNew action: register_service can be used to register an external node/service with consul.\r\nNew action: deregister_service. Removes a registered node/service from consul.\r\n\r\n### Checklist (tick everything that applies)\r\n\r\n- [x] Metadata: pack.yaml, icon, structure (required for new packs)\r\n- [x] Version bump (required for changed packs)\r\n- [x] Code linting (required, can be done after the PR checks)\r\n- [ ] [Tests](https://docs.stackstorm.com/development/pack_testing.html) (not required but really recommended)\r\n","created_at":"2016-11-04T15:24:45Z","updated_at":"2016-11-08T14:06:00Z","closed_at":"2016-11-08T14:06:00Z","merged_at":"2016-11-08T14:06:00Z","merge_commit_sha":"1c4156472b034badfa22fb66e1699a493196b987","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/StackStorm/st2contrib/pulls/609/commits","review_comments_url":"https://api.github.com/repos/StackStorm/st2contrib/pulls/609/comments","review_comment_url":"https://api.github.com/repos/StackStorm/st2contrib/pulls/comments{/number}","comments_url":"https://api.github.com/repos/StackStorm/st2contrib/issues/609/comments","statuses_url":"https://api.github.com/repos/StackStorm/st2contrib/statuses/3cc28835ddc3a4c3436a2cf8a58a964a1bed814d","head":{"label":"TuxInvader:tux-consul","ref":"tux-consul","sha":"3cc28835ddc3a4c3436a2cf8a58a964a1bed814d","user":{"login":"TuxInvader","id":2316818,"avatar_url":"https://avatars.githubusercontent.com/u/2316818?v=3","gravatar_id":"","url":"https://api.github.com/users/TuxInvader","html_url":"https://github.com/TuxInvader","followers_url":"https://api.github.com/users/TuxInvader/followers","following_url":"https://api.github.com/users/TuxInvader/following{/other_user}","gists_url":"https://api.github.com/users/TuxInvader/gists{/gist_id}","starred_url":"https://api.github.com/users/TuxInvader/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TuxInvader/subscriptions","organizations_url":"https://api.github.com/users/TuxInvader/orgs","repos_url":"https://api.github.com/users/TuxInvader/repos","events_url":"https://api.github.com/users/TuxInvader/events{/privacy}","received_events_url":"https://api.github.com/users/TuxInvader/received_events","type":"User","site_admin":false},"repo":{"id":70235666,"name":"st2contrib","full_name":"TuxInvader/st2contrib","owner":{"login":"TuxInvader","id":2316818,"avatar_url":"https://avatars.githubusercontent.com/u/2316818?v=3","gravatar_id":"","url":"https://api.github.com/users/TuxInvader","html_url":"https://github.com/TuxInvader","followers_url":"https://api.github.com/users/TuxInvader/followers","following_url":"https://api.github.com/users/TuxInvader/following{/other_user}","gists_url":"https://api.github.com/users/TuxInvader/gists{/gist_id}","starred_url":"https://api.github.com/users/TuxInvader/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TuxInvader/subscriptions","organizations_url":"https://api.github.com/users/TuxInvader/orgs","repos_url":"https://api.github.com/users/TuxInvader/repos","events_url":"https://api.github.com/users/TuxInvader/events{/privacy}","received_events_url":"https://api.github.com/users/TuxInvader/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/TuxInvader/st2contrib","description":"StackStorm integration packs for many common tools and services. It also contains helpful tools to build integrations and automations with StackStorm.","fork":true,"url":"https://api.github.com/repos/TuxInvader/st2contrib","forks_url":"https://api.github.com/repos/TuxInvader/st2contrib/forks","keys_url":"https://api.github.com/repos/TuxInvader/st2contrib/keys{/key_id}","collaborators_url":"https://api.github.com/repos/TuxInvader/st2contrib/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/TuxInvader/st2contrib/teams","hooks_url":"https://api.github.com/repos/TuxInvader/st2contrib/hooks","issue_events_url":"https://api.github.com/repos/TuxInvader/st2contrib/issues/events{/number}","events_url":"https://api.github.com/repos/TuxInvader/st2contrib/events","assignees_url":"https://api.github.com/repos/TuxInvader/st2contrib/assignees{/user}","branches_url":"https://api.github.com/repos/TuxInvader/st2contrib/branches{/branch}","tags_url":"https://api.github.com/repos/TuxInvader/st2contrib/tags","blobs_url":"https://api.github.com/repos/TuxInvader/st2contrib/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/TuxInvader/st2contrib/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/TuxInvader/st2contrib/git/refs{/sha}","trees_url":"https://api.github.com/repos/TuxInvader/st2contrib/git/trees{/sha}","statuses_url":"https://api.github.com/repos/TuxInvader/st2contrib/statuses/{sha}","languages_url":"https://api.github.com/repos/TuxInvader/st2contrib/languages","stargazers_url":"https://api.github.com/repos/TuxInvader/st2contrib/stargazers","contributors_url":"https://api.github.com/repos/TuxInvader/st2contrib/contributors","subscribers_url":"https://api.github.com/repos/TuxInvader/st2contrib/subscribers","subscription_url":"https://api.github.com/repos/TuxInvader/st2contrib/subscription","commits_url":"https://api.github.com/repos/TuxInvader/st2contrib/commits{/sha}","git_commits_url":"https://api.github.com/repos/TuxInvader/st2contrib/git/commits{/sha}","comments_url":"https://api.github.com/repos/TuxInvader/st2contrib/comments{/number}","issue_comment_url":"https://api.github.com/repos/TuxInvader/st2contrib/issues/comments{/number}","contents_url":"https://api.github.com/repos/TuxInvader/st2contrib/contents/{+path}","compare_url":"https://api.github.com/repos/TuxInvader/st2contrib/compare/{base}...{head}","merges_url":"https://api.github.com/repos/TuxInvader/st2contrib/merges","archive_url":"https://api.github.com/repos/TuxInvader/st2contrib/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/TuxInvader/st2contrib/downloads","issues_url":"https://api.github.com/repos/TuxInvader/st2contrib/issues{/number}","pulls_url":"https://api.github.com/repos/TuxInvader/st2contrib/pulls{/number}","milestones_url":"https://api.github.com/repos/TuxInvader/st2contrib/milestones{/number}","notifications_url":"https://api.github.com/repos/TuxInvader/st2contrib/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/TuxInvader/st2contrib/labels{/name}","releases_url":"https://api.github.com/repos/TuxInvader/st2contrib/releases{/id}","deployments_url":"https://api.github.com/repos/TuxInvader/st2contrib/deployments","created_at":"2016-10-07T10:07:02Z","updated_at":"2016-10-27T11:52:01Z","pushed_at":"2016-11-06T10:05:11Z","git_url":"git://github.com/TuxInvader/st2contrib.git","ssh_url":"git@github.com:TuxInvader/st2contrib.git","clone_url":"https://github.com/TuxInvader/st2contrib.git","svn_url":"https://github.com/TuxInvader/st2contrib","homepage":"http://www.stackstorm.com/community","size":6912,"stargazers_count":3,"watchers_count":3,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":3,"default_branch":"master"}},"base":{"label":"StackStorm:master","ref":"master","sha":"fcffda3563b7ab19fa672f0d0b950c5d9014fc73","user":{"login":"StackStorm","id":4969009,"avatar_url":"https://avatars.githubusercontent.com/u/4969009?v=3","gravatar_id":"","url":"https://api.github.com/users/StackStorm","html_url":"https://github.com/StackStorm","followers_url":"https://api.github.com/users/StackStorm/followers","following_url":"https://api.github.com/users/StackStorm/following{/other_user}","gists_url":"https://api.github.com/users/StackStorm/gists{/gist_id}","starred_url":"https://api.github.com/users/StackStorm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/StackStorm/subscriptions","organizations_url":"https://api.github.com/users/StackStorm/orgs","repos_url":"https://api.github.com/users/StackStorm/repos","events_url":"https://api.github.com/users/StackStorm/events{/privacy}","received_events_url":"https://api.github.com/users/StackStorm/received_events","type":"Organization","site_admin":false},"repo":{"id":24968227,"name":"st2contrib","full_name":"StackStorm/st2contrib","owner":{"login":"StackStorm","id":4969009,"avatar_url":"https://avatars.githubusercontent.com/u/4969009?v=3","gravatar_id":"","url":"https://api.github.com/users/StackStorm","html_url":"https://github.com/StackStorm","followers_url":"https://api.github.com/users/StackStorm/followers","following_url":"https://api.github.com/users/StackStorm/following{/other_user}","gists_url":"https://api.github.com/users/StackStorm/gists{/gist_id}","starred_url":"https://api.github.com/users/StackStorm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/StackStorm/subscriptions","organizations_url":"https://api.github.com/users/StackStorm/orgs","repos_url":"https://api.github.com/users/StackStorm/repos","events_url":"https://api.github.com/users/StackStorm/events{/privacy}","received_events_url":"https://api.github.com/users/StackStorm/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/StackStorm/st2contrib","description":"StackStorm integration packs for many common tools and services. It also contains helpful tools to build integrations and automations with StackStorm.","fork":false,"url":"https://api.github.com/repos/StackStorm/st2contrib","forks_url":"https://api.github.com/repos/StackStorm/st2contrib/forks","keys_url":"https://api.github.com/repos/StackStorm/st2contrib/keys{/key_id}","collaborators_url":"https://api.github.com/repos/StackStorm/st2contrib/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/StackStorm/st2contrib/teams","hooks_url":"https://api.github.com/repos/StackStorm/st2contrib/hooks","issue_events_url":"https://api.github.com/repos/StackStorm/st2contrib/issues/events{/number}","events_url":"https://api.github.com/repos/StackStorm/st2contrib/events","assignees_url":"https://api.github.com/repos/StackStorm/st2contrib/assignees{/user}","branches_url":"https://api.github.com/repos/StackStorm/st2contrib/branches{/branch}","tags_url":"https://api.github.com/repos/StackStorm/st2contrib/tags","blobs_url":"https://api.github.com/repos/StackStorm/st2contrib/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/StackStorm/st2contrib/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/StackStorm/st2contrib/git/refs{/sha}","trees_url":"https://api.github.com/repos/StackStorm/st2contrib/git/trees{/sha}","statuses_url":"https://api.github.com/repos/StackStorm/st2contrib/statuses/{sha}","languages_url":"https://api.github.com/repos/StackStorm/st2contrib/languages","stargazers_url":"https://api.github.com/repos/StackStorm/st2contrib/stargazers","contributors_url":"https://api.github.com/repos/StackStorm/st2contrib/contributors","subscribers_url":"https://api.github.com/repos/StackStorm/st2contrib/subscribers","subscription_url":"https://api.github.com/repos/StackStorm/st2contrib/subscription","commits_url":"https://api.github.com/repos/StackStorm/st2contrib/commits{/sha}","git_commits_url":"https://api.github.com/repos/StackStorm/st2contrib/git/commits{/sha}","comments_url":"https://api.github.com/repos/StackStorm/st2contrib/comments{/number}","issue_comment_url":"https://api.github.com/repos/StackStorm/st2contrib/issues/comments{/number}","contents_url":"https://api.github.com/repos/StackStorm/st2contrib/contents/{+path}","compare_url":"https://api.github.com/repos/StackStorm/st2contrib/compare/{base}...{head}","merges_url":"https://api.github.com/repos/StackStorm/st2contrib/merges","archive_url":"https://api.github.com/repos/StackStorm/st2contrib/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/StackStorm/st2contrib/downloads","issues_url":"https://api.github.com/repos/StackStorm/st2contrib/issues{/number}","pulls_url":"https://api.github.com/repos/StackStorm/st2contrib/pulls{/number}","milestones_url":"https://api.github.com/repos/StackStorm/st2contrib/milestones{/number}","notifications_url":"https://api.github.com/repos/StackStorm/st2contrib/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/StackStorm/st2contrib/labels{/name}","releases_url":"https://api.github.com/repos/StackStorm/st2contrib/releases{/id}","deployments_url":"https://api.github.com/repos/StackStorm/st2contrib/deployments","created_at":"2014-10-09T01:19:56Z","updated_at":"2016-11-08T05:23:55Z","pushed_at":"2016-11-08T14:06:00Z","git_url":"git://github.com/StackStorm/st2contrib.git","ssh_url":"git@github.com:StackStorm/st2contrib.git","clone_url":"https://github.com/StackStorm/st2contrib.git","svn_url":"https://github.com/StackStorm/st2contrib","homepage":"http://www.stackstorm.com/community","size":8103,"stargazers_count":139,"watchers_count":139,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":138,"mirror_url":null,"open_issues_count":36,"forks":138,"open_issues":36,"watchers":139,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/StackStorm/st2contrib/pulls/609"},"html":{"href":"https://github.com/StackStorm/st2contrib/pull/609"},"issue":{"href":"https://api.github.com/repos/StackStorm/st2contrib/issues/609"},"comments":{"href":"https://api.github.com/repos/StackStorm/st2contrib/issues/609/comments"},"review_comments":{"href":"https://api.github.com/repos/StackStorm/st2contrib/pulls/609/comments"},"review_comment":{"href":"https://api.github.com/repos/StackStorm/st2contrib/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/StackStorm/st2contrib/pulls/609/commits"},"statuses":{"href":"https://api.github.com/repos/StackStorm/st2contrib/statuses/3cc28835ddc3a4c3436a2cf8a58a964a1bed814d"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"Kami","id":125088,"avatar_url":"https://avatars.githubusercontent.com/u/125088?v=3","gravatar_id":"","url":"https://api.github.com/users/Kami","html_url":"https://github.com/Kami","followers_url":"https://api.github.com/users/Kami/followers","following_url":"https://api.github.com/users/Kami/following{/other_user}","gists_url":"https://api.github.com/users/Kami/gists{/gist_id}","starred_url":"https://api.github.com/users/Kami/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Kami/subscriptions","organizations_url":"https://api.github.com/users/Kami/orgs","repos_url":"https://api.github.com/users/Kami/repos","events_url":"https://api.github.com/users/Kami/events{/privacy}","received_events_url":"https://api.github.com/users/Kami/received_events","type":"User","site_admin":false},"comments":1,"review_comments":0,"commits":8,"additions":84,"deletions":4,"changed_files":7}}
{"actor":{"display_login":"Kami"}}