{"action":"created","comment":{"url":"https://api.github.com/repos/davidkey/roster/pulls/comments/63284217","id":63284217,"diff_hunk":"@@ -31,27 +31,27 @@\n    \n    private static final Logger logger = LoggerFactory.getLogger(MailgunEmailServiceImpl.class);\n \n-   @Value(\"${email.mailgun.apiKey}\")\n+   @Value(\"${email.mailgun.apiKey:NONE}\")\n    private String mailgunApiKey;\n \n-   @Value(\"${email.mailgun.host}\")\n+   @Value(\"${email.mailgun.host:NONE}\")\n    private String mailgunHost;\n \n-   @Value(\"${email.mailgun.to}\")\n+   @Value(\"${email.mailgun.to:NONE}\")\n    private String testEmailAddress;\n    \n    @Autowired\n    private MailMessageRepository mailMessageRepos;\n \n    @Override\n    public boolean send(Email email) {\n-      if(mailgunApiKey == null || mailgunHost == null){\n-         logger.error(\"no apikey and/or host defined for mailgun\");\n+      if(mailgunApiKey == null || mailgunHost == null || \"NONE\".equals(mailgunApiKey) || \"NONE\".equals(mailgunHost)){","path":"src/main/java/com/dak/duty/service/MailgunEmailServiceImpl.java","position":23,"original_position":23,"commit_id":"295d8127f73f1ef996d17a590eac3e6c3b4b93a8","original_commit_id":"295d8127f73f1ef996d17a590eac3e6c3b4b93a8","user":{"login":"sputnikci","id":15047461,"avatar_url":"https://avatars.githubusercontent.com/u/15047461?v=3","gravatar_id":"","url":"https://api.github.com/users/sputnikci","html_url":"https://github.com/sputnikci","followers_url":"https://api.github.com/users/sputnikci/followers","following_url":"https://api.github.com/users/sputnikci/following{/other_user}","gists_url":"https://api.github.com/users/sputnikci/gists{/gist_id}","starred_url":"https://api.github.com/users/sputnikci/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sputnikci/subscriptions","organizations_url":"https://api.github.com/users/sputnikci/orgs","repos_url":"https://api.github.com/users/sputnikci/repos","events_url":"https://api.github.com/users/sputnikci/events{/privacy}","received_events_url":"https://api.github.com/users/sputnikci/received_events","type":"User","site_admin":false},"body":"\\[Checkstyle\\] ERROR: '\\{' is not preceded with whitespace\\.","created_at":"2016-05-15T00:21:45Z","updated_at":"2016-05-15T00:21:45Z","html_url":"https://github.com/davidkey/roster/pull/9#discussion_r63284217","pull_request_url":"https://api.github.com/repos/davidkey/roster/pulls/9","_links":{"self":{"href":"https://api.github.com/repos/davidkey/roster/pulls/comments/63284217"},"html":{"href":"https://github.com/davidkey/roster/pull/9#discussion_r63284217"},"pull_request":{"href":"https://api.github.com/repos/davidkey/roster/pulls/9"}}},"pull_request":{"url":"https://api.github.com/repos/davidkey/roster/pulls/9","id":70107916,"html_url":"https://github.com/davidkey/roster/pull/9","diff_url":"https://github.com/davidkey/roster/pull/9.diff","patch_url":"https://github.com/davidkey/roster/pull/9.patch","issue_url":"https://api.github.com/repos/davidkey/roster/issues/9","number":9,"state":"open","locked":false,"title":"Updated to use spring boot","user":{"login":"davidkey","id":2999033,"avatar_url":"https://avatars.githubusercontent.com/u/2999033?v=3","gravatar_id":"","url":"https://api.github.com/users/davidkey","html_url":"https://github.com/davidkey","followers_url":"https://api.github.com/users/davidkey/followers","following_url":"https://api.github.com/users/davidkey/following{/other_user}","gists_url":"https://api.github.com/users/davidkey/gists{/gist_id}","starred_url":"https://api.github.com/users/davidkey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davidkey/subscriptions","organizations_url":"https://api.github.com/users/davidkey/orgs","repos_url":"https://api.github.com/users/davidkey/repos","events_url":"https://api.github.com/users/davidkey/events{/privacy}","received_events_url":"https://api.github.com/users/davidkey/received_events","type":"User","site_admin":false},"body":"Update roster to use spring boot. Resolves #8.","created_at":"2016-05-15T00:18:46Z","updated_at":"2016-05-15T00:21:45Z","closed_at":null,"merged_at":null,"merge_commit_sha":"1dd362438de9c094972c9927a3a9d4dafbd8331f","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/davidkey/roster/pulls/9/commits","review_comments_url":"https://api.github.com/repos/davidkey/roster/pulls/9/comments","review_comment_url":"https://api.github.com/repos/davidkey/roster/pulls/comments{/number}","comments_url":"https://api.github.com/repos/davidkey/roster/issues/9/comments","statuses_url":"https://api.github.com/repos/davidkey/roster/statuses/295d8127f73f1ef996d17a590eac3e6c3b4b93a8","head":{"label":"davidkey:enhancement/springboot","ref":"enhancement/springboot","sha":"295d8127f73f1ef996d17a590eac3e6c3b4b93a8","user":{"login":"davidkey","id":2999033,"avatar_url":"https://avatars.githubusercontent.com/u/2999033?v=3","gravatar_id":"","url":"https://api.github.com/users/davidkey","html_url":"https://github.com/davidkey","followers_url":"https://api.github.com/users/davidkey/followers","following_url":"https://api.github.com/users/davidkey/following{/other_user}","gists_url":"https://api.github.com/users/davidkey/gists{/gist_id}","starred_url":"https://api.github.com/users/davidkey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davidkey/subscriptions","organizations_url":"https://api.github.com/users/davidkey/orgs","repos_url":"https://api.github.com/users/davidkey/repos","events_url":"https://api.github.com/users/davidkey/events{/privacy}","received_events_url":"https://api.github.com/users/davidkey/received_events","type":"User","site_admin":false},"repo":{"id":36611368,"name":"roster","full_name":"davidkey/roster","owner":{"login":"davidkey","id":2999033,"avatar_url":"https://avatars.githubusercontent.com/u/2999033?v=3","gravatar_id":"","url":"https://api.github.com/users/davidkey","html_url":"https://github.com/davidkey","followers_url":"https://api.github.com/users/davidkey/followers","following_url":"https://api.github.com/users/davidkey/following{/other_user}","gists_url":"https://api.github.com/users/davidkey/gists{/gist_id}","starred_url":"https://api.github.com/users/davidkey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davidkey/subscriptions","organizations_url":"https://api.github.com/users/davidkey/orgs","repos_url":"https://api.github.com/users/davidkey/repos","events_url":"https://api.github.com/users/davidkey/events{/privacy}","received_events_url":"https://api.github.com/users/davidkey/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/davidkey/roster","description":"Duty Roster Management Web Application","fork":false,"url":"https://api.github.com/repos/davidkey/roster","forks_url":"https://api.github.com/repos/davidkey/roster/forks","keys_url":"https://api.github.com/repos/davidkey/roster/keys{/key_id}","collaborators_url":"https://api.github.com/repos/davidkey/roster/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/davidkey/roster/teams","hooks_url":"https://api.github.com/repos/davidkey/roster/hooks","issue_events_url":"https://api.github.com/repos/davidkey/roster/issues/events{/number}","events_url":"https://api.github.com/repos/davidkey/roster/events","assignees_url":"https://api.github.com/repos/davidkey/roster/assignees{/user}","branches_url":"https://api.github.com/repos/davidkey/roster/branches{/branch}","tags_url":"https://api.github.com/repos/davidkey/roster/tags","blobs_url":"https://api.github.com/repos/davidkey/roster/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/davidkey/roster/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/davidkey/roster/git/refs{/sha}","trees_url":"https://api.github.com/repos/davidkey/roster/git/trees{/sha}","statuses_url":"https://api.github.com/repos/davidkey/roster/statuses/{sha}","languages_url":"https://api.github.com/repos/davidkey/roster/languages","stargazers_url":"https://api.github.com/repos/davidkey/roster/stargazers","contributors_url":"https://api.github.com/repos/davidkey/roster/contributors","subscribers_url":"https://api.github.com/repos/davidkey/roster/subscribers","subscription_url":"https://api.github.com/repos/davidkey/roster/subscription","commits_url":"https://api.github.com/repos/davidkey/roster/commits{/sha}","git_commits_url":"https://api.github.com/repos/davidkey/roster/git/commits{/sha}","comments_url":"https://api.github.com/repos/davidkey/roster/comments{/number}","issue_comment_url":"https://api.github.com/repos/davidkey/roster/issues/comments{/number}","contents_url":"https://api.github.com/repos/davidkey/roster/contents/{+path}","compare_url":"https://api.github.com/repos/davidkey/roster/compare/{base}...{head}","merges_url":"https://api.github.com/repos/davidkey/roster/merges","archive_url":"https://api.github.com/repos/davidkey/roster/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/davidkey/roster/downloads","issues_url":"https://api.github.com/repos/davidkey/roster/issues{/number}","pulls_url":"https://api.github.com/repos/davidkey/roster/pulls{/number}","milestones_url":"https://api.github.com/repos/davidkey/roster/milestones{/number}","notifications_url":"https://api.github.com/repos/davidkey/roster/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/davidkey/roster/labels{/name}","releases_url":"https://api.github.com/repos/davidkey/roster/releases{/id}","deployments_url":"https://api.github.com/repos/davidkey/roster/deployments","created_at":"2015-05-31T16:17:59Z","updated_at":"2015-11-11T02:47:00Z","pushed_at":"2016-05-15T00:18:48Z","git_url":"git://github.com/davidkey/roster.git","ssh_url":"git@github.com:davidkey/roster.git","clone_url":"https://github.com/davidkey/roster.git","svn_url":"https://github.com/davidkey/roster","homepage":"","size":1892,"stargazers_count":0,"watchers_count":0,"language":"Java","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":"davidkey:master","ref":"master","sha":"d146ea6164df8c9062cdb135fe0acc7b5f3b4ba4","user":{"login":"davidkey","id":2999033,"avatar_url":"https://avatars.githubusercontent.com/u/2999033?v=3","gravatar_id":"","url":"https://api.github.com/users/davidkey","html_url":"https://github.com/davidkey","followers_url":"https://api.github.com/users/davidkey/followers","following_url":"https://api.github.com/users/davidkey/following{/other_user}","gists_url":"https://api.github.com/users/davidkey/gists{/gist_id}","starred_url":"https://api.github.com/users/davidkey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davidkey/subscriptions","organizations_url":"https://api.github.com/users/davidkey/orgs","repos_url":"https://api.github.com/users/davidkey/repos","events_url":"https://api.github.com/users/davidkey/events{/privacy}","received_events_url":"https://api.github.com/users/davidkey/received_events","type":"User","site_admin":false},"repo":{"id":36611368,"name":"roster","full_name":"davidkey/roster","owner":{"login":"davidkey","id":2999033,"avatar_url":"https://avatars.githubusercontent.com/u/2999033?v=3","gravatar_id":"","url":"https://api.github.com/users/davidkey","html_url":"https://github.com/davidkey","followers_url":"https://api.github.com/users/davidkey/followers","following_url":"https://api.github.com/users/davidkey/following{/other_user}","gists_url":"https://api.github.com/users/davidkey/gists{/gist_id}","starred_url":"https://api.github.com/users/davidkey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davidkey/subscriptions","organizations_url":"https://api.github.com/users/davidkey/orgs","repos_url":"https://api.github.com/users/davidkey/repos","events_url":"https://api.github.com/users/davidkey/events{/privacy}","received_events_url":"https://api.github.com/users/davidkey/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/davidkey/roster","description":"Duty Roster Management Web Application","fork":false,"url":"https://api.github.com/repos/davidkey/roster","forks_url":"https://api.github.com/repos/davidkey/roster/forks","keys_url":"https://api.github.com/repos/davidkey/roster/keys{/key_id}","collaborators_url":"https://api.github.com/repos/davidkey/roster/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/davidkey/roster/teams","hooks_url":"https://api.github.com/repos/davidkey/roster/hooks","issue_events_url":"https://api.github.com/repos/davidkey/roster/issues/events{/number}","events_url":"https://api.github.com/repos/davidkey/roster/events","assignees_url":"https://api.github.com/repos/davidkey/roster/assignees{/user}","branches_url":"https://api.github.com/repos/davidkey/roster/branches{/branch}","tags_url":"https://api.github.com/repos/davidkey/roster/tags","blobs_url":"https://api.github.com/repos/davidkey/roster/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/davidkey/roster/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/davidkey/roster/git/refs{/sha}","trees_url":"https://api.github.com/repos/davidkey/roster/git/trees{/sha}","statuses_url":"https://api.github.com/repos/davidkey/roster/statuses/{sha}","languages_url":"https://api.github.com/repos/davidkey/roster/languages","stargazers_url":"https://api.github.com/repos/davidkey/roster/stargazers","contributors_url":"https://api.github.com/repos/davidkey/roster/contributors","subscribers_url":"https://api.github.com/repos/davidkey/roster/subscribers","subscription_url":"https://api.github.com/repos/davidkey/roster/subscription","commits_url":"https://api.github.com/repos/davidkey/roster/commits{/sha}","git_commits_url":"https://api.github.com/repos/davidkey/roster/git/commits{/sha}","comments_url":"https://api.github.com/repos/davidkey/roster/comments{/number}","issue_comment_url":"https://api.github.com/repos/davidkey/roster/issues/comments{/number}","contents_url":"https://api.github.com/repos/davidkey/roster/contents/{+path}","compare_url":"https://api.github.com/repos/davidkey/roster/compare/{base}...{head}","merges_url":"https://api.github.com/repos/davidkey/roster/merges","archive_url":"https://api.github.com/repos/davidkey/roster/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/davidkey/roster/downloads","issues_url":"https://api.github.com/repos/davidkey/roster/issues{/number}","pulls_url":"https://api.github.com/repos/davidkey/roster/pulls{/number}","milestones_url":"https://api.github.com/repos/davidkey/roster/milestones{/number}","notifications_url":"https://api.github.com/repos/davidkey/roster/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/davidkey/roster/labels{/name}","releases_url":"https://api.github.com/repos/davidkey/roster/releases{/id}","deployments_url":"https://api.github.com/repos/davidkey/roster/deployments","created_at":"2015-05-31T16:17:59Z","updated_at":"2015-11-11T02:47:00Z","pushed_at":"2016-05-15T00:18:48Z","git_url":"git://github.com/davidkey/roster.git","ssh_url":"git@github.com:davidkey/roster.git","clone_url":"https://github.com/davidkey/roster.git","svn_url":"https://github.com/davidkey/roster","homepage":"","size":1892,"stargazers_count":0,"watchers_count":0,"language":"Java","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/davidkey/roster/pulls/9"},"html":{"href":"https://github.com/davidkey/roster/pull/9"},"issue":{"href":"https://api.github.com/repos/davidkey/roster/issues/9"},"comments":{"href":"https://api.github.com/repos/davidkey/roster/issues/9/comments"},"review_comments":{"href":"https://api.github.com/repos/davidkey/roster/pulls/9/comments"},"review_comment":{"href":"https://api.github.com/repos/davidkey/roster/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/davidkey/roster/pulls/9/commits"},"statuses":{"href":"https://api.github.com/repos/davidkey/roster/statuses/295d8127f73f1ef996d17a590eac3e6c3b4b93a8"}}}}