summaryrefslogtreecommitdiffstats
path: root/components/model-catalog
diff options
context:
space:
mode:
authorLukasz Rajewski <lukasz.rajewski@orange.com>2021-03-22 22:43:23 +0100
committerLukasz Rajewski <lukasz.rajewski@orange.com>2021-03-22 22:43:23 +0100
commit91c1deec281ece8aa72b2afd9cc68b2d63c38189 (patch)
tree6868e89343aac804314a299ddef648b1dbac3983 /components/model-catalog
parent8ee06cef9a605d8220a6c5ebafc5da8eb7491f8d (diff)
Bug fixes for config template and config value components
Issue-ID: CCSDK-3232 Signed-off-by: Lukasz Rajewski <lukasz.rajewski@orange.com> Change-Id: I817d83001a76ba480472c7aa2da15eba65b39c20
Diffstat (limited to 'components/model-catalog')
-rw-r--r--components/model-catalog/definition-type/starter-type/artifact_type/artifact-k8sconfig-content.json5
-rw-r--r--components/model-catalog/definition-type/starter-type/node_type/component-k8s-config-value.json26
2 files changed, 21 insertions, 10 deletions
diff --git a/components/model-catalog/definition-type/starter-type/artifact_type/artifact-k8sconfig-content.json b/components/model-catalog/definition-type/starter-type/artifact_type/artifact-k8sconfig-content.json
new file mode 100644
index 000000000..d001d05af
--- /dev/null
+++ b/components/model-catalog/definition-type/starter-type/artifact_type/artifact-k8sconfig-content.json
@@ -0,0 +1,5 @@
+{
+ "description": "K8s Config Folder Artifact",
+ "version": "1.0.0",
+ "derived_from": "tosca.artifacts.Implementation"
+} \ No newline at end of file
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 901f322d0..2249d16d2 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
@@ -17,12 +17,12 @@
"operations": {
"process": {
"inputs": {
- "k8s-template-name": {
+ "k8s-rb-config-template-name": {
"description": "K8s template name",
"required": false,
"type": "string"
},
- "k8s-config-name": {
+ "k8s-rb-config-name": {
"description": "K8s config name",
"required": false,
"type": "string"
@@ -32,18 +32,24 @@
"required": false,
"type": "string"
},
- "k8s-rb-template-value-source": {
+ "k8s-rb-config-value-source": {
"description": "Location of value source in CBA",
"required": false,
"type": "string"
},
- "k8s-operation-type" : {
- "required" : false,
- "type" : "string",
- "constraints" : [{
- "valid_values" : [ "create", "update", "rollback" ]
- }],
- "default" : "create"
+ "k8s-config-operation-type": {
+ "required": false,
+ "type": "string",
+ "constraints": [
+ {
+ "valid_values": [
+ "create",
+ "update",
+ "delete"
+ ]
+ }
+ ],
+ "default": "create"
},
"artifact-prefix-names": {
"description": "Resource Assignment Artifact Prefix names",