$Date: 2009-03-06 20:02:13 +0100 (Fri, 06 Mar 2009) $
$Rev: 289 $

INB IWWE&M v0.7.0 frontends

Currently, IWWE&M has 6 frontends, used by AJAX GUIs:

First of all, all these frontends have lots of parameters, and some of them may contain international characters, like Spanish ñ or French and Catalonian ç. So, all these frontends expect that must of their parameters are encoded in UTF-8, no more, no less. The only exceptions are PARAM_ prefixed parameters passed as files, whose encoding can be driven by their corresponding ENCODING_ prefixed parameters

All these frontends use the concept of Ids: workflow Ids, example Ids, enaction Ids, snapshot Ids and confirmation Ids. All the unqualified Ids have the format of an UUID, but there are some differences when the IDs are fully qualified:


INB IWWE&M: workflowmanager frontend documentation and call parameters

The workflowmanager frontend is responsible of all the workflow repository management tasks, like workflow uploading and validation, workflow repository description, and workflow deletion. Each time a workflow is uploaded, workflowmanager tries resolving all its dependencies before validating it using INBWorkflowParserWrapper.

The workflowmanager frontend receives a set of optional input parameters, described below. Then, it answers the list of available workflows and an optional message about the success of the operation described by the optional input parameters, in XML. This XML content follows XML Schema defined at IWWEM-messages.xsd, which is described at IWWEM-messages.xsd.html.

Call parameters

When this frontend is called with no input parameter, it answers the detailed status of the workflow repository (see live example). Additional parameters are used for the workflow repository maintenance:

INB IWWE&M: enactionlauncher frontend documentation and call parameters

The enactionlauncher frontend module is used to start an enaction process over a given input workflow or a previously stored one. As any program based on Taverna core uses lots of resources for any enaction process, enactionlauncher must restrict the number of concurrent enaction instances, queuing further queries until an enaction slot is available for each one.

In any case, enactionlauncher builds up the input parameters for INBWorkflowLauncherWrapper, and it also manages the creation and usage of example inputs. Also, enactionlauncher must create both the job identifier returned and the infrastructure needed by enactionstatus module and INBWorkflowLauncherWrapper backend program. This job identifier is returned in XML format, which follows the XML Schema defined at IWWEM-messages.xsd and described at IWWEM-messages.xsd.html.

Call parameters


INB IWWE&M: enactionstatus frontend documentation and call parameters

The frontend module enactionstatus reports the status of an in-course or finished enaction. It reports the available inputs and outputs for the whole enaction process and any of its steps, and it also reports the same information for any of the iterations of any workflow step. Additional information, like if an step has started, is iterating, has finished or has failed is also provided. All this information is described in an XML format which follows the XML Schema defined at IWWEM-messages.xsd and described at IWWEM-messages.xsd.html.

This frontend module is also responsible of new enaction snapshots creation, the kill of in-course jobs and the disposal of enactions and enaction snapshots.

Call parameters


INB IWWE&M: IWWEMproxy frontend documentation and call parameters

This frontend module was created to overcome some of the limitations of current browsers. Enaction process launched with enactionlauncher save both inputs and ouputs of the whole process, intermediate steps and iterations in Baclava XML format. AJAX GUI Enaction Viewer allows the end user to browse this information, but some data viewers it uses are only able to handle information coming from an URL. IWWEMproxy is responsible of decoding, extracting and streaming this information under demand. Data bundles can be accessed in listing or raw modes when bundle64 and IOPath parameters are unset. Data bundles listing shows the backbone of the data bundle (i.e. its tree structure), meanwhile raw mode access gives full access to the raw storage format (Baclava).

Call parameters

If bundle64 is not set, then information needed to fetch and decode is given by next parameters: Patterns used in IOPath parameter are stored in the IWWE&M server in an XML document, which follows the XML Schema IWWEM-patterns.xsd (documentation). Currently defined global patterns are available at EVpatterns.xml

INB IWWE&M: IWWEMconfirm frontend documentation and call parameters

This frontend module is used as an operations confirmation proxy. All erasing operations requested using workflowmanager (workflows, examples, snapshots and enactions), and the addition operations from workflowmanager (workflows), enactionlauncher (examples) and enactionstatus (snapshots) must be confirmed by the end user before being effective. So, these frontends use responsibleMail parameter to send e-mails to the responsible people of the object to be added/removed, which contain an URL to this frontend. When the URL is visited, the operation is just made effective.

Call parameter


INB IWWE&M: IWWEMfs frontend documentation and call parameters

This frontend module was created to give path-like access to almost all the information stored and provided by IWWE&M server. So, it provides almost all the information you can fetch using workflowmanager (available workflows and enactions), enactionstatus (enaction and snapshot status) and IWWEMproxy (access to workflow examples content, and inputs and results from enactions and snapshots), including single files like workflow graphs or raw workflow definitions.

Call parameters

This module reuses parameters asMime, charset and withName from IWWEMproxy, and reuses the semantics of the content of IOPath from IWWEMproxy when an input or an output is being fetched.

As this module works in a seamless way with virtual paths, next ones are relative sample URIs with valid paths:


Creative Commons License "INB IWWE&M frontends call parameters" by José María Fernández González is licensed under a Creative Commons Attribution-Share Alike 3.0 Unported License.
Based on a work stored at IWWE&M Trac Server.