Bug fix: Enrichment fails for processor-db source
[ccsdk/cds.git] / components / model-catalog / resource-dictionary / starter-dictionary / nfc-naming-code.json
index 710042d..4cc28dc 100755 (executable)
@@ -1,25 +1,35 @@
-{
-  "name" : "nfc-naming-code",
-  "tags" : "nfc-naming-code",
-  "updated-by" : "Singal, Kapil <ks220y@att.com>",
-  "property" : {
-    "description" : "nfc-naming-code",
-    "type" : "string"
-  },
-  "sources" : {
-    "processor-db" : {
-      "type" : "source-processor-db",
-      "properties" : {
-        "type" : "SQL",
-        "query" : "select nfc_naming_code as nfc_naming_code from sdnctl.VFC_MODEL where customization_uuid=:vfccustomizationuuid",
-        "input-key-mapping" : {
-          "vfccustomizationuuid" : "vfccustomizationuuid"
-        },
-        "output-key-mapping" : {
-          "nfc-naming-code" : "nfc_naming_code"
-        },
-        "key-dependencies" : [ "vfccustomizationuuid" ]
-      }
-    }
-  }
+{\r
+  "tags": "nfc-naming-code",\r
+  "name": "nfc-naming-code",\r
+  "property": {\r
+    "description": "nfc-naming-code",\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 nfc_naming_code as nfc_naming_code from sdnctl.VFC_MODEL where customization_uuid=:vfccustomizationuuid",\r
+        "input-key-mapping": {\r
+          "vfccustomizationuuid": "vfccustomizationuuid"\r
+        },\r
+        "output-key-mapping": {\r
+          "nfc-naming-code": "nfc_naming_code"\r
+        },\r
+        "key-dependencies": [\r
+          "vfccustomizationuuid"\r
+        ]\r
+      }\r
+    }\r
+  }\r
 }
\ No newline at end of file