diff options
author | 2019-04-23 16:06:54 +0530 | |
---|---|---|
committer | 2019-04-24 09:43:37 -0400 | |
commit | f79ef8c3f922e6d467d74c2ac3e8bec9cb2b991a (patch) | |
tree | 2229aede34364e19b71d355d51ba66f129e36288 /components/model-catalog/blueprint-model/test-blueprint/remote_scripts/Definitions/remote_scripts.json | |
parent | 5a82232d3502a566466fac1f8d6f6aadc50fbc6e (diff) |
Rework remote command arguments
Change-Id: Ibd24ce87ed67aee6ae1a66fc9ec6af35bee5008a
Issue-ID: CCSDK-1215
Signed-off-by: Brinda Santh <brindasanth@in.ibm.com>
Diffstat (limited to 'components/model-catalog/blueprint-model/test-blueprint/remote_scripts/Definitions/remote_scripts.json')
-rw-r--r-- | components/model-catalog/blueprint-model/test-blueprint/remote_scripts/Definitions/remote_scripts.json | 16 |
1 files changed, 11 insertions, 5 deletions
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 48992bd72..4c3ece381 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 @@ -27,9 +27,14 @@ ], "dsl_definitions": { "execute-argument-properties": { - "input": { - "get_input": "input" - } + "input": "data" + }, + "remote-argument-properties": { + "arg-0": "-a", + "arg-1": "sample-data 1", + "arg-4": "sample-data 4", + "arg-3": "sample-data 3", + "arg-2": "-b" } }, "topology_template": { @@ -119,7 +124,7 @@ "primary": "component-script" }, "inputs": { - "command": "python SamplePython.py $input", + "command": "python SamplePython.py", "packages": [ { "type": "pip", @@ -128,7 +133,8 @@ ] } ], - "argument-properties": "*execute-argument-properties" + "argument-properties": "*remote-argument-properties", + "dynamic-properties": "*execute-argument-properties" } } } |