summaryrefslogtreecommitdiffstats
path: root/components/model-catalog/blueprint-model/test-blueprint/baseconfiguration
diff options
context:
space:
mode:
authorBrinda Santh <brindasanth@in.ibm.com>2019-07-10 10:40:30 -0400
committerBrinda Santh <brindasanth@in.ibm.com>2019-07-10 10:40:30 -0400
commite094a16a873d9bba6f4b50998a0fbdcee5cda8a5 (patch)
tree167f9adae9da0b62ce8205edf060c2ae424a1795 /components/model-catalog/blueprint-model/test-blueprint/baseconfiguration
parente827a3aee231453f704fef1a945d13de380a83c5 (diff)
Refractor duplicate cli script function
Change-Id: Ida75e839668eeeabd4577629f2bc6ec3240d7734 Issue-ID: CCSDK-1428 Signed-off-by: Brinda Santh <brindasanth@in.ibm.com>
Diffstat (limited to 'components/model-catalog/blueprint-model/test-blueprint/baseconfiguration')
-rw-r--r--components/model-catalog/blueprint-model/test-blueprint/baseconfiguration/Definitions/activation-blueprint.json11
-rw-r--r--components/model-catalog/blueprint-model/test-blueprint/baseconfiguration/Definitions/node_types.json12
2 files changed, 7 insertions, 16 deletions
diff --git a/components/model-catalog/blueprint-model/test-blueprint/baseconfiguration/Definitions/activation-blueprint.json b/components/model-catalog/blueprint-model/test-blueprint/baseconfiguration/Definitions/activation-blueprint.json
index 5530b7c71..135016a11 100644
--- a/components/model-catalog/blueprint-model/test-blueprint/baseconfiguration/Definitions/activation-blueprint.json
+++ b/components/model-catalog/blueprint-model/test-blueprint/baseconfiguration/Definitions/activation-blueprint.json
@@ -310,18 +310,17 @@
}
},
"activate-cli": {
- "type": "component-cli-executor",
+ "type": "component-script-executor",
"interfaces": {
- "ComponentCliExecutor": {
+ "ComponentScriptExecutor": {
"operations": {
"process": {
"implementation": {
"primary": "component-script"
},
"inputs": {
- "script-type": "kotlin",
- "script-class-reference": "InternalSimpleCli_cba$TestCliScriptFunction",
- "instance-dependencies": []
+ "script-type": "internal",
+ "script-class-reference": "internal.scripts.TestCliScriptFunction"
},
"outputs": {
"response-data": "",
@@ -440,7 +439,7 @@
"target": "activate-cli",
"activities": [
{
- "call_operation": "ComponentCliExecutor.process"
+ "call_operation": "ComponentScriptExecutor.process"
}
]
}
diff --git a/components/model-catalog/blueprint-model/test-blueprint/baseconfiguration/Definitions/node_types.json b/components/model-catalog/blueprint-model/test-blueprint/baseconfiguration/Definitions/node_types.json
index 0af2cd913..6de1fe320 100644
--- a/components/model-catalog/blueprint-model/test-blueprint/baseconfiguration/Definitions/node_types.json
+++ b/components/model-catalog/blueprint-model/test-blueprint/baseconfiguration/Definitions/node_types.json
@@ -1,6 +1,6 @@
{
"node_types": {
- "component-cli-executor": {
+ "component-script-executor": {
"description": "This is CLI Transaction Configuration Component API",
"version": "1.0.0",
"capabilities": {
@@ -9,7 +9,7 @@
}
},
"interfaces": {
- "ComponentCliExecutor": {
+ "ComponentScriptExecutor": {
"operations": {
"process": {
"inputs": {
@@ -33,14 +33,6 @@
"required": true,
"type": "string"
},
- "instance-dependencies": {
- "description": "Instance names to inject to Jython or Kotlin Script.",
- "required": true,
- "type": "list",
- "entry_schema": {
- "type": "string"
- }
- },
"dynamic-properties": {
"description": "Dynamic Json Content or DSL Json reference.",
"required": false,