diff options
author | Jozsef Csongvai <jozsef.csongvai@bell.ca> | 2020-05-28 13:57:06 -0400 |
---|---|---|
committer | KAPIL SINGAL <ks220y@att.com> | 2020-06-11 13:27:00 +0000 |
commit | 505c338d1a59e97ce4489dcf60037ff90abdbba5 (patch) | |
tree | 4201705d84fd251c594f650c285380b11120da3f /components/model-catalog/blueprint-model/test-blueprint | |
parent | 68bca2adea605eaa5ecbdc8df1a6eacee1a9a12a (diff) |
Add ResourceResolutionResult to ResourceResolutionService
In order to ensure consistent behavior for assignment-map, supporting
occurences and multiple artifact-prefixes, ResourceResolutionService
needs to return assignment-map alongside generated template content.
Issue-ID: CCSDK-2389
Signed-off-by: Jozsef Csongvai <jozsef.csongvai@bell.ca>
Change-Id: I54c1991d23d65217f3492b08a2170a6d41b6482d
Diffstat (limited to 'components/model-catalog/blueprint-model/test-blueprint')
-rw-r--r-- | components/model-catalog/blueprint-model/test-blueprint/baseconfiguration/Definitions/node_types.json | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/components/model-catalog/blueprint-model/test-blueprint/baseconfiguration/Definitions/node_types.json b/components/model-catalog/blueprint-model/test-blueprint/baseconfiguration/Definitions/node_types.json index c57ebe768..efa4006df 100644 --- a/components/model-catalog/blueprint-model/test-blueprint/baseconfiguration/Definitions/node_types.json +++ b/components/model-catalog/blueprint-model/test-blueprint/baseconfiguration/Definitions/node_types.json @@ -179,8 +179,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": { @@ -214,6 +220,11 @@ "required": false, "type": "string" }, + "resolution-summary": { + "description": "Enable resolution-summary output", + "required": false, + "type": "boolean" + }, "artifact-prefix-names": { "required": true, "description": "Template , Resource Assignment Artifact Prefix names", @@ -248,6 +259,10 @@ "required": true, "type": "string" }, + "resource-assignment-map": { + "required": true, + "type": "string" + }, "status": { "required": true, "type": "string" |