From 2fce8bf2891f3ce472f4b06d09d0e987fbc44149 Mon Sep 17 00:00:00 2001 From: Jozsef Csongvai Date: Tue, 3 Mar 2020 10:08:59 -0500 Subject: Add properties to ResolutionSummary Also wrapping ResolutionSummary response to ease integration with SDNC. Issue-ID: CCSDK-2038 Signed-off-by: Jozsef Csongvai Change-Id: Ic1b8959e22ef795065d37664fb60f100af235a90 --- .../controllerblueprints/resource/dict/ResourceDefinition.kt | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'ms/blueprintsprocessor/modules') diff --git a/ms/blueprintsprocessor/modules/blueprints/resource-dict/src/main/kotlin/org/onap/ccsdk/cds/controllerblueprints/resource/dict/ResourceDefinition.kt b/ms/blueprintsprocessor/modules/blueprints/resource-dict/src/main/kotlin/org/onap/ccsdk/cds/controllerblueprints/resource/dict/ResourceDefinition.kt index f34099ea8..77025c5a4 100644 --- a/ms/blueprintsprocessor/modules/blueprints/resource-dict/src/main/kotlin/org/onap/ccsdk/cds/controllerblueprints/resource/dict/ResourceDefinition.kt +++ b/ms/blueprintsprocessor/modules/blueprints/resource-dict/src/main/kotlin/org/onap/ccsdk/cds/controllerblueprints/resource/dict/ResourceDefinition.kt @@ -106,7 +106,7 @@ open class ResourceAssignment { } data class KeyIdentifier(val name: String, val value: JsonNode) - +data class DictionaryMetadataEntry(val name: String, val value: String) /** * Data class for exposing summary of resource resolution */ @@ -117,12 +117,16 @@ data class ResolutionSummary( val type: String?, @JsonProperty("key-identifiers") val keyIdentifiers: MutableList, + @JsonProperty("dictionary-description") + val dictionaryDescription: String?, + @JsonProperty("dictionary-metadata") + val dictionaryMetadata: MutableList, @JsonProperty("dictionary-name") val dictionaryName: String?, - @JsonProperty("request-payload") - val requestPayload: JsonNode?, @JsonProperty("dictionary-source") val dictionarySource: String?, + @JsonProperty("request-payload") + val requestPayload: JsonNode?, @JsonProperty("status") val status: String?, @JsonProperty("message") -- cgit 1.2.3-korg