grouper-dev - Re: [grouper-dev] notifications vs hooks
Subject: Grouper Developers Forum
List archive
- From: Bert Bee-Lindgren <>
- To: "Mike Olive" <>
- Cc: "'Chris Hyzer'" <>, "'Grouper Dev'" <>, <>
- Subject: Re: [grouper-dev] notifications vs hooks
- Date: Wed, 21 May 2008 11:52:51 -0400
Thanks Mike & Chris, I just get the feeling that pre-hooks and same-transaction semantics (especially across data sources) are solving problems I don't see: I see huge near-term values of pre-hooks as filters. I don't see how these need coordinated commit/rollback with the GrouperDB transaction. From reviewing Grouper/Signet roadmap issues, I see the following most affected by Hooks & Plugins. -Notification of changes - email/grouper-to-signet/triggered provisioning -History & audit -Rule-based action (not sure if this uses plugins, but some rules could be considered augmentation) Maybe my ACID religion will take a hit from this, but I'm not sure I see the harm in Auditing and (membership and attribute) Augmentation happening based on reliable notifications after the group's transaction commits. Further, when the group is changed via Post-Hook augmentation, it's possible that other pre-hooks should be triggered (Orig action, pre-hook, hib flush, post-hook that augments, pre-hook because request changed, hib flush, post-hook, commit.... ugh... double-ugh if it loops further or if a pre-hook later disagrees) Generally, I see the following levels of increasing functionality and complexity. And I see current plans for #4 while #1 or 2 seem (to me) to be so much easier and offer so much value.I see 80% of vision I've heard being done with #1 and 90+% with #2. 1) Pre-hooks as filters, reliable post-action notifications [I'd call this the minimum] 2) #1 with pre-hooks also as augmenters 3) #2 with all pre-hooks seeing the final (augmented) group 4) #3 with post-hooks and same-transaction semantics Am I missing Use Cases, or not considering ACID-lite problems, or am I seeing difficulty where there is none? Put differently, if this is all truly necessary, great. Or if this is easier than it seems, even better. Thanks, yet again, for you patience, Bert On May 21, 2008, at 11:03 AM, Mike Olive wrote:
|
- notifications vs hooks, Chris Hyzer, 05/14/2008
- Re: [grouper-dev] notifications vs hooks, Bert Bee-Lindgren, 05/14/2008
- RE: [grouper-dev] notifications vs hooks, Chris Hyzer, 05/14/2008
- RE: [grouper-dev] notifications vs hooks, Mike Olive, 05/21/2008
- Re: [grouper-dev] notifications vs hooks, Bert Bee-Lindgren, 05/21/2008
- RE: [grouper-dev] notifications vs hooks, Chris Hyzer, 05/21/2008
- Re: [grouper-dev] notifications vs hooks, Michael R. Gettes, 05/21/2008
- RE: [grouper-dev] notifications vs hooks, Chris Hyzer, 05/22/2008
- Re: [grouper-dev] notifications vs hooks, Michael R. Gettes, 05/22/2008
- RE: [grouper-dev] notifications vs hooks, Chris Hyzer, 05/22/2008
- RE: [signet-dev] RE: [grouper-dev] notifications vs hooks, Mike Olive, 05/22/2008
- Re: [signet-dev] RE: [grouper-dev] notifications vs hooks, Michael R. Gettes, 05/22/2008
- RE: [signet-dev] RE: [grouper-dev] notifications vs hooks, Chris Hyzer, 05/22/2008
- RE: [signet-dev] RE: [grouper-dev] notifications vs hooks, Mike Olive, 05/22/2008
- hooks and notifications, Chris Hyzer, 05/23/2008
- RE: [grouper-dev] notifications vs hooks, Chris Hyzer, 05/22/2008
- Re: [grouper-dev] notifications vs hooks, Michael R. Gettes, 05/21/2008
- RE: [grouper-dev] notifications vs hooks, Chris Hyzer, 05/21/2008
- Re: [grouper-dev] notifications vs hooks, Bert Bee-Lindgren, 05/21/2008
- Re: [grouper-dev] notifications vs hooks, Bert Bee-Lindgren, 05/14/2008
Archive powered by MHonArc 2.6.16.