summaryrefslogtreecommitdiffstats
path: root/components
diff options
context:
space:
mode:
authorJozsef Csongvai <jozsef.csongvai@bell.ca>2020-05-25 11:23:21 -0400
committerKAPIL SINGAL <ks220y@att.com>2020-05-28 12:20:40 +0000
commit696e0d2a4db883e0534dea0d94148eb8ec35e5f2 (patch)
tree337217ad1b96f13ea64577ed779cc0f9fb16580e /components
parent7dc2dead4c31886e18c7a43eff25e8f81766b638 (diff)
Fix sub-attribute parsing for accessing resolved values
Added assignment-map attribute to ResourceResolutionComponent. This attribute will hold a json object with the resolved values for each artifact-prefix. It will enable accessing any resolved value, using get_attribute with JsonPath. Issue-ID: CCSDK-2389 Signed-off-by: Jozsef Csongvai <jozsef.csongvai@bell.ca> Change-Id: I3441569d9766fbd79703d2f224de448edd56dbb2
Diffstat (limited to 'components')
-rw-r--r--components/model-catalog/definition-type/starter-type/node_type/component-resource-resolution.json10
1 files changed, 10 insertions, 0 deletions
diff --git a/components/model-catalog/definition-type/starter-type/node_type/component-resource-resolution.json b/components/model-catalog/definition-type/starter-type/node_type/component-resource-resolution.json
index ff1b5260e..cc2013076 100644
--- a/components/model-catalog/definition-type/starter-type/node_type/component-resource-resolution.json
+++ b/components/model-catalog/definition-type/starter-type/node_type/component-resource-resolution.json
@@ -3,8 +3,14 @@
"version": "1.0.0",
"attributes": {
"assignment-params": {
+ "description": "Holds resolved template, resolution-summary or key-value",
"required": true,
"type": "string"
+ },
+ "assignment-map": {
+ "description": "Holds resolved values for each artifact prefix eg. { vdns: { vnf-id: 123 } }",
+ "required": true,
+ "type": "map"
}
},
"capabilities": {
@@ -77,6 +83,10 @@
"required": true,
"type": "string"
},
+ "resource-assignment-map" : {
+ "required": true,
+ "type": "string"
+ },
"status": {
"required": true,
"type": "string"