From 08c029aa4bc814599cf75b5db692ae3266b830b3 Mon Sep 17 00:00:00 2001 From: Samuli Silvius Date: Thu, 9 Jan 2020 15:24:56 +0200 Subject: Additional missing changed for CNF parameter resolution. Accidentally missed adding "vf-module-model-invariant-uuid" and "vf-module-model-version" to vf-modules mappings for resolution in previous commit. Issue-ID: INT-1260 Signed-off-by: Samuli Silvius Change-Id: I0a47027e73284b4b0ae0a1f0ce18e45d6b2d9142 --- .../Definitions/resources_definition_types.json | 58 ++++++++++++++++++++++ 1 file changed, 58 insertions(+) (limited to 'heat/vFW_CNF_CDS/templates/cba/Definitions') diff --git a/heat/vFW_CNF_CDS/templates/cba/Definitions/resources_definition_types.json b/heat/vFW_CNF_CDS/templates/cba/Definitions/resources_definition_types.json index 1fb6e75f..f1c3c803 100644 --- a/heat/vFW_CNF_CDS/templates/cba/Definitions/resources_definition_types.json +++ b/heat/vFW_CNF_CDS/templates/cba/Definitions/resources_definition_types.json @@ -1296,6 +1296,64 @@ } } }, + "vf-module-model-invariant-uuid" : { + "tags" : "vnf, vf-module", + "name" : "vf-module-model-invariant-uuid", + "property" : { + "description" : "vf module model invariant uuid", + "type" : "string" + }, + "updated-by" : "Samuli, Silvius ", + "sources" : { + "input" : { + "type" : "source-input" + }, + "processor-db" : { + "type" : "source-db", + "properties" : { + "type" : "SQL", + "query" : "select sdnctl.VF_MODULE_MODEL.invariant_uuid as vf_module_model_invariant_uuid from sdnctl.VF_MODULE_MODEL where sdnctl.VF_MODULE_MODEL.customization_uuid=:customizationid", + "input-key-mapping" : { + "customizationid" : "vf-module-model-customization-uuid" + }, + "output-key-mapping" : { + "vf-module-model-invariant-uuid" : "vf_module_model_invariant_uuid" + }, + "key-dependencies" : [ "vf-module-model-customization-uuid" ], + "endpoint-selector" : "dynamic-db-source" + } + } + } + }, + "vf-module-model-version" : { + "tags" : "vnf, vf-module", + "name" : "vf-module-model-version", + "property" : { + "description" : "vf module model version", + "type" : "string" + }, + "updated-by" : "Samuli, Silvius ", + "sources" : { + "input" : { + "type" : "source-input" + }, + "processor-db" : { + "type" : "source-db", + "properties" : { + "type" : "SQL", + "query" : "select sdnctl.VF_MODULE_MODEL.uuid as vf_module_model_version from sdnctl.VF_MODULE_MODEL where sdnctl.VF_MODULE_MODEL.customization_uuid=:customizationid", + "input-key-mapping" : { + "customizationid" : "vf-module-model-customization-uuid" + }, + "output-key-mapping" : { + "vf-module-model-version" : "vf_module_model_version" + }, + "key-dependencies" : [ "vf-module-model-customization-uuid" ], + "endpoint-selector" : "dynamic-db-source" + } + } + } + }, "vf-module-name" : { "tags" : "vf-module-name", "name" : "vf-module-name", -- cgit 1.2.3-korg