Added missing elements of starter dictionary for CNF CBA
[ccsdk/cds.git] / components / model-catalog / resource-dictionary / starter-dictionary / vf-modules-list.json
diff --git a/components/model-catalog/resource-dictionary/starter-dictionary/vf-modules-list.json b/components/model-catalog/resource-dictionary/starter-dictionary/vf-modules-list.json
new file mode 100644 (file)
index 0000000..0bf66f6
--- /dev/null
@@ -0,0 +1,37 @@
+{
+    "tags": "vnf, vf-modules-list",
+    "name": "vf-modules-list",
+    "group": "default",
+    "property": {
+        "description": "List of vf-modules associated with vnf",
+        "type": "json"
+    },
+    "updated-by": "Lukasz Rajewski <lukasz.rajewski@orange.com>",
+    "sources": {
+        "input": {
+            "type": "source-input"
+        },
+        "default": {
+            "type": "source-default",
+            "properties": {}
+        },
+        "aai-data": {
+            "type": "source-rest",
+            "properties": {
+                "verb": "GET",
+                "type": "JSON",
+                "url-path": "/aai/v19/network/generic-vnfs/generic-vnf/${vnf-id}?depth=1",
+                "path": "/vf-modules",
+                "input-key-mapping": {
+                    "vnf-id": "vnf-id"
+                },
+                "output-key-mapping": {
+                    "vf-modules": "vf-module"
+                },
+                "key-dependencies": [
+                    "vnf-id"
+                ]
+            }
+        }
+    }
+}
\ No newline at end of file