{"action":"created","comment":{"url":"https://api.github.com/repos/guardian/mobile-n10n/pulls/comments/54083048","id":54083048,"diff_hunk":"@@ -0,0 +1,46 @@\n+package notification.services.frontend\n+\n+import models.{BreakingNewsNotification, NotificationReport}\n+import play.api.Logger\n+import play.api.libs.json.Json\n+import play.api.libs.ws.WSClient\n+import play.mvc.Http.Status.CREATED\n+import tracking.{TrackingError, TrackerResult, TrackingObserver}\n+import scala.concurrent.ExecutionContext.Implicits.global\n+import scala.concurrent.Future\n+import scalaz.\\/\n+import scalaz.syntax.either._\n+\n+class FrontendAlerts(config: FrontendAlertsConfig, wsClient: WSClient) extends TrackingObserver {","path":"notification/app/notification/services/frontend/FrontendAlerts.scala","position":14,"original_position":14,"commit_id":"87ab31f985c8f6e0aeeae97bbdc474ee5d85db79","original_commit_id":"87ab31f985c8f6e0aeeae97bbdc474ee5d85db79","user":{"login":"agulowaty","id":8526142,"avatar_url":"https://avatars.githubusercontent.com/u/8526142?v=3","gravatar_id":"","url":"https://api.github.com/users/agulowaty","html_url":"https://github.com/agulowaty","followers_url":"https://api.github.com/users/agulowaty/followers","following_url":"https://api.github.com/users/agulowaty/following{/other_user}","gists_url":"https://api.github.com/users/agulowaty/gists{/gist_id}","starred_url":"https://api.github.com/users/agulowaty/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/agulowaty/subscriptions","organizations_url":"https://api.github.com/users/agulowaty/orgs","repos_url":"https://api.github.com/users/agulowaty/repos","events_url":"https://api.github.com/users/agulowaty/events{/privacy}","received_events_url":"https://api.github.com/users/agulowaty/received_events","type":"User","site_admin":false},"body":"I'll create another PR with that in mind, thanks Alex.","created_at":"2016-02-25T11:36:13Z","updated_at":"2016-02-25T11:36:13Z","html_url":"https://github.com/guardian/mobile-n10n/pull/55#discussion_r54083048","pull_request_url":"https://api.github.com/repos/guardian/mobile-n10n/pulls/55","_links":{"self":{"href":"https://api.github.com/repos/guardian/mobile-n10n/pulls/comments/54083048"},"html":{"href":"https://github.com/guardian/mobile-n10n/pull/55#discussion_r54083048"},"pull_request":{"href":"https://api.github.com/repos/guardian/mobile-n10n/pulls/55"}}},"pull_request":{"url":"https://api.github.com/repos/guardian/mobile-n10n/pulls/55","id":59946697,"html_url":"https://github.com/guardian/mobile-n10n/pull/55","diff_url":"https://github.com/guardian/mobile-n10n/pull/55.diff","patch_url":"https://github.com/guardian/mobile-n10n/pull/55.patch","issue_url":"https://api.github.com/repos/guardian/mobile-n10n/issues/55","number":55,"state":"open","locked":false,"title":"[MAPI-1291] call frontend on notification","user":{"login":"agulowaty","id":8526142,"avatar_url":"https://avatars.githubusercontent.com/u/8526142?v=3","gravatar_id":"","url":"https://api.github.com/users/agulowaty","html_url":"https://github.com/agulowaty","followers_url":"https://api.github.com/users/agulowaty/followers","following_url":"https://api.github.com/users/agulowaty/following{/other_user}","gists_url":"https://api.github.com/users/agulowaty/gists{/gist_id}","starred_url":"https://api.github.com/users/agulowaty/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/agulowaty/subscriptions","organizations_url":"https://api.github.com/users/agulowaty/orgs","repos_url":"https://api.github.com/users/agulowaty/repos","events_url":"https://api.github.com/users/agulowaty/events{/privacy}","received_events_url":"https://api.github.com/users/agulowaty/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-02-19T13:06:42Z","updated_at":"2016-02-25T11:36:13Z","closed_at":null,"merged_at":null,"merge_commit_sha":"1fa0049f13c6ee2d594172779368907e36d884cd","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/guardian/mobile-n10n/pulls/55/commits","review_comments_url":"https://api.github.com/repos/guardian/mobile-n10n/pulls/55/comments","review_comment_url":"https://api.github.com/repos/guardian/mobile-n10n/pulls/comments{/number}","comments_url":"https://api.github.com/repos/guardian/mobile-n10n/issues/55/comments","statuses_url":"https://api.github.com/repos/guardian/mobile-n10n/statuses/87ab31f985c8f6e0aeeae97bbdc474ee5d85db79","head":{"label":"guardian:MAPI-1291-call-frontend-on-notification","ref":"MAPI-1291-call-frontend-on-notification","sha":"87ab31f985c8f6e0aeeae97bbdc474ee5d85db79","user":{"login":"guardian","id":164318,"avatar_url":"https://avatars.githubusercontent.com/u/164318?v=3","gravatar_id":"","url":"https://api.github.com/users/guardian","html_url":"https://github.com/guardian","followers_url":"https://api.github.com/users/guardian/followers","following_url":"https://api.github.com/users/guardian/following{/other_user}","gists_url":"https://api.github.com/users/guardian/gists{/gist_id}","starred_url":"https://api.github.com/users/guardian/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/guardian/subscriptions","organizations_url":"https://api.github.com/users/guardian/orgs","repos_url":"https://api.github.com/users/guardian/repos","events_url":"https://api.github.com/users/guardian/events{/privacy}","received_events_url":"https://api.github.com/users/guardian/received_events","type":"Organization","site_admin":false},"repo":{"id":42113608,"name":"mobile-n10n","full_name":"guardian/mobile-n10n","owner":{"login":"guardian","id":164318,"avatar_url":"https://avatars.githubusercontent.com/u/164318?v=3","gravatar_id":"","url":"https://api.github.com/users/guardian","html_url":"https://github.com/guardian","followers_url":"https://api.github.com/users/guardian/followers","following_url":"https://api.github.com/users/guardian/following{/other_user}","gists_url":"https://api.github.com/users/guardian/gists{/gist_id}","starred_url":"https://api.github.com/users/guardian/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/guardian/subscriptions","organizations_url":"https://api.github.com/users/guardian/orgs","repos_url":"https://api.github.com/users/guardian/repos","events_url":"https://api.github.com/users/guardian/events{/privacy}","received_events_url":"https://api.github.com/users/guardian/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/guardian/mobile-n10n","description":"Next generation of notifications","fork":false,"url":"https://api.github.com/repos/guardian/mobile-n10n","forks_url":"https://api.github.com/repos/guardian/mobile-n10n/forks","keys_url":"https://api.github.com/repos/guardian/mobile-n10n/keys{/key_id}","collaborators_url":"https://api.github.com/repos/guardian/mobile-n10n/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/guardian/mobile-n10n/teams","hooks_url":"https://api.github.com/repos/guardian/mobile-n10n/hooks","issue_events_url":"https://api.github.com/repos/guardian/mobile-n10n/issues/events{/number}","events_url":"https://api.github.com/repos/guardian/mobile-n10n/events","assignees_url":"https://api.github.com/repos/guardian/mobile-n10n/assignees{/user}","branches_url":"https://api.github.com/repos/guardian/mobile-n10n/branches{/branch}","tags_url":"https://api.github.com/repos/guardian/mobile-n10n/tags","blobs_url":"https://api.github.com/repos/guardian/mobile-n10n/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/guardian/mobile-n10n/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/guardian/mobile-n10n/git/refs{/sha}","trees_url":"https://api.github.com/repos/guardian/mobile-n10n/git/trees{/sha}","statuses_url":"https://api.github.com/repos/guardian/mobile-n10n/statuses/{sha}","languages_url":"https://api.github.com/repos/guardian/mobile-n10n/languages","stargazers_url":"https://api.github.com/repos/guardian/mobile-n10n/stargazers","contributors_url":"https://api.github.com/repos/guardian/mobile-n10n/contributors","subscribers_url":"https://api.github.com/repos/guardian/mobile-n10n/subscribers","subscription_url":"https://api.github.com/repos/guardian/mobile-n10n/subscription","commits_url":"https://api.github.com/repos/guardian/mobile-n10n/commits{/sha}","git_commits_url":"https://api.github.com/repos/guardian/mobile-n10n/git/commits{/sha}","comments_url":"https://api.github.com/repos/guardian/mobile-n10n/comments{/number}","issue_comment_url":"https://api.github.com/repos/guardian/mobile-n10n/issues/comments{/number}","contents_url":"https://api.github.com/repos/guardian/mobile-n10n/contents/{+path}","compare_url":"https://api.github.com/repos/guardian/mobile-n10n/compare/{base}...{head}","merges_url":"https://api.github.com/repos/guardian/mobile-n10n/merges","archive_url":"https://api.github.com/repos/guardian/mobile-n10n/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/guardian/mobile-n10n/downloads","issues_url":"https://api.github.com/repos/guardian/mobile-n10n/issues{/number}","pulls_url":"https://api.github.com/repos/guardian/mobile-n10n/pulls{/number}","milestones_url":"https://api.github.com/repos/guardian/mobile-n10n/milestones{/number}","notifications_url":"https://api.github.com/repos/guardian/mobile-n10n/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/guardian/mobile-n10n/labels{/name}","releases_url":"https://api.github.com/repos/guardian/mobile-n10n/releases{/id}","deployments_url":"https://api.github.com/repos/guardian/mobile-n10n/deployments","created_at":"2015-09-08T13:24:20Z","updated_at":"2016-01-11T10:18:58Z","pushed_at":"2016-02-24T10:11:43Z","git_url":"git://github.com/guardian/mobile-n10n.git","ssh_url":"git@github.com:guardian/mobile-n10n.git","clone_url":"https://github.com/guardian/mobile-n10n.git","svn_url":"https://github.com/guardian/mobile-n10n","homepage":null,"size":1367,"stargazers_count":4,"watchers_count":4,"language":"Scala","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":4,"default_branch":"master"}},"base":{"label":"guardian:master","ref":"master","sha":"c9df394a61b4d7d1a088e5f347ad75db25a8007c","user":{"login":"guardian","id":164318,"avatar_url":"https://avatars.githubusercontent.com/u/164318?v=3","gravatar_id":"","url":"https://api.github.com/users/guardian","html_url":"https://github.com/guardian","followers_url":"https://api.github.com/users/guardian/followers","following_url":"https://api.github.com/users/guardian/following{/other_user}","gists_url":"https://api.github.com/users/guardian/gists{/gist_id}","starred_url":"https://api.github.com/users/guardian/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/guardian/subscriptions","organizations_url":"https://api.github.com/users/guardian/orgs","repos_url":"https://api.github.com/users/guardian/repos","events_url":"https://api.github.com/users/guardian/events{/privacy}","received_events_url":"https://api.github.com/users/guardian/received_events","type":"Organization","site_admin":false},"repo":{"id":42113608,"name":"mobile-n10n","full_name":"guardian/mobile-n10n","owner":{"login":"guardian","id":164318,"avatar_url":"https://avatars.githubusercontent.com/u/164318?v=3","gravatar_id":"","url":"https://api.github.com/users/guardian","html_url":"https://github.com/guardian","followers_url":"https://api.github.com/users/guardian/followers","following_url":"https://api.github.com/users/guardian/following{/other_user}","gists_url":"https://api.github.com/users/guardian/gists{/gist_id}","starred_url":"https://api.github.com/users/guardian/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/guardian/subscriptions","organizations_url":"https://api.github.com/users/guardian/orgs","repos_url":"https://api.github.com/users/guardian/repos","events_url":"https://api.github.com/users/guardian/events{/privacy}","received_events_url":"https://api.github.com/users/guardian/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/guardian/mobile-n10n","description":"Next generation of notifications","fork":false,"url":"https://api.github.com/repos/guardian/mobile-n10n","forks_url":"https://api.github.com/repos/guardian/mobile-n10n/forks","keys_url":"https://api.github.com/repos/guardian/mobile-n10n/keys{/key_id}","collaborators_url":"https://api.github.com/repos/guardian/mobile-n10n/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/guardian/mobile-n10n/teams","hooks_url":"https://api.github.com/repos/guardian/mobile-n10n/hooks","issue_events_url":"https://api.github.com/repos/guardian/mobile-n10n/issues/events{/number}","events_url":"https://api.github.com/repos/guardian/mobile-n10n/events","assignees_url":"https://api.github.com/repos/guardian/mobile-n10n/assignees{/user}","branches_url":"https://api.github.com/repos/guardian/mobile-n10n/branches{/branch}","tags_url":"https://api.github.com/repos/guardian/mobile-n10n/tags","blobs_url":"https://api.github.com/repos/guardian/mobile-n10n/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/guardian/mobile-n10n/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/guardian/mobile-n10n/git/refs{/sha}","trees_url":"https://api.github.com/repos/guardian/mobile-n10n/git/trees{/sha}","statuses_url":"https://api.github.com/repos/guardian/mobile-n10n/statuses/{sha}","languages_url":"https://api.github.com/repos/guardian/mobile-n10n/languages","stargazers_url":"https://api.github.com/repos/guardian/mobile-n10n/stargazers","contributors_url":"https://api.github.com/repos/guardian/mobile-n10n/contributors","subscribers_url":"https://api.github.com/repos/guardian/mobile-n10n/subscribers","subscription_url":"https://api.github.com/repos/guardian/mobile-n10n/subscription","commits_url":"https://api.github.com/repos/guardian/mobile-n10n/commits{/sha}","git_commits_url":"https://api.github.com/repos/guardian/mobile-n10n/git/commits{/sha}","comments_url":"https://api.github.com/repos/guardian/mobile-n10n/comments{/number}","issue_comment_url":"https://api.github.com/repos/guardian/mobile-n10n/issues/comments{/number}","contents_url":"https://api.github.com/repos/guardian/mobile-n10n/contents/{+path}","compare_url":"https://api.github.com/repos/guardian/mobile-n10n/compare/{base}...{head}","merges_url":"https://api.github.com/repos/guardian/mobile-n10n/merges","archive_url":"https://api.github.com/repos/guardian/mobile-n10n/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/guardian/mobile-n10n/downloads","issues_url":"https://api.github.com/repos/guardian/mobile-n10n/issues{/number}","pulls_url":"https://api.github.com/repos/guardian/mobile-n10n/pulls{/number}","milestones_url":"https://api.github.com/repos/guardian/mobile-n10n/milestones{/number}","notifications_url":"https://api.github.com/repos/guardian/mobile-n10n/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/guardian/mobile-n10n/labels{/name}","releases_url":"https://api.github.com/repos/guardian/mobile-n10n/releases{/id}","deployments_url":"https://api.github.com/repos/guardian/mobile-n10n/deployments","created_at":"2015-09-08T13:24:20Z","updated_at":"2016-01-11T10:18:58Z","pushed_at":"2016-02-24T10:11:43Z","git_url":"git://github.com/guardian/mobile-n10n.git","ssh_url":"git@github.com:guardian/mobile-n10n.git","clone_url":"https://github.com/guardian/mobile-n10n.git","svn_url":"https://github.com/guardian/mobile-n10n","homepage":null,"size":1367,"stargazers_count":4,"watchers_count":4,"language":"Scala","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":4,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/guardian/mobile-n10n/pulls/55"},"html":{"href":"https://github.com/guardian/mobile-n10n/pull/55"},"issue":{"href":"https://api.github.com/repos/guardian/mobile-n10n/issues/55"},"comments":{"href":"https://api.github.com/repos/guardian/mobile-n10n/issues/55/comments"},"review_comments":{"href":"https://api.github.com/repos/guardian/mobile-n10n/pulls/55/comments"},"review_comment":{"href":"https://api.github.com/repos/guardian/mobile-n10n/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/guardian/mobile-n10n/pulls/55/commits"},"statuses":{"href":"https://api.github.com/repos/guardian/mobile-n10n/statuses/87ab31f985c8f6e0aeeae97bbdc474ee5d85db79"}}}}