Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Workflows can automatically be tested on stand alone systems by using the WorkflowTestRunner program. The WorkflowTestRunner will start the given workflow either in the running region or start the region to run the workflow. The WorkflowTestRunner makes use of a socket interface started by the stand alone system.

Warning

Originally developed for testing purposes, the WorkflowTestRunner to run workflows automatically in a Stand Alone environment is now also used in “live” systems. This use has been proven to be performing well in practice and is now fully supported by Deltares. A full description of how to set this up, including example files, will follow shortly. See also How to configure a workflow test run. Running workflows from the command-line

Explorer.xml

In order to enable automatic workflow execution on a region, one has to configure the region to listen for workflow requests on a socket interface. The socket interface can be configured in the piServicePortRange tag of the Explorer.xml file. Next example shows a configured pi socket for port 8432.

...

Code Block
title"Region.jpif
..\jre
-mx256m
-cp
$JARS_PATH$
*nl.wldelft.fews.system.workflowrunnertest.WorkflowRunner*
<Region name>
<Workflow Id>
<ip service port nr>
\[optional system time in format: yyyy-mm-dd hh:mm:ss\]

Where the bold rows are WorkflowRunner WorkflowTestRunner specific. Here is an example of a valid jpif configuration:

...