Update Data Definitions
[ccsdk/cds.git] / components / model-catalog / resource-dictionary / starter-dictionary / vnf-id.json
old mode 100755 (executable)
new mode 100644 (file)
index 50ca219..97d3d73
@@ -3,38 +3,37 @@
     "name": "vnf-id",
     "group":"default",
     "property": {
-      "description": "vnf-id",
-      "type": "string"
+        "description": "vnf-id",
+        "type": "string"
     },
     "updated-by": "MALAKOV, YURIY <yuriy.malakov@att.com>",
     "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