{"action":"opened","number":2,"pull_request":{"url":"https://api.github.com/repos/amochtar/registrator/pulls/2","id":84076665,"html_url":"https://github.com/amochtar/registrator/pull/2","diff_url":"https://github.com/amochtar/registrator/pull/2.diff","patch_url":"https://github.com/amochtar/registrator/pull/2.patch","issue_url":"https://api.github.com/repos/amochtar/registrator/issues/2","number":2,"state":"open","locked":false,"title":"Add health-check script","user":{"login":"simonvanderveldt","id":204286,"avatar_url":"https://avatars.githubusercontent.com/u/204286?v=3","gravatar_id":"","url":"https://api.github.com/users/simonvanderveldt","html_url":"https://github.com/simonvanderveldt","followers_url":"https://api.github.com/users/simonvanderveldt/followers","following_url":"https://api.github.com/users/simonvanderveldt/following{/other_user}","gists_url":"https://api.github.com/users/simonvanderveldt/gists{/gist_id}","starred_url":"https://api.github.com/users/simonvanderveldt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/simonvanderveldt/subscriptions","organizations_url":"https://api.github.com/users/simonvanderveldt/orgs","repos_url":"https://api.github.com/users/simonvanderveldt/repos","events_url":"https://api.github.com/users/simonvanderveldt/events{/privacy}","received_events_url":"https://api.github.com/users/simonvanderveldt/received_events","type":"User","site_admin":false},"body":"It validates Registrator is connected to the Docker socket as well as to Consul.\r\nBecause registrator doesn't support env vars for both the Docker address as well as the Consul backend the checks are hardcoded. For Docker it checks if there's a socket connection to /var/run/docker.sock, for Consul it checks if there's a TCP connection to :8500.","created_at":"2016-09-06T08:00:57Z","updated_at":"2016-09-06T08:00:57Z","closed_at":null,"merged_at":null,"merge_commit_sha":"4251ad9503d952cbc7b014891415c4728ce632bf","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/amochtar/registrator/pulls/2/commits","review_comments_url":"https://api.github.com/repos/amochtar/registrator/pulls/2/comments","review_comment_url":"https://api.github.com/repos/amochtar/registrator/pulls/comments{/number}","comments_url":"https://api.github.com/repos/amochtar/registrator/issues/2/comments","statuses_url":"https://api.github.com/repos/amochtar/registrator/statuses/2e38bfb629a33709a0624cbe431fb2f6aae89294","head":{"label":"simonvanderveldt:add-health-check","ref":"add-health-check","sha":"2e38bfb629a33709a0624cbe431fb2f6aae89294","user":{"login":"simonvanderveldt","id":204286,"avatar_url":"https://avatars.githubusercontent.com/u/204286?v=3","gravatar_id":"","url":"https://api.github.com/users/simonvanderveldt","html_url":"https://github.com/simonvanderveldt","followers_url":"https://api.github.com/users/simonvanderveldt/followers","following_url":"https://api.github.com/users/simonvanderveldt/following{/other_user}","gists_url":"https://api.github.com/users/simonvanderveldt/gists{/gist_id}","starred_url":"https://api.github.com/users/simonvanderveldt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/simonvanderveldt/subscriptions","organizations_url":"https://api.github.com/users/simonvanderveldt/orgs","repos_url":"https://api.github.com/users/simonvanderveldt/repos","events_url":"https://api.github.com/users/simonvanderveldt/events{/privacy}","received_events_url":"https://api.github.com/users/simonvanderveldt/received_events","type":"User","site_admin":false},"repo":{"id":67421994,"name":"registrator","full_name":"simonvanderveldt/registrator","owner":{"login":"simonvanderveldt","id":204286,"avatar_url":"https://avatars.githubusercontent.com/u/204286?v=3","gravatar_id":"","url":"https://api.github.com/users/simonvanderveldt","html_url":"https://github.com/simonvanderveldt","followers_url":"https://api.github.com/users/simonvanderveldt/followers","following_url":"https://api.github.com/users/simonvanderveldt/following{/other_user}","gists_url":"https://api.github.com/users/simonvanderveldt/gists{/gist_id}","starred_url":"https://api.github.com/users/simonvanderveldt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/simonvanderveldt/subscriptions","organizations_url":"https://api.github.com/users/simonvanderveldt/orgs","repos_url":"https://api.github.com/users/simonvanderveldt/repos","events_url":"https://api.github.com/users/simonvanderveldt/events{/privacy}","received_events_url":"https://api.github.com/users/simonvanderveldt/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/simonvanderveldt/registrator","description":"Service registry bridge for Docker with pluggable adapters","fork":true,"url":"https://api.github.com/repos/simonvanderveldt/registrator","forks_url":"https://api.github.com/repos/simonvanderveldt/registrator/forks","keys_url":"https://api.github.com/repos/simonvanderveldt/registrator/keys{/key_id}","collaborators_url":"https://api.github.com/repos/simonvanderveldt/registrator/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/simonvanderveldt/registrator/teams","hooks_url":"https://api.github.com/repos/simonvanderveldt/registrator/hooks","issue_events_url":"https://api.github.com/repos/simonvanderveldt/registrator/issues/events{/number}","events_url":"https://api.github.com/repos/simonvanderveldt/registrator/events","assignees_url":"https://api.github.com/repos/simonvanderveldt/registrator/assignees{/user}","branches_url":"https://api.github.com/repos/simonvanderveldt/registrator/branches{/branch}","tags_url":"https://api.github.com/repos/simonvanderveldt/registrator/tags","blobs_url":"https://api.github.com/repos/simonvanderveldt/registrator/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/simonvanderveldt/registrator/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/simonvanderveldt/registrator/git/refs{/sha}","trees_url":"https://api.github.com/repos/simonvanderveldt/registrator/git/trees{/sha}","statuses_url":"https://api.github.com/repos/simonvanderveldt/registrator/statuses/{sha}","languages_url":"https://api.github.com/repos/simonvanderveldt/registrator/languages","stargazers_url":"https://api.github.com/repos/simonvanderveldt/registrator/stargazers","contributors_url":"https://api.github.com/repos/simonvanderveldt/registrator/contributors","subscribers_url":"https://api.github.com/repos/simonvanderveldt/registrator/subscribers","subscription_url":"https://api.github.com/repos/simonvanderveldt/registrator/subscription","commits_url":"https://api.github.com/repos/simonvanderveldt/registrator/commits{/sha}","git_commits_url":"https://api.github.com/repos/simonvanderveldt/registrator/git/commits{/sha}","comments_url":"https://api.github.com/repos/simonvanderveldt/registrator/comments{/number}","issue_comment_url":"https://api.github.com/repos/simonvanderveldt/registrator/issues/comments{/number}","contents_url":"https://api.github.com/repos/simonvanderveldt/registrator/contents/{+path}","compare_url":"https://api.github.com/repos/simonvanderveldt/registrator/compare/{base}...{head}","merges_url":"https://api.github.com/repos/simonvanderveldt/registrator/merges","archive_url":"https://api.github.com/repos/simonvanderveldt/registrator/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/simonvanderveldt/registrator/downloads","issues_url":"https://api.github.com/repos/simonvanderveldt/registrator/issues{/number}","pulls_url":"https://api.github.com/repos/simonvanderveldt/registrator/pulls{/number}","milestones_url":"https://api.github.com/repos/simonvanderveldt/registrator/milestones{/number}","notifications_url":"https://api.github.com/repos/simonvanderveldt/registrator/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/simonvanderveldt/registrator/labels{/name}","releases_url":"https://api.github.com/repos/simonvanderveldt/registrator/releases{/id}","deployments_url":"https://api.github.com/repos/simonvanderveldt/registrator/deployments","created_at":"2016-09-05T13:10:19Z","updated_at":"2016-09-05T13:10:20Z","pushed_at":"2016-09-06T08:00:43Z","git_url":"git://github.com/simonvanderveldt/registrator.git","ssh_url":"git@github.com:simonvanderveldt/registrator.git","clone_url":"https://github.com/simonvanderveldt/registrator.git","svn_url":"https://github.com/simonvanderveldt/registrator","homepage":"","size":21085,"stargazers_count":0,"watchers_count":0,"language":"Go","has_issues":false,"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":"amochtar:master","ref":"master","sha":"583c5bd34a15c2c90448b26a3cf17188691c0cbc","user":{"login":"amochtar","id":950105,"avatar_url":"https://avatars.githubusercontent.com/u/950105?v=3","gravatar_id":"","url":"https://api.github.com/users/amochtar","html_url":"https://github.com/amochtar","followers_url":"https://api.github.com/users/amochtar/followers","following_url":"https://api.github.com/users/amochtar/following{/other_user}","gists_url":"https://api.github.com/users/amochtar/gists{/gist_id}","starred_url":"https://api.github.com/users/amochtar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amochtar/subscriptions","organizations_url":"https://api.github.com/users/amochtar/orgs","repos_url":"https://api.github.com/users/amochtar/repos","events_url":"https://api.github.com/users/amochtar/events{/privacy}","received_events_url":"https://api.github.com/users/amochtar/received_events","type":"User","site_admin":false},"repo":{"id":38615631,"name":"registrator","full_name":"amochtar/registrator","owner":{"login":"amochtar","id":950105,"avatar_url":"https://avatars.githubusercontent.com/u/950105?v=3","gravatar_id":"","url":"https://api.github.com/users/amochtar","html_url":"https://github.com/amochtar","followers_url":"https://api.github.com/users/amochtar/followers","following_url":"https://api.github.com/users/amochtar/following{/other_user}","gists_url":"https://api.github.com/users/amochtar/gists{/gist_id}","starred_url":"https://api.github.com/users/amochtar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amochtar/subscriptions","organizations_url":"https://api.github.com/users/amochtar/orgs","repos_url":"https://api.github.com/users/amochtar/repos","events_url":"https://api.github.com/users/amochtar/events{/privacy}","received_events_url":"https://api.github.com/users/amochtar/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/amochtar/registrator","description":"Service registry bridge for Docker with pluggable adapters","fork":true,"url":"https://api.github.com/repos/amochtar/registrator","forks_url":"https://api.github.com/repos/amochtar/registrator/forks","keys_url":"https://api.github.com/repos/amochtar/registrator/keys{/key_id}","collaborators_url":"https://api.github.com/repos/amochtar/registrator/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/amochtar/registrator/teams","hooks_url":"https://api.github.com/repos/amochtar/registrator/hooks","issue_events_url":"https://api.github.com/repos/amochtar/registrator/issues/events{/number}","events_url":"https://api.github.com/repos/amochtar/registrator/events","assignees_url":"https://api.github.com/repos/amochtar/registrator/assignees{/user}","branches_url":"https://api.github.com/repos/amochtar/registrator/branches{/branch}","tags_url":"https://api.github.com/repos/amochtar/registrator/tags","blobs_url":"https://api.github.com/repos/amochtar/registrator/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/amochtar/registrator/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/amochtar/registrator/git/refs{/sha}","trees_url":"https://api.github.com/repos/amochtar/registrator/git/trees{/sha}","statuses_url":"https://api.github.com/repos/amochtar/registrator/statuses/{sha}","languages_url":"https://api.github.com/repos/amochtar/registrator/languages","stargazers_url":"https://api.github.com/repos/amochtar/registrator/stargazers","contributors_url":"https://api.github.com/repos/amochtar/registrator/contributors","subscribers_url":"https://api.github.com/repos/amochtar/registrator/subscribers","subscription_url":"https://api.github.com/repos/amochtar/registrator/subscription","commits_url":"https://api.github.com/repos/amochtar/registrator/commits{/sha}","git_commits_url":"https://api.github.com/repos/amochtar/registrator/git/commits{/sha}","comments_url":"https://api.github.com/repos/amochtar/registrator/comments{/number}","issue_comment_url":"https://api.github.com/repos/amochtar/registrator/issues/comments{/number}","contents_url":"https://api.github.com/repos/amochtar/registrator/contents/{+path}","compare_url":"https://api.github.com/repos/amochtar/registrator/compare/{base}...{head}","merges_url":"https://api.github.com/repos/amochtar/registrator/merges","archive_url":"https://api.github.com/repos/amochtar/registrator/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/amochtar/registrator/downloads","issues_url":"https://api.github.com/repos/amochtar/registrator/issues{/number}","pulls_url":"https://api.github.com/repos/amochtar/registrator/pulls{/number}","milestones_url":"https://api.github.com/repos/amochtar/registrator/milestones{/number}","notifications_url":"https://api.github.com/repos/amochtar/registrator/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/amochtar/registrator/labels{/name}","releases_url":"https://api.github.com/repos/amochtar/registrator/releases{/id}","deployments_url":"https://api.github.com/repos/amochtar/registrator/deployments","created_at":"2015-07-06T11:50:12Z","updated_at":"2015-07-06T11:50:12Z","pushed_at":"2016-09-06T08:00:57Z","git_url":"git://github.com/amochtar/registrator.git","ssh_url":"git@github.com:amochtar/registrator.git","clone_url":"https://github.com/amochtar/registrator.git","svn_url":"https://github.com/amochtar/registrator","homepage":"","size":21085,"stargazers_count":0,"watchers_count":0,"language":"Go","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":1,"forks":1,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/amochtar/registrator/pulls/2"},"html":{"href":"https://github.com/amochtar/registrator/pull/2"},"issue":{"href":"https://api.github.com/repos/amochtar/registrator/issues/2"},"comments":{"href":"https://api.github.com/repos/amochtar/registrator/issues/2/comments"},"review_comments":{"href":"https://api.github.com/repos/amochtar/registrator/pulls/2/comments"},"review_comment":{"href":"https://api.github.com/repos/amochtar/registrator/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/amochtar/registrator/pulls/2/commits"},"statuses":{"href":"https://api.github.com/repos/amochtar/registrator/statuses/2e38bfb629a33709a0624cbe431fb2f6aae89294"}},"merged":false,"mergeable":true,"mergeable_state":"clean","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":17,"deletions":1,"changed_files":2}}
{"actor":{"display_login":"simonvanderveldt"}}