Bring services and rules together
public
fago@drupal.org - Wed, 2008-04-02 09:04
I think it would be really useful to do a rules engine integration, so one can do service calls by configuring rules (per UI). It looks like one has already to specify the arguments for a service - so we would have to convert this to the format of the rules API and expose an action per service. Basically that should do it already.
Have I forgotten something? What do you think about this idea?



Maybe we can also integrate
Maybe we can also integrate with XML-RPC of the core, so it will not depend only on services. This, of course, is not to say that Integrating with services is not a good idea :)
Two thumbs up
I think a better rules engine is greatly needed. I like the idea of services integration. I'd like to see it abstract enough that it can be used for a variety of tasks from scheduling/workflow to ecommerce discounts or order fulfillment from multiple locations. Integrating it with core XML-RPC would be great.
Fago, I was looking at
Fago,
I was looking at Services module and thinking about the integration of Rules/wf_ng with it. My question is if for example we create an action for node_service and using services for a server, then who will invoke it?
And when using services as client, unless it is a Drupal site, one needs to write its own actions.
Am I - what might be very true - just missing the point? ;)
First I'd start with an
First I'd start with an action "Invoke service" - which should be straight forward. Later, e.g. with 6.x we could support providing services, as 6.x will feature the creation of rule sets, we could provide a rule set as service.
FYI,
FYI, http://drupal.org/node/262643 - 'Services integration with workflow_ng'
btw, what do you mean by
btw, what do you mean by rule set - a group of several rules triggered by the same event?