{"action":"created","comment":{"url":"https://api.github.com/repos/Financial-Times/publish-availability-monitor/pulls/comments/44383455","id":44383455,"diff_hunk":"@@ -42,14 +50,20 @@ func NewPublishCheck(pm PublishMetric, t int, ci int, rs chan PublishMetric) *Pu\n // Returns true if the content is available at the endpoint, false otherwise.\n func (pc PublishCheck) DoCheck() bool {\n \tinfo.Printf(\"Running check for UUID [%v]\\n\", pc.Metric.UUID)\n-\tresp, err := http.Get(pc.Metric.endpoint.String() + pc.Metric.UUID)\n+\tcheck := endpointSpecificChecks[pc.Metric.config.Alias]\n+\n+\t//TODO remove this after the notification service gets rewritten","path":"publishCheck.go","position":41,"original_position":41,"commit_id":"44511d6925c442929c5ff1b9026b04072dfe4f81","original_commit_id":"65023b9bfa404726fe64efd642212cac1d12c634","user":{"login":"Nesze","id":3509242,"avatar_url":"https://avatars.githubusercontent.com/u/3509242?v=3","gravatar_id":"","url":"https://api.github.com/users/Nesze","html_url":"https://github.com/Nesze","followers_url":"https://api.github.com/users/Nesze/followers","following_url":"https://api.github.com/users/Nesze/following{/other_user}","gists_url":"https://api.github.com/users/Nesze/gists{/gist_id}","starred_url":"https://api.github.com/users/Nesze/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Nesze/subscriptions","organizations_url":"https://api.github.com/users/Nesze/orgs","repos_url":"https://api.github.com/users/Nesze/repos","events_url":"https://api.github.com/users/Nesze/events{/privacy}","received_events_url":"https://api.github.com/users/Nesze/received_events","type":"User","site_admin":false},"body":"Done. https://github.com/Financial-Times/publish-availability-monitor/issues/38","created_at":"2015-11-10T09:07:07Z","updated_at":"2015-11-10T09:07:07Z","html_url":"https://github.com/Financial-Times/publish-availability-monitor/pull/37#discussion_r44383455","pull_request_url":"https://api.github.com/repos/Financial-Times/publish-availability-monitor/pulls/37","_links":{"self":{"href":"https://api.github.com/repos/Financial-Times/publish-availability-monitor/pulls/comments/44383455"},"html":{"href":"https://github.com/Financial-Times/publish-availability-monitor/pull/37#discussion_r44383455"},"pull_request":{"href":"https://api.github.com/repos/Financial-Times/publish-availability-monitor/pulls/37"}}},"pull_request":{"url":"https://api.github.com/repos/Financial-Times/publish-availability-monitor/pulls/37","id":50140842,"html_url":"https://github.com/Financial-Times/publish-availability-monitor/pull/37","diff_url":"https://github.com/Financial-Times/publish-availability-monitor/pull/37.diff","patch_url":"https://github.com/Financial-Times/publish-availability-monitor/pull/37.patch","issue_url":"https://api.github.com/repos/Financial-Times/publish-availability-monitor/issues/37","number":37,"state":"open","locked":false,"title":"Notifications check","user":{"login":"Nesze","id":3509242,"avatar_url":"https://avatars.githubusercontent.com/u/3509242?v=3","gravatar_id":"","url":"https://api.github.com/users/Nesze","html_url":"https://github.com/Nesze","followers_url":"https://api.github.com/users/Nesze/followers","following_url":"https://api.github.com/users/Nesze/following{/other_user}","gists_url":"https://api.github.com/users/Nesze/gists{/gist_id}","starred_url":"https://api.github.com/users/Nesze/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Nesze/subscriptions","organizations_url":"https://api.github.com/users/Nesze/orgs","repos_url":"https://api.github.com/users/Nesze/repos","events_url":"https://api.github.com/users/Nesze/events{/privacy}","received_events_url":"https://api.github.com/users/Nesze/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-11-09T16:07:33Z","updated_at":"2015-11-10T09:07:07Z","closed_at":null,"merged_at":null,"merge_commit_sha":"aee64a7590bed34fbca455eb812dd6f1e29bf5cc","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Financial-Times/publish-availability-monitor/pulls/37/commits","review_comments_url":"https://api.github.com/repos/Financial-Times/publish-availability-monitor/pulls/37/comments","review_comment_url":"https://api.github.com/repos/Financial-Times/publish-availability-monitor/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Financial-Times/publish-availability-monitor/issues/37/comments","statuses_url":"https://api.github.com/repos/Financial-Times/publish-availability-monitor/statuses/44511d6925c442929c5ff1b9026b04072dfe4f81","head":{"label":"Financial-Times:notifications-check","ref":"notifications-check","sha":"44511d6925c442929c5ff1b9026b04072dfe4f81","user":{"login":"Financial-Times","id":3502508,"avatar_url":"https://avatars.githubusercontent.com/u/3502508?v=3","gravatar_id":"","url":"https://api.github.com/users/Financial-Times","html_url":"https://github.com/Financial-Times","followers_url":"https://api.github.com/users/Financial-Times/followers","following_url":"https://api.github.com/users/Financial-Times/following{/other_user}","gists_url":"https://api.github.com/users/Financial-Times/gists{/gist_id}","starred_url":"https://api.github.com/users/Financial-Times/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Financial-Times/subscriptions","organizations_url":"https://api.github.com/users/Financial-Times/orgs","repos_url":"https://api.github.com/users/Financial-Times/repos","events_url":"https://api.github.com/users/Financial-Times/events{/privacy}","received_events_url":"https://api.github.com/users/Financial-Times/received_events","type":"Organization","site_admin":false},"repo":{"id":44525455,"name":"publish-availability-monitor","full_name":"Financial-Times/publish-availability-monitor","owner":{"login":"Financial-Times","id":3502508,"avatar_url":"https://avatars.githubusercontent.com/u/3502508?v=3","gravatar_id":"","url":"https://api.github.com/users/Financial-Times","html_url":"https://github.com/Financial-Times","followers_url":"https://api.github.com/users/Financial-Times/followers","following_url":"https://api.github.com/users/Financial-Times/following{/other_user}","gists_url":"https://api.github.com/users/Financial-Times/gists{/gist_id}","starred_url":"https://api.github.com/users/Financial-Times/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Financial-Times/subscriptions","organizations_url":"https://api.github.com/users/Financial-Times/orgs","repos_url":"https://api.github.com/users/Financial-Times/repos","events_url":"https://api.github.com/users/Financial-Times/events{/privacy}","received_events_url":"https://api.github.com/users/Financial-Times/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Financial-Times/publish-availability-monitor","description":"Monitors publish availability and collects related metrics","fork":false,"url":"https://api.github.com/repos/Financial-Times/publish-availability-monitor","forks_url":"https://api.github.com/repos/Financial-Times/publish-availability-monitor/forks","keys_url":"https://api.github.com/repos/Financial-Times/publish-availability-monitor/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Financial-Times/publish-availability-monitor/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Financial-Times/publish-availability-monitor/teams","hooks_url":"https://api.github.com/repos/Financial-Times/publish-availability-monitor/hooks","issue_events_url":"https://api.github.com/repos/Financial-Times/publish-availability-monitor/issues/events{/number}","events_url":"https://api.github.com/repos/Financial-Times/publish-availability-monitor/events","assignees_url":"https://api.github.com/repos/Financial-Times/publish-availability-monitor/assignees{/user}","branches_url":"https://api.github.com/repos/Financial-Times/publish-availability-monitor/branches{/branch}","tags_url":"https://api.github.com/repos/Financial-Times/publish-availability-monitor/tags","blobs_url":"https://api.github.com/repos/Financial-Times/publish-availability-monitor/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Financial-Times/publish-availability-monitor/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Financial-Times/publish-availability-monitor/git/refs{/sha}","trees_url":"https://api.github.com/repos/Financial-Times/publish-availability-monitor/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Financial-Times/publish-availability-monitor/statuses/{sha}","languages_url":"https://api.github.com/repos/Financial-Times/publish-availability-monitor/languages","stargazers_url":"https://api.github.com/repos/Financial-Times/publish-availability-monitor/stargazers","contributors_url":"https://api.github.com/repos/Financial-Times/publish-availability-monitor/contributors","subscribers_url":"https://api.github.com/repos/Financial-Times/publish-availability-monitor/subscribers","subscription_url":"https://api.github.com/repos/Financial-Times/publish-availability-monitor/subscription","commits_url":"https://api.github.com/repos/Financial-Times/publish-availability-monitor/commits{/sha}","git_commits_url":"https://api.github.com/repos/Financial-Times/publish-availability-monitor/git/commits{/sha}","comments_url":"https://api.github.com/repos/Financial-Times/publish-availability-monitor/comments{/number}","issue_comment_url":"https://api.github.com/repos/Financial-Times/publish-availability-monitor/issues/comments{/number}","contents_url":"https://api.github.com/repos/Financial-Times/publish-availability-monitor/contents/{+path}","compare_url":"https://api.github.com/repos/Financial-Times/publish-availability-monitor/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Financial-Times/publish-availability-monitor/merges","archive_url":"https://api.github.com/repos/Financial-Times/publish-availability-monitor/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Financial-Times/publish-availability-monitor/downloads","issues_url":"https://api.github.com/repos/Financial-Times/publish-availability-monitor/issues{/number}","pulls_url":"https://api.github.com/repos/Financial-Times/publish-availability-monitor/pulls{/number}","milestones_url":"https://api.github.com/repos/Financial-Times/publish-availability-monitor/milestones{/number}","notifications_url":"https://api.github.com/repos/Financial-Times/publish-availability-monitor/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Financial-Times/publish-availability-monitor/labels{/name}","releases_url":"https://api.github.com/repos/Financial-Times/publish-availability-monitor/releases{/id}","created_at":"2015-10-19T09:48:27Z","updated_at":"2015-10-20T06:21:49Z","pushed_at":"2015-11-10T09:06:50Z","git_url":"git://github.com/Financial-Times/publish-availability-monitor.git","ssh_url":"git@github.com:Financial-Times/publish-availability-monitor.git","clone_url":"https://github.com/Financial-Times/publish-availability-monitor.git","svn_url":"https://github.com/Financial-Times/publish-availability-monitor","homepage":null,"size":604,"stargazers_count":0,"watchers_count":0,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":2,"forks":0,"open_issues":2,"watchers":0,"default_branch":"master"}},"base":{"label":"Financial-Times:master","ref":"master","sha":"0f202ce5d427afdd7980c9486e41171b8a0f8b8b","user":{"login":"Financial-Times","id":3502508,"avatar_url":"https://avatars.githubusercontent.com/u/3502508?v=3","gravatar_id":"","url":"https://api.github.com/users/Financial-Times","html_url":"https://github.com/Financial-Times","followers_url":"https://api.github.com/users/Financial-Times/followers","following_url":"https://api.github.com/users/Financial-Times/following{/other_user}","gists_url":"https://api.github.com/users/Financial-Times/gists{/gist_id}","starred_url":"https://api.github.com/users/Financial-Times/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Financial-Times/subscriptions","organizations_url":"https://api.github.com/users/Financial-Times/orgs","repos_url":"https://api.github.com/users/Financial-Times/repos","events_url":"https://api.github.com/users/Financial-Times/events{/privacy}","received_events_url":"https://api.github.com/users/Financial-Times/received_events","type":"Organization","site_admin":false},"repo":{"id":44525455,"name":"publish-availability-monitor","full_name":"Financial-Times/publish-availability-monitor","owner":{"login":"Financial-Times","id":3502508,"avatar_url":"https://avatars.githubusercontent.com/u/3502508?v=3","gravatar_id":"","url":"https://api.github.com/users/Financial-Times","html_url":"https://github.com/Financial-Times","followers_url":"https://api.github.com/users/Financial-Times/followers","following_url":"https://api.github.com/users/Financial-Times/following{/other_user}","gists_url":"https://api.github.com/users/Financial-Times/gists{/gist_id}","starred_url":"https://api.github.com/users/Financial-Times/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Financial-Times/subscriptions","organizations_url":"https://api.github.com/users/Financial-Times/orgs","repos_url":"https://api.github.com/users/Financial-Times/repos","events_url":"https://api.github.com/users/Financial-Times/events{/privacy}","received_events_url":"https://api.github.com/users/Financial-Times/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Financial-Times/publish-availability-monitor","description":"Monitors publish availability and collects related metrics","fork":false,"url":"https://api.github.com/repos/Financial-Times/publish-availability-monitor","forks_url":"https://api.github.com/repos/Financial-Times/publish-availability-monitor/forks","keys_url":"https://api.github.com/repos/Financial-Times/publish-availability-monitor/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Financial-Times/publish-availability-monitor/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Financial-Times/publish-availability-monitor/teams","hooks_url":"https://api.github.com/repos/Financial-Times/publish-availability-monitor/hooks","issue_events_url":"https://api.github.com/repos/Financial-Times/publish-availability-monitor/issues/events{/number}","events_url":"https://api.github.com/repos/Financial-Times/publish-availability-monitor/events","assignees_url":"https://api.github.com/repos/Financial-Times/publish-availability-monitor/assignees{/user}","branches_url":"https://api.github.com/repos/Financial-Times/publish-availability-monitor/branches{/branch}","tags_url":"https://api.github.com/repos/Financial-Times/publish-availability-monitor/tags","blobs_url":"https://api.github.com/repos/Financial-Times/publish-availability-monitor/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Financial-Times/publish-availability-monitor/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Financial-Times/publish-availability-monitor/git/refs{/sha}","trees_url":"https://api.github.com/repos/Financial-Times/publish-availability-monitor/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Financial-Times/publish-availability-monitor/statuses/{sha}","languages_url":"https://api.github.com/repos/Financial-Times/publish-availability-monitor/languages","stargazers_url":"https://api.github.com/repos/Financial-Times/publish-availability-monitor/stargazers","contributors_url":"https://api.github.com/repos/Financial-Times/publish-availability-monitor/contributors","subscribers_url":"https://api.github.com/repos/Financial-Times/publish-availability-monitor/subscribers","subscription_url":"https://api.github.com/repos/Financial-Times/publish-availability-monitor/subscription","commits_url":"https://api.github.com/repos/Financial-Times/publish-availability-monitor/commits{/sha}","git_commits_url":"https://api.github.com/repos/Financial-Times/publish-availability-monitor/git/commits{/sha}","comments_url":"https://api.github.com/repos/Financial-Times/publish-availability-monitor/comments{/number}","issue_comment_url":"https://api.github.com/repos/Financial-Times/publish-availability-monitor/issues/comments{/number}","contents_url":"https://api.github.com/repos/Financial-Times/publish-availability-monitor/contents/{+path}","compare_url":"https://api.github.com/repos/Financial-Times/publish-availability-monitor/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Financial-Times/publish-availability-monitor/merges","archive_url":"https://api.github.com/repos/Financial-Times/publish-availability-monitor/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Financial-Times/publish-availability-monitor/downloads","issues_url":"https://api.github.com/repos/Financial-Times/publish-availability-monitor/issues{/number}","pulls_url":"https://api.github.com/repos/Financial-Times/publish-availability-monitor/pulls{/number}","milestones_url":"https://api.github.com/repos/Financial-Times/publish-availability-monitor/milestones{/number}","notifications_url":"https://api.github.com/repos/Financial-Times/publish-availability-monitor/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Financial-Times/publish-availability-monitor/labels{/name}","releases_url":"https://api.github.com/repos/Financial-Times/publish-availability-monitor/releases{/id}","created_at":"2015-10-19T09:48:27Z","updated_at":"2015-10-20T06:21:49Z","pushed_at":"2015-11-10T09:06:50Z","git_url":"git://github.com/Financial-Times/publish-availability-monitor.git","ssh_url":"git@github.com:Financial-Times/publish-availability-monitor.git","clone_url":"https://github.com/Financial-Times/publish-availability-monitor.git","svn_url":"https://github.com/Financial-Times/publish-availability-monitor","homepage":null,"size":604,"stargazers_count":0,"watchers_count":0,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":2,"forks":0,"open_issues":2,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Financial-Times/publish-availability-monitor/pulls/37"},"html":{"href":"https://github.com/Financial-Times/publish-availability-monitor/pull/37"},"issue":{"href":"https://api.github.com/repos/Financial-Times/publish-availability-monitor/issues/37"},"comments":{"href":"https://api.github.com/repos/Financial-Times/publish-availability-monitor/issues/37/comments"},"review_comments":{"href":"https://api.github.com/repos/Financial-Times/publish-availability-monitor/pulls/37/comments"},"review_comment":{"href":"https://api.github.com/repos/Financial-Times/publish-availability-monitor/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Financial-Times/publish-availability-monitor/pulls/37/commits"},"statuses":{"href":"https://api.github.com/repos/Financial-Times/publish-availability-monitor/statuses/44511d6925c442929c5ff1b9026b04072dfe4f81"}}}}