From 8a3d5215f2424bbea855ac1b86dfefb98f349496 Mon Sep 17 00:00:00 2001 From: Jozsef Csongvai Date: Thu, 28 May 2020 13:57:06 -0400 Subject: 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 Change-Id: I54c1991d23d65217f3492b08a2170a6d41b6482d --- .../baseconfiguration/Definitions/node_types.json | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'components/model-catalog/blueprint-model/test-blueprint/baseconfiguration/Definitions') 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" -- cgit 1.2.3-korg