summaryrefslogtreecommitdiffstats
path: root/components/model-catalog/blueprint-model/test-blueprint
diff options
context:
space:
mode:
Diffstat (limited to 'components/model-catalog/blueprint-model/test-blueprint')
-rw-r--r--components/model-catalog/blueprint-model/test-blueprint/remote_scripts/Definitions/node_types.json2
-rw-r--r--components/model-catalog/blueprint-model/test-blueprint/remote_scripts/Definitions/remote_scripts.json16
2 files changed, 12 insertions, 6 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 e5b8b3062..a66e3bc9d 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
@@ -46,7 +46,7 @@
},
"packages": {
"description": "Packages to install based on type.",
- "required": true,
+ "required": false,
"type" : "list",
"entry_schema" : {
"type" : "dt-system-packages"
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"
}
}
}