diff options
author | Morgan Richomme <morgan.richomme@orange.com> | 2020-12-04 21:44:23 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2020-12-04 21:44:23 +0000 |
commit | bfffa2d982cc506979aaa0b96b6bb352c8dda9a7 (patch) | |
tree | 1093505679ce13406d66b9ccc5fd78884923ea37 /cds-regression-test/cba/cli/frankfurt/Definitions/cli.json | |
parent | 81b196b4c766c7dec927405da1a831cd437c5466 (diff) | |
parent | d3cdace51db473c93540229da3a0fd061120957c (diff) |
Merge "cds-bash script package"
Diffstat (limited to 'cds-regression-test/cba/cli/frankfurt/Definitions/cli.json')
-rw-r--r-- | cds-regression-test/cba/cli/frankfurt/Definitions/cli.json | 113 |
1 files changed, 113 insertions, 0 deletions
diff --git a/cds-regression-test/cba/cli/frankfurt/Definitions/cli.json b/cds-regression-test/cba/cli/frankfurt/Definitions/cli.json new file mode 100644 index 0000000..c0070da --- /dev/null +++ b/cds-regression-test/cba/cli/frankfurt/Definitions/cli.json @@ -0,0 +1,113 @@ +{ + "metadata": { + "template_author": "Selffish", + "author-email": "test@bell.ca", + "template_name": "RT-cli", + "template_version": "1.0.0", + "template_tags": "test, regression" + }, + "dsl_definitions": { + "device-properties": { + "type": "basic-auth", + "host": { + "get_input": "host" + }, + "username": { + "get_input": "username" + }, + "password": { + "get_input": "password" + }, + "port": { + "get_input": "port" + }, + "logging": { + "get_input": "logging" + }, + "connectionTimeOut": { + "get_input": "connectionTimeOut" + } + } + }, + "topology_template": { + "workflows": { + "cli": { + "steps": { + "cli": { + "description": "CLI Workflow", + "target": "cli" + } + }, + "inputs": { + "resolution-key": { + "required": false, + "type": "string" + }, + "password": { + "required": true, + "type": "string" + }, + "username": { + "required": true, + "type": "string" + }, + "host": { + "required": true, + "type": "string" + }, + "port": { + "required": false, + "type": "string" + }, + "connectionTimeOut": { + "required": true, + "type": "string" + }, + "logging": { + "required": true, + "type": "boolean" + }, + "commands": { + "required": true, + "type": "list", + "entry_schema": { + "type": "string" + } + } + }, + "outputs": { + "response-data": { + "type": "string", + "value": { + "get_attribute": [ + "cli", + "response-data" + ] + } + } + } + } + }, + "node_templates": { + "cli": { + "type": "component-script-executor", + "interfaces": { + "ComponentScriptExecutor": { + "operations": { + "process": { + "implementation": { + "primary": "component-script" + }, + "inputs": { + "script-type": "kotlin", + "script-class-reference": "cli.CliRegressionTest" + }, + "outputs": {} + } + } + } + } + } + } + } +} |