Update Data Definitions
[ccsdk/cds.git] / components / model-catalog / resource-dictionary / starter-dictionary / service-instance-id.json
old mode 100755 (executable)
new mode 100644 (file)
index 4aa0223..0f1810f
@@ -1,45 +1,60 @@
 {
-  "name" : "service-instance-id",
-  "tags" : "service-instance-id, tosca.datatypes.Root, data_type",
-  "updated-by" : "Singal, Kapil <ks220y@att.com>",
-  "property" : {
-    "description" : "To be provided",
-    "type" : "string"
-  },
-  "sources" : {
-    "input" : {
-      "type" : "source-input",
-      "properties" : { }
-    },
-    "any-db": {
-      "type": "source-processor-db",
-      "properties": {
-        "query": "SELECT artifact_name FROM BLUEPRINT_RUNTIME where artifact_version=\"1.0.0\"",
-        "input-key-mapping": {
-        },
-        "output-key-mapping": {
-          "service-instance-id": "artifact_name"
-        }
-      }
-    },
-    "processor-db": {
-      "type": "source-processor-db",
-      "properties": {
-        "query": "SELECT artifact_name FROM BLUEPRINT_RUNTIME where artifact_version=\"1.0.0\"",
-        "input-key-mapping": {
-        },
-        "output-key-mapping": {
-          "service-instance-id": "artifact_name"
-        }
-      }
-    },
-    "capability": {
-      "type": "source-capability",
-      "properties": {
-          "script-type": "jython",
-          "script-class-reference": "SampleRAProcessor",
-          "instance-dependencies": []
-      }
-    }
-  }
-}
\ No newline at end of file
+       "tags": "service-instance-id, tosca.datatypes.Root, data_type",
+       "name": "service-instance-id",
+       "group":"default",
+       "property": {
+               "description": "To be provided",
+               "type": "string"
+       },
+       "updated-by": "Singal, Kapil <ks220y@att.com>",
+       "sources": {
+               "input": {
+                       "type": "source-input",
+                       "properties": {}
+               },
+               "any-db": {
+                       "type": "source-db",
+                       "properties": {
+                               "query": "SELECT artifact_name FROM BLUEPRINT_RUNTIME where artifact_version=\"1.0.0\"",
+                               "input-key-mapping": {},
+                               "output-key-mapping": {
+                                       "service-instance-id": "artifact_name"
+                               }
+                       }
+               },
+               "processor-db": {
+                       "type": "source-db",
+                       "properties": {
+                               "query": "SELECT artifact_name FROM BLUEPRINT_RUNTIME where artifact_version=\"1.0.0\"",
+                               "input-key-mapping": {},
+                               "output-key-mapping": {
+                                       "service-instance-id": "artifact_name"
+                               }
+                       }
+               },
+               "capability": {
+                       "type": "source-capability",
+                       "properties": {
+                               "script-type": "jython",
+                               "script-class-reference": "SampleRAProcessor",
+                               "instance-dependencies": []
+                       }
+               },
+               "sdnc": {
+                       "type": "source-rest",
+                       "properties": {
+                               "verb": "GET",
+                               "type": "JSON",
+                               "url-path": "/restconf/config/GENERIC-RESOURCE-API:services/service/$service-instance-id",
+                               "path": "/service/0/service-instance-id",
+                               "input-key-mapping": {
+                                       "service-instance-id": "service-instance.service-instance-id"
+                               },
+                               "output-key-mapping": {
+                                       "service-instance-id": "service-instance-id"
+                               },
+                               "key-dependencies": ["service-instance.service-instance-id"]
+                       }
+               }
+       }
+}