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/vnf-id.json | 59 +++++++++++----------- 1 file changed, 29 insertions(+), 30 deletions(-) mode change 100755 => 100644 components/model-catalog/resource-dictionary/starter-dictionary/vnf-id.json (limited to 'components/model-catalog/resource-dictionary/starter-dictionary/vnf-id.json') diff --git a/components/model-catalog/resource-dictionary/starter-dictionary/vnf-id.json b/components/model-catalog/resource-dictionary/starter-dictionary/vnf-id.json old mode 100755 new mode 100644 index 50ca21900..97d3d73fa --- a/components/model-catalog/resource-dictionary/starter-dictionary/vnf-id.json +++ b/components/model-catalog/resource-dictionary/starter-dictionary/vnf-id.json @@ -3,38 +3,37 @@ "name": "vnf-id", "group":"default", "property": { - "description": "vnf-id", - "type": "string" + "description": "vnf-id", + "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/", - "path": "/vnf/0/vnf-id", - "input-key-mapping": { - "service-instance-id": "service-instance-id", - "vnf-id": "generic-vnf.vnf-id" - }, - "output-key-mapping": { - "vnf-id": "vnf-id" - }, - "key-dependencies": [ - "service-instance-id", - "generic-vnf.vnf-id" - ] + "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/vnf-id", + "path": "/param/0/value", + "input-key-mapping": { + "service-instance-id": "service-instance-id", + "vnf-id": "vnf-id" + }, + "output-key-mapping": { + "vnf-id": "value" + }, + "key-dependencies": [ + "service-instance-id", + "vnf-id" + ] + } } - } } -} - +} \ No newline at end of file -- cgit 1.2.3-korg