Bug fix: Enrichment fails for processor-db source
[ccsdk/cds.git] / components / model-catalog / resource-dictionary / starter-dictionary / public_net_id.json
index a4fbc95..7c27413 100755 (executable)
@@ -1,19 +1,38 @@
-{
-               "name": "public_net_id",
-               "tags": "public_net_id",
-               "updated-by" : "Singal, Kapil <ks220y@att.com>",
-               "property": {
-                       "type": "string",
-                       "description" : "public_net_id"
-               },
-               "sources": {
-                       "default": {
-                               "type": "source-default",
-                               "properties": {
-                               }
-                       },
-                       "input": {
-                               "type": "source-input"
-                       }
-               }
-}
+  {\r
+      "tags": "public_net_id",\r
+      "name": "public_net_id",\r
+      "property": {\r
+        "description": "public_net_id",\r
+        "type": "string"\r
+      },\r
+      "updated-by": "MALAKOV, YURIY <yuriy.malakov@att.com>",\r
+      "sources": {\r
+        "input": {\r
+          "type": "source-input"\r
+        },\r
+        "default": {\r
+          "type": "source-default",\r
+          "properties": {}\r
+        },\r
+        "primary-config-data": {\r
+          "type": "source-rest",\r
+          "properties": {\r
+            "type": "JSON",\r
+            "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/public_net_id",\r
+            "path": "/param/0/value",\r
+            "input-key-mapping": {\r
+              "service-instance-id": "service-instance-id",\r
+              "vnf-id": "vnf-id"\r
+            },\r
+            "output-key-mapping": {\r
+              "public_net_id": "value"\r
+            },\r
+            "key-dependencies": [\r
+              "service-instance-id",\r
+              "vnf-id"\r
+            ]\r
+          }\r
+        }\r
+      }\r
+    \r
+  }
\ No newline at end of file