Ohmbrewer / ohmbrewer

The web application for a happy brew day.
http://ohmbrewer.github.io
0 stars 0 forks source link

Automate the webhook creation process #70

Open kyleoliveira opened 8 years ago

kyleoliveira commented 8 years ago

Now that the interface with the Rhizome is stabilizing, we should be able to automate the webhook creation process so that when a user runs a ScheduleJob (i.e. runs a Batch) the appropriate webhooks for each Sprout are registered and the user doesn't have to do that manually.

Basically, we'll modify the ScheduleJob so that it adds webhooks for all sprouts on all Rhizomes used in the Schedule at the start of the job and removes all of them at the end of the job.

Once this is working properly, update the views for adding and removing webhooks from the Rhizome so that the user doesn't have to know the nitty-gritty of the interface - the user should only have to supply an endpoint URL.

kyleoliveira commented 8 years ago

This sort of action may be something we'd include in the SetupTask I mention in #73 .