diff options
author | 2019-06-20 22:12:08 -0400 | |
---|---|---|
committer | 2019-06-25 18:33:36 +0000 | |
commit | 396b49a03e418ce7f68587c3e4444ed262325e0a (patch) | |
tree | 376b8b5ecf52c923ffe15cedbd943b9797f4eeb7 /ms/controllerblueprints/modules/resource-dict/src/main/kotlin | |
parent | 2e2d56dba10dc8ccc9673e969f95cfb70f9b44bc (diff) |
Store resolution and expose with REST API
Change-Id: Ie1fe9c02542ccd5fbfa18f1e2d6ddb633f55c214
Issue-ID: CCSDK-1423
Signed-off-by: Alexis de Talhouët <adetalhouet89@gmail.com>
Diffstat (limited to 'ms/controllerblueprints/modules/resource-dict/src/main/kotlin')
-rw-r--r-- | ms/controllerblueprints/modules/resource-dict/src/main/kotlin/org/onap/ccsdk/cds/controllerblueprints/resource/dict/ResourceDefinition.kt | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/ms/controllerblueprints/modules/resource-dict/src/main/kotlin/org/onap/ccsdk/cds/controllerblueprints/resource/dict/ResourceDefinition.kt b/ms/controllerblueprints/modules/resource-dict/src/main/kotlin/org/onap/ccsdk/cds/controllerblueprints/resource/dict/ResourceDefinition.kt index 80ce72e14..a2f1e23e7 100644 --- a/ms/controllerblueprints/modules/resource-dict/src/main/kotlin/org/onap/ccsdk/cds/controllerblueprints/resource/dict/ResourceDefinition.kt +++ b/ms/controllerblueprints/modules/resource-dict/src/main/kotlin/org/onap/ccsdk/cds/controllerblueprints/resource/dict/ResourceDefinition.kt @@ -79,12 +79,14 @@ open class ResourceAssignment { override fun toString(): String { return StringBuilder() - .append("[") - .append("name=", name) - .append(", dictionaryName=", dictionaryName) - .append(", dictionarySource=", dictionarySource) - .append("]") - .toString() + .append("[") + .append("name=", name) + .append(", status=", status) + .append(", property=", property?.value ?: "") + .append(", dictionaryName=", dictionaryName) + .append(", dictionarySource=", dictionarySource) + .append("]") + .toString() } } |