Again, I'm still missing a suggestion on how to mark a script to run in a given context.
Carsten 2013/8/7 Bertrand Delacretaz <[email protected]> > On Wed, Aug 7, 2013 at 10:09 AM, Felix Meschberger <[email protected]> > wrote: > > ...In fact I would say, that BVPs without the property should just be > used anywhere.... > > that might work - I was going to say that [1] for example makes no > sense in my health check context, but that provider is being careful > to not add anything if the "resource" binding is not available so > we're fine. > > >> ...3. Provide a service to collect relevant BVPs when setting up > >> scripting, based on a set of context values. > > > > Since the selection is so easy with a service selection filter or target > attribute on a @Reference annotation, such a service would be overkill > ;-)... > > Ok, I'm not a fan of the LDAP-like filter syntax but it's workable, > and except for the DefaultSlingScript which needs to take care of > backwards compatibility the filters should be simple. > > -Bertrand > -- Carsten Ziegeler [email protected]
