Input source doesn't support dynamic values or properties
[ccsdk/cds.git] / components / model-catalog / resource-dictionary / starter-dictionary / vf-module-id.json
index 74f9310..91aba63 100755 (executable)
     "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