On Mon, Dec 15, 2008 at 11:40 PM, Torsten Schoenebaum
<[email protected]> wrote:
>
> It should be marked as beta ;-)
>
> Have a look at <http://github.com/tosch/ruote/tree/master/lib/openwfe/
> extras/participants/active_resource_participtants.rb> (my first steps
> using git and GitHub...).
>
> Still test-less (didn't have the time to understand ARes mocking), but
> some documentation is included.

Hi Torsten,

I have pulled your changes and then added an initial test for the
participant (http://tinyurl.com/57oglm), it looks fine so far.

I will write some documentation for it at :
http://openwferu.rubyforge.org/participants.html


I would recommend not to pass too much ARes info in the process
definition, leaving most of it at registration time :

<sequence>
  <participant
    ref="reminder"
    site="http://localhost:7000";
    resource_name="story"
    method="put"
    action="send_reminder"
    resource_id="${field:story_id}"
  />
</sequence>

is less readable than

<sequence>
  <participant ref="reminder" resource_id="${field:story_id}" />
</sequence>

But in the end, it really depends on what is the speed of change for
process definitions and for participant configuration, so this is just
a piece of advice.


Make sure to set your github username on your dev machine as per
http://github.com/guides/tell-git-your-user-name-and-email-address
(your gravatar will then appear for your commits).


Thanks a lot ! Danke sehr !

-- 
John Mettraux   -   http://jmettraux.wordpress.com

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Ruote (OpenWFEru) users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/openwferu-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to