aboutsummaryrefslogtreecommitdiffstats
path: root/components
diff options
context:
space:
mode:
authorLukasz Rajewski <lukasz.rajewski@t-mobile.pl>2022-06-20 22:27:19 +0200
committerJozsef Csongvai <jozsef.csongvai@bell.ca>2022-07-18 12:08:29 +0000
commitea1c8b477e615f4dd45204b221fe7eacfe5474af (patch)
tree39aff139a7dd609a4b8af4c3492e2cb3f9c3975c /components
parentc3c27083ecae8d4f30442abf68c675cc53d68d68 (diff)
Aligned attributes of CDS components
Issue-ID: CCSDK-3698 Signed-off-by: Lukasz Rajewski <lukasz.rajewski@t-mobile.pl> Change-Id: Ie5c78a9a347373b5faf588627e42138806d69c0c
Diffstat (limited to 'components')
-rw-r--r--components/model-catalog/definition-type/starter-type/node_type/component-config-snapshots-executor.json16
-rw-r--r--components/model-catalog/definition-type/starter-type/node_type/component-jython-executor.json4
-rw-r--r--components/model-catalog/definition-type/starter-type/node_type/component-netconf-executor.json4
-rw-r--r--components/model-catalog/definition-type/starter-type/node_type/component-remote-ansible-executor.json12
-rw-r--r--components/model-catalog/definition-type/starter-type/node_type/component-remote-python-executor.json12
-rw-r--r--components/model-catalog/definition-type/starter-type/node_type/component-remote-script-executor.json5
-rw-r--r--components/model-catalog/definition-type/starter-type/node_type/component-resource-resolution.json5
-rw-r--r--components/model-catalog/definition-type/starter-type/node_type/component-script-executor.json4
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 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": {