diff options
author | Jozsef Csongvai <jozsef.csongvai@bell.ca> | 2020-03-03 10:08:59 -0500 |
---|---|---|
committer | KAPIL SINGAL <ks220y@att.com> | 2020-03-03 17:26:58 +0000 |
commit | 2fce8bf2891f3ce472f4b06d09d0e987fbc44149 (patch) | |
tree | caae1d72abdf28e575ddc4f3dc923f189119b90d /ms/blueprintsprocessor/modules | |
parent | d0e90690108b30b4571a61f987c0d8c7d52df5da (diff) |
Add properties to ResolutionSummary
Also wrapping ResolutionSummary response to ease integration with SDNC.
Issue-ID: CCSDK-2038
Signed-off-by: Jozsef Csongvai <jozsef.csongvai@bell.ca>
Change-Id: Ic1b8959e22ef795065d37664fb60f100af235a90
Diffstat (limited to 'ms/blueprintsprocessor/modules')
-rw-r--r-- | ms/blueprintsprocessor/modules/blueprints/resource-dict/src/main/kotlin/org/onap/ccsdk/cds/controllerblueprints/resource/dict/ResourceDefinition.kt | 10 |
1 files changed, 7 insertions, 3 deletions
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<KeyIdentifier>, + @JsonProperty("dictionary-description") + val dictionaryDescription: String?, + @JsonProperty("dictionary-metadata") + val dictionaryMetadata: MutableList<DictionaryMetadataEntry>, @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") |