TriggerGenerator triggerGen = new TriggerGenerator();
List<Trigger> triggers = triggerGen.generateTriggers(user.getEmail(), 24*3600*1000, plan);
if (triggers.size() > 0) {
try {
ConfigurationLoader configurationLoader = new ConfigurationLoader();
Configuration config = configurationLoader.load();
String watchEndpoint = config.getString("watch.rest.uri");
String watchUser = config.getString("watch.rest.user");
String watchPassword = config.getString("watch.rest.password");
final ClientConfig cc = new DefaultClientConfig();