From ea1c8b477e615f4dd45204b221fe7eacfe5474af Mon Sep 17 00:00:00 2001 From: Lukasz Rajewski Date: Mon, 20 Jun 2022 22:27:19 +0200 Subject: Aligned attributes of CDS components Issue-ID: CCSDK-3698 Signed-off-by: Lukasz Rajewski Change-Id: Ie5c78a9a347373b5faf588627e42138806d69c0c --- .../node_type/component-config-snapshots-executor.json | 16 ++++++++++++---- .../node_type/component-jython-executor.json | 4 ++++ .../node_type/component-netconf-executor.json | 4 ++++ .../node_type/component-remote-ansible-executor.json | 12 ++++++++++++ .../node_type/component-remote-python-executor.json | 12 ++++++++++++ .../node_type/component-remote-script-executor.json | 5 +++++ .../node_type/component-resource-resolution.json | 5 +++++ .../node_type/component-script-executor.json | 4 ++++ 8 files changed, 58 insertions(+), 4 deletions(-) (limited to 'components') 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 853fe563e..43f5a6701 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": { -- cgit 1.2.3-korg