-
Notifications
You must be signed in to change notification settings - Fork 3
/
qdc-cloudera.html
551 lines (518 loc) · 36 KB
/
qdc-cloudera.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title>Qlik Data Concierge</title>
<meta charset="utf-8">
<link rel="shortcut icon" href="img/ConsumeConciergeDataMini_Icon.png" />
<link rel="stylesheet" href="../../resources/autogenerated/qlikui.css">
<link rel="stylesheet" href="../../resources/assets/client/client.css" media="all">
<link rel="stylesheet" href="css/style.css">
<link href="css/bootstrap.min.css" rel="stylesheet" />
<link href="css/bootstrap-select.min.css" rel="stylesheet" />
<link href="css/bootstrap-switch.min.css" rel="stylesheet" />
<link href="css/wizard.css" rel="stylesheet" />
<link href="css/effect.css" rel="stylesheet" />
<script src="js/clipboard.min.js"></script>
<script src="/resources/assets/external/requirejs/require.js"></script>
<script src="qdc-cloudera.js"></script>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title></title>
<meta charset="utf-8" />
</head>
<body>
<!-- <div id="CurrentSelections"></div>-->
<div class="navbar navbar-default navbar-static-top">
<div class="container-fluid" style="padding-left:12.5%; padding-right: 12.5%;">
<div class="navbar-header">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#navbar-ex-collapse">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand"><img height="20" alt="Brand" src="img/logo_Qlik.png"></a>
<img src="img/ConsumeConciergeDataMini_Icon.png" style="max-height:25px; margin-top:12px;" />
</div>
<div class="collapse navbar-collapse" id="navbar-ex-collapse">
<ul class="nav navbar-nav navbar-right"></ul>
<h4 class="navbar-left navbar-text">Data Concierge for Cloudera</h4>
<div>
<img src="img/header2.png" style="position: absolute;" />
<!--<a id="configbutton" href="#"><span class="btn-lg glyphicon glyphicon-cog" style="float:right; color: #FFF; font-size: 23px;" aria-hidden="true"></span></a>-->
</div>
</div>
</div>
</div>
<section>
<div class="row">
<div class="board">
<div class="board-inner">
<ul class="nav nav-tabs" id="myTab">
<div class="liner">
<div class="progress" style="height:10px;">
<div class="progress-bar progress-bar-striped active" role="progressbar"
aria-valuenow="40" aria-valuemin="0" aria-valuemax="100" style="width:0%; background-color:#60A628;">
</div>
</div>
</div>
<li class="active">
<a href="#Datacon" id="seldatacon" title="">
<span class="round-tabs one">
<i class="glyphicon glyphicon-globe"></i>
</span>
</a>
</li>
<li>
<a href="#Table" id="seltable" title="">
<span class="round-tabs two">
<i class="glyphicon glyphicon-th-list"></i>
</span>
</a>
</li>
<li>
<a href="#Script" id="createscript" title="">
<span class="round-tabs three">
<i class="glyphicon glyphicon-pencil"></i>
</span>
</a>
</li>
<li>
<a href="#Reload" id="reloaddata" title="">
<span class="round-tabs four">
<i class="glyphicon glyphicon-cloud-download"></i>
</span>
</a>
</li>
</ul>
</div>
<div class="tab-content">
<div class="tab-pane fade in active" id="Datacon">
<div class="container-fluid">
<div class="row" style="padding:0px 0px 0px 0px;">
<div class="offer offer-info">
<div class="shape">
<div class="shape-text">
<span class="glyphicon glyphicon glyphicon-info-sign"></span>
</div>
</div>
<div id="explanation4">
<div class="offer-content">
<h3>Please select your Data Connection to Cloudera.</h3>
<p>To do so make a selection for a <b>Data Connection</b> in the selection box underneath the description.</p>
<ul style="padding-left: 40px;">
<li>Once you have finished your selection you can go ahead by clicking on the <b>Apply Data Connection</b> button.</li>
</ul>
</div>
</div>
</div>
</div>
<div id="DataCon1">
<div class="row" style="border-bottom: solid 1px #ddd; padding:50px 30px 50px 30px; text-align:center;">
<h4 class="timeline-title">
<span class="glyphicon glyphicon-globe"></span> Data Connection:
<div class="btn-group datacon">
<select id="dataconnection" class="selectpickerdatacon" data-live-search="true" data-title="nothing selected" data-size="false"></select>
</div>
</h4>
</div>
</div>
<div class="row" style="margin:30px 30px 30px 30px;">
<button id="PickDataCon" type="button" class="btn btn-default disabled" disabled="true" style="float:right;"><span style="margin-right:10px;" class="glyphicon glyphicon-ok"></span>Apply Data Connection</button>
</div>
</div>
</div>
<div class="tab-pane fade" id="Table">
<div class="container-fluid">
<div class="row" style="padding:0px 0px 0px 0px;">
<div class="offer offer-info">
<div class="shape">
<div class="shape-text">
<span class="glyphicon glyphicon glyphicon-info-sign"></span>
</div>
</div>
<div id="explanation3">
<div class="offer-content">
<h3>Please define the source you like to extract.</h3>
<p>Within this dialog you are able to define the source you like to extract. It is possible to extract <b>tables</b> from Cloudera. In order to get a working application please make at least a selection for all fields. The <b>explanation</b> will guide you through the selection steps.</p>
<ul style="padding-left: 40px;">
<li>green values: These are the selected values</li>
<li>white values: These are values which match to your selection</li>
<li>grey values: There values doesn't match to your selection</li>
</ul>
</div>
</div>
</div>
</div>
<div id="todo1">
<div class="row" style="border-bottom: solid 1px #ddd; padding:0px 20px 0px 20px;">
<div class="col-xs-12 selbody">
<div class="col-xs-4" style="padding: 0px">
<table style="margin-top: 20px;">
<tbody>
<tr>
<td class="icon-listbox"><span class="glyphicon glyphicon-hdd"></span></td>
</tr>
<tr>
<td>
<div class="col-sm-12 qlikobjectcontainer">
<div class="qvobject filter" id="QV01"></div>
</div>
</td>
</tr>
<tr>
<td>
<div class="col-sm-6 qlikobjectcontainer">
<div class="Info-headline"># Databases:</div>
</div>
<div class="col-sm-6 qlikobjectcontainer">
<div class ="Info-information" id="DBAmount"></div>
</div>
</td>
</tr>
</tbody>
</table>
</div>
<div class="col-xs-4" style="padding: 0px">
<table style="margin-top: 20px;">
<tbody>
<tr>
<td class="icon-listbox"><span class="glyphicon glyphicon-align-justify"></span></td>
</tr>
<tr>
<td>
<div class="col-sm-12 qlikobjectcontainer">
<div class="qvobject filter" id="QV02"></div>
</div>
</td>
</tr>
<tr>
<td>
<div class="col-sm-6 qlikobjectcontainer">
<div class="Info-headline"><a id="details1"># Rows:</a></div>
</div>
<div class="col-sm-6 qlikobjectcontainer">
<div class ="Info-information" id="RowAmount"></div>
</div>
</td>
</tr>
</tbody>
</table>
</div>
<div class="col-xs-4" style="padding: 0px">
<table style="margin-top: 20px;">
<tbody>
<tr>
<td class="icon-listbox"><span class="glyphicon glyphicon-list"></span></td>
</tr>
<tr>
<td>
<div class="col-sm-12 qlikobjectcontainer">
<div class="qvobject filter" id="QV03"></div>
</div>
</td>
</tr>
<tr>
<td>
<div class="col-sm-6 qlikobjectcontainer">
<div class="Info-headline"><a id="details1">distinct Values:</a></div>
</div>
<div class="col-sm-6 qlikobjectcontainer">
<div class ="Info-information" id="DisValues"></div>
</div>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<ul class="selbody-before">
<li class="dropdown">
<a href="" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">select Bookmarks (optional)</a>
<ul id="qbmlist" class="dropdown-menu scrollable-menu dropdown-menu-right"></ul>
</li>
</ul>
<div id="DDcontainer" class="col-xs-12" style="margin-top: 20px;">
<table style="margin-bottom: 20px;">
<tr class="ddbody" style="background: #FFFFFF;">
<td style="height: 90px; padding: 35px;">
<input type="checkbox" data-size="mini" data-on-color="success" name="DDCheck" unchecked style="height:50px;" state="false">
</td>
<td>Enable Direct Discovery to create a "direct push-down" live scenario. </td>
</tr>
</table>
</div>
<div id="Filterbody" style="display: none;">
<div class="col-xs-12">
<div class="filterbody">
<span id="closeFilterbody" class="glyphicon glyphicon-remove"></span>
<table>
<thead>
<tr>
<th style="width: 10%;">
A/O
</th>
<th style="width: 32.5%;">
Field
</th>
<th style="width: 10%;">
Operator
</th>
<th style="width: 32.5%;">
Text
</th>
<th style="width: 15%;">
+/-
</th>
</tr>
</thead>
<tbody>
<tr id="Filter_row_1">
<td id="Filter_row_1_Operator"></td>
<td id="Filter_row_1_Field">
<div class="Filter_Fields">
</div>
</td>
<td id="Filter_row_1_Option">
<select class="selectpicker">
<option>></option>
<option><</option>
<option>=</option>
<option>>=</option>
<option><=</option>
<option><></option>
</select>
</td>
<td id="Filter_row_1_Input">
<div class="form-group inputtext">
<input type="text" class="form-control" id="Filter_Value_1">
</div>
</td>
<td>
<div class="Filter_add_left"><a><span id="Filter_row_1_Add" class="glyphicon glyphicon-plus "></span></a></div>
</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</div>
<div class="row" style="margin:30px 30px 30px 30px;">
<button id="AddFilter" type="button" class="btn btn-default" style="float:left; width:100px"><span style="margin-right:10px;" class="glyphicon glyphicon-filter"></span>Filter</button>
<button id="Limit" type="button" class="btn btn-default" style="float:left; width:100px; margin-left:12px;"><span style="margin-right:10px;" class="glyphicon glyphicon-dashboard"></span>Limit</button>
<button id="ApplySelectedTable" type="button" class="btn btn-default" style="float:right;"><span style="margin-right:10px;" class="glyphicon glyphicon-ok"></span>Apply Selected Table</button>
</div>
</div>
</div>
</div>
<div class="tab-pane fade" id="Script">
<div class="container-fluid">
<div class="row" style="padding:0px 0px 0px 0px;">
<div class="offer offer-info">
<div class="shape">
<div class="shape-text">
<span class="glyphicon glyphicon glyphicon-info-sign"></span>
</div>
</div>
<div id="explanation4">
<div class="offer-content">
<h3>Overview: Selected Source(s)</h3>
<p>Please have a closer look on the generated Loadscript. In the table below you can check your selection. If you like to watch the autogenerated LoadScript click on the <i class="glyphicon glyphicon-plus-sign"></i> button to expand the script section. If you like to add more data to your self-service scenario you can click on the <b>Add additional Tables</b> button to do so. Once your selection has been finished you can go on by clicking on the <b>Apply Selected Tables</b> button.</p>
</div>
</div>
</div>
</div>
<div id="Tabledefinition">
<div class="row" style="border-bottom: solid 1px #ddd; padding:0px 0px 0px 0px; text-align:center;">
<table style="table-layout: fixed;">
<thead>
<tr>
<th class="selcoltable">Database</th>
<th class="selcoltable">Table</th>
<th class="selcoltable">Column's</th>
</tr>
</thead>
</table>
<div id="Scripttable"></div>
</div>
</div>
<div class="row" style="margin:30px 30px 30px 30px;">
<button id="addtables" type="button" class="btn btn-default" style="float:left;"><span style="margin-right:10px;" class="glyphicon glyphicon-plus"></span>Add additional Tables</button>
<button id="applyseltables" type="button" class="btn btn-default" style="float:right;"><span style="margin-right:10px;" class="glyphicon glyphicon-ok"></span>Apply Selected Tables</button>
</div>
</div>
</div>
<div class="tab-pane fade" id="Reload">
<div class="container-fluid">
<div class="row" style="padding:0px 0px 0px 0px;">
<div class="offer offer-info">
<div class="shape">
<div class="shape-text">
<span class="glyphicon glyphicon glyphicon-info-sign"></span>
</div>
</div>
<div id="explanation4">
<div class="offer-content">
<h3>You are good to go if you like.</h3>
<p>Underneath the description you will find a short overview about your selections. In order to extract the data, you need to analyze, please have a closer look on the details.</p>
<ul style="padding-left: 40px;">
<li>If there is something missing I would recommend to re-run the dialog. In case you like to do so please hit the <b>Re-run Dialog</b> Button.</li>
<li>Once everything is set to your satisfaction, I will create the application for you in your personal workspace by clicking the <b>Create Application</b> Button.</li>
</ul>
</div>
</div>
</div>
</div>
<div id="Summery">
<div class="row" style="border-bottom: solid 1px #ddd; padding:50px 15px 50px 15px">
<div class="container-fluid">
<div class="row">
<div class="col-xs-6">
<table style="line-height: 20px;">
<tr>
<th>Category</th>
<th>Selection</th>
</tr>
<tr style="border-bottom: 1px solid #DDDDDD;">
<td style="display: initial;"><b>Dataconnection:</b></td>
<td id="infodatacon"></td>
</tr>
<tr style="border-bottom: 1px solid #DDDDDD;">
<td style="display: initial;"><b>Data-Source(s):</b></td>
<td id="infodatasource"></td>
</tr>
<tr style="border-bottom: 1px solid #DDDDDD;">
<td style="display: initial;"><b>Table(s):</b></td>
<td id="infotables"></td>
</tr>
<tr id="varrow" style="border-bottom: 1px solid #DDDDDD;">
<td style="display: initial;"><b>Column(s):</b></td>
<td id="infoc"></td>
</tr>
</table>
</div>
<div class="col-xs-6">
<table style="line-height: 20px;">
<tr>
<th>Summary</th>
</tr>
</table>
<div id="QVINFO" style="padding-top: 20px; height:400px; width:100%;"></div>
</div>
</div>
</div>
</div>
</div>
<div class="row" style="margin:30px 30px 30px 30px;">
<button id="rerun" type="button" class="btn btn-default" style="float:left;"><span style="margin-right:10px;" class="glyphicon glyphicon-repeat"></span>Re-run Dialog</button>
<button id="createapp" type="button" class="btn btn-default" style="float:right;"><span style="margin-right:10px;" class="glyphicon glyphicon-ok"></span>Create Application</button>
<!--<button id="masterdata" type="button" class="btn btn-default" style="float:right; margin-right: 15px;"><span style="margin-right:10px;" class="glyphicon glyphicon-plus"></span>Add Master Data</button>-->
</div>
</div>
</div>
<div class="clearfix"></div>
</div>
</div>
</div>
</section>
<!-- CreateBookmark -->
<div class="modal " id="createBmModal">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button>
<h4 class="modal-title">Create bookmark</h4>
</div>
<div class="modal-body">
<form>
<label for="bmtitle" class="control-label">Title:</label>
<input type="text" class="form-control" id="bmtitle">
<label for="bmdesc" class="control-label">Description:</label>
<input type="text" class="form-control" id="bmdesc">
</form>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
<button type="button" data-qcmd="createBm" class="qcmd btn btn-primary">Create</button>
</div>
</div>
</div>
</div>
<!-- /CreateBookmark -->
<!-- Limit -->
<div class="modal " id="modalLimit">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button>
<h4 class="modal-title">Define a Limit</h4>
</div>
<div class="modal-body" style="display: flow-root; padding: 0px 0px 15px 0px;">
<div class="col-xs-12">
<div class="offer offer-info" style="background: #fff; border: 0px solid #ddd; overflow: hidden;border-bottom: 1px solid #ddd;">
<div class="shape">
<div class="shape-text">
<span class="glyphicon glyphicon glyphicon-info-sign"></span>
</div>
</div>
<div>
<div class="offer-content" style="padding: 20px;">
<p>The limit-function helps you to limit the amount of data you retrieve from cloudera. Especially for prototyping it could help you to save time and ressources. If you want to remove the limit-function just delete "LIMIT VALUE" from your script.</p>
</div>
</div>
</div>
</div>
<form style="padding: 20px 20px 10px 20px;">
<label class="control-label" style="margin-top: 20px;">Limit:</label>
<input class="form-control" id="valueLimit">
</form>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
<button type="button" id="applyLimit" class="qcmd btn btn-default">Apply</button>
</div>
</div>
</div>
</div>
<!-- /Limit -->
<!-- Details -->
<div class="modal bs-example-modal-lg" id="modalDetails">
<div class="modal-dialog modal-lg">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button>
<h4 class="modal-title">Table and Column Details</h4>
</div>
<div class="modal-body" style="display: flow-root; padding: 0px 0px 15px 0px;">
<div class="col-xs-12">
<div class="offer offer-info" style="background: #fff; border: 0px solid #ddd; overflow: hidden;border-bottom: 1px solid #ddd;">
<div class="shape">
<div class="shape-text">
<span class="glyphicon glyphicon glyphicon-info-sign"></span>
</div>
</div>
<div>
<div class="offer-content" style="padding: 20px;">
<p>On the left side you can discover your available tables. This table helps you to get a better understandig <b>how many rows of data</b> your tables are containing. On the right side you can discover the column view. It shows you <b>how many distinct values</b> your columns contain and which data-type they have.</p>
</div>
</div>
</div>
</div>
<div class="col-xs-6">
<div class="qvobject-table" id="QV06"></div>
</div>
<div class="col-xs-6">
<div class="qvobject-table" id="QV07"></div>
</div>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
</div>
</div>
</div>
</div>
<!-- /Details -->
</body>
</html>