16212: Merge branch 'master'
[arvados.git] / sdk / cwl / tests / wf / scatter2_subwf.cwl
index df4d992c359a42eeb619826aa14ce4b87aeab19d..c54e1707ff0ef7fdb741305ff6804bb19cfdbaac 100644 (file)
@@ -1,10 +1,22 @@
+# Copyright (C) The Arvados Authors. All rights reserved.
+#
+# SPDX-License-Identifier: Apache-2.0
+
 {
   "$graph": [
     {
+      "$namespaces": {
+        "arv": "http://arvados.org/cwl#"
+      },
       "class": "Workflow",
+      "cwlVersion": "v1.0",
       "hints": [],
       "id": "#main",
       "inputs": [
+        {
+          "id": "#main/fileblub",
+          "type": "File"
+        },
         {
           "id": "#main/sleeptime",
           "type": "int"
           "run": {
             "baseCommand": "sleep",
             "class": "CommandLineTool",
+            "id": "#main/sleep1/subtool",
             "inputs": [
               {
-                "id": "#main/sleep1/sleeptime",
+                "id": "#main/sleep1/subtool/sleeptime",
                 "inputBinding": {
                   "position": 1
                 },
@@ -61,7 +74,7 @@
             ],
             "outputs": [
               {
-                "id": "#main/sleep1/out",
+                "id": "#main/sleep1/subtool/out",
                 "outputBinding": {
                   "outputEval": "out"
                 },