I am trying to document a potential call to get the Engine Status
Like in:
GET /wfcs/engine
I would probably expect to get the engine status (running, paused...) and
a list of running/scheduled processes. Anything else?
So I can now find the jobs on the schedule, I can get the job_id and the job
object. I can get the schedule_info on that object.
How do I get the wfid short of parsing the ascii string that could be in the
job_id (could also be a counter, I guess)? I am not seeing any convenience
functions. I can always write one :)
The other thing is that I am not too pleased in the WfXML document is about
the halt/resume cmds to the engine. REST would suggest a PUT like:
PUT /wfcs/engine
<entry...
<cmd>halt|resume</cmd>
</entry>
Wondering if it would be acceptable to deviate and use something like:
GET /wfcs/engine?status=halt | pause | start | stop
Or even
GET /wfcs/engine/halt
WDYT?
Technically start and stop ought to be POST and DELETE too.
And can we assume one engine resource only?
Pat.
> From: John Mettraux <[EMAIL PROTECTED]>
> Reply-To: <[email protected]>
> Date: Wed, 30 Jan 2008 21:25:40 +0900
> To: <[email protected]>
> Subject: [openwferu-dev] Re: Listing processes
>
>
> On Jan 30, 2008 12:13 AM, cappelaere <[EMAIL PROTECTED]> wrote:
>>
>> John,
>>
>> To get some insight on the engine status, I was expecting to get a
>> list of all processes (scheduled and/or running).
>> Using latest version in svn, I tried this but get zero count.
>> Workflow does get executed.
>
> Hi Pat,
>
> please read
>
> http://groups.google.com/group/openwferu-users/browse_thread/thread/aa88ee8d81
> ff8d5
>
> Sleeping for 0.350 second should solve your issue.
>
>
> Best regards,
>
> --
> John Mettraux -///- http://jmettraux.openwfe.org
>
> >
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---