summaryrefslogtreecommitdiffstats
path: root/components/model-catalog
diff options
context:
space:
mode:
authorKAPIL SINGAL <ks220y@att.com>2021-03-24 01:57:45 +0000
committerGerrit Code Review <gerrit@onap.org>2021-03-24 01:57:45 +0000
commitdd0d82fcb599bd3c63cfaacf578fcee6553a9f1b (patch)
tree2ea12c2b358b26bd6e887fadd90475b77f58534d /components/model-catalog
parentf26ea37c4be0deb466a41ea58618fd9f3b015466 (diff)
parent1e294a59489bf5900135f67cd87dab5d6a67fada (diff)
Merge "Bug fixes for config template and config value components" into honolulu
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",