Modified vf-module-name
[ccsdk/cds.git] / components / model-catalog / resource-dictionary / starter-dictionary / private2-prefix-id.json
index 8498dd3..02dade7 100644 (file)
@@ -1,49 +1,50 @@
 {
-  "tags": "private2-prefix-id",
-  "name": "private2-prefix-id",
-  "property": {
-    "description": "private2-prefix-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": {
-        "type": "JSON",
-        "url-path": "config/GENERIC-RESOURCE-API:services/service/$service-instance-id/service-data/vnfs/vnf/$vnf-id/vnf-data/vnf-topology/vnf-parameters-data/param/private2-prefix-id",
-        "path": "/param/0/value",
-        "input-key-mapping": {
-          "service-instance-id": "service-instance-id",
-          "vnf-id": "vnf-id"
-        },
-        "output-key-mapping": {
-          "private2-prefix-id": "value"
-        },
-        "key-dependencies": [
-          "service-instance-id",
-          "vnf-id"
-        ]
-      }
-    },
-    "processor-db": {
-      "type": "source-db",
-      "properties": {
-        "endpoint-selector": "dynamic-db-source",
-        "type": "SQL",
-        "query": "select sdnctl.IPAM_IP_POOL.prefix_id as prefix_id from sdnctl.IPAM_IP_POOL where description = \"private2\"",
-        "input-key-mapping": {},
-        "output-key-mapping": {
-          "private2-prefix-id": "prefix_id"
-        }
-      }
-    }
-  }
-}
+       "tags": "private2-prefix-id",
+       "name": "private2-prefix-id",
+       "property": {
+               "description": "private2-prefix-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/vnf-data/vnf-topology/vnf-parameters-data/param/private2-prefix-id",
+                               "path": "/param/0/value",
+                               "input-key-mapping": {
+                                       "service-instance-id": "service-instance-id",
+                                       "vnf-id": "vnf-id"
+                               },
+                               "output-key-mapping": {
+                                       "private2-prefix-id": "value"
+                               },
+                               "key-dependencies": [
+                                       "service-instance-id",
+                                       "vnf-id"
+                               ]
+                       }
+               },
+               "processor-db": {
+                       "type": "source-db",
+                       "properties": {
+                               
+                               "type": "SQL",
+                               "query": "select sdnctl.IPAM_IP_POOL.prefix_id as prefix_id from sdnctl.IPAM_IP_POOL where description = \"private2\"",
+                               "input-key-mapping": {},
+                               "output-key-mapping": {
+                                       "private2-prefix-id": "prefix_id"
+                               }
+                       }
+               }
+       }
+}
\ No newline at end of file