Intersection / cg-coffee-bot

Monitor your coffee pot with Google App Engine, send e-mail/Slack/Twitter notifications, and more...
Apache License 2.0
0 stars 1 forks source link

Allow system to run without POSTing data to Google App Engine #2

Open timmattison opened 9 years ago

timmattison commented 9 years ago

Google App Engine is a hard dependency. In the startup method (CoffeeSystem.java -> main) we instantiate it without checking to see if the configuration parameters exist.

The startup method should check to see if the configuration parameters exist and then wire it up conditionally. This would allow coffee bots to run without Google App Engine and provide Twitter/Slack/e-mail updates out of the box.