"Fossies" - the Fresh Open Source Software Archive

Member "unicore-ucc-8.0.2/samples/workflows/foreach_varset.json" (10 Sep 2020, 755 Bytes) of package /linux/misc/unicore-ucc-8.0.2.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) JSON source code syntax highlighting (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1 {
    2     
    3     "subworkflows" : [
    4     
    5     {
    6         "id": "for1", "type": "FOR_EACH",
    7         
    8         "body": {
    9         "id": "for1_body",
   10         "activities": [
   11             { "id": "RunScript", "type": "JOB",
   12               "job":
   13               {
   14               "Executable": "echo",
   15               "Arguments": [ "${CURRENT_ITERATOR_VALUE}" ],
   16               "Exports": [
   17                   {"From": "stdout", "To": "wf:out_${CURRENT_ITERATOR_INDEX}" }
   18               ],
   19               }
   20             },
   21         ],
   22         },
   23         
   24         "variables": [
   25         {
   26             "variable_name": "X",
   27             "type": "INTEGER",
   28             "start_value": "0",
   29             "expression": "X++",
   30             "end_condition": "X<2"
   31         },
   32         
   33         {
   34             "variable_name": "Y",
   35             "type": "INTEGER",
   36             "start_value": "0",
   37             "expression": "Y++",
   38             "end_condition": "Y<2"
   39         },
   40         
   41         ]
   42     },
   43     
   44     ],
   45     
   46 }