WeatherAlarm
============

Sends alert messages when current conditions meet specified criteria, e.g. temperature.

The implementation depends on Netflix OSS projects: karyon and ribbon, and the Yahoo Weather API.

This application is currently under development and is not finished...

Configuration is defined via config.properties file found in src/main/resources.

JVM args can also be used for configuration or to override values defined in the config.properties file:

```
-DweatherAlarm.weatherServiceQueryInterval=[seconds] 
-DweatherAlarm.name=[unique alarm name]
-DweatherAlarm.email=[email address, e.g. user.name@userEmail.com]
-DweatherAlarm.location=[zip code]
-DweatherAlarm.temperaturePredicate=[LT,LE,GT,GE,EQ,NE]
-DweatherAlarm.temperatureValue=[integer value]
-DweatherAlarm.emailHostName=[smtp server, e.g. smtp.gmail.com]
-DweatherAlarm.emailAuthUser=[service's email account, e.g. service.email@serviceEmail.com]
-DweatherAlarm.emailAuthPass=[service email account password]
```

WeatherAlarm
============

Sends alert messages when current conditions meet specified criteria, e.g. temperature.

The implementation depends on Netflix OSS projects: karyon and ribbon, and the Yahoo Weather API.

This application is currently under development and is not finished...

Configuration is defined via config.properties file found in src/main/resources.

JVM args can also be used for configuration or to override values defined in the config.properties file:

```
-DweatherAlarm.weatherServiceQueryInterval=[seconds] 
-DweatherAlarm.initialAlarms=[a json file containing initial alarm entries in a list, e.g. /path/to/json/init.json]
-DweatherAlarm.emailHostName=[smtp server, e.g. smtp.gmail.com]
-DweatherAlarm.emailAuthUser=[service's email account, e.g. service.email@serviceEmail.com]
-DweatherAlarm.emailAuthPass=[service email account password]
```

Move initial alarms list to json file and fix JSON serialization/deserialization of WeatherAlarms
Move initial alarms list to json file and fix JSON serialization/deserialization of WeatherAlarms
