f78771a604765242bdcc50daa19c7dff721a6746
[ccsdk/cds.git] / components / model-catalog / resource-dictionary / starter-dictionary / service-instance-id.json
1 {
2   "name" : "service-instance-id",
3   "tags" : "service-instance-id, tosca.datatypes.Root, data_type",
4   "updated-by" : "Singal, Kapil <ks220y@att.com>",
5   "property" : {
6     "description" : "To be provided",
7     "type" : "string"
8   },
9   "sources" : {
10     "input" : {
11       "type" : "source-input",
12       "properties" : { }
13     },
14     "any-db": {
15       "type": "source-db",
16       "properties": {
17         "query": "SELECT artifact_name FROM BLUEPRINT_RUNTIME where artifact_version=\"1.0.0\"",
18         "input-key-mapping": {
19         },
20         "output-key-mapping": {
21           "service-instance-id": "artifact_name"
22         }
23       }
24     },
25     "processor-db": {
26       "type": "source-db",
27       "properties": {
28         "query": "SELECT artifact_name FROM BLUEPRINT_RUNTIME where artifact_version=\"1.0.0\"",
29         "input-key-mapping": {
30         },
31         "output-key-mapping": {
32           "service-instance-id": "artifact_name"
33         }
34       }
35     },
36     "capability": {
37       "type": "source-capability",
38       "properties": {
39           "script-type": "jython",
40           "script-class-reference": "SampleRAProcessor",
41           "instance-dependencies": []
42       }
43     }
44   }
45 }