From 91c1deec281ece8aa72b2afd9cc68b2d63c38189 Mon Sep 17 00:00:00 2001 From: Lukasz Rajewski Date: Mon, 22 Mar 2021 22:43:23 +0100 Subject: Bug fixes for config template and config value components Issue-ID: CCSDK-3232 Signed-off-by: Lukasz Rajewski Change-Id: I817d83001a76ba480472c7aa2da15eba65b39c20 --- .../artifact_type/artifact-k8sconfig-content.json | 5 +++++ .../node_type/component-k8s-config-value.json | 26 +++++++++++++--------- 2 files changed, 21 insertions(+), 10 deletions(-) create mode 100644 components/model-catalog/definition-type/starter-type/artifact_type/artifact-k8sconfig-content.json (limited to 'components') 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", -- cgit 1.2.3-korg