{"action":"created","issue":{"url":"https://api.github.com/repos/KlausTrainer/couch_email_auth/issues/23","labels_url":"https://api.github.com/repos/KlausTrainer/couch_email_auth/issues/23/labels{/name}","comments_url":"https://api.github.com/repos/KlausTrainer/couch_email_auth/issues/23/comments","events_url":"https://api.github.com/repos/KlausTrainer/couch_email_auth/issues/23/events","html_url":"https://github.com/KlausTrainer/couch_email_auth/issues/23","id":45973084,"number":23,"title":"Abort at start time if an essential requirement is missing","user":{"login":"KlausTrainer","id":230061,"avatar_url":"https://avatars.githubusercontent.com/u/230061?v=3","gravatar_id":"","url":"https://api.github.com/users/KlausTrainer","html_url":"https://github.com/KlausTrainer","followers_url":"https://api.github.com/users/KlausTrainer/followers","following_url":"https://api.github.com/users/KlausTrainer/following{/other_user}","gists_url":"https://api.github.com/users/KlausTrainer/gists{/gist_id}","starred_url":"https://api.github.com/users/KlausTrainer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KlausTrainer/subscriptions","organizations_url":"https://api.github.com/users/KlausTrainer/orgs","repos_url":"https://api.github.com/users/KlausTrainer/repos","events_url":"https://api.github.com/users/KlausTrainer/events{/privacy}","received_events_url":"https://api.github.com/users/KlausTrainer/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2014-10-16T11:00:56Z","updated_at":"2015-08-30T16:50:49Z","closed_at":null,"body":"If an essential requirement is missing, the service should stop immediately (i.e., at start time) rather than causing problems later.  That is, we should provide sensible defaults where possible and have as few requirements as possible.  However, there are some prerequisites that we can't provide, and that users have to make sure are available (e.g. the configuration of the address in the \"From\" header in the email).\r\n\r\nTODO: Define which requirements are essential."},"comment":{"url":"https://api.github.com/repos/KlausTrainer/couch_email_auth/issues/comments/136159589","html_url":"https://github.com/KlausTrainer/couch_email_auth/issues/23#issuecomment-136159589","issue_url":"https://api.github.com/repos/KlausTrainer/couch_email_auth/issues/23","id":136159589,"user":{"login":"KlausTrainer","id":230061,"avatar_url":"https://avatars.githubusercontent.com/u/230061?v=3","gravatar_id":"","url":"https://api.github.com/users/KlausTrainer","html_url":"https://github.com/KlausTrainer","followers_url":"https://api.github.com/users/KlausTrainer/followers","following_url":"https://api.github.com/users/KlausTrainer/following{/other_user}","gists_url":"https://api.github.com/users/KlausTrainer/gists{/gist_id}","starred_url":"https://api.github.com/users/KlausTrainer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KlausTrainer/subscriptions","organizations_url":"https://api.github.com/users/KlausTrainer/orgs","repos_url":"https://api.github.com/users/KlausTrainer/repos","events_url":"https://api.github.com/users/KlausTrainer/events{/privacy}","received_events_url":"https://api.github.com/users/KlausTrainer/received_events","type":"User","site_admin":false},"created_at":"2015-08-30T16:50:49Z","updated_at":"2015-08-30T16:50:49Z","body":"Hint: We could use [joi](https://github.com/hapijs/joi) (which we're already using for request validation) in order to validate configuration files at start time."}}