Coder Social home page Coder Social logo

project-asap / workflow Goto Github PK

View Code? Open in Web Editor NEW
3.0 3.0 0.0 42.84 MB

A unified, open-source execution framework for scalable data analytics to facilitate the development and execution of general-purpose analytics queries over irregular data.

License: Apache License 2.0

TeX 42.76% JavaScript 18.35% CSS 0.89% HTML 5.65% PHP 1.30% Python 14.84% CoffeeScript 12.54% Java 0.72% Lua 2.76% Shell 0.20%

workflow's Introduction

Workflow management tool (WMT)

WMT provides a GUI to enable users to design workflows and perform analysis and optimization.

Links

Setup

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 uses nginx, php-fpm and python. To install these packages execute the command: sudo apt-get nginx php-fpm python

The project's root directory stores a configuration file for nginx: wmt.conf.default. 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:

  1. sudo apt-get npm
  2. 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:

  1. Go to the project's root directory.
  2. Install project dependencies with npm install.
  3. Run Grunt with grunt.

Tests

To run tests, do python -m unittest -v testmain in the directory pub/py/ Currently, the following functions have test coverage:

  1. analyse() - comparison of its result with the presaved result in a file testwl-a.json
  2. save() - checking that save function generates a file with correct name
  3. execute() - checking that execute function saves a workflow in IReS format (correct folder and presence of required files in it)
  4. findNode() - checking that found node with findNode function has correct id
  5. findTask() - checking that found task with findTask function has correct id
  6. findEdge() - checking that found edge with findEdge function has correct id
  7. dict2text() - comparison of its result with the presaved result

Usage of a tool

Workflow Design

Creating a workflow from scratch can be done by following steps:

  1. First, click new workflow on the top of the page.
  2. 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.
  3. 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.
  4. Save the workflow, click save workflow on the top navbar.

workflow's People

Stargazers

Jörgen Brandt avatar Carl Witt avatar Polyvios Pratikakis avatar

Watchers

James Cloos avatar  avatar  avatar

workflow's Issues

Any future release of this tool?

Hello,

We definitely need an upgrade of this tool to use it. Upgrade should include (i) an improved documentation, explaining in detail the definition of datasets, operators and workflows and how they relate to the equivalent concepts in IRES, (ii) a running connection with IRES and (iii) improvement of ergonomic features (controls of consistency for instance: seems that we can do anything now) and user friendliness. Please keep us informed of any new release. Thanks!

Philippe

Help appreciated

Hello,

Trying to install ASAP, we first target the WMT component. A nginx server has been set up in a Linux machine, with php-fm and python as required. The WMT code has been downloaded, we changed the conf file and move it to the /etc/nginx/sites-enabled.

Now when we access the app with a browser, a 403 HTTP issue is raised. It turns out that the server looks for some index.html file which does not exist.

[error] 13#13: *1 directory index of "/home/workflow/pub/" is forbidden,

We created a symlink index.html that points to main.html. That solved the issue, but the package should be corrected IMO.

Still investigating. Thanks.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.