diff options
Diffstat (limited to 'ms/blueprintsprocessor/modules')
2 files changed, 8 insertions, 2 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 f92548612..50330fa68 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 @@ -83,6 +83,9 @@ open class ResourceAssignment { @JsonProperty("dependencies") var dependencies: MutableList<String>? = null + @JsonProperty("templating-constants") + var templatingConstants: MutableMap<String, String>? = null + @JsonProperty("version") var version: Int = 0 diff --git a/ms/blueprintsprocessor/modules/blueprints/resource-dict/src/test/resources/validation/success.json b/ms/blueprintsprocessor/modules/blueprints/resource-dict/src/test/resources/validation/success.json index 79925bfac..23d2a0d95 100644 --- a/ms/blueprintsprocessor/modules/blueprints/resource-dict/src/test/resources/validation/success.json +++ b/ms/blueprintsprocessor/modules/blueprints/resource-dict/src/test/resources/validation/success.json @@ -79,8 +79,11 @@ "type": "string", "required": true }, - "dictionary-name": "vnf-name", - "dictionary-source": "input", + "templating-constants": { + "parameter-name": "vnf-name" + }, + "dictionary-name": "vnf-param", + "dictionary-source": "sdnc", "dependencies": [] }, { |