Well a url is really dictated by your underlying resource model that you
want to expose.
In my case I have a service: /wfcs (workflow chaining service)
I have workflow resources
-> /wfcs/workflows/{id}
Workflows can have many process definitions
-> /wfcs/workflows/{id}/definitions/{id}
When I launch a workflow, I really create an instance resource so I can
track it.
-> /wfcs/workflows/{id}/instances/{id}
A running instance of a workflow has many traces (in/out of activities)
I can get an atom feed of those traces by adding a .atom or .rss extension:
-> /wfcs/instances/{id}/traces.atom
I can get a workflow atom/rss feed in a similar manner
-> /wfcs/workflows.atom
So on and so forth.
There is also an APP service document that describes the collections at :
-> /wfcs/app
This is inline with the Atom Publishing Protocol (APP).
You may also want to have a WADL document to describe your application:
-> /wfcs.wadl
Does this make sense?
Pat.
> From: Juan Pedro Paredes <[EMAIL PROTECTED]>
> Reply-To: <[email protected]>
> Date: Sat, 15 Sep 2007 08:11:09 -0700
> To: OpenWFEru dev <[email protected]>
> Subject: [openwferu-dev] Re: Densha launch with parameters
>
>
>
>
> On 15 sep, 04:32, Pat Cappelaere <[EMAIL PROTECTED]> wrote:
>> I think that in a real-like application, workflows will be stored in
>> databases along with some meta-data and fully versioned. They are not
>> really url's (although they can be addressed by their urls if needed. They
>> are resources after all )
>
> A url can be something like
> db://table/process/v1
> Do you know wat i mean? :). I's only overload the ruby handler.
> But do debug and devel purposes is more usable
> file://where
>
> I'm very interested to store all workflow data and metadata in
> activerecord (or some other scalable transactional store).
> AFAIK in densha, not all the process workflow stuff resides in
> database.
> There are some expool a journal files.
>
> I think this a good path, to make it as reliable and scalable as
> possible.
>
> Best regards.
>
>
> >
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"OpenWFEru dev" 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-dev?hl=en
-~----------~----~----~----~------~----~------~--~---