fix: topic table and mockup data
[dcaegen2/services.git] / components / datalake-handler / admin / src / src / app / mockup / db.json
1 {
2   "dbs": [
3     {
4       "id": 1,
5       "name": "Couchbase 1",
6       "enabled": true,
7       "host": "dl_couchbase",
8       "port": 567,
9       "login": "admin",
10       "pass": null,
11       "database": "datalake",
12       "encrypt": false,
13       "property1": null,
14       "property2": null,
15       "property3": null,
16       "type": "CB"
17     },
18     {
19       "id": 2,
20       "name": "Elasticsearch",
21       "enabled": false,
22       "host": "dl_es",
23       "port": null,
24       "login": null,
25       "pass": null,
26       "database": null,
27       "encrypt": null,
28       "property1": null,
29       "property2": null,
30       "property3": null,
31       "type": "ES"
32     },
33     {
34       "id": 3,
35       "name": "MongoDB 1",
36       "enabled": false,
37       "host": "dl_mongodb",
38       "port": null,
39       "login": null,
40       "pass": null,
41       "database": null,
42       "encrypt": null,
43       "property1": null,
44       "property2": null,
45       "property3": null,
46       "type": "MONGO"
47     },
48     {
49       "id": 4,
50       "name": "Druid",
51       "enabled": false,
52       "host": "dl_druid",
53       "port": null,
54       "login": "dl",
55       "pass": null,
56       "database": null,
57       "encrypt": null,
58       "property1": null,
59       "property2": null,
60       "property3": null,
61       "type": "DRUID"
62     },
63     {
64       "id": 5,
65       "name": "Hadoop Cluster",
66       "enabled": false,
67       "host": "dl_hadoop",
68       "port": 27017,
69       "login": null,
70       "pass": null,
71       "database": "datalake",
72       "encrypt": null,
73       "property1": null,
74       "property2": null,
75       "property3": null,
76       "type": "HDFS"
77     },
78     {
79       "id": 6,
80       "name": "Kibana demo",
81       "enabled": false,
82       "host": "dl_kibana",
83       "port": 27017,
84       "login": null,
85       "pass": null,
86       "database": "datalake",
87       "encrypt": null,
88       "property1": null,
89       "property2": null,
90       "property3": null,
91       "type": "KIBANA"
92     },
93     {
94       "id": 7,
95       "name": "Superset demo",
96       "enabled": false,
97       "host": "dl_superset",
98       "port": 27017,
99       "login": null,
100       "pass": null,
101       "database": "datalake",
102       "encrypt": null,
103       "property1": null,
104       "property2": null,
105       "property3": null,
106       "type": "SUPERSET"
107     },
108     {
109       "id": 8,
110       "name": "Couchbase 2",
111       "enabled": true,
112       "host": "dl_couchbase",
113       "port": 567,
114       "login": "admin",
115       "pass": null,
116       "database": "datalake",
117       "encrypt": false,
118       "property1": null,
119       "property2": null,
120       "property3": null,
121       "type": "CB"
122     }
123   ],
124   "topics": [
125     {
126       "id":1,
127       "name": "_DL_DEFAULT_",
128       "login": null,
129       "password": null,
130       "enabledSinkdbs": [ 1, 2, 3, 4, 5 ],
131       "sinkdbs": [ 1, 2, 3, 4, 5, 6, 7, 8 ],
132       "enabled": true,
133       "saveRaw": false,
134       "dataFormat": "JSON",
135       "ttl": 3650,
136       "correlateClearedMessage": false,
137       "messageIdPath": null,
138       "aggregateArrayPath": "/event/measurementsForVfScalingFields/memoryUsageArray,/event/measurementsForVfScalingFields/diskUsageArray,/event/measurementsForVfScalingFields/cpuUsageArray,/event/measurementsForVfScalingFields/vNicPerformanceArray",
139       "flattenArrayPath": "/event/measurementsForVfScalingFields/astriMeasurement/astriDPMeasurementArray/astriInterface",
140       "kafkas": [ 1 ],
141       "type": false
142     },
143     {
144       "id":2,
145       "name": "unauthenticated.VES_MEASUREMENT_OUTPUT",
146       "login": null,
147       "password": null,
148       "enabledSinkdbs": [ 1, 2, 3, 4, 5 ],
149       "sinkdbs": [ 1, 2, 3, 4, 5, 6, 7, 8 ],
150       "enabled": true,
151       "saveRaw": false,
152       "dataFormat": "JSON",
153       "ttl": 3650,
154       "correlateClearedMessage": false,
155       "messageIdPath": null,
156       "aggregateArrayPath": "/event/measurementsForVfScalingFields/memoryUsageArray,/event/measurementsForVfScalingFields/diskUsageArray,/event/measurementsForVfScalingFields/cpuUsageArray,/event/measurementsForVfScalingFields/vNicPerformanceArray",
157       "flattenArrayPath": "/event/measurementsForVfScalingFields/astriMeasurement/astriDPMeasurementArray/astriInterface",
158       "kafkas": [ 1 ],
159       "type": false
160     },
161     {
162       "id":3,
163       "name": "AAI-EVENT",
164       "login": null,
165       "password": null,
166       "enabledSinkdbs": [ 1, 2, 8 ],
167       "sinkdbs": [ 1, 2, 3, 4, 5, 6, 7, 8 ],
168       "enabled": true,
169       "saveRaw": false,
170       "dataFormat": "JSON",
171       "ttl": 3650,
172       "correlateClearedMessage": false,
173       "messageIdPath": null,
174       "aggregateArrayPath": "",
175       "flattenArrayPath": "",
176       "kafkas": [ 1 ],
177       "type": true
178     },
179     {
180       "id":4,
181       "name": "AAI-EVENT2",
182       "login": null,
183       "password": null,
184       "enabledSinkdbs": [ 2 ],
185       "sinkdbs": [ 1, 2, 3, 4, 5, 6, 7, 8  ],
186       "enabled": true,
187       "saveRaw": true,
188       "dataFormat": "JSON",
189       "ttl": 256,
190       "correlateClearedMessage": true,
191       "messageIdPath": "/event/commonEventHeader/eventName,/event/commonEventHeader/reportingEntityName",
192       "aggregateArrayPath": "",
193       "flattenArrayPath": "",
194       "kafkas": [ 1, 2 ],
195       "type": true
196     }
197   ],
198   "dmaap": [
199     {
200       "kafkaId":1,
201       "name":[
202         "unauthenticated.VES_MEASUREMENT_OUTPUT",
203         "AAI-EVENT",
204         "AAI-EVENT2"
205       ]
206     },
207     {
208       "kafkaId":2,
209       "name":[
210         "unauthenticated.DCAE_CL_OUTPUT",
211         "AAI-EVENT",
212         "unauthenticated.SEC_FAULT_OUTPUT",
213         "msgrtr.apinode.metrics.dmaap"
214       ]
215     }
216   ],
217   "kafka":[
218     {
219       "id":1,
220       "name":"main Kafka cluster"
221     },
222     {
223       "id":2,
224       "name":"QCT Kafka"
225     }
226   ],
227   "db_type":[
228     {
229       "id":"CB"
230     },
231     {
232       "id":"DRUID"
233     },
234     {
235       "id":"ES"
236     },
237     {
238       "id":"HDFS"
239     },
240     {
241       "id":"KIBANA"
242     },
243     {
244       "id":"MONGO"
245     },
246     {
247       "id":"SUPERSET"
248     }
249   ]
250 }