Add new elements of starter dictionary for vFW CNF CBA
[ccsdk/cds.git] / components / model-catalog / resource-dictionary / starter-dictionary / vf-modules-list.json
index 0bf66f6..91afaf4 100644 (file)
@@ -1,11 +1,11 @@
 {
-    "tags": "vnf, vf-modules-list",
+    "tags": "vf-modules-list",
     "name": "vf-modules-list",
-    "group": "default",
     "property": {
         "description": "List of vf-modules associated with vnf",
         "type": "json"
     },
+    "group": "default",
     "updated-by": "Lukasz Rajewski <lukasz.rajewski@orange.com>",
     "sources": {
         "input": {
                     "vnf-id"
                 ]
             }
+        },
+        "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",
+                "path": "/vf-modules",
+                "input-key-mapping": {
+                    "service-instance-id": "service-instance-id",
+                    "vnf-id": "vnf-id"
+                },
+                "output-key-mapping": {
+                    "vf-modules": "vf-module"
+                },
+                "key-dependencies": [
+                    "service-instance-id",
+                    "vnf-id"
+                ]
+            }
         }
     }
 }
\ No newline at end of file