Support for dynamic property in command args
[ccsdk/cds.git] / components / model-catalog / blueprint-model / test-blueprint / remote_scripts / Definitions / remote_scripts.json
index d78176f..48992bd 100644 (file)
       "file": "Definitions/policy_types.json"
     }
   ],
+  "dsl_definitions": {
+    "execute-argument-properties": {
+      "input": {
+        "get_input": "input"
+      }
+    }
+  },
   "topology_template": {
     "workflows": {
       "execute-remote-python": {
             ]
           }
         },
-        "inputs": {},
+        "inputs": {
+          "input": {
+            "required": false,
+            "type": "string"
+          }
+        },
         "outputs": {
           "prepare-environment-logs": {
             "type": "string",
                   "primary": "component-script"
                 },
                 "inputs": {
-                  "command": "python SamplePython.py blah",
+                  "command": "python SamplePython.py $input",
                   "packages": [
                     {
                       "type": "pip",
                         "pyaml"
                       ]
                     }
-                  ]
+                  ],
+                  "argument-properties": "*execute-argument-properties"
                 }
               }
             }