Giter Site home page Giter Site logo

ow2-proactive / studio Goto Github PK

View Code? Open in Web Editor NEW
10.0 19.0 44.0 81.31 MB

Workflow Studio for ProActive Workflows & Scheduling

Home Page: http://proactive.activeeon.com/

JavaScript 64.29% HTML 22.18% CSS 4.36% Ruby 0.02% CoffeeScript 0.02% PHP 0.10% Shell 0.03% Python 0.02% Hack 0.01% Less 4.28% SCSS 4.69%
studio workflow editor proactive

studio's Introduction

Workflow Studio for ProActive Workflows & Scheduling

Build Status

Requirements

You need npm installed (Node.js). Selenium-standalone is required for the UI tests (installed locally by npm). If you intend to run the tests locally, you'll need to update your Chrome browser and install the latest version of Selenium-standalone:

Delete package-lock.json file and then run the following command:

npm install selenium-standalone@latest

Not updating both Chrome and selenium-standalone can result in selenium not able to attach to the browser when running the tests.

💥💥 Do not commit your changes to the selenium-standalone version 💥💥

Setup

Run these commands to setup your dev environment:

npm install -g grunt-cli bower
npm install
bower install

Then to deploy the studio with the scheduler, create a symlink called studio in $SCHEDULING_HOME/dist/war pointing to app.

Tests

Setup

  • Fulfill the dependencies with npm install and bower install. Then let's assume you did some changes to the code, you want to check for regressions. You need to either run grunt clean build test:ui:dev(test is a predefined task of grunt, and already runs some syntax check on the code).

Manual Test Execution

  • On the first run you need to use node_modules/selenium-standalone/bin/selenium-standalone install which will install generic drivers and chrome drivers (firefox stopped support of their selenium driver and started a new webdriver in Rust). Once selenium server is downloaded, you can run it with node_modules/selenium-standalone/bin/selenium-standalone start to start your local selenium server instance.

  • Call nightwatch with your config and test suite node_modules/nightwatch/bin/nightwatch --config test/ui/nightwatch.json --env jenkins-chrome for example

How to run a specific test case

The test will assume you have a running studio instance (either in a real release that is running locally, or using method B). Method B doesn't require any running release, you have to run the following command node test/json-server-data/mock-scheduler-rest.js from your studio respository. Then you can run a single test file using node_modules/nightwatch/bin/nightwatch --config test/ui/nightwatch.json --test test/ui/specs/login.js --testcase "PWS-159 The dialog Please open a workflow appears behind the no workflow open panel" if you don't specify the --testcase it will run the whole test file.

Notes

You can also run a mocked json-server to simulate a running instance of the Studio, of course nothing will be submitted or modified server-side: grunt mock:run or along with a full compilation: grunt clean build mock:run

studio's People

Contributors

alexfalessi avatar aminelouati avatar amouhoub avatar andrewssobral avatar carolinepacheco avatar cdiop avatar chloegugli avatar fviale avatar gheon avatar laurianed avatar lpellegr avatar maelaudren avatar marcocast avatar martintrn avatar mbenguig avatar mboussaa avatar mebubo avatar medou-boushab avatar mykhailenko avatar oanabiancaschiopu avatar paraita avatar pedrovelho avatar sgromaric avatar shatalovyaroslav avatar smirnoveeon avatar sophiesongge avatar tobwiens avatar vinseon avatar yinan-liu avatar zeineb avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

studio's Issues

Default replicate block is not submitable

Original issue created by Vladimir Bodnartchouk on 10, Apr 2014 at 15:21 PM - PWS-40


The example replicate block cannot be submitted du to a cryptic error message:
Cannot submit the job
org.ow2.proactive.scheduler.common.exception.JobCreationException: At [task=Task9] [tag:job] : Error: uncompleted content model. expecting: <script> at line 21 , column 40.

in fact the problem comes from the empty replication script.

To make the block valid there should be:

<script > </script>

Drag'n'drop is not always intuitive

Original issue created by Youri Bonnaffe on 24, Jul 2014 at 09:24 AM - PWS-45


When a new user opens the studio, he tries to click on the task button and then nothing happens, then he clicks on templates on nothing happens,...

Drag'n'drop is not intuitive enough so we should maybe also support single click on the task button to create a task.

The way to open a job should be more intuitive

Original issue created by Brian Amedro on 30, Jul 2014 at 17:58 PM - PWS-50


- click on "Workflows" (Top left) - select a job from the list

The only way to get the left-side menu is to click in the workflow space. This is not intuitive.

Something like a "Open" button should be placed next to "Clone" and "Remove".
Making a click on the job name can show the workflow on the workflow space, as today.

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.