{"action":"created","comment":{"url":"https://api.github.com/repos/dcos/dcos-signal/pulls/comments/64142167","id":64142167,"diff_hunk":"@@ -0,0 +1,62 @@\n+package signal\n+\n+import (\n+\t\"io/ioutil\"\n+\t\"net/http\"\n+\t\"time\"\n+\n+\tlog \"github.com/Sirupsen/logrus\"\n+\t\"github.com/dcos/dcos-signal/config\"\n+)\n+\n+type Report interface {","path":"signal/report.go","position":null,"original_position":12,"commit_id":"c0f2c4fa47aa8db1f236289c1ddefaabcdee1da7","original_commit_id":"b38a78cb3c2f748645f4b4e10193260e14a991e3","user":{"login":"malnick","id":4028224,"avatar_url":"https://avatars.githubusercontent.com/u/4028224?v=3","gravatar_id":"","url":"https://api.github.com/users/malnick","html_url":"https://github.com/malnick","followers_url":"https://api.github.com/users/malnick/followers","following_url":"https://api.github.com/users/malnick/following{/other_user}","gists_url":"https://api.github.com/users/malnick/gists{/gist_id}","starred_url":"https://api.github.com/users/malnick/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/malnick/subscriptions","organizations_url":"https://api.github.com/users/malnick/orgs","repos_url":"https://api.github.com/users/malnick/repos","events_url":"https://api.github.com/users/malnick/events{/privacy}","received_events_url":"https://api.github.com/users/malnick/received_events","type":"User","site_admin":false},"body":"I've updated this in #8 to `Reporter` ","created_at":"2016-05-22T00:15:23Z","updated_at":"2016-05-22T00:15:23Z","html_url":"https://github.com/dcos/dcos-signal/pull/7#discussion_r64142167","pull_request_url":"https://api.github.com/repos/dcos/dcos-signal/pulls/7","_links":{"self":{"href":"https://api.github.com/repos/dcos/dcos-signal/pulls/comments/64142167"},"html":{"href":"https://github.com/dcos/dcos-signal/pull/7#discussion_r64142167"},"pull_request":{"href":"https://api.github.com/repos/dcos/dcos-signal/pulls/7"}}},"pull_request":{"url":"https://api.github.com/repos/dcos/dcos-signal/pulls/7","id":70936153,"html_url":"https://github.com/dcos/dcos-signal/pull/7","diff_url":"https://github.com/dcos/dcos-signal/pull/7.diff","patch_url":"https://github.com/dcos/dcos-signal/pull/7.patch","issue_url":"https://api.github.com/repos/dcos/dcos-signal/issues/7","number":7,"state":"open","locked":false,"title":"Refactor for many services","user":{"login":"malnick","id":4028224,"avatar_url":"https://avatars.githubusercontent.com/u/4028224?v=3","gravatar_id":"","url":"https://api.github.com/users/malnick","html_url":"https://github.com/malnick","followers_url":"https://api.github.com/users/malnick/followers","following_url":"https://api.github.com/users/malnick/following{/other_user}","gists_url":"https://api.github.com/users/malnick/gists{/gist_id}","starred_url":"https://api.github.com/users/malnick/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/malnick/subscriptions","organizations_url":"https://api.github.com/users/malnick/orgs","repos_url":"https://api.github.com/users/malnick/repos","events_url":"https://api.github.com/users/malnick/events{/privacy}","received_events_url":"https://api.github.com/users/malnick/received_events","type":"User","site_admin":false},"body":"Query more than one service:\r\n\r\n- refactored to leverage a generic `report` interface which can encompass any type of endpoint we need to get data from for signal.","created_at":"2016-05-21T01:38:32Z","updated_at":"2016-05-22T00:15:23Z","closed_at":null,"merged_at":null,"merge_commit_sha":"81823b05106fa97736e891fa11edb421401590ac","assignee":{"login":"malnick","id":4028224,"avatar_url":"https://avatars.githubusercontent.com/u/4028224?v=3","gravatar_id":"","url":"https://api.github.com/users/malnick","html_url":"https://github.com/malnick","followers_url":"https://api.github.com/users/malnick/followers","following_url":"https://api.github.com/users/malnick/following{/other_user}","gists_url":"https://api.github.com/users/malnick/gists{/gist_id}","starred_url":"https://api.github.com/users/malnick/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/malnick/subscriptions","organizations_url":"https://api.github.com/users/malnick/orgs","repos_url":"https://api.github.com/users/malnick/repos","events_url":"https://api.github.com/users/malnick/events{/privacy}","received_events_url":"https://api.github.com/users/malnick/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/dcos/dcos-signal/pulls/7/commits","review_comments_url":"https://api.github.com/repos/dcos/dcos-signal/pulls/7/comments","review_comment_url":"https://api.github.com/repos/dcos/dcos-signal/pulls/comments{/number}","comments_url":"https://api.github.com/repos/dcos/dcos-signal/issues/7/comments","statuses_url":"https://api.github.com/repos/dcos/dcos-signal/statuses/c0f2c4fa47aa8db1f236289c1ddefaabcdee1da7","head":{"label":"dcos:malnick/puller","ref":"malnick/puller","sha":"c0f2c4fa47aa8db1f236289c1ddefaabcdee1da7","user":{"login":"dcos","id":17648048,"avatar_url":"https://avatars.githubusercontent.com/u/17648048?v=3","gravatar_id":"","url":"https://api.github.com/users/dcos","html_url":"https://github.com/dcos","followers_url":"https://api.github.com/users/dcos/followers","following_url":"https://api.github.com/users/dcos/following{/other_user}","gists_url":"https://api.github.com/users/dcos/gists{/gist_id}","starred_url":"https://api.github.com/users/dcos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dcos/subscriptions","organizations_url":"https://api.github.com/users/dcos/orgs","repos_url":"https://api.github.com/users/dcos/repos","events_url":"https://api.github.com/users/dcos/events{/privacy}","received_events_url":"https://api.github.com/users/dcos/received_events","type":"Organization","site_admin":false},"repo":{"id":56182172,"name":"dcos-signal","full_name":"dcos/dcos-signal","owner":{"login":"dcos","id":17648048,"avatar_url":"https://avatars.githubusercontent.com/u/17648048?v=3","gravatar_id":"","url":"https://api.github.com/users/dcos","html_url":"https://github.com/dcos","followers_url":"https://api.github.com/users/dcos/followers","following_url":"https://api.github.com/users/dcos/following{/other_user}","gists_url":"https://api.github.com/users/dcos/gists{/gist_id}","starred_url":"https://api.github.com/users/dcos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dcos/subscriptions","organizations_url":"https://api.github.com/users/dcos/orgs","repos_url":"https://api.github.com/users/dcos/repos","events_url":"https://api.github.com/users/dcos/events{/privacy}","received_events_url":"https://api.github.com/users/dcos/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/dcos/dcos-signal","description":"","fork":false,"url":"https://api.github.com/repos/dcos/dcos-signal","forks_url":"https://api.github.com/repos/dcos/dcos-signal/forks","keys_url":"https://api.github.com/repos/dcos/dcos-signal/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dcos/dcos-signal/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dcos/dcos-signal/teams","hooks_url":"https://api.github.com/repos/dcos/dcos-signal/hooks","issue_events_url":"https://api.github.com/repos/dcos/dcos-signal/issues/events{/number}","events_url":"https://api.github.com/repos/dcos/dcos-signal/events","assignees_url":"https://api.github.com/repos/dcos/dcos-signal/assignees{/user}","branches_url":"https://api.github.com/repos/dcos/dcos-signal/branches{/branch}","tags_url":"https://api.github.com/repos/dcos/dcos-signal/tags","blobs_url":"https://api.github.com/repos/dcos/dcos-signal/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dcos/dcos-signal/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dcos/dcos-signal/git/refs{/sha}","trees_url":"https://api.github.com/repos/dcos/dcos-signal/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dcos/dcos-signal/statuses/{sha}","languages_url":"https://api.github.com/repos/dcos/dcos-signal/languages","stargazers_url":"https://api.github.com/repos/dcos/dcos-signal/stargazers","contributors_url":"https://api.github.com/repos/dcos/dcos-signal/contributors","subscribers_url":"https://api.github.com/repos/dcos/dcos-signal/subscribers","subscription_url":"https://api.github.com/repos/dcos/dcos-signal/subscription","commits_url":"https://api.github.com/repos/dcos/dcos-signal/commits{/sha}","git_commits_url":"https://api.github.com/repos/dcos/dcos-signal/git/commits{/sha}","comments_url":"https://api.github.com/repos/dcos/dcos-signal/comments{/number}","issue_comment_url":"https://api.github.com/repos/dcos/dcos-signal/issues/comments{/number}","contents_url":"https://api.github.com/repos/dcos/dcos-signal/contents/{+path}","compare_url":"https://api.github.com/repos/dcos/dcos-signal/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dcos/dcos-signal/merges","archive_url":"https://api.github.com/repos/dcos/dcos-signal/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dcos/dcos-signal/downloads","issues_url":"https://api.github.com/repos/dcos/dcos-signal/issues{/number}","pulls_url":"https://api.github.com/repos/dcos/dcos-signal/pulls{/number}","milestones_url":"https://api.github.com/repos/dcos/dcos-signal/milestones{/number}","notifications_url":"https://api.github.com/repos/dcos/dcos-signal/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dcos/dcos-signal/labels{/name}","releases_url":"https://api.github.com/repos/dcos/dcos-signal/releases{/id}","deployments_url":"https://api.github.com/repos/dcos/dcos-signal/deployments","created_at":"2016-04-13T20:04:35Z","updated_at":"2016-05-04T15:34:57Z","pushed_at":"2016-05-22T00:11:14Z","git_url":"git://github.com/dcos/dcos-signal.git","ssh_url":"git@github.com:dcos/dcos-signal.git","clone_url":"https://github.com/dcos/dcos-signal.git","svn_url":"https://github.com/dcos/dcos-signal","homepage":null,"size":199,"stargazers_count":7,"watchers_count":7,"language":"Go","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":4,"forks":3,"open_issues":4,"watchers":7,"default_branch":"master"}},"base":{"label":"dcos:master","ref":"master","sha":"26bdd0b8a105310fd8913b0fa8df346326406925","user":{"login":"dcos","id":17648048,"avatar_url":"https://avatars.githubusercontent.com/u/17648048?v=3","gravatar_id":"","url":"https://api.github.com/users/dcos","html_url":"https://github.com/dcos","followers_url":"https://api.github.com/users/dcos/followers","following_url":"https://api.github.com/users/dcos/following{/other_user}","gists_url":"https://api.github.com/users/dcos/gists{/gist_id}","starred_url":"https://api.github.com/users/dcos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dcos/subscriptions","organizations_url":"https://api.github.com/users/dcos/orgs","repos_url":"https://api.github.com/users/dcos/repos","events_url":"https://api.github.com/users/dcos/events{/privacy}","received_events_url":"https://api.github.com/users/dcos/received_events","type":"Organization","site_admin":false},"repo":{"id":56182172,"name":"dcos-signal","full_name":"dcos/dcos-signal","owner":{"login":"dcos","id":17648048,"avatar_url":"https://avatars.githubusercontent.com/u/17648048?v=3","gravatar_id":"","url":"https://api.github.com/users/dcos","html_url":"https://github.com/dcos","followers_url":"https://api.github.com/users/dcos/followers","following_url":"https://api.github.com/users/dcos/following{/other_user}","gists_url":"https://api.github.com/users/dcos/gists{/gist_id}","starred_url":"https://api.github.com/users/dcos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dcos/subscriptions","organizations_url":"https://api.github.com/users/dcos/orgs","repos_url":"https://api.github.com/users/dcos/repos","events_url":"https://api.github.com/users/dcos/events{/privacy}","received_events_url":"https://api.github.com/users/dcos/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/dcos/dcos-signal","description":"","fork":false,"url":"https://api.github.com/repos/dcos/dcos-signal","forks_url":"https://api.github.com/repos/dcos/dcos-signal/forks","keys_url":"https://api.github.com/repos/dcos/dcos-signal/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dcos/dcos-signal/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dcos/dcos-signal/teams","hooks_url":"https://api.github.com/repos/dcos/dcos-signal/hooks","issue_events_url":"https://api.github.com/repos/dcos/dcos-signal/issues/events{/number}","events_url":"https://api.github.com/repos/dcos/dcos-signal/events","assignees_url":"https://api.github.com/repos/dcos/dcos-signal/assignees{/user}","branches_url":"https://api.github.com/repos/dcos/dcos-signal/branches{/branch}","tags_url":"https://api.github.com/repos/dcos/dcos-signal/tags","blobs_url":"https://api.github.com/repos/dcos/dcos-signal/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dcos/dcos-signal/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dcos/dcos-signal/git/refs{/sha}","trees_url":"https://api.github.com/repos/dcos/dcos-signal/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dcos/dcos-signal/statuses/{sha}","languages_url":"https://api.github.com/repos/dcos/dcos-signal/languages","stargazers_url":"https://api.github.com/repos/dcos/dcos-signal/stargazers","contributors_url":"https://api.github.com/repos/dcos/dcos-signal/contributors","subscribers_url":"https://api.github.com/repos/dcos/dcos-signal/subscribers","subscription_url":"https://api.github.com/repos/dcos/dcos-signal/subscription","commits_url":"https://api.github.com/repos/dcos/dcos-signal/commits{/sha}","git_commits_url":"https://api.github.com/repos/dcos/dcos-signal/git/commits{/sha}","comments_url":"https://api.github.com/repos/dcos/dcos-signal/comments{/number}","issue_comment_url":"https://api.github.com/repos/dcos/dcos-signal/issues/comments{/number}","contents_url":"https://api.github.com/repos/dcos/dcos-signal/contents/{+path}","compare_url":"https://api.github.com/repos/dcos/dcos-signal/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dcos/dcos-signal/merges","archive_url":"https://api.github.com/repos/dcos/dcos-signal/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dcos/dcos-signal/downloads","issues_url":"https://api.github.com/repos/dcos/dcos-signal/issues{/number}","pulls_url":"https://api.github.com/repos/dcos/dcos-signal/pulls{/number}","milestones_url":"https://api.github.com/repos/dcos/dcos-signal/milestones{/number}","notifications_url":"https://api.github.com/repos/dcos/dcos-signal/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dcos/dcos-signal/labels{/name}","releases_url":"https://api.github.com/repos/dcos/dcos-signal/releases{/id}","deployments_url":"https://api.github.com/repos/dcos/dcos-signal/deployments","created_at":"2016-04-13T20:04:35Z","updated_at":"2016-05-04T15:34:57Z","pushed_at":"2016-05-22T00:11:14Z","git_url":"git://github.com/dcos/dcos-signal.git","ssh_url":"git@github.com:dcos/dcos-signal.git","clone_url":"https://github.com/dcos/dcos-signal.git","svn_url":"https://github.com/dcos/dcos-signal","homepage":null,"size":199,"stargazers_count":7,"watchers_count":7,"language":"Go","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":4,"forks":3,"open_issues":4,"watchers":7,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/dcos/dcos-signal/pulls/7"},"html":{"href":"https://github.com/dcos/dcos-signal/pull/7"},"issue":{"href":"https://api.github.com/repos/dcos/dcos-signal/issues/7"},"comments":{"href":"https://api.github.com/repos/dcos/dcos-signal/issues/7/comments"},"review_comments":{"href":"https://api.github.com/repos/dcos/dcos-signal/pulls/7/comments"},"review_comment":{"href":"https://api.github.com/repos/dcos/dcos-signal/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/dcos/dcos-signal/pulls/7/commits"},"statuses":{"href":"https://api.github.com/repos/dcos/dcos-signal/statuses/c0f2c4fa47aa8db1f236289c1ddefaabcdee1da7"}}}}
{"actor":{"display_login":"malnick"}}