diff options
author | Lukasz Rajewski <lukasz.rajewski@t-mobile.pl> | 2022-06-20 22:27:19 +0200 |
---|---|---|
committer | Lukasz Rajewski <lukasz.rajewski@t-mobile.pl> | 2022-07-22 07:17:11 +0000 |
commit | 9c1cb6a1db4a290ceccb09c003ad2c131aa91bc9 (patch) | |
tree | d8e21cf93c4b8e4c183be483ff90ff7b7adb9c40 /components | |
parent | 8c37e60d8c2666a0ad9e821b94255af12193e3e4 (diff) |
Aligned attributes of CDS components
Issue-ID: CCSDK-3698
Signed-off-by: Lukasz Rajewski <lukasz.rajewski@t-mobile.pl>
Change-Id: Ie5c78a9a347373b5faf588627e42138806d69c0c
(cherry picked from commit ea1c8b477e615f4dd45204b221fe7eacfe5474af)
Diffstat (limited to 'components')
8 files changed, 58 insertions, 4 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 caae68eef..91cd66533 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,10 +13,6 @@ "config-snapshot-value": { "required": false, "type": "string" - }, - "response-data": { - "required": false, - "type": "json" } }, "capabilities": { @@ -85,6 +81,18 @@ } ] } + }, + "outputs": { + "response-data": { + "description": "Execution Response Data.", + "required": false, + "type": "string" + }, + "status": { + "description": "Status of the Component Execution ( success or failure )", + "required": true, + "type": "string" + } } } } 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 ae674f3ec..f1b8dc52a 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 @@ -5,6 +5,10 @@ "response-data": { "required": false, "type": "json" + }, + "status": { + "required": true, + "type": "string" } }, "capabilities": { 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 b51d4d55d..b6a505710 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 @@ -5,6 +5,10 @@ "response-data": { "required": false, "type": "json" + }, + "status": { + "required": true, + "type": "string" } }, "capabilities": { 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 125d1ea2f..7b90c4729 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 @@ -70,6 +70,18 @@ "required": true, "type": "string" } + }, + "outputs": { + "response-data": { + "description": "Execution Response Data.", + "required": false, + "type": "string" + }, + "status": { + "description": "Status of the Component Execution ( success or failure )", + "required": true, + "type": "string" + } } } } diff --git a/components/model-catalog/definition-type/starter-type/node_type/component-remote-python-executor.json b/components/model-catalog/definition-type/starter-type/node_type/component-remote-python-executor.json index 8fa8e7c7b..33b735433 100644 --- a/components/model-catalog/definition-type/starter-type/node_type/component-remote-python-executor.json +++ b/components/model-catalog/definition-type/starter-type/node_type/component-remote-python-executor.json @@ -73,6 +73,18 @@ "type": "integer", "default": 180 } + }, + "outputs": { + "response-data": { + "description": "Execution Response Data.", + "required": false, + "type": "string" + }, + "status": { + "description": "Status of the Component Execution ( success or failure )", + "required": true, + "type": "string" + } } } } diff --git a/components/model-catalog/definition-type/starter-type/node_type/component-remote-script-executor.json b/components/model-catalog/definition-type/starter-type/node_type/component-remote-script-executor.json index 6909d20bc..baa3f5b0f 100644 --- a/components/model-catalog/definition-type/starter-type/node_type/component-remote-script-executor.json +++ b/components/model-catalog/definition-type/starter-type/node_type/component-remote-script-executor.json @@ -52,6 +52,11 @@ } }, "outputs": { + "response-data": { + "description": "Execution Response Data.", + "required": false, + "type": "string" + }, "status": { "description": "Status of the Component Execution ( success or failure )", "required": true, diff --git a/components/model-catalog/definition-type/starter-type/node_type/component-resource-resolution.json b/components/model-catalog/definition-type/starter-type/node_type/component-resource-resolution.json index cc2013076..5f4edbb17 100644 --- a/components/model-catalog/definition-type/starter-type/node_type/component-resource-resolution.json +++ b/components/model-catalog/definition-type/starter-type/node_type/component-resource-resolution.json @@ -11,6 +11,11 @@ "description": "Holds resolved values for each artifact prefix eg. { vdns: { vnf-id: 123 } }", "required": true, "type": "map" + }, + "status": { + "description": "Resource Assignment status.", + "required": true, + "type": "string" } }, "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 a2cd32ec2..80a63efee 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 @@ -5,6 +5,10 @@ "response-data": { "required": false, "type": "json" + }, + "status": { + "required": true, + "type": "string" } }, "capabilities": { |