Skip to content

Commit

Permalink
Added GroupBy template construct
Browse files Browse the repository at this point in the history
  • Loading branch information
awicenec committed Feb 1, 2023
1 parent bc745bd commit 57ce06f
Show file tree
Hide file tree
Showing 2 changed files with 1,837 additions and 0 deletions.
250 changes: 250 additions & 0 deletions daliuge-translator/test/dropmake/logical_graphs/testLoop (1).graph
Original file line number Diff line number Diff line change
@@ -0,0 +1,250 @@
{
"linkDataArray": [],
"modelData": {
"commitHash": "",
"downloadUrl": "",
"eagleCommitHash": "cbcb5e498196f64ba18c1a2d8051292aa77524fd",
"eagleVersion": "v5.0.2:eagle-838",
"filePath": "testLoop.graph",
"fileType": "Graph",
"lastModifiedDatetime": 0,
"lastModifiedEmail": "",
"lastModifiedName": "",
"numLGNodes": 1,
"readonly": true,
"repo": "",
"repoBranch": "",
"repoService": "Unknown",
"repositoryUrl": "",
"schemaVersion": "OJS",
"signature": ""
},
"nodeDataArray": [
{
"category": "BashShellApp",
"categoryType": "Application",
"collapsed": false,
"color": "#0059a5",
"commitHash": "0.1",
"dataHash": "4429aa1701628f18e700d0069a6365efa4441ac1bd204b82b5904d0d9364d2bc",
"description": "An application component able to run an arbitrary command within the Bash Shell",
"drawOrderHint": 0,
"expanded": false,
"fields": [
{
"defaultValue": "",
"description": "The command to be executed",
"id": "3128e140-4e4a-4080-b958-e008632c3be1",
"keyAttribute": false,
"name": "command",
"options": [],
"parameterType": "ComponentParameter",
"positional": false,
"precious": false,
"readonly": false,
"text": "Command",
"type": "String",
"usage": "NoPort",
"value": "sleep"
},
{
"defaultValue": "3",
"description": "",
"id": "5b1e5893-a3f7-4c3d-8e4c-0d1da9945395",
"keyAttribute": false,
"name": "sleep_time",
"options": [],
"parameterType": "ApplicationArgument",
"positional": false,
"precious": false,
"readonly": false,
"text": "sleep time",
"type": "Integer",
"usage": "NoPort",
"value": 3
},
{
"defaultValue": "",
"description": "The command line argument that specifies the input into this application",
"id": "4f6bbb24-ed57-4210-be62-5027cfe44d16",
"keyAttribute": false,
"name": "input_redirection",
"options": [],
"parameterType": "ComponentParameter",
"positional": false,
"precious": false,
"readonly": false,
"text": "Input Redirection",
"type": "String",
"usage": "NoPort",
"value": ""
},
{
"defaultValue": "",
"description": "The command line argument that specifies the output from this application",
"id": "c1bc079d-4786-46d0-b659-ff3718353642",
"keyAttribute": false,
"name": "output_redirection",
"options": [],
"parameterType": "ComponentParameter",
"positional": false,
"precious": false,
"readonly": false,
"text": "Output Redirection",
"type": "String",
"usage": "NoPort",
"value": ""
},
{
"defaultValue": "",
"description": "Additional command line arguments to be added to the command line to be executed",
"id": "1ec14bec-7f8f-4b7e-b429-7db8c1f15ed0",
"keyAttribute": false,
"name": "command_line_arguments",
"options": [],
"parameterType": "ComponentParameter",
"positional": false,
"precious": false,
"readonly": false,
"text": "Command Line Arguments",
"type": "String",
"usage": "NoPort",
"value": ""
},
{
"defaultValue": " ",
"description": "Separator character(s) between parameters on the command line",
"id": "abe21d28-4191-4b94-933e-c840a01d7f11",
"keyAttribute": false,
"name": "paramValueSeparator",
"options": [],
"parameterType": "ComponentParameter",
"positional": false,
"precious": false,
"readonly": false,
"text": "Param value separator",
"type": "String",
"usage": "NoPort",
"value": " "
},
{
"defaultValue": "--",
"description": "Prefix to each keyed argument on the command line",
"id": "933d5fcb-b663-4f81-a399-c614265d35d1",
"keyAttribute": false,
"name": "argumentPrefix",
"options": [],
"parameterType": "ComponentParameter",
"positional": false,
"precious": false,
"readonly": false,
"text": "Argument prefix",
"type": "String",
"usage": "NoPort",
"value": ""
},
{
"defaultValue": "5",
"description": "Estimated execution time",
"id": "cba6616a-6ce0-4770-8431-e59e5f5d1868",
"keyAttribute": false,
"name": "execution_time",
"options": [],
"parameterType": "ComponentParameter",
"positional": false,
"precious": false,
"readonly": true,
"text": "Execution Time",
"type": "Float",
"usage": "NoPort",
"value": 3
},
{
"defaultValue": "1",
"description": "Number of cores used",
"id": "d843ea63-6b24-4a03-ab2b-f9638ec239d5",
"keyAttribute": false,
"name": "num_cpus",
"options": [],
"parameterType": "ComponentParameter",
"positional": false,
"precious": false,
"readonly": true,
"text": "No. of CPUs",
"type": "Integer",
"usage": "NoPort",
"value": 1
},
{
"defaultValue": "False",
"description": "Is this node the start of a group?",
"id": "5b449f80-5b74-4250-bccd-2df4eb71493e",
"keyAttribute": false,
"name": "group_start",
"options": [],
"parameterType": "ComponentParameter",
"positional": false,
"precious": false,
"readonly": false,
"text": "Group start",
"type": "Boolean",
"usage": "NoPort",
"value": false
},
{
"defaultValue": "0",
"description": "the allowed failure rate of the inputs (in percent), before this component goes to ERROR state and is not executed",
"id": "ed763440-e0a2-49c8-bb04-322031a4ec51",
"keyAttribute": false,
"name": "input_error_threshold",
"options": [],
"parameterType": "ComponentParameter",
"positional": false,
"precious": false,
"readonly": false,
"text": "Input error rate (%)",
"type": "Integer",
"usage": "NoPort",
"value": 0
},
{
"defaultValue": "0",
"description": "",
"id": "1c076e25-67c0-46b7-a194-c0bdbc6a82f4",
"keyAttribute": false,
"name": "dummy",
"options": [],
"parameterType": "ApplicationArgument",
"positional": false,
"precious": false,
"readonly": false,
"text": "dummy",
"type": "Integer",
"usage": "OutputPort",
"value": 0
}
],
"flipPorts": false,
"height": 72,
"inputAppFields": [],
"inputApplicationDescription": "",
"inputApplicationKey": null,
"inputApplicationName": "",
"inputApplicationType": "None",
"isGroup": false,
"key": -1,
"outputAppFields": [],
"outputApplicationDescription": "",
"outputApplicationKey": null,
"outputApplicationName": "",
"outputApplicationType": "None",
"paletteDownloadUrl": "",
"repositoryUrl": "daliuge",
"subject": null,
"text": "BashShellApp",
"width": 200,
"x": 468.9794982848341,
"y": 261.9023929506625
}
]
}

0 comments on commit 57ce06f

Please sign in to comment.