{"action":"closed","number":174,"pull_request":{"url":"https://api.github.com/repos/almighty/almighty-core/pulls/174","id":83755531,"html_url":"https://github.com/almighty/almighty-core/pull/174","diff_url":"https://github.com/almighty/almighty-core/pull/174.diff","patch_url":"https://github.com/almighty/almighty-core/pull/174.patch","issue_url":"https://api.github.com/repos/almighty/almighty-core/issues/174","number":174,"state":"closed","locked":false,"title":"Added a health check URL for monitoring","user":{"login":"sbose78","id":545280,"avatar_url":"https://avatars.githubusercontent.com/u/545280?v=3","gravatar_id":"","url":"https://api.github.com/users/sbose78","html_url":"https://github.com/sbose78","followers_url":"https://api.github.com/users/sbose78/followers","following_url":"https://api.github.com/users/sbose78/following{/other_user}","gists_url":"https://api.github.com/users/sbose78/gists{/gist_id}","starred_url":"https://api.github.com/users/sbose78/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sbose78/subscriptions","organizations_url":"https://api.github.com/users/sbose78/orgs","repos_url":"https://api.github.com/users/sbose78/repos","events_url":"https://api.github.com/users/sbose78/events{/privacy}","received_events_url":"https://api.github.com/users/sbose78/received_events","type":"User","site_admin":false},"body":"Why:\r\nSystems that provision, monitor and maintain ALM would need to\r\nknow whether the service is UP.\r\n\r\nWhat:\r\nGET /healthcheck returns a 200 if db is reachable.\r\nGET /healthcheck returns a 500 if the test query to DB fails.\r\nGET /healthcheck returns a 4XX if there are resolution issues.\r\n\r\nfixes #173\n\n<!-- Reviewable:start -->\n---\nThis change is [<img src=\"https://reviewable.io/review_button.svg\" height=\"34\" align=\"absmiddle\" alt=\"Reviewable\"/>](https://reviewable.io/reviews/almighty/almighty-core/174)\n<!-- Reviewable:end -->\n","created_at":"2016-09-02T07:15:28Z","updated_at":"2016-09-03T23:59:04Z","closed_at":"2016-09-03T23:59:04Z","merged_at":null,"merge_commit_sha":"0e506de8e85a6987c5ca0650d0a4be16d50bc925","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/almighty/almighty-core/pulls/174/commits","review_comments_url":"https://api.github.com/repos/almighty/almighty-core/pulls/174/comments","review_comment_url":"https://api.github.com/repos/almighty/almighty-core/pulls/comments{/number}","comments_url":"https://api.github.com/repos/almighty/almighty-core/issues/174/comments","statuses_url":"https://api.github.com/repos/almighty/almighty-core/statuses/981c5c8fc8927dc10c20a1762aa447dc376faac0","head":{"label":"sbose78:healthcheck-url","ref":"healthcheck-url","sha":"981c5c8fc8927dc10c20a1762aa447dc376faac0","user":{"login":"sbose78","id":545280,"avatar_url":"https://avatars.githubusercontent.com/u/545280?v=3","gravatar_id":"","url":"https://api.github.com/users/sbose78","html_url":"https://github.com/sbose78","followers_url":"https://api.github.com/users/sbose78/followers","following_url":"https://api.github.com/users/sbose78/following{/other_user}","gists_url":"https://api.github.com/users/sbose78/gists{/gist_id}","starred_url":"https://api.github.com/users/sbose78/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sbose78/subscriptions","organizations_url":"https://api.github.com/users/sbose78/orgs","repos_url":"https://api.github.com/users/sbose78/repos","events_url":"https://api.github.com/users/sbose78/events{/privacy}","received_events_url":"https://api.github.com/users/sbose78/received_events","type":"User","site_admin":false},"repo":{"id":64824078,"name":"almighty-core","full_name":"sbose78/almighty-core","owner":{"login":"sbose78","id":545280,"avatar_url":"https://avatars.githubusercontent.com/u/545280?v=3","gravatar_id":"","url":"https://api.github.com/users/sbose78","html_url":"https://github.com/sbose78","followers_url":"https://api.github.com/users/sbose78/followers","following_url":"https://api.github.com/users/sbose78/following{/other_user}","gists_url":"https://api.github.com/users/sbose78/gists{/gist_id}","starred_url":"https://api.github.com/users/sbose78/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sbose78/subscriptions","organizations_url":"https://api.github.com/users/sbose78/orgs","repos_url":"https://api.github.com/users/sbose78/repos","events_url":"https://api.github.com/users/sbose78/events{/privacy}","received_events_url":"https://api.github.com/users/sbose78/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/sbose78/almighty-core","description":null,"fork":true,"url":"https://api.github.com/repos/sbose78/almighty-core","forks_url":"https://api.github.com/repos/sbose78/almighty-core/forks","keys_url":"https://api.github.com/repos/sbose78/almighty-core/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sbose78/almighty-core/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sbose78/almighty-core/teams","hooks_url":"https://api.github.com/repos/sbose78/almighty-core/hooks","issue_events_url":"https://api.github.com/repos/sbose78/almighty-core/issues/events{/number}","events_url":"https://api.github.com/repos/sbose78/almighty-core/events","assignees_url":"https://api.github.com/repos/sbose78/almighty-core/assignees{/user}","branches_url":"https://api.github.com/repos/sbose78/almighty-core/branches{/branch}","tags_url":"https://api.github.com/repos/sbose78/almighty-core/tags","blobs_url":"https://api.github.com/repos/sbose78/almighty-core/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sbose78/almighty-core/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sbose78/almighty-core/git/refs{/sha}","trees_url":"https://api.github.com/repos/sbose78/almighty-core/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sbose78/almighty-core/statuses/{sha}","languages_url":"https://api.github.com/repos/sbose78/almighty-core/languages","stargazers_url":"https://api.github.com/repos/sbose78/almighty-core/stargazers","contributors_url":"https://api.github.com/repos/sbose78/almighty-core/contributors","subscribers_url":"https://api.github.com/repos/sbose78/almighty-core/subscribers","subscription_url":"https://api.github.com/repos/sbose78/almighty-core/subscription","commits_url":"https://api.github.com/repos/sbose78/almighty-core/commits{/sha}","git_commits_url":"https://api.github.com/repos/sbose78/almighty-core/git/commits{/sha}","comments_url":"https://api.github.com/repos/sbose78/almighty-core/comments{/number}","issue_comment_url":"https://api.github.com/repos/sbose78/almighty-core/issues/comments{/number}","contents_url":"https://api.github.com/repos/sbose78/almighty-core/contents/{+path}","compare_url":"https://api.github.com/repos/sbose78/almighty-core/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sbose78/almighty-core/merges","archive_url":"https://api.github.com/repos/sbose78/almighty-core/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sbose78/almighty-core/downloads","issues_url":"https://api.github.com/repos/sbose78/almighty-core/issues{/number}","pulls_url":"https://api.github.com/repos/sbose78/almighty-core/pulls{/number}","milestones_url":"https://api.github.com/repos/sbose78/almighty-core/milestones{/number}","notifications_url":"https://api.github.com/repos/sbose78/almighty-core/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sbose78/almighty-core/labels{/name}","releases_url":"https://api.github.com/repos/sbose78/almighty-core/releases{/id}","deployments_url":"https://api.github.com/repos/sbose78/almighty-core/deployments","created_at":"2016-08-03T07:12:02Z","updated_at":"2016-08-05T15:12:18Z","pushed_at":"2016-09-02T07:14:43Z","git_url":"git://github.com/sbose78/almighty-core.git","ssh_url":"git@github.com:sbose78/almighty-core.git","clone_url":"https://github.com/sbose78/almighty-core.git","svn_url":"https://github.com/sbose78/almighty-core","homepage":"http://devdoc.almighty.io","size":227,"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":"almighty:master","ref":"master","sha":"3c14178ade2d174d7e930ba8a370c37889dd17d8","user":{"login":"almighty","id":17783151,"avatar_url":"https://avatars.githubusercontent.com/u/17783151?v=3","gravatar_id":"","url":"https://api.github.com/users/almighty","html_url":"https://github.com/almighty","followers_url":"https://api.github.com/users/almighty/followers","following_url":"https://api.github.com/users/almighty/following{/other_user}","gists_url":"https://api.github.com/users/almighty/gists{/gist_id}","starred_url":"https://api.github.com/users/almighty/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/almighty/subscriptions","organizations_url":"https://api.github.com/users/almighty/orgs","repos_url":"https://api.github.com/users/almighty/repos","events_url":"https://api.github.com/users/almighty/events{/privacy}","received_events_url":"https://api.github.com/users/almighty/received_events","type":"Organization","site_admin":false},"repo":{"id":54260706,"name":"almighty-core","full_name":"almighty/almighty-core","owner":{"login":"almighty","id":17783151,"avatar_url":"https://avatars.githubusercontent.com/u/17783151?v=3","gravatar_id":"","url":"https://api.github.com/users/almighty","html_url":"https://github.com/almighty","followers_url":"https://api.github.com/users/almighty/followers","following_url":"https://api.github.com/users/almighty/following{/other_user}","gists_url":"https://api.github.com/users/almighty/gists{/gist_id}","starred_url":"https://api.github.com/users/almighty/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/almighty/subscriptions","organizations_url":"https://api.github.com/users/almighty/orgs","repos_url":"https://api.github.com/users/almighty/repos","events_url":"https://api.github.com/users/almighty/events{/privacy}","received_events_url":"https://api.github.com/users/almighty/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/almighty/almighty-core","description":"","fork":false,"url":"https://api.github.com/repos/almighty/almighty-core","forks_url":"https://api.github.com/repos/almighty/almighty-core/forks","keys_url":"https://api.github.com/repos/almighty/almighty-core/keys{/key_id}","collaborators_url":"https://api.github.com/repos/almighty/almighty-core/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/almighty/almighty-core/teams","hooks_url":"https://api.github.com/repos/almighty/almighty-core/hooks","issue_events_url":"https://api.github.com/repos/almighty/almighty-core/issues/events{/number}","events_url":"https://api.github.com/repos/almighty/almighty-core/events","assignees_url":"https://api.github.com/repos/almighty/almighty-core/assignees{/user}","branches_url":"https://api.github.com/repos/almighty/almighty-core/branches{/branch}","tags_url":"https://api.github.com/repos/almighty/almighty-core/tags","blobs_url":"https://api.github.com/repos/almighty/almighty-core/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/almighty/almighty-core/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/almighty/almighty-core/git/refs{/sha}","trees_url":"https://api.github.com/repos/almighty/almighty-core/git/trees{/sha}","statuses_url":"https://api.github.com/repos/almighty/almighty-core/statuses/{sha}","languages_url":"https://api.github.com/repos/almighty/almighty-core/languages","stargazers_url":"https://api.github.com/repos/almighty/almighty-core/stargazers","contributors_url":"https://api.github.com/repos/almighty/almighty-core/contributors","subscribers_url":"https://api.github.com/repos/almighty/almighty-core/subscribers","subscription_url":"https://api.github.com/repos/almighty/almighty-core/subscription","commits_url":"https://api.github.com/repos/almighty/almighty-core/commits{/sha}","git_commits_url":"https://api.github.com/repos/almighty/almighty-core/git/commits{/sha}","comments_url":"https://api.github.com/repos/almighty/almighty-core/comments{/number}","issue_comment_url":"https://api.github.com/repos/almighty/almighty-core/issues/comments{/number}","contents_url":"https://api.github.com/repos/almighty/almighty-core/contents/{+path}","compare_url":"https://api.github.com/repos/almighty/almighty-core/compare/{base}...{head}","merges_url":"https://api.github.com/repos/almighty/almighty-core/merges","archive_url":"https://api.github.com/repos/almighty/almighty-core/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/almighty/almighty-core/downloads","issues_url":"https://api.github.com/repos/almighty/almighty-core/issues{/number}","pulls_url":"https://api.github.com/repos/almighty/almighty-core/pulls{/number}","milestones_url":"https://api.github.com/repos/almighty/almighty-core/milestones{/number}","notifications_url":"https://api.github.com/repos/almighty/almighty-core/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/almighty/almighty-core/labels{/name}","releases_url":"https://api.github.com/repos/almighty/almighty-core/releases{/id}","deployments_url":"https://api.github.com/repos/almighty/almighty-core/deployments","created_at":"2016-03-19T10:42:15Z","updated_at":"2016-08-17T15:36:53Z","pushed_at":"2016-09-03T23:59:03Z","git_url":"git://github.com/almighty/almighty-core.git","ssh_url":"git@github.com:almighty/almighty-core.git","clone_url":"https://github.com/almighty/almighty-core.git","svn_url":"https://github.com/almighty/almighty-core","homepage":"http://devdoc.almighty.io/","size":4430,"stargazers_count":6,"watchers_count":6,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":23,"mirror_url":null,"open_issues_count":62,"forks":23,"open_issues":62,"watchers":6,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/almighty/almighty-core/pulls/174"},"html":{"href":"https://github.com/almighty/almighty-core/pull/174"},"issue":{"href":"https://api.github.com/repos/almighty/almighty-core/issues/174"},"comments":{"href":"https://api.github.com/repos/almighty/almighty-core/issues/174/comments"},"review_comments":{"href":"https://api.github.com/repos/almighty/almighty-core/pulls/174/comments"},"review_comment":{"href":"https://api.github.com/repos/almighty/almighty-core/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/almighty/almighty-core/pulls/174/commits"},"statuses":{"href":"https://api.github.com/repos/almighty/almighty-core/statuses/981c5c8fc8927dc10c20a1762aa447dc376faac0"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":7,"deletions":0,"changed_files":1}}
{"actor":{"display_login":"aslakknutsen"}}