summaryrefslogtreecommitdiffstats
path: root/components
diff options
context:
space:
mode:
authorGrzegorz Wielgosinski <g.wielgosins@samsung.com>2021-02-23 17:27:58 +0100
committerKAPIL SINGAL <ks220y@att.com>2021-02-24 15:05:00 +0000
commita831c362689ff850f6ed7fff3c57f4b4037b55d8 (patch)
tree107b392b4a99eec82c57ef84340e83adab5db2ab /components
parent01f8b7171467466791262afad5adb60571198dea (diff)
Add rollback and update functionality for config-value component.
Issue-ID: CCSDK-2922 Signed-off-by: Grzegorz Wielgosinski <g.wielgosins@samsung.com> Change-Id: I7384aa3d99fe273454e3acf2f933add0fb07a66c
Diffstat (limited to 'components')
-rw-r--r--components/model-catalog/definition-type/starter-type/node_type/component-k8s-config-value.json20
1 files changed, 14 insertions, 6 deletions
diff --git a/components/model-catalog/definition-type/starter-type/node_type/component-k8s-config-value.json b/components/model-catalog/definition-type/starter-type/node_type/component-k8s-config-value.json
index c47a8565f..901f322d0 100644
--- a/components/model-catalog/definition-type/starter-type/node_type/component-k8s-config-value.json
+++ b/components/model-catalog/definition-type/starter-type/node_type/component-k8s-config-value.json
@@ -37,13 +37,21 @@
"required": false,
"type": "string"
},
+ "k8s-operation-type" : {
+ "required" : false,
+ "type" : "string",
+ "constraints" : [{
+ "valid_values" : [ "create", "update", "rollback" ]
+ }],
+ "default" : "create"
+ },
"artifact-prefix-names": {
- "description": "Resource Assignment Artifact Prefix names",
- "required": false,
- "type": "list",
- "entry_schema": {
- "type": "string"
- }
+ "description": "Resource Assignment Artifact Prefix names",
+ "required": false,
+ "type": "list",
+ "entry_schema": {
+ "type": "string"
+ }
},
"resource-assignment-map": {
"description": "Holds resolved values for each artifact prefix eg. { vdns: { vnf-id: 123 } }",