Workflow management tool (WMT)
WMT provides a GUI to enable users to design workflows and perform analysis and optimization.
- ASAP Project Official Page
For demostration reasons a Linux operating system like Ubuntu it is assumed in this step. In Windows or other Linux distributions the equivalents should be done.
The project's root directory stores a configuration file for nginx:
It should be changed appropriately: on line 5
set $ROOT "/your/path/to/wmt";.
Then you can use this file for nginx server configuration:
ln -s ~/your/path/to/wmt/wmt.conf /your/nginx/installation/servers/
To build the project use Grunt. Installation of Grunt's command line interface (CLI) globally can be done with the following commands:
sudo apt-get npm
sudo npm install -g grunt-cli
The project is configured with a
package.json and a
Gruntfile.js, it's very easy to start working with Grunt:
- Go to the project's root directory.
- Install project dependencies with
- Run Grunt with
To run tests, do
python -m unittest -v testmain in the directory
Currently, the following functions have test coverage:
analyse()- comparison of its result with the presaved result in a file testwl-a.json
save()- checking that save function generates a file with correct name
execute()- checking that execute function saves a workflow in IReS format (correct folder and presence of required files in it)
findNode()- checking that found node with findNode function has correct id
findTask()- checking that found task with findTask function has correct id
findEdge()- checking that found edge with findEdge function has correct id
dict2text()- comparison of its result with the presaved result
Usage of a tool
Creating a workflow from scratch can be done by following steps:
- First, click new workflow on the top of the page.
- Then, create a graph of a workflow: add nodes and datastores using buttons add datastore and add node; connect them using button add links, when it is pressed сlicking on the first then the second nodes adds an edge between them.
- Add tasks into the nodes: choose a node; click add task on the left sidebar; choose from the list of operators and then edit metadata to your needs.
- Save the workflow, click save workflow on the top navbar.