diff --git a/README.md b/README.md index cf6c0e6f..1f1bbbd5 100644 --- a/README.md +++ b/README.md @@ -84,13 +84,13 @@ There will be a major overhaul to the backend specifically. I'm currently moving - * Configuration - Write setup documentation - Did for docker - * Remove orborus? Can deploy straight, but that would be weird - Won't do this yet - * Full OpenAPI support with authentication schemes in App creator (not Oauth2 yet) +- * Change workflow name - Workflows - IMPORT DEFAULT WORKFLOWS - Create some towards e.g. TheHive & MISP. - Documentation - General documentation /docs rewrite - API doc - 1. In Shuffle. 2. In e.g. python -- Add random secret to orborus -- Change workflow name - Fix scheduler - Use variables in e.g. JSON body +- Add random secret to orborus ``` # 1. export DATASTORE_EMULATOR_HOST=0.0.0.0:8000 diff --git a/frontend/src/AngularWorkflow.js b/frontend/src/AngularWorkflow.js index 84b05fdb..7861ed75 100644 --- a/frontend/src/AngularWorkflow.js +++ b/frontend/src/AngularWorkflow.js @@ -24,7 +24,7 @@ import FormGroup from '@material-ui/core/FormGroup'; import FormControlLabel from '@material-ui/core/FormControlLabel'; import Checkbox from '@material-ui/core/Checkbox'; - +import CreateIcon from '@material-ui/icons/Create'; import PlayArrowIcon from '@material-ui/icons/PlayArrow'; import AspectRatioIcon from '@material-ui/icons/AspectRatio'; import MoreVertIcon from '@material-ui/icons/MoreVert'; @@ -215,6 +215,8 @@ const AngularWorkflow = (props) => { }); } + // Controls the colors and direction of execution results. + // Style is in defaultCytoscapeStyle.js const handleUpdateResults = (responseJson) => { //console.log(responseJson) // Loop nodes and find results @@ -243,8 +245,8 @@ const AngularWorkflow = (props) => { currentnode.removeClass('success-highlight') currentnode.removeClass('failure-highlight') currentnode.removeClass('awaiting-data-highlight') - currentnode.addClass('executing-highlight') incomingEdges.addClass('success-highlight') + currentnode.addClass('executing-highlight') break case "WAITING": currentnode.removeClass('not-executing-highlight') @@ -325,11 +327,11 @@ const AngularWorkflow = (props) => { curelements[i].removeClass("executing-highlight") curelements[i].addClass("failure-highlight") } else { - curelements[i].removeClass('not-executing-highlight') - curelements[i].removeClass('executing-highlight') - curelements[i].removeClass('success-highlight') - curelements[i].removeClass('awaiting-data-highlight') - curelements[i].removeClass('failure-highlight') + //curelements[i].removeClass('not-executing-highlight') + //curelements[i].removeClass('executing-highlight') + //curelements[i].removeClass('success-highlight') + //curelements[i].removeClass('awaiting-data-highlight') + //curelements[i].removeClass('failure-highlight') } } } else if (responseJson.status === "FINISHED") { @@ -412,7 +414,7 @@ const AngularWorkflow = (props) => { setLastSaved(true) fetch(globalUrl+"/api/v1/workflows/"+props.match.params.key, { - method: 'PUT', + method: 'PUT', headers: { 'Content-Type': 'application/json', 'Accept': 'application/json', @@ -1378,7 +1380,7 @@ const AngularWorkflow = (props) => { return (