{"action":"opened","number":58,"pull_request":{"url":"https://api.github.com/repos/hmrc/back-office-adapter/pulls/58","id":79229072,"html_url":"https://github.com/hmrc/back-office-adapter/pull/58","diff_url":"https://github.com/hmrc/back-office-adapter/pull/58.diff","patch_url":"https://github.com/hmrc/back-office-adapter/pull/58.patch","issue_url":"https://api.github.com/repos/hmrc/back-office-adapter/issues/58","number":58,"state":"open","locked":false,"title":"Add fixture2 tests","user":{"login":"davejoss2","id":13849053,"avatar_url":"https://avatars.githubusercontent.com/u/13849053?v=3","gravatar_id":"","url":"https://api.github.com/users/davejoss2","html_url":"https://github.com/davejoss2","followers_url":"https://api.github.com/users/davejoss2/followers","following_url":"https://api.github.com/users/davejoss2/following{/other_user}","gists_url":"https://api.github.com/users/davejoss2/gists{/gist_id}","starred_url":"https://api.github.com/users/davejoss2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davejoss2/subscriptions","organizations_url":"https://api.github.com/users/davejoss2/orgs","repos_url":"https://api.github.com/users/davejoss2/repos","events_url":"https://api.github.com/users/davejoss2/events{/privacy}","received_events_url":"https://api.github.com/users/davejoss2/received_events","type":"User","site_admin":false},"body":"Refactored code and tests as follows:\r\n- added Fixtures to the unit tests (code taken from Ian's fork)\r\n- refactored DB code to code against traits rather than classes, added SubmRespMetadataRepository and SubmRespPayloadRepository traits and concrete classes with Mongo implementations\r\n","created_at":"2016-07-28T16:41:49Z","updated_at":"2016-07-28T16:41:49Z","closed_at":null,"merged_at":null,"merge_commit_sha":"9e510beef7482a4dafc3b1614612c72afbcabeb8","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/hmrc/back-office-adapter/pulls/58/commits","review_comments_url":"https://api.github.com/repos/hmrc/back-office-adapter/pulls/58/comments","review_comment_url":"https://api.github.com/repos/hmrc/back-office-adapter/pulls/comments{/number}","comments_url":"https://api.github.com/repos/hmrc/back-office-adapter/issues/58/comments","statuses_url":"https://api.github.com/repos/hmrc/back-office-adapter/statuses/7c1e47b61971feb7ecd1d4e824a11658b0172b79","head":{"label":"hmrc:AddFixture2Tests","ref":"AddFixture2Tests","sha":"7c1e47b61971feb7ecd1d4e824a11658b0172b79","user":{"login":"hmrc","id":5755339,"avatar_url":"https://avatars.githubusercontent.com/u/5755339?v=3","gravatar_id":"","url":"https://api.github.com/users/hmrc","html_url":"https://github.com/hmrc","followers_url":"https://api.github.com/users/hmrc/followers","following_url":"https://api.github.com/users/hmrc/following{/other_user}","gists_url":"https://api.github.com/users/hmrc/gists{/gist_id}","starred_url":"https://api.github.com/users/hmrc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hmrc/subscriptions","organizations_url":"https://api.github.com/users/hmrc/orgs","repos_url":"https://api.github.com/users/hmrc/repos","events_url":"https://api.github.com/users/hmrc/events{/privacy}","received_events_url":"https://api.github.com/users/hmrc/received_events","type":"Organization","site_admin":false},"repo":{"id":62150461,"name":"back-office-adapter","full_name":"hmrc/back-office-adapter","owner":{"login":"hmrc","id":5755339,"avatar_url":"https://avatars.githubusercontent.com/u/5755339?v=3","gravatar_id":"","url":"https://api.github.com/users/hmrc","html_url":"https://github.com/hmrc","followers_url":"https://api.github.com/users/hmrc/followers","following_url":"https://api.github.com/users/hmrc/following{/other_user}","gists_url":"https://api.github.com/users/hmrc/gists{/gist_id}","starred_url":"https://api.github.com/users/hmrc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hmrc/subscriptions","organizations_url":"https://api.github.com/users/hmrc/orgs","repos_url":"https://api.github.com/users/hmrc/repos","events_url":"https://api.github.com/users/hmrc/events{/privacy}","received_events_url":"https://api.github.com/users/hmrc/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/hmrc/back-office-adapter","description":null,"fork":false,"url":"https://api.github.com/repos/hmrc/back-office-adapter","forks_url":"https://api.github.com/repos/hmrc/back-office-adapter/forks","keys_url":"https://api.github.com/repos/hmrc/back-office-adapter/keys{/key_id}","collaborators_url":"https://api.github.com/repos/hmrc/back-office-adapter/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/hmrc/back-office-adapter/teams","hooks_url":"https://api.github.com/repos/hmrc/back-office-adapter/hooks","issue_events_url":"https://api.github.com/repos/hmrc/back-office-adapter/issues/events{/number}","events_url":"https://api.github.com/repos/hmrc/back-office-adapter/events","assignees_url":"https://api.github.com/repos/hmrc/back-office-adapter/assignees{/user}","branches_url":"https://api.github.com/repos/hmrc/back-office-adapter/branches{/branch}","tags_url":"https://api.github.com/repos/hmrc/back-office-adapter/tags","blobs_url":"https://api.github.com/repos/hmrc/back-office-adapter/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/hmrc/back-office-adapter/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/hmrc/back-office-adapter/git/refs{/sha}","trees_url":"https://api.github.com/repos/hmrc/back-office-adapter/git/trees{/sha}","statuses_url":"https://api.github.com/repos/hmrc/back-office-adapter/statuses/{sha}","languages_url":"https://api.github.com/repos/hmrc/back-office-adapter/languages","stargazers_url":"https://api.github.com/repos/hmrc/back-office-adapter/stargazers","contributors_url":"https://api.github.com/repos/hmrc/back-office-adapter/contributors","subscribers_url":"https://api.github.com/repos/hmrc/back-office-adapter/subscribers","subscription_url":"https://api.github.com/repos/hmrc/back-office-adapter/subscription","commits_url":"https://api.github.com/repos/hmrc/back-office-adapter/commits{/sha}","git_commits_url":"https://api.github.com/repos/hmrc/back-office-adapter/git/commits{/sha}","comments_url":"https://api.github.com/repos/hmrc/back-office-adapter/comments{/number}","issue_comment_url":"https://api.github.com/repos/hmrc/back-office-adapter/issues/comments{/number}","contents_url":"https://api.github.com/repos/hmrc/back-office-adapter/contents/{+path}","compare_url":"https://api.github.com/repos/hmrc/back-office-adapter/compare/{base}...{head}","merges_url":"https://api.github.com/repos/hmrc/back-office-adapter/merges","archive_url":"https://api.github.com/repos/hmrc/back-office-adapter/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/hmrc/back-office-adapter/downloads","issues_url":"https://api.github.com/repos/hmrc/back-office-adapter/issues{/number}","pulls_url":"https://api.github.com/repos/hmrc/back-office-adapter/pulls{/number}","milestones_url":"https://api.github.com/repos/hmrc/back-office-adapter/milestones{/number}","notifications_url":"https://api.github.com/repos/hmrc/back-office-adapter/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/hmrc/back-office-adapter/labels{/name}","releases_url":"https://api.github.com/repos/hmrc/back-office-adapter/releases{/id}","deployments_url":"https://api.github.com/repos/hmrc/back-office-adapter/deployments","created_at":"2016-06-28T14:59:44Z","updated_at":"2016-06-28T16:08:41Z","pushed_at":"2016-07-28T16:41:50Z","git_url":"git://github.com/hmrc/back-office-adapter.git","ssh_url":"git@github.com:hmrc/back-office-adapter.git","clone_url":"https://github.com/hmrc/back-office-adapter.git","svn_url":"https://github.com/hmrc/back-office-adapter","homepage":"","size":196,"stargazers_count":0,"watchers_count":0,"language":"Scala","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":2,"forks":1,"open_issues":2,"watchers":0,"default_branch":"master"}},"base":{"label":"hmrc:master","ref":"master","sha":"bf5941d9a6d2834f34e443ba33f2a20f38e68c6a","user":{"login":"hmrc","id":5755339,"avatar_url":"https://avatars.githubusercontent.com/u/5755339?v=3","gravatar_id":"","url":"https://api.github.com/users/hmrc","html_url":"https://github.com/hmrc","followers_url":"https://api.github.com/users/hmrc/followers","following_url":"https://api.github.com/users/hmrc/following{/other_user}","gists_url":"https://api.github.com/users/hmrc/gists{/gist_id}","starred_url":"https://api.github.com/users/hmrc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hmrc/subscriptions","organizations_url":"https://api.github.com/users/hmrc/orgs","repos_url":"https://api.github.com/users/hmrc/repos","events_url":"https://api.github.com/users/hmrc/events{/privacy}","received_events_url":"https://api.github.com/users/hmrc/received_events","type":"Organization","site_admin":false},"repo":{"id":62150461,"name":"back-office-adapter","full_name":"hmrc/back-office-adapter","owner":{"login":"hmrc","id":5755339,"avatar_url":"https://avatars.githubusercontent.com/u/5755339?v=3","gravatar_id":"","url":"https://api.github.com/users/hmrc","html_url":"https://github.com/hmrc","followers_url":"https://api.github.com/users/hmrc/followers","following_url":"https://api.github.com/users/hmrc/following{/other_user}","gists_url":"https://api.github.com/users/hmrc/gists{/gist_id}","starred_url":"https://api.github.com/users/hmrc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hmrc/subscriptions","organizations_url":"https://api.github.com/users/hmrc/orgs","repos_url":"https://api.github.com/users/hmrc/repos","events_url":"https://api.github.com/users/hmrc/events{/privacy}","received_events_url":"https://api.github.com/users/hmrc/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/hmrc/back-office-adapter","description":null,"fork":false,"url":"https://api.github.com/repos/hmrc/back-office-adapter","forks_url":"https://api.github.com/repos/hmrc/back-office-adapter/forks","keys_url":"https://api.github.com/repos/hmrc/back-office-adapter/keys{/key_id}","collaborators_url":"https://api.github.com/repos/hmrc/back-office-adapter/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/hmrc/back-office-adapter/teams","hooks_url":"https://api.github.com/repos/hmrc/back-office-adapter/hooks","issue_events_url":"https://api.github.com/repos/hmrc/back-office-adapter/issues/events{/number}","events_url":"https://api.github.com/repos/hmrc/back-office-adapter/events","assignees_url":"https://api.github.com/repos/hmrc/back-office-adapter/assignees{/user}","branches_url":"https://api.github.com/repos/hmrc/back-office-adapter/branches{/branch}","tags_url":"https://api.github.com/repos/hmrc/back-office-adapter/tags","blobs_url":"https://api.github.com/repos/hmrc/back-office-adapter/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/hmrc/back-office-adapter/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/hmrc/back-office-adapter/git/refs{/sha}","trees_url":"https://api.github.com/repos/hmrc/back-office-adapter/git/trees{/sha}","statuses_url":"https://api.github.com/repos/hmrc/back-office-adapter/statuses/{sha}","languages_url":"https://api.github.com/repos/hmrc/back-office-adapter/languages","stargazers_url":"https://api.github.com/repos/hmrc/back-office-adapter/stargazers","contributors_url":"https://api.github.com/repos/hmrc/back-office-adapter/contributors","subscribers_url":"https://api.github.com/repos/hmrc/back-office-adapter/subscribers","subscription_url":"https://api.github.com/repos/hmrc/back-office-adapter/subscription","commits_url":"https://api.github.com/repos/hmrc/back-office-adapter/commits{/sha}","git_commits_url":"https://api.github.com/repos/hmrc/back-office-adapter/git/commits{/sha}","comments_url":"https://api.github.com/repos/hmrc/back-office-adapter/comments{/number}","issue_comment_url":"https://api.github.com/repos/hmrc/back-office-adapter/issues/comments{/number}","contents_url":"https://api.github.com/repos/hmrc/back-office-adapter/contents/{+path}","compare_url":"https://api.github.com/repos/hmrc/back-office-adapter/compare/{base}...{head}","merges_url":"https://api.github.com/repos/hmrc/back-office-adapter/merges","archive_url":"https://api.github.com/repos/hmrc/back-office-adapter/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/hmrc/back-office-adapter/downloads","issues_url":"https://api.github.com/repos/hmrc/back-office-adapter/issues{/number}","pulls_url":"https://api.github.com/repos/hmrc/back-office-adapter/pulls{/number}","milestones_url":"https://api.github.com/repos/hmrc/back-office-adapter/milestones{/number}","notifications_url":"https://api.github.com/repos/hmrc/back-office-adapter/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/hmrc/back-office-adapter/labels{/name}","releases_url":"https://api.github.com/repos/hmrc/back-office-adapter/releases{/id}","deployments_url":"https://api.github.com/repos/hmrc/back-office-adapter/deployments","created_at":"2016-06-28T14:59:44Z","updated_at":"2016-06-28T16:08:41Z","pushed_at":"2016-07-28T16:41:50Z","git_url":"git://github.com/hmrc/back-office-adapter.git","ssh_url":"git@github.com:hmrc/back-office-adapter.git","clone_url":"https://github.com/hmrc/back-office-adapter.git","svn_url":"https://github.com/hmrc/back-office-adapter","homepage":"","size":196,"stargazers_count":0,"watchers_count":0,"language":"Scala","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":2,"forks":1,"open_issues":2,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/hmrc/back-office-adapter/pulls/58"},"html":{"href":"https://github.com/hmrc/back-office-adapter/pull/58"},"issue":{"href":"https://api.github.com/repos/hmrc/back-office-adapter/issues/58"},"comments":{"href":"https://api.github.com/repos/hmrc/back-office-adapter/issues/58/comments"},"review_comments":{"href":"https://api.github.com/repos/hmrc/back-office-adapter/pulls/58/comments"},"review_comment":{"href":"https://api.github.com/repos/hmrc/back-office-adapter/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/hmrc/back-office-adapter/pulls/58/commits"},"statuses":{"href":"https://api.github.com/repos/hmrc/back-office-adapter/statuses/7c1e47b61971feb7ecd1d4e824a11658b0172b79"}},"merged":false,"mergeable":true,"mergeable_state":"clean","merged_by":null,"comments":0,"review_comments":0,"commits":6,"additions":705,"deletions":522,"changed_files":17}}
{"actor":{"display_login":"davejoss2"}}