This repository is private.
All pages are served over SSL and all pushing and pulling is done over SSH.
No one may fork, clone, or view it unless they are added as a member.
Every repository with this icon (
) is private.
Every repository with this icon (
This repository is public.
Anyone may fork, clone, or view it.
Every repository with this icon (
) is public.
Every repository with this icon (
commit f3bb2913ee62550c5be76372ddf370a533f84855
tree 39c2e6a36a5c06dc8b351797321808fc85ebec58
parent e084be256959cba4ed235f11f5bcc9453b517010
tree 39c2e6a36a5c06dc8b351797321808fc85ebec58
parent e084be256959cba4ed235f11f5bcc9453b517010
| name | age | message | |
|---|---|---|---|
| |
CHANGELOG.txt | Thu Apr 17 01:12:53 -0700 2008 | [jmettraux] |
| |
LICENSE.txt | Wed Apr 30 16:53:36 -0700 2008 | [jmettraux] |
| |
README.txt | Mon May 05 06:33:14 -0700 2008 | [jmettraux] |
| |
Rakefile | Tue May 06 18:40:23 -0700 2008 | [jmettraux] |
| |
bin/ | Wed Apr 30 06:51:51 -0700 2008 | [jmettraux] |
| |
conf/ | Tue May 06 16:34:37 -0700 2008 | [jmettraux] |
| |
lib/ | Tue May 06 18:40:23 -0700 2008 | [jmettraux] |
| |
public/ | Wed Apr 30 05:36:42 -0700 2008 | [jmettraux] |
| |
tasks/ | Tue May 06 18:40:23 -0700 2008 | [jmettraux] |
| |
test/ | Tue May 06 18:40:23 -0700 2008 | [jmettraux] |
| |
tools/ | Thu Apr 24 18:02:27 -0700 2008 | [jmettraux] |
| |
views/ | Tue May 06 17:34:43 -0700 2008 | [jmettraux] |
README.txt
= ruote-rest A RESTful instance of OpenWFEru (ruote) powered by Sinatra (http://sinatrarb.com) == getting it To get Ruote and Ruote-Rest : git clone git://github.com/jmettraux/ruote-rest.git Then cd ruote-rest rake install_workflow_engine To prepare the development database rake recreate_mysql_db Expects a mysql db with a 'root' admin account with sufficient access rights. It will create a database named "ruoterest_development". ( To prepare the test database rake recreate_mysql_db stage=test To prepare the dev database with the admin 'toto' rake recreate_mysql_db dbadmin=toto ) == starting it bin/start Then head to http://localhost:4567/processes == interface By default, XML representations will be returned. The 'Accept' header is used to determine which representation the client expects. The 'format' query parameter can be used to override that, like in GET /processes?format=json For debugging purposes, you can force to a text/plain content type with 'plain' : GET /workitems?format=json&plain=true === /processes GET /processes lists all the [business] processes currently running in the engine POST /processes launches a new process instance GET /processes/{wfid} returns the detailed status of a given process instance GET /processes/{wfid}/representation returns the JSON representation of the current process instance tree DELETE /processes/{wfid} cancels a business process instance === /expressions GET /expressions/{wfid} returns all the expressions of a business process instance GET /expressions/{wfid}/{expid} returns one expression GET /expressions/{wfid}/{expid}?format=yaml returns the YAML representation of an expression (note that using the Accept header is the best way to do that) PUT /expressions/{wfid}/{expid} updates an expression, live. Expects a YAML version of the expression DELETE /expressions/{wfid}/{expid} cancels one expression === /workitems GET /workitems lists all the workitems GET /workitems/{wid} returns a workitem GET /workitems?wfid=x returns all the workitems belonging to a [business] process instance PUT /workitems/{wid} updates a workitem If the workitem field '_state' is set to 'proceeded' the workitem will resume its travel in its business process == configuration conf/db.rb database configuration conf/engine.rb engine configuration conf/participants.rb conf/participants_development.yaml participants configuration, the yaml file holds the list of 'active participants' (the worklist in fact). == license BSD == feedback http://groups.google.com/group/openwferu-users




