Merge "add pacakges dashboard component to new cds ui"
[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         "property": {
5                 "description": "To be provided",
6                 "type": "string"
7         },
8         "updated-by": "Singal, Kapil <ks220y@att.com>",
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                                 "output-key-mapping": {
20                                         "service-instance-id": "artifact_name"
21                                 }
22                         }
23                 },
24                 "processor-db": {
25                         "type": "source-db",
26                         "properties": {
27                                 "query": "SELECT artifact_name FROM BLUEPRINT_RUNTIME where artifact_version=\"1.0.0\"",
28                                 "input-key-mapping": {},
29                                 "output-key-mapping": {
30                                         "service-instance-id": "artifact_name"
31                                 }
32                         }
33                 },
34                 "capability": {
35                         "type": "source-capability",
36                         "properties": {
37                                 "script-type": "jython",
38                                 "script-class-reference": "SampleRAProcessor",
39                                 "instance-dependencies": []
40                         }
41                 },
42                 "sdnc": {
43                         "type": "source-rest",
44                         "properties": {
45                                 "verb": "GET",
46                                 "type": "JSON",
47                                 "url-path": "/restconf/config/GENERIC-RESOURCE-API:services/service/$service-instance-id",
48                                 "path": "/service/0/service-instance-id",
49                                 "input-key-mapping": {
50                                         "service-instance-id": "service-instance.service-instance-id"
51                                 },
52                                 "output-key-mapping": {
53                                         "service-instance-id": "service-instance-id"
54                                 },
55                                 "key-dependencies": ["service-instance.service-instance-id"]
56                         }
57                 }
58         }
59 }