diff options
author | 2019-04-16 12:13:32 -0400 | |
---|---|---|
committer | 2019-04-16 12:13:32 -0400 | |
commit | 01cbd5c7ea7b554f229ff3735d5352038f8b4419 (patch) | |
tree | e7e9bd7c6909d08c52b6ccf0496835097a8d1acb /components/model-catalog/blueprint-model/test-blueprint/remote_scripts/Definitions | |
parent | 607c3e652400aa5f772bc353bb56f7e96869e383 (diff) |
Add support to command to execute for remote python
Change-Id: I043ea301faf87fb487204180a3294de0a76d3543
Issue-ID: CCSDK-1164
Signed-off-by: Alexis de Talhouët <adetalhouet89@gmail.com>
Diffstat (limited to 'components/model-catalog/blueprint-model/test-blueprint/remote_scripts/Definitions')
2 files changed, 8 insertions, 0 deletions
diff --git a/components/model-catalog/blueprint-model/test-blueprint/remote_scripts/Definitions/node_types.json b/components/model-catalog/blueprint-model/test-blueprint/remote_scripts/Definitions/node_types.json index d7002cdea..cd63f0091 100644 --- a/components/model-catalog/blueprint-model/test-blueprint/remote_scripts/Definitions/node_types.json +++ b/components/model-catalog/blueprint-model/test-blueprint/remote_scripts/Definitions/node_types.json @@ -29,6 +29,11 @@ "description": "Dynamic Json Content or DSL Json reference.", "required": false, "type": "json" + }, + "command": { + "description": "Command to execute.", + "required": true, + "type": "string" } } } diff --git a/components/model-catalog/blueprint-model/test-blueprint/remote_scripts/Definitions/remote_scripts.json b/components/model-catalog/blueprint-model/test-blueprint/remote_scripts/Definitions/remote_scripts.json index 7c279010d..464911478 100644 --- a/components/model-catalog/blueprint-model/test-blueprint/remote_scripts/Definitions/remote_scripts.json +++ b/components/model-catalog/blueprint-model/test-blueprint/remote_scripts/Definitions/remote_scripts.json @@ -65,6 +65,9 @@ "dependencies": [ "pyaml" ] + }, + "inputs": { + "command": "python SamplePython.py blah" } } } |