From 8d3834a1674f2f7957baed7fc204c458a48149e7 Mon Sep 17 00:00:00 2001 From: Steve Siani Date: Wed, 13 Nov 2019 01:59:53 -0500 Subject: Input source doesn't support dynamic values or properties Issue-ID: CCSDK-1890 Change-Id: I7958174bd0c0a7354ddefd2595723fdb4b4d0485 Signed-off-by: Steve Siani --- .../starter-dictionary/vf-module-id.json | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) (limited to 'components/model-catalog/resource-dictionary/starter-dictionary/vf-module-id.json') diff --git a/components/model-catalog/resource-dictionary/starter-dictionary/vf-module-id.json b/components/model-catalog/resource-dictionary/starter-dictionary/vf-module-id.json index 74f9310e3..91aba6369 100755 --- a/components/model-catalog/resource-dictionary/starter-dictionary/vf-module-id.json +++ b/components/model-catalog/resource-dictionary/starter-dictionary/vf-module-id.json @@ -10,6 +10,28 @@ "input" : { "type" : "source-input", "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/vf-modules/vf-module/$vf-module-id", + "path": "/vf-module/0/vf-module-id", + "input-key-mapping": { + "service-instance-id": "service-instance-id", + "vnf-id": "vnf-id", + "vf-module-id": "vf-module.vf-module-id" + }, + "output-key-mapping": { + "vf-module-id": "vf-module-id" + }, + "key-dependencies": [ + "service-instance-id", + "vnf-id", + "vf-module.vf-module-id" + ] + } } } } \ No newline at end of file -- cgit 1.2.3-korg