-
Notifications
You must be signed in to change notification settings - Fork 217
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Pluggable observers #11
Comments
+1 on that. Fantastic idea. @adejanovski what do you think the scope of something like this might be? |
That would be nice indeed. Having observers through pluggable classes would require users to recompile Reaper which we might not want. Another way to make it very generic would be to allow people to write Groovy scripts to register callbacks. And of course we can maintain a set of specific triggers in the Reaper codebase to ease integration with Slack, etc... @rustyrazorblade @zznate : thoughts ? |
URL callbacks sound great. Better than what I had suggested. +1 from me
|
How about we design an interface for event handling and do an implementation as HTTP callbacks? It solves most people's needs but also give an escape hatch for folks that want something really simple, like an email when things fail. See #79 |
👍 |
@michaelsembwever |
It's only been discussed here. Are you interested in working on it @ritu0407 ? |
@rustyrazorblade |
When we start working on it, we'll update this issue and the work will be in a branch here. Would you be able to help us test it and give feedback along its development? |
Sure, we can test it. |
I think the implementation here has overshadowed the importance of the actual feature. Having configuration options for simple shell scripts for start, end, failure of repair runs is important for a set-it-and-forget-it tool like this (what a former colleague calls the "Ronco toolsuite"). Reaper runs generally once a week for most orgs and works well. Until one week you have a repair that doesn't finish for some reason and then it runs for 21 days straight or is erroring out silently because no one looks at it. Simple shell script hooks would go a long way here. People can hook into whatever notification systems they want from there. |
Project board link
From IRC:
It would be very cool if we shipped support for pluggable classes that can register as observers to handle things like failure, etc.
┆Issue is synchronized with this Jira Story by Unito
┆Issue Number: REAP-189
The text was updated successfully, but these errors were encountered: