{"action":"created","comment":{"url":"https://api.github.com/repos/hmrc/file-upload-frontend/pulls/comments/76264075","id":76264075,"diff_hunk":"@@ -42,8 +45,8 @@ object TransferService {\n     isEnvelopeAvailable(envelopeId)\n   }\n \n-  def stream(baseUrl: String, publish: (AnyRef) => Unit)(file: File)\n-            (implicit executionContext: ExecutionContext) = {\n+  def stream(baseUrl: String, publish: (AnyRef) => Unit, audit: (Boolean, Int, String) => (Request[_]) => Future[AuditResult])","path":"app/uk/gov/hmrc/fileupload/transfer/TransferService.scala","position":18,"original_position":18,"commit_id":"017e2f68c37cf1cc757fce2efecbde81e723384b","original_commit_id":"017e2f68c37cf1cc757fce2efecbde81e723384b","user":{"login":"ralreiroe","id":1095596,"avatar_url":"https://avatars.githubusercontent.com/u/1095596?v=3","gravatar_id":"","url":"https://api.github.com/users/ralreiroe","html_url":"https://github.com/ralreiroe","followers_url":"https://api.github.com/users/ralreiroe/followers","following_url":"https://api.github.com/users/ralreiroe/following{/other_user}","gists_url":"https://api.github.com/users/ralreiroe/gists{/gist_id}","starred_url":"https://api.github.com/users/ralreiroe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ralreiroe/subscriptions","organizations_url":"https://api.github.com/users/ralreiroe/orgs","repos_url":"https://api.github.com/users/ralreiroe/repos","events_url":"https://api.github.com/users/ralreiroe/events{/privacy}","received_events_url":"https://api.github.com/users/ralreiroe/received_events","type":"User","site_admin":false},"body":"does the service need to know about auditing? A: no longer. fixed in auditing2","created_at":"2016-08-25T15:18:44Z","updated_at":"2016-08-25T15:18:44Z","html_url":"https://github.com/hmrc/file-upload-frontend/pull/10#discussion_r76264075","pull_request_url":"https://api.github.com/repos/hmrc/file-upload-frontend/pulls/10","_links":{"self":{"href":"https://api.github.com/repos/hmrc/file-upload-frontend/pulls/comments/76264075"},"html":{"href":"https://github.com/hmrc/file-upload-frontend/pull/10#discussion_r76264075"},"pull_request":{"href":"https://api.github.com/repos/hmrc/file-upload-frontend/pulls/10"}}},"pull_request":{"url":"https://api.github.com/repos/hmrc/file-upload-frontend/pulls/10","id":82504663,"html_url":"https://github.com/hmrc/file-upload-frontend/pull/10","diff_url":"https://github.com/hmrc/file-upload-frontend/pull/10.diff","patch_url":"https://github.com/hmrc/file-upload-frontend/pull/10.patch","issue_url":"https://api.github.com/repos/hmrc/file-upload-frontend/issues/10","number":10,"state":"open","locked":false,"title":"1st draft of audit function added and use in stream-to-backend call","user":{"login":"ralreiroe","id":1095596,"avatar_url":"https://avatars.githubusercontent.com/u/1095596?v=3","gravatar_id":"","url":"https://api.github.com/users/ralreiroe","html_url":"https://github.com/ralreiroe","followers_url":"https://api.github.com/users/ralreiroe/followers","following_url":"https://api.github.com/users/ralreiroe/following{/other_user}","gists_url":"https://api.github.com/users/ralreiroe/gists{/gist_id}","starred_url":"https://api.github.com/users/ralreiroe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ralreiroe/subscriptions","organizations_url":"https://api.github.com/users/ralreiroe/orgs","repos_url":"https://api.github.com/users/ralreiroe/repos","events_url":"https://api.github.com/users/ralreiroe/events{/privacy}","received_events_url":"https://api.github.com/users/ralreiroe/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-08-24T08:55:45Z","updated_at":"2016-08-25T15:18:44Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/hmrc/file-upload-frontend/pulls/10/commits","review_comments_url":"https://api.github.com/repos/hmrc/file-upload-frontend/pulls/10/comments","review_comment_url":"https://api.github.com/repos/hmrc/file-upload-frontend/pulls/comments{/number}","comments_url":"https://api.github.com/repos/hmrc/file-upload-frontend/issues/10/comments","statuses_url":"https://api.github.com/repos/hmrc/file-upload-frontend/statuses/017e2f68c37cf1cc757fce2efecbde81e723384b","head":{"label":"hmrc:auditing","ref":"auditing","sha":"017e2f68c37cf1cc757fce2efecbde81e723384b","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":60693521,"name":"file-upload-frontend","full_name":"hmrc/file-upload-frontend","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/file-upload-frontend","description":"","fork":false,"url":"https://api.github.com/repos/hmrc/file-upload-frontend","forks_url":"https://api.github.com/repos/hmrc/file-upload-frontend/forks","keys_url":"https://api.github.com/repos/hmrc/file-upload-frontend/keys{/key_id}","collaborators_url":"https://api.github.com/repos/hmrc/file-upload-frontend/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/hmrc/file-upload-frontend/teams","hooks_url":"https://api.github.com/repos/hmrc/file-upload-frontend/hooks","issue_events_url":"https://api.github.com/repos/hmrc/file-upload-frontend/issues/events{/number}","events_url":"https://api.github.com/repos/hmrc/file-upload-frontend/events","assignees_url":"https://api.github.com/repos/hmrc/file-upload-frontend/assignees{/user}","branches_url":"https://api.github.com/repos/hmrc/file-upload-frontend/branches{/branch}","tags_url":"https://api.github.com/repos/hmrc/file-upload-frontend/tags","blobs_url":"https://api.github.com/repos/hmrc/file-upload-frontend/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/hmrc/file-upload-frontend/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/hmrc/file-upload-frontend/git/refs{/sha}","trees_url":"https://api.github.com/repos/hmrc/file-upload-frontend/git/trees{/sha}","statuses_url":"https://api.github.com/repos/hmrc/file-upload-frontend/statuses/{sha}","languages_url":"https://api.github.com/repos/hmrc/file-upload-frontend/languages","stargazers_url":"https://api.github.com/repos/hmrc/file-upload-frontend/stargazers","contributors_url":"https://api.github.com/repos/hmrc/file-upload-frontend/contributors","subscribers_url":"https://api.github.com/repos/hmrc/file-upload-frontend/subscribers","subscription_url":"https://api.github.com/repos/hmrc/file-upload-frontend/subscription","commits_url":"https://api.github.com/repos/hmrc/file-upload-frontend/commits{/sha}","git_commits_url":"https://api.github.com/repos/hmrc/file-upload-frontend/git/commits{/sha}","comments_url":"https://api.github.com/repos/hmrc/file-upload-frontend/comments{/number}","issue_comment_url":"https://api.github.com/repos/hmrc/file-upload-frontend/issues/comments{/number}","contents_url":"https://api.github.com/repos/hmrc/file-upload-frontend/contents/{+path}","compare_url":"https://api.github.com/repos/hmrc/file-upload-frontend/compare/{base}...{head}","merges_url":"https://api.github.com/repos/hmrc/file-upload-frontend/merges","archive_url":"https://api.github.com/repos/hmrc/file-upload-frontend/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/hmrc/file-upload-frontend/downloads","issues_url":"https://api.github.com/repos/hmrc/file-upload-frontend/issues{/number}","pulls_url":"https://api.github.com/repos/hmrc/file-upload-frontend/pulls{/number}","milestones_url":"https://api.github.com/repos/hmrc/file-upload-frontend/milestones{/number}","notifications_url":"https://api.github.com/repos/hmrc/file-upload-frontend/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/hmrc/file-upload-frontend/labels{/name}","releases_url":"https://api.github.com/repos/hmrc/file-upload-frontend/releases{/id}","deployments_url":"https://api.github.com/repos/hmrc/file-upload-frontend/deployments","created_at":"2016-06-08T11:40:59Z","updated_at":"2016-06-08T13:53:47Z","pushed_at":"2016-08-25T15:17:16Z","git_url":"git://github.com/hmrc/file-upload-frontend.git","ssh_url":"git@github.com:hmrc/file-upload-frontend.git","clone_url":"https://github.com/hmrc/file-upload-frontend.git","svn_url":"https://github.com/hmrc/file-upload-frontend","homepage":"","size":280,"stargazers_count":0,"watchers_count":0,"language":"Scala","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"hmrc:master","ref":"master","sha":"b57c5f8fd8b6fe5cfc7f46e0cd60a6b8807767a8","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":60693521,"name":"file-upload-frontend","full_name":"hmrc/file-upload-frontend","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/file-upload-frontend","description":"","fork":false,"url":"https://api.github.com/repos/hmrc/file-upload-frontend","forks_url":"https://api.github.com/repos/hmrc/file-upload-frontend/forks","keys_url":"https://api.github.com/repos/hmrc/file-upload-frontend/keys{/key_id}","collaborators_url":"https://api.github.com/repos/hmrc/file-upload-frontend/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/hmrc/file-upload-frontend/teams","hooks_url":"https://api.github.com/repos/hmrc/file-upload-frontend/hooks","issue_events_url":"https://api.github.com/repos/hmrc/file-upload-frontend/issues/events{/number}","events_url":"https://api.github.com/repos/hmrc/file-upload-frontend/events","assignees_url":"https://api.github.com/repos/hmrc/file-upload-frontend/assignees{/user}","branches_url":"https://api.github.com/repos/hmrc/file-upload-frontend/branches{/branch}","tags_url":"https://api.github.com/repos/hmrc/file-upload-frontend/tags","blobs_url":"https://api.github.com/repos/hmrc/file-upload-frontend/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/hmrc/file-upload-frontend/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/hmrc/file-upload-frontend/git/refs{/sha}","trees_url":"https://api.github.com/repos/hmrc/file-upload-frontend/git/trees{/sha}","statuses_url":"https://api.github.com/repos/hmrc/file-upload-frontend/statuses/{sha}","languages_url":"https://api.github.com/repos/hmrc/file-upload-frontend/languages","stargazers_url":"https://api.github.com/repos/hmrc/file-upload-frontend/stargazers","contributors_url":"https://api.github.com/repos/hmrc/file-upload-frontend/contributors","subscribers_url":"https://api.github.com/repos/hmrc/file-upload-frontend/subscribers","subscription_url":"https://api.github.com/repos/hmrc/file-upload-frontend/subscription","commits_url":"https://api.github.com/repos/hmrc/file-upload-frontend/commits{/sha}","git_commits_url":"https://api.github.com/repos/hmrc/file-upload-frontend/git/commits{/sha}","comments_url":"https://api.github.com/repos/hmrc/file-upload-frontend/comments{/number}","issue_comment_url":"https://api.github.com/repos/hmrc/file-upload-frontend/issues/comments{/number}","contents_url":"https://api.github.com/repos/hmrc/file-upload-frontend/contents/{+path}","compare_url":"https://api.github.com/repos/hmrc/file-upload-frontend/compare/{base}...{head}","merges_url":"https://api.github.com/repos/hmrc/file-upload-frontend/merges","archive_url":"https://api.github.com/repos/hmrc/file-upload-frontend/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/hmrc/file-upload-frontend/downloads","issues_url":"https://api.github.com/repos/hmrc/file-upload-frontend/issues{/number}","pulls_url":"https://api.github.com/repos/hmrc/file-upload-frontend/pulls{/number}","milestones_url":"https://api.github.com/repos/hmrc/file-upload-frontend/milestones{/number}","notifications_url":"https://api.github.com/repos/hmrc/file-upload-frontend/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/hmrc/file-upload-frontend/labels{/name}","releases_url":"https://api.github.com/repos/hmrc/file-upload-frontend/releases{/id}","deployments_url":"https://api.github.com/repos/hmrc/file-upload-frontend/deployments","created_at":"2016-06-08T11:40:59Z","updated_at":"2016-06-08T13:53:47Z","pushed_at":"2016-08-25T15:17:16Z","git_url":"git://github.com/hmrc/file-upload-frontend.git","ssh_url":"git@github.com:hmrc/file-upload-frontend.git","clone_url":"https://github.com/hmrc/file-upload-frontend.git","svn_url":"https://github.com/hmrc/file-upload-frontend","homepage":"","size":280,"stargazers_count":0,"watchers_count":0,"language":"Scala","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/hmrc/file-upload-frontend/pulls/10"},"html":{"href":"https://github.com/hmrc/file-upload-frontend/pull/10"},"issue":{"href":"https://api.github.com/repos/hmrc/file-upload-frontend/issues/10"},"comments":{"href":"https://api.github.com/repos/hmrc/file-upload-frontend/issues/10/comments"},"review_comments":{"href":"https://api.github.com/repos/hmrc/file-upload-frontend/pulls/10/comments"},"review_comment":{"href":"https://api.github.com/repos/hmrc/file-upload-frontend/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/hmrc/file-upload-frontend/pulls/10/commits"},"statuses":{"href":"https://api.github.com/repos/hmrc/file-upload-frontend/statuses/017e2f68c37cf1cc757fce2efecbde81e723384b"}}}}
{"actor":{"display_login":"ralreiroe"}}