{"action":"created","comment":{"url":"https://api.github.com/repos/AndrewGorton/DigitalMarketplaceAlerter/pulls/comments/85547127","pull_request_review_id":6258599,"id":85547127,"diff_hunk":"@@ -27,17 +27,18 @@ public EmailService(EmailComposer composer, EmailConfiguration configuration,\n         this.validator = validator;\n     }\n \n-    public void sendBidManagerEmail(Opportunity opportunity, String[] emailArray) throws EmailException {\n+    public void sendBidManagerEmail(Opportunity opportunity, String[] emailArray,\n+                                    String responseUrl) throws EmailException {\n \n         if (!configuration.isEnabled()) {\n             throw new EmailException(\"Email configuration not enabled\");\n         }\n \n-        HtmlEmail email = composer.composeAlert(opportunity);\n+        HtmlEmail email = composer.composeBigManagerEmail(opportunity, responseUrl);","path":"src/main/java/uk/andrewgorton/digitalmarketplace/alerter/email/EmailService.java","position":22,"original_position":22,"commit_id":"8ad5754ad1302a718867c62405d600c0264154f3","original_commit_id":"8ad5754ad1302a718867c62405d600c0264154f3","user":{"login":"AndrewGorton","id":6492454,"avatar_url":"https://avatars.githubusercontent.com/u/6492454?v=3","gravatar_id":"","url":"https://api.github.com/users/AndrewGorton","html_url":"https://github.com/AndrewGorton","followers_url":"https://api.github.com/users/AndrewGorton/followers","following_url":"https://api.github.com/users/AndrewGorton/following{/other_user}","gists_url":"https://api.github.com/users/AndrewGorton/gists{/gist_id}","starred_url":"https://api.github.com/users/AndrewGorton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AndrewGorton/subscriptions","organizations_url":"https://api.github.com/users/AndrewGorton/orgs","repos_url":"https://api.github.com/users/AndrewGorton/repos","events_url":"https://api.github.com/users/AndrewGorton/events{/privacy}","received_events_url":"https://api.github.com/users/AndrewGorton/received_events","type":"User","site_admin":false},"body":"Typo methinks. BidManagerEmail.","created_at":"2016-10-28T14:57:19Z","updated_at":"2016-10-28T14:57:19Z","html_url":"https://github.com/AndrewGorton/DigitalMarketplaceAlerter/pull/19#discussion_r85547127","pull_request_url":"https://api.github.com/repos/AndrewGorton/DigitalMarketplaceAlerter/pulls/19","_links":{"self":{"href":"https://api.github.com/repos/AndrewGorton/DigitalMarketplaceAlerter/pulls/comments/85547127"},"html":{"href":"https://github.com/AndrewGorton/DigitalMarketplaceAlerter/pull/19#discussion_r85547127"},"pull_request":{"href":"https://api.github.com/repos/AndrewGorton/DigitalMarketplaceAlerter/pulls/19"}}},"pull_request":{"url":"https://api.github.com/repos/AndrewGorton/DigitalMarketplaceAlerter/pulls/19","id":91356291,"html_url":"https://github.com/AndrewGorton/DigitalMarketplaceAlerter/pull/19","diff_url":"https://github.com/AndrewGorton/DigitalMarketplaceAlerter/pull/19.diff","patch_url":"https://github.com/AndrewGorton/DigitalMarketplaceAlerter/pull/19.patch","issue_url":"https://api.github.com/repos/AndrewGorton/DigitalMarketplaceAlerter/issues/19","number":19,"state":"open","locked":false,"title":"Issue 4 response options","user":{"login":"Rossiar","id":1635940,"avatar_url":"https://avatars.githubusercontent.com/u/1635940?v=3","gravatar_id":"","url":"https://api.github.com/users/Rossiar","html_url":"https://github.com/Rossiar","followers_url":"https://api.github.com/users/Rossiar/followers","following_url":"https://api.github.com/users/Rossiar/following{/other_user}","gists_url":"https://api.github.com/users/Rossiar/gists{/gist_id}","starred_url":"https://api.github.com/users/Rossiar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Rossiar/subscriptions","organizations_url":"https://api.github.com/users/Rossiar/orgs","repos_url":"https://api.github.com/users/Rossiar/repos","events_url":"https://api.github.com/users/Rossiar/events{/privacy}","received_events_url":"https://api.github.com/users/Rossiar/received_events","type":"User","site_admin":false},"body":"Allow bid managers to respond to an opportunity by following a link in their email to a simple screen. Responses are bound to opportunities using a many to many table, which will allow for future expansions on this.","created_at":"2016-10-28T10:15:23Z","updated_at":"2016-10-28T14:57:19Z","closed_at":null,"merged_at":null,"merge_commit_sha":"372f9baef2f0051c9fb99088217f1f652889cdc7","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/AndrewGorton/DigitalMarketplaceAlerter/pulls/19/commits","review_comments_url":"https://api.github.com/repos/AndrewGorton/DigitalMarketplaceAlerter/pulls/19/comments","review_comment_url":"https://api.github.com/repos/AndrewGorton/DigitalMarketplaceAlerter/pulls/comments{/number}","comments_url":"https://api.github.com/repos/AndrewGorton/DigitalMarketplaceAlerter/issues/19/comments","statuses_url":"https://api.github.com/repos/AndrewGorton/DigitalMarketplaceAlerter/statuses/8ad5754ad1302a718867c62405d600c0264154f3","head":{"label":"AndrewGorton:Issue-4-ResponseOptions","ref":"Issue-4-ResponseOptions","sha":"8ad5754ad1302a718867c62405d600c0264154f3","user":{"login":"AndrewGorton","id":6492454,"avatar_url":"https://avatars.githubusercontent.com/u/6492454?v=3","gravatar_id":"","url":"https://api.github.com/users/AndrewGorton","html_url":"https://github.com/AndrewGorton","followers_url":"https://api.github.com/users/AndrewGorton/followers","following_url":"https://api.github.com/users/AndrewGorton/following{/other_user}","gists_url":"https://api.github.com/users/AndrewGorton/gists{/gist_id}","starred_url":"https://api.github.com/users/AndrewGorton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AndrewGorton/subscriptions","organizations_url":"https://api.github.com/users/AndrewGorton/orgs","repos_url":"https://api.github.com/users/AndrewGorton/repos","events_url":"https://api.github.com/users/AndrewGorton/events{/privacy}","received_events_url":"https://api.github.com/users/AndrewGorton/received_events","type":"User","site_admin":false},"repo":{"id":69243791,"name":"DigitalMarketplaceAlerter","full_name":"AndrewGorton/DigitalMarketplaceAlerter","owner":{"login":"AndrewGorton","id":6492454,"avatar_url":"https://avatars.githubusercontent.com/u/6492454?v=3","gravatar_id":"","url":"https://api.github.com/users/AndrewGorton","html_url":"https://github.com/AndrewGorton","followers_url":"https://api.github.com/users/AndrewGorton/followers","following_url":"https://api.github.com/users/AndrewGorton/following{/other_user}","gists_url":"https://api.github.com/users/AndrewGorton/gists{/gist_id}","starred_url":"https://api.github.com/users/AndrewGorton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AndrewGorton/subscriptions","organizations_url":"https://api.github.com/users/AndrewGorton/orgs","repos_url":"https://api.github.com/users/AndrewGorton/repos","events_url":"https://api.github.com/users/AndrewGorton/events{/privacy}","received_events_url":"https://api.github.com/users/AndrewGorton/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/AndrewGorton/DigitalMarketplaceAlerter","description":null,"fork":false,"url":"https://api.github.com/repos/AndrewGorton/DigitalMarketplaceAlerter","forks_url":"https://api.github.com/repos/AndrewGorton/DigitalMarketplaceAlerter/forks","keys_url":"https://api.github.com/repos/AndrewGorton/DigitalMarketplaceAlerter/keys{/key_id}","collaborators_url":"https://api.github.com/repos/AndrewGorton/DigitalMarketplaceAlerter/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/AndrewGorton/DigitalMarketplaceAlerter/teams","hooks_url":"https://api.github.com/repos/AndrewGorton/DigitalMarketplaceAlerter/hooks","issue_events_url":"https://api.github.com/repos/AndrewGorton/DigitalMarketplaceAlerter/issues/events{/number}","events_url":"https://api.github.com/repos/AndrewGorton/DigitalMarketplaceAlerter/events","assignees_url":"https://api.github.com/repos/AndrewGorton/DigitalMarketplaceAlerter/assignees{/user}","branches_url":"https://api.github.com/repos/AndrewGorton/DigitalMarketplaceAlerter/branches{/branch}","tags_url":"https://api.github.com/repos/AndrewGorton/DigitalMarketplaceAlerter/tags","blobs_url":"https://api.github.com/repos/AndrewGorton/DigitalMarketplaceAlerter/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/AndrewGorton/DigitalMarketplaceAlerter/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/AndrewGorton/DigitalMarketplaceAlerter/git/refs{/sha}","trees_url":"https://api.github.com/repos/AndrewGorton/DigitalMarketplaceAlerter/git/trees{/sha}","statuses_url":"https://api.github.com/repos/AndrewGorton/DigitalMarketplaceAlerter/statuses/{sha}","languages_url":"https://api.github.com/repos/AndrewGorton/DigitalMarketplaceAlerter/languages","stargazers_url":"https://api.github.com/repos/AndrewGorton/DigitalMarketplaceAlerter/stargazers","contributors_url":"https://api.github.com/repos/AndrewGorton/DigitalMarketplaceAlerter/contributors","subscribers_url":"https://api.github.com/repos/AndrewGorton/DigitalMarketplaceAlerter/subscribers","subscription_url":"https://api.github.com/repos/AndrewGorton/DigitalMarketplaceAlerter/subscription","commits_url":"https://api.github.com/repos/AndrewGorton/DigitalMarketplaceAlerter/commits{/sha}","git_commits_url":"https://api.github.com/repos/AndrewGorton/DigitalMarketplaceAlerter/git/commits{/sha}","comments_url":"https://api.github.com/repos/AndrewGorton/DigitalMarketplaceAlerter/comments{/number}","issue_comment_url":"https://api.github.com/repos/AndrewGorton/DigitalMarketplaceAlerter/issues/comments{/number}","contents_url":"https://api.github.com/repos/AndrewGorton/DigitalMarketplaceAlerter/contents/{+path}","compare_url":"https://api.github.com/repos/AndrewGorton/DigitalMarketplaceAlerter/compare/{base}...{head}","merges_url":"https://api.github.com/repos/AndrewGorton/DigitalMarketplaceAlerter/merges","archive_url":"https://api.github.com/repos/AndrewGorton/DigitalMarketplaceAlerter/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/AndrewGorton/DigitalMarketplaceAlerter/downloads","issues_url":"https://api.github.com/repos/AndrewGorton/DigitalMarketplaceAlerter/issues{/number}","pulls_url":"https://api.github.com/repos/AndrewGorton/DigitalMarketplaceAlerter/pulls{/number}","milestones_url":"https://api.github.com/repos/AndrewGorton/DigitalMarketplaceAlerter/milestones{/number}","notifications_url":"https://api.github.com/repos/AndrewGorton/DigitalMarketplaceAlerter/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/AndrewGorton/DigitalMarketplaceAlerter/labels{/name}","releases_url":"https://api.github.com/repos/AndrewGorton/DigitalMarketplaceAlerter/releases{/id}","deployments_url":"https://api.github.com/repos/AndrewGorton/DigitalMarketplaceAlerter/deployments","created_at":"2016-09-26T11:32:52Z","updated_at":"2016-10-24T08:52:36Z","pushed_at":"2016-10-28T14:25:47Z","git_url":"git://github.com/AndrewGorton/DigitalMarketplaceAlerter.git","ssh_url":"git@github.com:AndrewGorton/DigitalMarketplaceAlerter.git","clone_url":"https://github.com/AndrewGorton/DigitalMarketplaceAlerter.git","svn_url":"https://github.com/AndrewGorton/DigitalMarketplaceAlerter","homepage":null,"size":174,"stargazers_count":1,"watchers_count":1,"language":"HTML","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":8,"forks":0,"open_issues":8,"watchers":1,"default_branch":"master"}},"base":{"label":"AndrewGorton:master","ref":"master","sha":"5d05dc469bc81c3c684063ae329624eed1cb3784","user":{"login":"AndrewGorton","id":6492454,"avatar_url":"https://avatars.githubusercontent.com/u/6492454?v=3","gravatar_id":"","url":"https://api.github.com/users/AndrewGorton","html_url":"https://github.com/AndrewGorton","followers_url":"https://api.github.com/users/AndrewGorton/followers","following_url":"https://api.github.com/users/AndrewGorton/following{/other_user}","gists_url":"https://api.github.com/users/AndrewGorton/gists{/gist_id}","starred_url":"https://api.github.com/users/AndrewGorton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AndrewGorton/subscriptions","organizations_url":"https://api.github.com/users/AndrewGorton/orgs","repos_url":"https://api.github.com/users/AndrewGorton/repos","events_url":"https://api.github.com/users/AndrewGorton/events{/privacy}","received_events_url":"https://api.github.com/users/AndrewGorton/received_events","type":"User","site_admin":false},"repo":{"id":69243791,"name":"DigitalMarketplaceAlerter","full_name":"AndrewGorton/DigitalMarketplaceAlerter","owner":{"login":"AndrewGorton","id":6492454,"avatar_url":"https://avatars.githubusercontent.com/u/6492454?v=3","gravatar_id":"","url":"https://api.github.com/users/AndrewGorton","html_url":"https://github.com/AndrewGorton","followers_url":"https://api.github.com/users/AndrewGorton/followers","following_url":"https://api.github.com/users/AndrewGorton/following{/other_user}","gists_url":"https://api.github.com/users/AndrewGorton/gists{/gist_id}","starred_url":"https://api.github.com/users/AndrewGorton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AndrewGorton/subscriptions","organizations_url":"https://api.github.com/users/AndrewGorton/orgs","repos_url":"https://api.github.com/users/AndrewGorton/repos","events_url":"https://api.github.com/users/AndrewGorton/events{/privacy}","received_events_url":"https://api.github.com/users/AndrewGorton/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/AndrewGorton/DigitalMarketplaceAlerter","description":null,"fork":false,"url":"https://api.github.com/repos/AndrewGorton/DigitalMarketplaceAlerter","forks_url":"https://api.github.com/repos/AndrewGorton/DigitalMarketplaceAlerter/forks","keys_url":"https://api.github.com/repos/AndrewGorton/DigitalMarketplaceAlerter/keys{/key_id}","collaborators_url":"https://api.github.com/repos/AndrewGorton/DigitalMarketplaceAlerter/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/AndrewGorton/DigitalMarketplaceAlerter/teams","hooks_url":"https://api.github.com/repos/AndrewGorton/DigitalMarketplaceAlerter/hooks","issue_events_url":"https://api.github.com/repos/AndrewGorton/DigitalMarketplaceAlerter/issues/events{/number}","events_url":"https://api.github.com/repos/AndrewGorton/DigitalMarketplaceAlerter/events","assignees_url":"https://api.github.com/repos/AndrewGorton/DigitalMarketplaceAlerter/assignees{/user}","branches_url":"https://api.github.com/repos/AndrewGorton/DigitalMarketplaceAlerter/branches{/branch}","tags_url":"https://api.github.com/repos/AndrewGorton/DigitalMarketplaceAlerter/tags","blobs_url":"https://api.github.com/repos/AndrewGorton/DigitalMarketplaceAlerter/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/AndrewGorton/DigitalMarketplaceAlerter/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/AndrewGorton/DigitalMarketplaceAlerter/git/refs{/sha}","trees_url":"https://api.github.com/repos/AndrewGorton/DigitalMarketplaceAlerter/git/trees{/sha}","statuses_url":"https://api.github.com/repos/AndrewGorton/DigitalMarketplaceAlerter/statuses/{sha}","languages_url":"https://api.github.com/repos/AndrewGorton/DigitalMarketplaceAlerter/languages","stargazers_url":"https://api.github.com/repos/AndrewGorton/DigitalMarketplaceAlerter/stargazers","contributors_url":"https://api.github.com/repos/AndrewGorton/DigitalMarketplaceAlerter/contributors","subscribers_url":"https://api.github.com/repos/AndrewGorton/DigitalMarketplaceAlerter/subscribers","subscription_url":"https://api.github.com/repos/AndrewGorton/DigitalMarketplaceAlerter/subscription","commits_url":"https://api.github.com/repos/AndrewGorton/DigitalMarketplaceAlerter/commits{/sha}","git_commits_url":"https://api.github.com/repos/AndrewGorton/DigitalMarketplaceAlerter/git/commits{/sha}","comments_url":"https://api.github.com/repos/AndrewGorton/DigitalMarketplaceAlerter/comments{/number}","issue_comment_url":"https://api.github.com/repos/AndrewGorton/DigitalMarketplaceAlerter/issues/comments{/number}","contents_url":"https://api.github.com/repos/AndrewGorton/DigitalMarketplaceAlerter/contents/{+path}","compare_url":"https://api.github.com/repos/AndrewGorton/DigitalMarketplaceAlerter/compare/{base}...{head}","merges_url":"https://api.github.com/repos/AndrewGorton/DigitalMarketplaceAlerter/merges","archive_url":"https://api.github.com/repos/AndrewGorton/DigitalMarketplaceAlerter/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/AndrewGorton/DigitalMarketplaceAlerter/downloads","issues_url":"https://api.github.com/repos/AndrewGorton/DigitalMarketplaceAlerter/issues{/number}","pulls_url":"https://api.github.com/repos/AndrewGorton/DigitalMarketplaceAlerter/pulls{/number}","milestones_url":"https://api.github.com/repos/AndrewGorton/DigitalMarketplaceAlerter/milestones{/number}","notifications_url":"https://api.github.com/repos/AndrewGorton/DigitalMarketplaceAlerter/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/AndrewGorton/DigitalMarketplaceAlerter/labels{/name}","releases_url":"https://api.github.com/repos/AndrewGorton/DigitalMarketplaceAlerter/releases{/id}","deployments_url":"https://api.github.com/repos/AndrewGorton/DigitalMarketplaceAlerter/deployments","created_at":"2016-09-26T11:32:52Z","updated_at":"2016-10-24T08:52:36Z","pushed_at":"2016-10-28T14:25:47Z","git_url":"git://github.com/AndrewGorton/DigitalMarketplaceAlerter.git","ssh_url":"git@github.com:AndrewGorton/DigitalMarketplaceAlerter.git","clone_url":"https://github.com/AndrewGorton/DigitalMarketplaceAlerter.git","svn_url":"https://github.com/AndrewGorton/DigitalMarketplaceAlerter","homepage":null,"size":174,"stargazers_count":1,"watchers_count":1,"language":"HTML","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":8,"forks":0,"open_issues":8,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/AndrewGorton/DigitalMarketplaceAlerter/pulls/19"},"html":{"href":"https://github.com/AndrewGorton/DigitalMarketplaceAlerter/pull/19"},"issue":{"href":"https://api.github.com/repos/AndrewGorton/DigitalMarketplaceAlerter/issues/19"},"comments":{"href":"https://api.github.com/repos/AndrewGorton/DigitalMarketplaceAlerter/issues/19/comments"},"review_comments":{"href":"https://api.github.com/repos/AndrewGorton/DigitalMarketplaceAlerter/pulls/19/comments"},"review_comment":{"href":"https://api.github.com/repos/AndrewGorton/DigitalMarketplaceAlerter/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/AndrewGorton/DigitalMarketplaceAlerter/pulls/19/commits"},"statuses":{"href":"https://api.github.com/repos/AndrewGorton/DigitalMarketplaceAlerter/statuses/8ad5754ad1302a718867c62405d600c0264154f3"}}}}
{"actor":{"display_login":"AndrewGorton"}}