summaryrefslogtreecommitdiffstats
path: root/components
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-23 14:47:43 +0000
commit1e294a59489bf5900135f67cd87dab5d6a67fada (patch)
tree44d71c0b85361d30217a3555eca859388fbabbf0 /components
parent6e45f5ce5743013e6c37f3848517bb88700aeab7 (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 (cherry picked from commit 91c1deec281ece8aa72b2afd9cc68b2d63c38189)
Diffstat (limited to 'components')
-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",