From 0f82eb6b9bdf1f0df98f75e437a6f03e1734d57b Mon Sep 17 00:00:00 2001 From: Abdelmuhaimen Seaudi Date: Wed, 20 May 2020 04:20:27 -0700 Subject: Update Data Definitions Issue-ID: CCSDK-2382 Signed-off-by: Abdelmuhaimen Seaudi Change-Id: Ie6d9970e9148422e187f2594c9d9deee0cf01d3e --- .../starter-dictionary/vlb_name_0.json | 106 +++++++++++++-------- 1 file changed, 68 insertions(+), 38 deletions(-) mode change 100755 => 100644 components/model-catalog/resource-dictionary/starter-dictionary/vlb_name_0.json (limited to 'components/model-catalog/resource-dictionary/starter-dictionary/vlb_name_0.json') diff --git a/components/model-catalog/resource-dictionary/starter-dictionary/vlb_name_0.json b/components/model-catalog/resource-dictionary/starter-dictionary/vlb_name_0.json old mode 100755 new mode 100644 index acdcfebf4..ec2842f0b --- a/components/model-catalog/resource-dictionary/starter-dictionary/vlb_name_0.json +++ b/components/model-catalog/resource-dictionary/starter-dictionary/vlb_name_0.json @@ -1,39 +1,69 @@ { - "tags": "vlb_name_0", - "name": "vlb_name_0", - "group":"default", - "property": { - "description": "vlb_name_0", - "type": "string" - }, - "updated-by": "MALAKOV, YURIY ", - "sources": { - "input": { - "type": "source-input" - }, - "default": { - "type": "source-default", - "properties": {} - }, - "sdnc": { - "type": "source-rest", - "properties": { - "verb": "GET", - "type": "JSON", - "url-path": "/restconf/config/GENERIC-RESOURCE-API:services/service/$service-instance-id/service-data/vnfs/vnf/$vnf-id/vnf-data/vnf-topology/vnf-parameters-data/param/vlb_name_0", - "path": "/param/0/value", - "input-key-mapping": { - "service-instance-id": "service-instance-id", - "vnf-id": "vnf-id" - }, - "output-key-mapping": { - "vlb_name_0": "value" - }, - "key-dependencies": [ - "service-instance-id", - "vnf-id" - ] - } - } - } -} + "tags": "vlb_name_0", + "name": "vlb_name_0", + "group":"default", + "property": { + "description": "vlb_name_0", + "type": "string" + }, + "updated-by": "MALAKOV, YURIY ", + "sources": { + "input": { + "type": "source-input" + }, + "default": { + "type": "source-default", + "properties": {} + }, + "sdnc": { + "type": "source-rest", + "properties": { + "verb": "GET", + "type": "JSON", + "url-path": "/restconf/config/GENERIC-RESOURCE-API:services/service/$service-instance-id/service-data/vnfs/vnf/$vnf-id/vnf-data/vnf-topology/vnf-parameters-data/param/vlb_name_0", + "path": "/param/0/value", + "input-key-mapping": { + "service-instance-id": "service-instance-id", + "vnf-id": "vnf-id" + }, + "output-key-mapping": { + "vlb_name_0": "value" + }, + "key-dependencies": [ + "service-instance-id", + "vnf-id" + ] + } + }, + "rest": { + "type": "source-rest", + "properties": { + "endpoint-selector": "naming-resolution", + "verb": "POST", + "type": "JSON", + "headers": { + "Accept": "application/json", + "Content-Type": "application/json" + }, + "url-path": "/v1/genNetworkElementName", + "payload": "{\r\n\t\"elements\": [{\r\n\t\t\"resource-name\": \"vlb_name_0\",\r\n\t\t\"resource-value\": \"${vlb_name_0}\",\r\n\t\t\"external-key\": \"${vf-module-id}_vlb_name_0\",\r\n\t\t\"policy-instance-name\": \"${vf-naming-policy}\",\r\n\t\t\"naming-type\": \"VNFC\",\r\n\t\t\"VNF_NAME\": \"${vnf_name}\",\r\n\t\t\"NFC_NAMING_CODE\": \"${nfc-naming-code}\"\r\n\t}]\r\n}", + "path": "/elements/0/resource-value", + "input-key-mapping": { + "vf-naming-policy": "vf-naming-policy", + "nfc-naming-code": "nfc-naming-code", + "vnf_name": "vnf_name", + "vf-module-id": "vf-module-id" + }, + "output-key-mapping": { + "vlb_name_0": "resource-value" + }, + "key-dependencies": [ + "vf-naming-policy", + "nfc-naming-code", + "vnf_name", + "vf-module-id" + ] + } + } + } +} \ No newline at end of file -- cgit 1.2.3-korg