Bug fix: Enrichment fails for processor-db source
[ccsdk/cds.git] / components / model-catalog / resource-dictionary / starter-dictionary / vf-module-type.json
index abbe817..f970682 100755 (executable)
@@ -1,25 +1,35 @@
-{
-  "name" : "vf-module-type",
-  "tags" : "vf-module-type",
-  "updated-by" : "Singal, Kapil <ks220y@att.com>",
-  "property" : {
-    "description" : "vf-module-type",
-    "type" : "string"
-  },
-  "sources" : {
-    "processor-db" : {
-      "type" : "source-processor-db",
-      "properties" : {
-        "type" : "SQL",
-        "query" : "select vf_module_type as vf_module_type from sdnctl.VF_MODULE_MODEL where customization_uuid=:customizationid",
-        "input-key-mapping" : {
-          "customizationid" : "vf-module-model-customization-uuid"
-        },
-        "output-key-mapping" : {
-          "vf-module-type" : "vf_module_type"
-        },
-        "key-dependencies" : [ "vf-module-model-customization-uuid" ]
-      }
-    }
-  }
+{\r
+  "tags": "vf-module-type",\r
+  "name": "vf-module-type",\r
+  "property": {\r
+    "description": "vf-module-type",\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
+    "processor-db": {\r
+      "type": "source-processor-db",\r
+      "properties": {\r
+        "endpoint-selector": "dynamic-db-source",\r
+        "type": "SQL",\r
+        "query": "select vf_module_type as vf_module_type from sdnctl.VF_MODULE_MODEL where customization_uuid=:customizationid",\r
+        "input-key-mapping": {\r
+          "customizationid": "vf-module-model-customization-uuid"\r
+        },\r
+        "output-key-mapping": {\r
+          "vf-module-type": "vf_module_type"\r
+        },\r
+        "key-dependencies": [\r
+          "vf-module-model-customization-uuid"\r
+        ]\r
+      }\r
+    }\r
+  }\r
 }
\ No newline at end of file