Data dictionary fixes and improvements from vFW CNF demo
[ccsdk/cds.git] / components / model-catalog / resource-dictionary / starter-dictionary / service-instance-id.json
1 {
2         "tags": "service-instance-id, tosca.datatypes.Root, data_type",
3         "name": "service-instance-id",
4         "group":"default",
5         "property": {
6                 "description": "To be provided",
7                 "type": "string"
8         },
9         "updated-by": "Singal, Kapil <ks220y@att.com>",
10         "sources": {
11                 "input": {
12                         "type": "source-input",
13                         "properties": {}
14                 },
15                 "any-db": {
16                         "type": "source-db",
17                         "properties": {
18                                 "query": "SELECT artifact_name FROM BLUEPRINT_MODEL where artifact_version=\"1.0.0\"",
19                                 "input-key-mapping": {},
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_MODEL where artifact_version=\"1.0.0\"",
29                                 "input-key-mapping": {},
30                                 "output-key-mapping": {
31                                         "service-instance-id": "artifact_name"
32                                 }
33                         }
34                 },
35                 "capability": {
36                         "type": "source-capability",
37                         "properties": {
38                                 "script-type": "jython",
39                                 "script-class-reference": "SampleRAProcessor",
40                                 "instance-dependencies": []
41                         }
42                 }
43         }
44 }