Data dictionary fixes and improvements from vFW CNF demo
[ccsdk/cds.git] / components / model-catalog / resource-dictionary / starter-dictionary / vnfc-model-version.json
old mode 100755 (executable)
new mode 100644 (file)
index d7fb501..f54ac4f
@@ -1,25 +1,35 @@
 {
-  "name" : "vnfc-model-version",
-  "tags" : "vnfc-model-version",
-  "updated-by" : "Singal, Kapil <ks220y@att.com>",
-  "property" : {
-    "description" : "vnfc-model-version for  SRIOV VPE template",
-    "type" : "string"
-  },
-  "sources" : {
-    "primary-db" : {
-      "type" : "source-primary-db",
-      "properties" : {
-        "type" : "SQL",
-        "query" : "select VFC_MODEL.version as vnfc_model_version from VFC_MODEL where customization_uuid=:vfccustomizationuuid",
-        "input-key-mapping" : {
-          "vfccustomizationuuid" : "vfccustomizationuuid"
+    "tags": "vnfc-model-version",
+    "name": "vnfc-model-version",
+    "group":"default",
+    "property": {
+        "description": "vnfc-model-version",
+        "type": "string"
+    },
+    "updated-by": "MALAKOV, YURIY <yuriy.malakov@att.com>",
+    "sources": {
+        "input": {
+            "type": "source-input"
         },
-        "output-key-mapping" : {
-          "vnfc-model-version" : "vnfc_model_version"
+        "default": {
+            "type": "source-default",
+            "properties": {}
         },
-        "key-dependencies" : [ "vfccustomizationuuid" ]
-      }
+        "processor-db": {
+            "type": "source-db",
+            "properties": {
+                "type": "SQL",
+                "query": "select VFC_MODEL.version as vnfc_model_version from VFC_MODEL where customization_uuid=:vfccustomizationuuid",
+                "output-key-mapping": {
+                    "vnfc-model-version": "vnfc_model_version"
+                },
+                "input-key-mapping": {
+                    "vfccustomizationuuid": "vfccustomizationuuid"
+                },
+                "key-dependencies": [
+                    "vfccustomizationuuid"
+                ]
+            }
+        }
     }
-  }
-}
\ No newline at end of file
+}