"Fossies" - the Fresh Open Source Software Archive

Member "unicore-ucc-8.0.2/samples/workflows/foreach_fileset.json" (10 Sep 2020, 685 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    "iterator_name": "IT",
    8 
    9    "body":
   10    {
   11      "activities": [
   12 
   13        {
   14          "id": "job",
   15          "job": {
   16              "Executable": "echo",
   17              "Arguments": [ "processing ", "$NAME"],
   18          "Environment": ["NAME=${IT_FILENAME}"],
   19              "Imports": [
   20                {"From": "${IT_VALUE}", "To": "infile"},
   21              ],
   22              "Exports": [
   23            {"From": "stdout", "To": "wf:/out_${IT}"},
   24           ],
   25       }
   26        },
   27 
   28       ],
   29 
   30     },
   31 
   32     "filesets": [
   33       {
   34          "base": "https://localhost:8080/DEMO-SITE/rest/core/storages/HOME/files/",
   35      "include": ["*.txt"],
   36       }
   37     ],
   38 }
   39 ],
   40 
   41 }