summaryrefslogtreecommitdiffstats
path: root/components/model-catalog
diff options
context:
space:
mode:
authorSteve Siani <steve.djissitchi@bell.ca>2019-08-15 21:42:50 -0400
committerSteve Siani <alphonse.steve.siani.djissitchi@ibm.com>2019-08-15 23:36:57 -0400
commit19dfd637dd3888b2f986d9e3543c34ff7dc6b4aa (patch)
treeecfa4987d661b457c1c8bb140cf1430f654f551f /components/model-catalog
parent4b3600fe90275fa0f3f02bcb48956f487bba25f2 (diff)
Wrapper functions for placing output responseData and Status
Issue-ID: CCSDK-1625 Change-Id: I80e6c0d8f04df3a05d9bfc230addda5f0501b1b1 Signed-off-by: Steve Siani <alphonse.steve.siani.djissitchi@ibm.com>
Diffstat (limited to 'components/model-catalog')
-rw-r--r--components/model-catalog/definition-type/starter-type/node_type/component-config-snapshots-executor.json4
-rw-r--r--components/model-catalog/definition-type/starter-type/node_type/component-jython-executor.json6
-rw-r--r--components/model-catalog/definition-type/starter-type/node_type/component-netconf-executor.json6
-rw-r--r--components/model-catalog/definition-type/starter-type/node_type/component-remote-ansible-executor.json4
-rw-r--r--components/model-catalog/definition-type/starter-type/node_type/component-script-executor.json6
5 files changed, 26 insertions, 0 deletions
diff --git a/components/model-catalog/definition-type/starter-type/node_type/component-config-snapshots-executor.json b/components/model-catalog/definition-type/starter-type/node_type/component-config-snapshots-executor.json
index 1cc366637..caae68eef 100644
--- a/components/model-catalog/definition-type/starter-type/node_type/component-config-snapshots-executor.json
+++ b/components/model-catalog/definition-type/starter-type/node_type/component-config-snapshots-executor.json
@@ -13,6 +13,10 @@
"config-snapshot-value": {
"required": false,
"type": "string"
+ },
+ "response-data": {
+ "required": false,
+ "type": "json"
}
},
"capabilities": {
diff --git a/components/model-catalog/definition-type/starter-type/node_type/component-jython-executor.json b/components/model-catalog/definition-type/starter-type/node_type/component-jython-executor.json
index b78a7c63a..ae674f3ec 100644
--- a/components/model-catalog/definition-type/starter-type/node_type/component-jython-executor.json
+++ b/components/model-catalog/definition-type/starter-type/node_type/component-jython-executor.json
@@ -1,6 +1,12 @@
{
"description": "This is Jython Execution Component.",
"version": "1.0.0",
+ "attributes": {
+ "response-data": {
+ "required": false,
+ "type": "json"
+ }
+ },
"capabilities": {
"component-node": {
"type": "tosca.capabilities.Node"
diff --git a/components/model-catalog/definition-type/starter-type/node_type/component-netconf-executor.json b/components/model-catalog/definition-type/starter-type/node_type/component-netconf-executor.json
index 3233d2121..e72cf951b 100644
--- a/components/model-catalog/definition-type/starter-type/node_type/component-netconf-executor.json
+++ b/components/model-catalog/definition-type/starter-type/node_type/component-netconf-executor.json
@@ -1,6 +1,12 @@
{
"description": "This is Netconf Transaction Configuration Component API",
"version": "1.0.0",
+ "attributes": {
+ "response-data": {
+ "required": false,
+ "type": "json"
+ }
+ },
"capabilities": {
"component-node": {
"type": "tosca.capabilities.Node"
diff --git a/components/model-catalog/definition-type/starter-type/node_type/component-remote-ansible-executor.json b/components/model-catalog/definition-type/starter-type/node_type/component-remote-ansible-executor.json
index 498db8246..508380c91 100644
--- a/components/model-catalog/definition-type/starter-type/node_type/component-remote-ansible-executor.json
+++ b/components/model-catalog/definition-type/starter-type/node_type/component-remote-ansible-executor.json
@@ -9,6 +9,10 @@
"ansible-command-logs": {
"required": true,
"type": "string"
+ },
+ "response-data": {
+ "required": false,
+ "type": "json"
}
},
"capabilities": {
diff --git a/components/model-catalog/definition-type/starter-type/node_type/component-script-executor.json b/components/model-catalog/definition-type/starter-type/node_type/component-script-executor.json
index b241aa36f..22596020f 100644
--- a/components/model-catalog/definition-type/starter-type/node_type/component-script-executor.json
+++ b/components/model-catalog/definition-type/starter-type/node_type/component-script-executor.json
@@ -1,6 +1,12 @@
{
"description": "This is CLI Transaction Configuration Component API",
"version": "1.0.0",
+ "attributes": {
+ "response-data": {
+ "required": false,
+ "type": "json"
+ }
+ },
"capabilities": {
"component-node": {
"type": "tosca.capabilities.Node"