Hi,
I have a question that's somewhat technical but also workflow pattern
related.
I defined a software deployment process called "deploy_package"
I can start it using:
wfid = engine.ruote.launch(deploy_package,
'artifact_id' => 'foo',
'version' => '4.2.9-SNAPSHOT'
)
This will deploy a single software package of a certain version onto a
number of servers.
Now I'd like to define more specific processes like
"deploy_entire_frontend", which should in turn call deploy_package for a
number of packages.
I figured I could do something like
deploy_entire_frontend = %q{
set artifact_id: foo
set version: 4.2.9-SNAPSHOT
deploy_package
set artifact_id: bar
set version: 3.1.10
deploy_package
}
But even though it works, this feels very wrong. Esp. since I have more
like 10 workitem fields that deploy_package is working with and not just
two like in this example and I'd like to keep the process definition free
of field values.
What would be a proper way to do this?
--
--
you received this message because you are subscribed to the "ruote users" group.
to post : send email to [email protected]
to unsubscribe : send email to [email protected]
more options : http://groups.google.com/group/openwferu-users?hl=en
---
You received this message because you are subscribed to the Google Groups
"ruote" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.