{"action":"opened","number":9,"pull_request":{"url":"https://api.github.com/repos/Skyscanner/slingshot-api/pulls/9","id":91665585,"html_url":"https://github.com/Skyscanner/slingshot-api/pull/9","diff_url":"https://github.com/Skyscanner/slingshot-api/pull/9.diff","patch_url":"https://github.com/Skyscanner/slingshot-api/pull/9.patch","issue_url":"https://api.github.com/repos/Skyscanner/slingshot-api/issues/9","number":9,"state":"open","locked":false,"title":"refactor to encapsulate distinct app functions into separate classes","user":{"login":"gnhenderson","id":10164868,"avatar_url":"https://avatars.githubusercontent.com/u/10164868?v=3","gravatar_id":"","url":"https://api.github.com/users/gnhenderson","html_url":"https://github.com/gnhenderson","followers_url":"https://api.github.com/users/gnhenderson/followers","following_url":"https://api.github.com/users/gnhenderson/following{/other_user}","gists_url":"https://api.github.com/users/gnhenderson/gists{/gist_id}","starred_url":"https://api.github.com/users/gnhenderson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gnhenderson/subscriptions","organizations_url":"https://api.github.com/users/gnhenderson/orgs","repos_url":"https://api.github.com/users/gnhenderson/repos","events_url":"https://api.github.com/users/gnhenderson/events{/privacy}","received_events_url":"https://api.github.com/users/gnhenderson/received_events","type":"User","site_admin":false},"body":"### Changes\r\n- Instead of a single `Service` class to handle all backend and deployment functionality, these behaviours have now been given their own classes. This should help with writing unit tests and overall code clarity.\r\n\r\n### Testing\r\n- No unit tests have yet been written (one of the reasons behind this refactor) - unit tests will follow shortly.\r\n- Local testing to prove data can be written to and retrieved from the backend (in lieu of available unit tests).\r\n","created_at":"2016-10-31T18:39:11Z","updated_at":"2016-10-31T18:39:11Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/Skyscanner/slingshot-api/pulls/9/commits","review_comments_url":"https://api.github.com/repos/Skyscanner/slingshot-api/pulls/9/comments","review_comment_url":"https://api.github.com/repos/Skyscanner/slingshot-api/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Skyscanner/slingshot-api/issues/9/comments","statuses_url":"https://api.github.com/repos/Skyscanner/slingshot-api/statuses/a79c7bc9ed716d517c06fd5c7cbb718ca6eab5f8","head":{"label":"Skyscanner:refactor","ref":"refactor","sha":"a79c7bc9ed716d517c06fd5c7cbb718ca6eab5f8","user":{"login":"Skyscanner","id":522811,"avatar_url":"https://avatars.githubusercontent.com/u/522811?v=3","gravatar_id":"","url":"https://api.github.com/users/Skyscanner","html_url":"https://github.com/Skyscanner","followers_url":"https://api.github.com/users/Skyscanner/followers","following_url":"https://api.github.com/users/Skyscanner/following{/other_user}","gists_url":"https://api.github.com/users/Skyscanner/gists{/gist_id}","starred_url":"https://api.github.com/users/Skyscanner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Skyscanner/subscriptions","organizations_url":"https://api.github.com/users/Skyscanner/orgs","repos_url":"https://api.github.com/users/Skyscanner/repos","events_url":"https://api.github.com/users/Skyscanner/events{/privacy}","received_events_url":"https://api.github.com/users/Skyscanner/received_events","type":"Organization","site_admin":false},"repo":{"id":71473942,"name":"slingshot-api","full_name":"Skyscanner/slingshot-api","owner":{"login":"Skyscanner","id":522811,"avatar_url":"https://avatars.githubusercontent.com/u/522811?v=3","gravatar_id":"","url":"https://api.github.com/users/Skyscanner","html_url":"https://github.com/Skyscanner","followers_url":"https://api.github.com/users/Skyscanner/followers","following_url":"https://api.github.com/users/Skyscanner/following{/other_user}","gists_url":"https://api.github.com/users/Skyscanner/gists{/gist_id}","starred_url":"https://api.github.com/users/Skyscanner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Skyscanner/subscriptions","organizations_url":"https://api.github.com/users/Skyscanner/orgs","repos_url":"https://api.github.com/users/Skyscanner/repos","events_url":"https://api.github.com/users/Skyscanner/events{/privacy}","received_events_url":"https://api.github.com/users/Skyscanner/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Skyscanner/slingshot-api","description":"A simple API to record and request information on Slingshot deployments","fork":false,"url":"https://api.github.com/repos/Skyscanner/slingshot-api","forks_url":"https://api.github.com/repos/Skyscanner/slingshot-api/forks","keys_url":"https://api.github.com/repos/Skyscanner/slingshot-api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Skyscanner/slingshot-api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Skyscanner/slingshot-api/teams","hooks_url":"https://api.github.com/repos/Skyscanner/slingshot-api/hooks","issue_events_url":"https://api.github.com/repos/Skyscanner/slingshot-api/issues/events{/number}","events_url":"https://api.github.com/repos/Skyscanner/slingshot-api/events","assignees_url":"https://api.github.com/repos/Skyscanner/slingshot-api/assignees{/user}","branches_url":"https://api.github.com/repos/Skyscanner/slingshot-api/branches{/branch}","tags_url":"https://api.github.com/repos/Skyscanner/slingshot-api/tags","blobs_url":"https://api.github.com/repos/Skyscanner/slingshot-api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Skyscanner/slingshot-api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Skyscanner/slingshot-api/git/refs{/sha}","trees_url":"https://api.github.com/repos/Skyscanner/slingshot-api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Skyscanner/slingshot-api/statuses/{sha}","languages_url":"https://api.github.com/repos/Skyscanner/slingshot-api/languages","stargazers_url":"https://api.github.com/repos/Skyscanner/slingshot-api/stargazers","contributors_url":"https://api.github.com/repos/Skyscanner/slingshot-api/contributors","subscribers_url":"https://api.github.com/repos/Skyscanner/slingshot-api/subscribers","subscription_url":"https://api.github.com/repos/Skyscanner/slingshot-api/subscription","commits_url":"https://api.github.com/repos/Skyscanner/slingshot-api/commits{/sha}","git_commits_url":"https://api.github.com/repos/Skyscanner/slingshot-api/git/commits{/sha}","comments_url":"https://api.github.com/repos/Skyscanner/slingshot-api/comments{/number}","issue_comment_url":"https://api.github.com/repos/Skyscanner/slingshot-api/issues/comments{/number}","contents_url":"https://api.github.com/repos/Skyscanner/slingshot-api/contents/{+path}","compare_url":"https://api.github.com/repos/Skyscanner/slingshot-api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Skyscanner/slingshot-api/merges","archive_url":"https://api.github.com/repos/Skyscanner/slingshot-api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Skyscanner/slingshot-api/downloads","issues_url":"https://api.github.com/repos/Skyscanner/slingshot-api/issues{/number}","pulls_url":"https://api.github.com/repos/Skyscanner/slingshot-api/pulls{/number}","milestones_url":"https://api.github.com/repos/Skyscanner/slingshot-api/milestones{/number}","notifications_url":"https://api.github.com/repos/Skyscanner/slingshot-api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Skyscanner/slingshot-api/labels{/name}","releases_url":"https://api.github.com/repos/Skyscanner/slingshot-api/releases{/id}","deployments_url":"https://api.github.com/repos/Skyscanner/slingshot-api/deployments","created_at":"2016-10-20T14:55:57Z","updated_at":"2016-10-20T14:55:57Z","pushed_at":"2016-10-31T18:39:11Z","git_url":"git://github.com/Skyscanner/slingshot-api.git","ssh_url":"git@github.com:Skyscanner/slingshot-api.git","clone_url":"https://github.com/Skyscanner/slingshot-api.git","svn_url":"https://github.com/Skyscanner/slingshot-api","homepage":null,"size":56,"stargazers_count":0,"watchers_count":0,"language":null,"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":"Skyscanner:Skeleton","ref":"Skeleton","sha":"0738f3a33b69fb774125baff06a170fcb77cdacf","user":{"login":"Skyscanner","id":522811,"avatar_url":"https://avatars.githubusercontent.com/u/522811?v=3","gravatar_id":"","url":"https://api.github.com/users/Skyscanner","html_url":"https://github.com/Skyscanner","followers_url":"https://api.github.com/users/Skyscanner/followers","following_url":"https://api.github.com/users/Skyscanner/following{/other_user}","gists_url":"https://api.github.com/users/Skyscanner/gists{/gist_id}","starred_url":"https://api.github.com/users/Skyscanner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Skyscanner/subscriptions","organizations_url":"https://api.github.com/users/Skyscanner/orgs","repos_url":"https://api.github.com/users/Skyscanner/repos","events_url":"https://api.github.com/users/Skyscanner/events{/privacy}","received_events_url":"https://api.github.com/users/Skyscanner/received_events","type":"Organization","site_admin":false},"repo":{"id":71473942,"name":"slingshot-api","full_name":"Skyscanner/slingshot-api","owner":{"login":"Skyscanner","id":522811,"avatar_url":"https://avatars.githubusercontent.com/u/522811?v=3","gravatar_id":"","url":"https://api.github.com/users/Skyscanner","html_url":"https://github.com/Skyscanner","followers_url":"https://api.github.com/users/Skyscanner/followers","following_url":"https://api.github.com/users/Skyscanner/following{/other_user}","gists_url":"https://api.github.com/users/Skyscanner/gists{/gist_id}","starred_url":"https://api.github.com/users/Skyscanner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Skyscanner/subscriptions","organizations_url":"https://api.github.com/users/Skyscanner/orgs","repos_url":"https://api.github.com/users/Skyscanner/repos","events_url":"https://api.github.com/users/Skyscanner/events{/privacy}","received_events_url":"https://api.github.com/users/Skyscanner/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Skyscanner/slingshot-api","description":"A simple API to record and request information on Slingshot deployments","fork":false,"url":"https://api.github.com/repos/Skyscanner/slingshot-api","forks_url":"https://api.github.com/repos/Skyscanner/slingshot-api/forks","keys_url":"https://api.github.com/repos/Skyscanner/slingshot-api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Skyscanner/slingshot-api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Skyscanner/slingshot-api/teams","hooks_url":"https://api.github.com/repos/Skyscanner/slingshot-api/hooks","issue_events_url":"https://api.github.com/repos/Skyscanner/slingshot-api/issues/events{/number}","events_url":"https://api.github.com/repos/Skyscanner/slingshot-api/events","assignees_url":"https://api.github.com/repos/Skyscanner/slingshot-api/assignees{/user}","branches_url":"https://api.github.com/repos/Skyscanner/slingshot-api/branches{/branch}","tags_url":"https://api.github.com/repos/Skyscanner/slingshot-api/tags","blobs_url":"https://api.github.com/repos/Skyscanner/slingshot-api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Skyscanner/slingshot-api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Skyscanner/slingshot-api/git/refs{/sha}","trees_url":"https://api.github.com/repos/Skyscanner/slingshot-api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Skyscanner/slingshot-api/statuses/{sha}","languages_url":"https://api.github.com/repos/Skyscanner/slingshot-api/languages","stargazers_url":"https://api.github.com/repos/Skyscanner/slingshot-api/stargazers","contributors_url":"https://api.github.com/repos/Skyscanner/slingshot-api/contributors","subscribers_url":"https://api.github.com/repos/Skyscanner/slingshot-api/subscribers","subscription_url":"https://api.github.com/repos/Skyscanner/slingshot-api/subscription","commits_url":"https://api.github.com/repos/Skyscanner/slingshot-api/commits{/sha}","git_commits_url":"https://api.github.com/repos/Skyscanner/slingshot-api/git/commits{/sha}","comments_url":"https://api.github.com/repos/Skyscanner/slingshot-api/comments{/number}","issue_comment_url":"https://api.github.com/repos/Skyscanner/slingshot-api/issues/comments{/number}","contents_url":"https://api.github.com/repos/Skyscanner/slingshot-api/contents/{+path}","compare_url":"https://api.github.com/repos/Skyscanner/slingshot-api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Skyscanner/slingshot-api/merges","archive_url":"https://api.github.com/repos/Skyscanner/slingshot-api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Skyscanner/slingshot-api/downloads","issues_url":"https://api.github.com/repos/Skyscanner/slingshot-api/issues{/number}","pulls_url":"https://api.github.com/repos/Skyscanner/slingshot-api/pulls{/number}","milestones_url":"https://api.github.com/repos/Skyscanner/slingshot-api/milestones{/number}","notifications_url":"https://api.github.com/repos/Skyscanner/slingshot-api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Skyscanner/slingshot-api/labels{/name}","releases_url":"https://api.github.com/repos/Skyscanner/slingshot-api/releases{/id}","deployments_url":"https://api.github.com/repos/Skyscanner/slingshot-api/deployments","created_at":"2016-10-20T14:55:57Z","updated_at":"2016-10-20T14:55:57Z","pushed_at":"2016-10-31T18:39:11Z","git_url":"git://github.com/Skyscanner/slingshot-api.git","ssh_url":"git@github.com:Skyscanner/slingshot-api.git","clone_url":"https://github.com/Skyscanner/slingshot-api.git","svn_url":"https://github.com/Skyscanner/slingshot-api","homepage":null,"size":56,"stargazers_count":0,"watchers_count":0,"language":null,"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/Skyscanner/slingshot-api/pulls/9"},"html":{"href":"https://github.com/Skyscanner/slingshot-api/pull/9"},"issue":{"href":"https://api.github.com/repos/Skyscanner/slingshot-api/issues/9"},"comments":{"href":"https://api.github.com/repos/Skyscanner/slingshot-api/issues/9/comments"},"review_comments":{"href":"https://api.github.com/repos/Skyscanner/slingshot-api/pulls/9/comments"},"review_comment":{"href":"https://api.github.com/repos/Skyscanner/slingshot-api/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Skyscanner/slingshot-api/pulls/9/commits"},"statuses":{"href":"https://api.github.com/repos/Skyscanner/slingshot-api/statuses/a79c7bc9ed716d517c06fd5c7cbb718ca6eab5f8"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":11,"additions":459,"deletions":442,"changed_files":9}}
{"actor":{"display_login":"gnhenderson"}}