From 83c8be70288614aecd64e0fadfaa0b8908a2d0b7 Mon Sep 17 00:00:00 2001 From: "Singal, Kapil (ks220y)" Date: Fri, 21 Sep 2018 14:31:06 -0400 Subject: SDN Controller Blueprints MS Component Adding ONAP Resource Definitions with new schema Change-Id: Ic4e1bd79dd54d12ce12f6e79ae1d738b283f3f0c Issue-ID: CCSDK-490 Signed-off-by: Singal, Kapil (ks220y) --- .../resource_dictionary/vfccustomizationuuid.json | 25 ++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 components/resource-dict/load/resource_dictionary/vfccustomizationuuid.json (limited to 'components/resource-dict/load/resource_dictionary/vfccustomizationuuid.json') diff --git a/components/resource-dict/load/resource_dictionary/vfccustomizationuuid.json b/components/resource-dict/load/resource_dictionary/vfccustomizationuuid.json new file mode 100644 index 000000000..a34a9a783 --- /dev/null +++ b/components/resource-dict/load/resource_dictionary/vfccustomizationuuid.json @@ -0,0 +1,25 @@ +{ + "name" : "vfccustomizationuuid", + "tags" : "vfccustomizationuuid, tosca.datatypes.Root, data_type", + "updated-by" : "Singal, Kapil ", + "property" : { + "description" : "vfccustomizationuuid", + "type" : "string" + }, + "sources" : { + "db" : { + "type" : "source-db", + "properties" : { + "type" : "SQL", + "query" : "select sdnctl.VF_MODULE_TO_VFC_MAPPING.vfc_customization_uuid as vnf_customid from sdnctl.VF_MODULE_TO_VFC_MAPPING where vm_count = 1 and sdnctl.VF_MODULE_TO_VFC_MAPPING.vf_module_customization_uuid=:vfmodulecustomizationuuid", + "input-key-mapping" : { + "vfmodulecustomizationuuid" : "vf-module-model-customization-uuid" + }, + "output-key-mapping" : { + "vfccustomizationuuid" : "vnf_customid" + }, + "key-dependencies" : [ "vf-module-model-customization-uuid" ] + } + } + } +} \ No newline at end of file -- cgit 1.2.3-korg