@truedat/dq 4.48.5 → 4.48.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +12 -0
- package/package.json +9 -4
- package/src/components/RuleForm.js +22 -3
- package/src/components/__tests__/NewRuleImplementation.spec.js +132 -125
- package/src/components/__tests__/RuleForm.spec.js +38 -0
- package/src/components/{__test_samples__ → __tests__/__fixtures__}/NewRuleImplementationProps.js +301 -332
- package/src/components/__tests__/__fixtures__/RuleForm.js +118 -0
- package/src/components/{__test_samples__ → __tests__/__fixtures__}/newRuleImplementationHelper.js +188 -429
- package/src/components/__tests__/__snapshots__/NewRuleImplementation.spec.js.snap +12 -12
package/src/components/{__test_samples__ → __tests__/__fixtures__}/newRuleImplementationHelper.js
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createRuleImplementation,
|
|
3
3
|
updateRuleImplementation,
|
|
4
|
-
} from "
|
|
4
|
+
} from "../../../routines";
|
|
5
5
|
|
|
6
6
|
export const props = {
|
|
7
7
|
createRuleImplementation: jest.fn(),
|
|
@@ -14,230 +14,232 @@ const structuresFields = {
|
|
|
14
14
|
{
|
|
15
15
|
data_structure_id: 11127108,
|
|
16
16
|
data_type_class: "number",
|
|
17
|
-
database: "xe",
|
|
18
|
-
default: "None",
|
|
19
17
|
deleted_at: null,
|
|
20
18
|
description:
|
|
21
19
|
"Department id where employee works; foreign key to department_id column of the departments table",
|
|
22
|
-
has_note: false,
|
|
23
|
-
host: "localhost",
|
|
24
20
|
inserted_at: "2022-04-12T14:28:06.057667Z",
|
|
25
21
|
links: [],
|
|
26
22
|
name: "DEPARTMENT_ID",
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
23
|
+
metadata: {
|
|
24
|
+
database: "xe",
|
|
25
|
+
default: "None",
|
|
26
|
+
host: "localhost",
|
|
27
|
+
nullable: true,
|
|
28
|
+
order: "11",
|
|
29
|
+
precision: "22",
|
|
30
|
+
schema: "HR",
|
|
31
|
+
table: "EMPLOYEES",
|
|
32
|
+
type: "NUMBER",
|
|
33
|
+
},
|
|
34
34
|
},
|
|
35
35
|
{
|
|
36
36
|
data_structure_id: 11127111,
|
|
37
37
|
data_type_class: "string",
|
|
38
|
-
database: "xe",
|
|
39
|
-
default: "None",
|
|
40
38
|
deleted_at: null,
|
|
41
39
|
description: "First name of the employee. A not null column.",
|
|
42
|
-
has_note: false,
|
|
43
|
-
host: "localhost",
|
|
44
40
|
inserted_at: "2022-04-12T14:28:06.057667Z",
|
|
45
41
|
links: [],
|
|
46
42
|
name: "FIRST_NAME",
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
43
|
+
metadata: {
|
|
44
|
+
database: "xe",
|
|
45
|
+
default: "None",
|
|
46
|
+
host: "localhost",
|
|
47
|
+
nullable: true,
|
|
48
|
+
order: "2",
|
|
49
|
+
precision: "20",
|
|
50
|
+
schema: "HR",
|
|
51
|
+
table: "EMPLOYEES",
|
|
52
|
+
type: "VARCHAR2",
|
|
53
|
+
},
|
|
54
54
|
},
|
|
55
55
|
{
|
|
56
56
|
data_structure_id: 11127117,
|
|
57
57
|
data_type_class: "number",
|
|
58
|
-
database: "xe",
|
|
59
|
-
default: "None",
|
|
60
58
|
deleted_at: null,
|
|
61
59
|
description:
|
|
62
60
|
"Monthly salary of the employee. Must be greater than zero (enforced by constraint emp_salary_min)",
|
|
63
|
-
has_note: false,
|
|
64
|
-
host: "localhost",
|
|
65
61
|
inserted_at: "2022-04-12T14:28:06.057667Z",
|
|
66
62
|
links: [],
|
|
67
63
|
name: "SALARY",
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
64
|
+
metadata: {
|
|
65
|
+
database: "xe",
|
|
66
|
+
default: "None",
|
|
67
|
+
host: "localhost",
|
|
68
|
+
nullable: true,
|
|
69
|
+
order: "8",
|
|
70
|
+
precision: "22",
|
|
71
|
+
schema: "HR",
|
|
72
|
+
table: "EMPLOYEES",
|
|
73
|
+
type: "NUMBER",
|
|
74
|
+
},
|
|
75
75
|
},
|
|
76
76
|
{
|
|
77
77
|
data_structure_id: 11127116,
|
|
78
78
|
data_type_class: "string",
|
|
79
|
-
database: "xe",
|
|
80
|
-
default: "None",
|
|
81
79
|
deleted_at: null,
|
|
82
80
|
description:
|
|
83
81
|
"Phone number of the employee; includes country code and area code",
|
|
84
|
-
has_note: false,
|
|
85
|
-
host: "localhost",
|
|
86
82
|
inserted_at: "2022-04-12T14:28:06.057667Z",
|
|
87
83
|
links: [],
|
|
88
84
|
name: "PHONE_NUMBER",
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
85
|
+
type: "column",
|
|
86
|
+
metadata: {
|
|
87
|
+
database: "xe",
|
|
88
|
+
default: "None",
|
|
89
|
+
host: "localhost",
|
|
90
|
+
nullable: true,
|
|
91
|
+
order: "5",
|
|
92
|
+
precision: "20",
|
|
93
|
+
schema: "HR",
|
|
94
|
+
table: "EMPLOYEES",
|
|
95
|
+
type: "VARCHAR2",
|
|
96
|
+
},
|
|
96
97
|
},
|
|
97
98
|
{
|
|
98
99
|
data_structure_id: 11127115,
|
|
99
100
|
data_type_class: "number",
|
|
100
|
-
database: "xe",
|
|
101
|
-
default: "None",
|
|
102
101
|
deleted_at: null,
|
|
103
102
|
description:
|
|
104
103
|
"Manager id of the employee; has same domain as manager_id in departments table. Foreign key to employee_id column of employees table. (useful for reflexive joins and CONNECT BY query)",
|
|
105
|
-
has_note: false,
|
|
106
|
-
host: "localhost",
|
|
107
104
|
inserted_at: "2022-04-12T14:28:06.057667Z",
|
|
108
105
|
links: [],
|
|
109
106
|
name: "MANAGER_ID",
|
|
110
|
-
nullable: true,
|
|
111
|
-
order: "10",
|
|
112
|
-
precision: "22",
|
|
113
|
-
published_note: null,
|
|
114
|
-
schema: "HR",
|
|
115
|
-
table: "EMPLOYEES",
|
|
116
107
|
type: "NUMBER",
|
|
108
|
+
metadata: {
|
|
109
|
+
database: "xe",
|
|
110
|
+
default: "None",
|
|
111
|
+
host: "localhost",
|
|
112
|
+
nullable: true,
|
|
113
|
+
order: "10",
|
|
114
|
+
precision: "22",
|
|
115
|
+
schema: "HR",
|
|
116
|
+
table: "EMPLOYEES",
|
|
117
|
+
},
|
|
117
118
|
},
|
|
118
119
|
{
|
|
119
120
|
data_structure_id: 11127109,
|
|
120
121
|
data_type_class: "string",
|
|
121
|
-
database: "xe",
|
|
122
|
-
default: "None",
|
|
123
122
|
deleted_at: null,
|
|
124
123
|
description: "Email id of the employee",
|
|
125
|
-
has_note: false,
|
|
126
|
-
host: "localhost",
|
|
127
124
|
inserted_at: "2022-04-12T14:28:06.057667Z",
|
|
128
125
|
links: [],
|
|
129
126
|
name: "EMAIL",
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
127
|
+
type: "column",
|
|
128
|
+
metadata: {
|
|
129
|
+
database: "xe",
|
|
130
|
+
default: "None",
|
|
131
|
+
host: "localhost",
|
|
132
|
+
nullable: false,
|
|
133
|
+
order: "4",
|
|
134
|
+
precision: "25",
|
|
135
|
+
schema: "HR",
|
|
136
|
+
table: "EMPLOYEES",
|
|
137
|
+
type: "VARCHAR2",
|
|
138
|
+
},
|
|
137
139
|
},
|
|
138
140
|
{
|
|
139
141
|
data_structure_id: 11127110,
|
|
140
142
|
data_type_class: "number",
|
|
141
|
-
database: "xe",
|
|
142
|
-
default: "None",
|
|
143
143
|
deleted_at: null,
|
|
144
144
|
description: "Primary key of employees table.",
|
|
145
|
-
has_note: false,
|
|
146
|
-
host: "localhost",
|
|
147
145
|
inserted_at: "2022-04-12T14:28:06.057667Z",
|
|
148
146
|
links: [],
|
|
149
147
|
name: "EMPLOYEE_ID",
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
148
|
+
metadata: {
|
|
149
|
+
database: "xe",
|
|
150
|
+
default: "None",
|
|
151
|
+
host: "localhost",
|
|
152
|
+
nullable: false,
|
|
153
|
+
order: "1",
|
|
154
|
+
precision: "22",
|
|
155
|
+
primary_key: "PK",
|
|
156
|
+
schema: "HR",
|
|
157
|
+
table: "EMPLOYEES",
|
|
158
|
+
type: "NUMBER",
|
|
159
|
+
},
|
|
158
160
|
},
|
|
159
161
|
{
|
|
160
162
|
data_structure_id: 11127114,
|
|
161
163
|
data_type_class: "string",
|
|
162
|
-
database: "xe",
|
|
163
|
-
default: "None",
|
|
164
164
|
deleted_at: null,
|
|
165
165
|
description: "Last name of the employee. A not null column.",
|
|
166
|
-
has_note: false,
|
|
167
|
-
host: "localhost",
|
|
168
166
|
inserted_at: "2022-04-12T14:28:06.057667Z",
|
|
169
167
|
links: [],
|
|
170
168
|
name: "LAST_NAME",
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
169
|
+
metadata: {
|
|
170
|
+
database: "xe",
|
|
171
|
+
default: "None",
|
|
172
|
+
host: "localhost",
|
|
173
|
+
nullable: false,
|
|
174
|
+
order: "3",
|
|
175
|
+
precision: "25",
|
|
176
|
+
schema: "HR",
|
|
177
|
+
table: "EMPLOYEES",
|
|
178
|
+
type: "VARCHAR2",
|
|
179
|
+
},
|
|
178
180
|
},
|
|
179
181
|
{
|
|
180
182
|
data_structure_id: 11127112,
|
|
181
183
|
data_type_class: "date",
|
|
182
|
-
database: "xe",
|
|
183
|
-
default: "None",
|
|
184
184
|
deleted_at: null,
|
|
185
185
|
description:
|
|
186
186
|
"Date when the employee started on this job. A not null column.",
|
|
187
|
-
has_note: false,
|
|
188
|
-
host: "localhost",
|
|
189
187
|
inserted_at: "2022-04-12T14:28:06.057667Z",
|
|
190
188
|
links: [],
|
|
191
189
|
name: "HIRE_DATE",
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
190
|
+
metadata: {
|
|
191
|
+
database: "xe",
|
|
192
|
+
default: "None",
|
|
193
|
+
host: "localhost",
|
|
194
|
+
nullable: false,
|
|
195
|
+
order: "6",
|
|
196
|
+
precision: "7",
|
|
197
|
+
schema: "HR",
|
|
198
|
+
table: "EMPLOYEES",
|
|
199
|
+
type: "DATE",
|
|
200
|
+
},
|
|
199
201
|
},
|
|
200
202
|
{
|
|
201
203
|
data_structure_id: 11127113,
|
|
202
204
|
data_type_class: "string",
|
|
203
|
-
database: "xe",
|
|
204
|
-
default: "None",
|
|
205
205
|
deleted_at: null,
|
|
206
206
|
description:
|
|
207
207
|
"Current job of the employee; foreign key to job_id column of the jobs table. A not null column.",
|
|
208
|
-
has_note: false,
|
|
209
|
-
host: "localhost",
|
|
210
208
|
inserted_at: "2022-04-12T14:28:06.057667Z",
|
|
211
209
|
links: [],
|
|
212
210
|
name: "JOB_ID",
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
211
|
+
metadata: {
|
|
212
|
+
database: "xe",
|
|
213
|
+
default: "None",
|
|
214
|
+
host: "localhost",
|
|
215
|
+
nullable: false,
|
|
216
|
+
order: "7",
|
|
217
|
+
precision: "10",
|
|
218
|
+
schema: "HR",
|
|
219
|
+
table: "EMPLOYEES",
|
|
220
|
+
type: "VARCHAR2",
|
|
221
|
+
},
|
|
220
222
|
},
|
|
221
223
|
{
|
|
222
224
|
data_structure_id: 11127107,
|
|
223
225
|
data_type_class: "number",
|
|
224
|
-
database: "xe",
|
|
225
|
-
default: "None",
|
|
226
226
|
deleted_at: null,
|
|
227
227
|
description:
|
|
228
228
|
"Commission percentage of the employee; Only employees in sales department elgible for commission percentage",
|
|
229
|
-
has_note: false,
|
|
230
|
-
host: "localhost",
|
|
231
229
|
inserted_at: "2022-04-12T14:28:06.057667Z",
|
|
232
230
|
links: [],
|
|
233
231
|
name: "COMMISSION_PCT",
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
232
|
+
metadata: {
|
|
233
|
+
database: "xe",
|
|
234
|
+
default: "None",
|
|
235
|
+
host: "localhost",
|
|
236
|
+
nullable: true,
|
|
237
|
+
order: "9",
|
|
238
|
+
precision: "22",
|
|
239
|
+
schema: "HR",
|
|
240
|
+
table: "EMPLOYEES",
|
|
241
|
+
type: "NUMBER",
|
|
242
|
+
},
|
|
241
243
|
},
|
|
242
244
|
],
|
|
243
245
|
};
|
|
@@ -379,108 +381,132 @@ const ruleImplementation = {
|
|
|
379
381
|
const structuresSiblings = {
|
|
380
382
|
11127104: [
|
|
381
383
|
{
|
|
382
|
-
alias:
|
|
384
|
+
alias: null,
|
|
383
385
|
classes: null,
|
|
384
386
|
creation_date: "2011-08-28 22:21:55",
|
|
385
387
|
data_structure_id: 11815287,
|
|
386
|
-
database: "xe",
|
|
387
388
|
deleted_at: null,
|
|
388
|
-
host: "localhost",
|
|
389
389
|
id: 8824743,
|
|
390
390
|
name: "COUNTRIES",
|
|
391
|
-
|
|
392
|
-
|
|
391
|
+
metadata: {
|
|
392
|
+
alias: "oracle-temp",
|
|
393
|
+
database: "xe",
|
|
394
|
+
host: "localhost",
|
|
395
|
+
schema: "HR",
|
|
396
|
+
type: "Table",
|
|
397
|
+
},
|
|
393
398
|
},
|
|
394
399
|
{
|
|
395
|
-
alias:
|
|
400
|
+
alias: null,
|
|
396
401
|
classes: null,
|
|
397
402
|
creation_date: "2011-08-28 22:21:56",
|
|
398
403
|
data_structure_id: 11815291,
|
|
399
|
-
database: "xe",
|
|
400
404
|
deleted_at: null,
|
|
401
|
-
host: "localhost",
|
|
402
405
|
id: 8824747,
|
|
403
406
|
name: "DEPARTMENTS",
|
|
404
|
-
|
|
405
|
-
|
|
407
|
+
metadata: {
|
|
408
|
+
alias: "oracle-temp",
|
|
409
|
+
database: "xe",
|
|
410
|
+
host: "localhost",
|
|
411
|
+
schema: "HR",
|
|
412
|
+
type: "Table",
|
|
413
|
+
},
|
|
406
414
|
},
|
|
407
415
|
{
|
|
408
|
-
alias:
|
|
416
|
+
alias: null,
|
|
409
417
|
classes: null,
|
|
410
418
|
creation_date: "2011-08-28 22:21:56",
|
|
411
419
|
data_structure_id: 11815296,
|
|
412
|
-
database: "xe",
|
|
413
420
|
deleted_at: null,
|
|
414
|
-
host: "localhost",
|
|
415
421
|
id: 8824752,
|
|
416
422
|
name: "EMP_DETAILS_VIEW",
|
|
417
|
-
|
|
418
|
-
|
|
423
|
+
metadata: {
|
|
424
|
+
alias: "oracle-temp",
|
|
425
|
+
database: "xe",
|
|
426
|
+
host: "localhost",
|
|
427
|
+
schema: "HR",
|
|
428
|
+
type: "Table",
|
|
429
|
+
},
|
|
419
430
|
},
|
|
420
431
|
{
|
|
421
|
-
alias:
|
|
432
|
+
alias: null,
|
|
422
433
|
classes: null,
|
|
423
434
|
creation_date: "2011-08-28 22:21:56",
|
|
424
435
|
data_structure_id: 11815313,
|
|
425
|
-
database: "xe",
|
|
426
436
|
deleted_at: null,
|
|
427
|
-
host: "localhost",
|
|
428
437
|
id: 8824769,
|
|
429
438
|
name: "JOBS",
|
|
430
|
-
|
|
431
|
-
|
|
439
|
+
metadata: {
|
|
440
|
+
alias: "oracle-temp",
|
|
441
|
+
database: "xe",
|
|
442
|
+
host: "localhost",
|
|
443
|
+
schema: "HR",
|
|
444
|
+
type: "Table",
|
|
445
|
+
},
|
|
432
446
|
},
|
|
433
447
|
{
|
|
434
|
-
alias:
|
|
448
|
+
alias: null,
|
|
435
449
|
classes: null,
|
|
436
450
|
creation_date: "2011-08-28 22:21:55",
|
|
437
451
|
data_structure_id: 11815318,
|
|
438
|
-
database: "xe",
|
|
439
452
|
deleted_at: null,
|
|
440
|
-
host: "localhost",
|
|
441
453
|
id: 8824774,
|
|
442
454
|
name: "LOCATIONS",
|
|
443
|
-
|
|
444
|
-
|
|
455
|
+
metadata: {
|
|
456
|
+
alias: "oracle-temp",
|
|
457
|
+
database: "xe",
|
|
458
|
+
host: "localhost",
|
|
459
|
+
schema: "HR",
|
|
460
|
+
type: "Table",
|
|
461
|
+
},
|
|
445
462
|
},
|
|
446
463
|
{
|
|
447
|
-
alias:
|
|
464
|
+
alias: null,
|
|
448
465
|
classes: null,
|
|
449
466
|
creation_date: "2011-08-28 22:21:55",
|
|
450
467
|
data_structure_id: 11815325,
|
|
451
|
-
database: "xe",
|
|
452
468
|
deleted_at: null,
|
|
453
|
-
host: "localhost",
|
|
454
469
|
id: 8824781,
|
|
455
470
|
name: "REGIONS",
|
|
456
|
-
|
|
457
|
-
|
|
471
|
+
metadata: {
|
|
472
|
+
alias: "oracle-temp",
|
|
473
|
+
database: "xe",
|
|
474
|
+
host: "localhost",
|
|
475
|
+
schema: "HR",
|
|
476
|
+
type: "Table",
|
|
477
|
+
},
|
|
458
478
|
},
|
|
459
479
|
{
|
|
460
|
-
alias:
|
|
480
|
+
alias: null,
|
|
461
481
|
classes: null,
|
|
462
482
|
creation_date: "2011-08-28 22:21:56",
|
|
463
483
|
data_structure_id: 11127104,
|
|
464
|
-
database: "xe",
|
|
465
484
|
deleted_at: null,
|
|
466
|
-
host: "localhost",
|
|
467
485
|
id: 8824790,
|
|
468
486
|
name: "EMPLOYEES",
|
|
469
|
-
|
|
470
|
-
|
|
487
|
+
metadata: {
|
|
488
|
+
alias: "oracle-temp",
|
|
489
|
+
database: "xe",
|
|
490
|
+
host: "localhost",
|
|
491
|
+
schema: "HR",
|
|
492
|
+
type: "Table",
|
|
493
|
+
},
|
|
471
494
|
},
|
|
472
495
|
{
|
|
473
|
-
alias:
|
|
496
|
+
alias: null,
|
|
474
497
|
classes: null,
|
|
475
498
|
creation_date: "2011-08-28 22:21:56",
|
|
476
499
|
data_structure_id: 11806360,
|
|
477
|
-
database: "xe",
|
|
478
500
|
deleted_at: null,
|
|
479
|
-
host: "localhost",
|
|
480
501
|
id: 8824791,
|
|
481
502
|
name: "JOB_HISTORY",
|
|
482
|
-
|
|
483
|
-
|
|
503
|
+
metadata: {
|
|
504
|
+
alias: "oracle-temp",
|
|
505
|
+
database: "xe",
|
|
506
|
+
host: "localhost",
|
|
507
|
+
schema: "HR",
|
|
508
|
+
type: "Table",
|
|
509
|
+
},
|
|
484
510
|
},
|
|
485
511
|
],
|
|
486
512
|
};
|
|
@@ -956,273 +982,6 @@ const ruleImplementationOperators = {
|
|
|
956
982
|
},
|
|
957
983
|
};
|
|
958
984
|
|
|
959
|
-
// export const sourcesRuleImplementationLoader = [
|
|
960
|
-
// {
|
|
961
|
-
// __typename: "Source",
|
|
962
|
-
// id: "190",
|
|
963
|
-
// externalId: "Redshift",
|
|
964
|
-
// config: {
|
|
965
|
-
// alias: "Redshift",
|
|
966
|
-
// databases: ["dev"],
|
|
967
|
-
// domain: {
|
|
968
|
-
// external_id: "Truedat",
|
|
969
|
-
// id: 2,
|
|
970
|
-
// name: "Truedat",
|
|
971
|
-
// parent_id: null,
|
|
972
|
-
// updated_at: "2020-07-28 13:21:21.938189Z",
|
|
973
|
-
// },
|
|
974
|
-
// host: "redshift-cluster-1.czitmavv4gjx.eu-west-1.redshift.amazonaws.com",
|
|
975
|
-
// job_types: ["quality", "profile", "catalog"],
|
|
976
|
-
// port: "5439",
|
|
977
|
-
// system: {
|
|
978
|
-
// external_id: "Redshift",
|
|
979
|
-
// id: 139,
|
|
980
|
-
// name: "Redshift",
|
|
981
|
-
// },
|
|
982
|
-
// user: "awsuser",
|
|
983
|
-
// },
|
|
984
|
-
// },
|
|
985
|
-
// {
|
|
986
|
-
// __typename: "Source",
|
|
987
|
-
// id: "178",
|
|
988
|
-
// externalId: "test_athena",
|
|
989
|
-
// config: {
|
|
990
|
-
// aliases: ["asd", "glue"],
|
|
991
|
-
// aws_region: "eu-west-1",
|
|
992
|
-
// aws_role_arn: "",
|
|
993
|
-
// job_types: ["profile", "quality"],
|
|
994
|
-
// output_location: "",
|
|
995
|
-
// workgroup: "primary",
|
|
996
|
-
// },
|
|
997
|
-
// },
|
|
998
|
-
// {
|
|
999
|
-
// __typename: "Source",
|
|
1000
|
-
// id: "187",
|
|
1001
|
-
// externalId: "postgres-temp",
|
|
1002
|
-
// config: {
|
|
1003
|
-
// alias: "postgres-temp",
|
|
1004
|
-
// blacklist_schemas: [],
|
|
1005
|
-
// databases: ["prueba", "postgres"],
|
|
1006
|
-
// domain: {
|
|
1007
|
-
// external_id: "Truedat",
|
|
1008
|
-
// id: 2,
|
|
1009
|
-
// name: "Truedat",
|
|
1010
|
-
// parent_id: null,
|
|
1011
|
-
// updated_at: "2020-07-28 13:21:21.938189Z",
|
|
1012
|
-
// },
|
|
1013
|
-
// host: "localhost",
|
|
1014
|
-
// job_types: ["profile", "quality", "catalog"],
|
|
1015
|
-
// password: "yourStrong(!)Password",
|
|
1016
|
-
// port: "5432",
|
|
1017
|
-
// system: {
|
|
1018
|
-
// external_id: "Postgres-Test",
|
|
1019
|
-
// id: 106,
|
|
1020
|
-
// name: "Postgres-Test",
|
|
1021
|
-
// },
|
|
1022
|
-
// user: "postgres",
|
|
1023
|
-
// },
|
|
1024
|
-
// },
|
|
1025
|
-
// {
|
|
1026
|
-
// __typename: "Source",
|
|
1027
|
-
// id: "119",
|
|
1028
|
-
// externalId: "Teradata",
|
|
1029
|
-
// config: {
|
|
1030
|
-
// alias: "Teradata",
|
|
1031
|
-
// databases: ["HR"],
|
|
1032
|
-
// domain: {
|
|
1033
|
-
// external_id: "Dominio Prueba",
|
|
1034
|
-
// id: 83,
|
|
1035
|
-
// name: "Dominio Prueba",
|
|
1036
|
-
// parent_id: null,
|
|
1037
|
-
// updated_at: "2022-02-16 09:28:19.391331Z",
|
|
1038
|
-
// },
|
|
1039
|
-
// evidences_host: "localhost",
|
|
1040
|
-
// evidences_path: "interfases",
|
|
1041
|
-
// evidences_port: "445",
|
|
1042
|
-
// evidences_size: "10",
|
|
1043
|
-
// job_types: ["profile", "quality", "catalog"],
|
|
1044
|
-
// object_types: ["View", "Table"],
|
|
1045
|
-
// protocol: "SMB",
|
|
1046
|
-
// save_evidences: "No",
|
|
1047
|
-
// system: {
|
|
1048
|
-
// external_id: "Teradata",
|
|
1049
|
-
// id: 79,
|
|
1050
|
-
// name: "Teradata",
|
|
1051
|
-
// },
|
|
1052
|
-
// },
|
|
1053
|
-
// },
|
|
1054
|
-
// {
|
|
1055
|
-
// __typename: "Source",
|
|
1056
|
-
// id: "130",
|
|
1057
|
-
// externalId: "SQLServer",
|
|
1058
|
-
// config: {},
|
|
1059
|
-
// },
|
|
1060
|
-
// {
|
|
1061
|
-
// __typename: "Source",
|
|
1062
|
-
// id: "177",
|
|
1063
|
-
// externalId: "SQLServer test",
|
|
1064
|
-
// config: {},
|
|
1065
|
-
// },
|
|
1066
|
-
// {
|
|
1067
|
-
// __typename: "Source",
|
|
1068
|
-
// id: "176",
|
|
1069
|
-
// externalId: "borrar",
|
|
1070
|
-
// config: {
|
|
1071
|
-
// alias: "borrar",
|
|
1072
|
-
// databases: ["ORCLPDB1.localdomain"],
|
|
1073
|
-
// domain: {
|
|
1074
|
-
// external_id: "Truedat",
|
|
1075
|
-
// id: 2,
|
|
1076
|
-
// name: "Truedat",
|
|
1077
|
-
// parent_id: null,
|
|
1078
|
-
// updated_at: "2020-07-28 13:21:21.938189Z",
|
|
1079
|
-
// },
|
|
1080
|
-
// host: "localhost",
|
|
1081
|
-
// job_types: ["quality", "profile", "catalog"],
|
|
1082
|
-
// password: "yourpassword",
|
|
1083
|
-
// port: "1521",
|
|
1084
|
-
// save_evidences: "No",
|
|
1085
|
-
// schemas: ["OT"],
|
|
1086
|
-
// system: null,
|
|
1087
|
-
// user: "OT",
|
|
1088
|
-
// },
|
|
1089
|
-
// },
|
|
1090
|
-
// {
|
|
1091
|
-
// __typename: "Source",
|
|
1092
|
-
// id: "201",
|
|
1093
|
-
// externalId: "Athena_eu_west_2",
|
|
1094
|
-
// config: {
|
|
1095
|
-
// aliases: ["Glue_eu_west_2"],
|
|
1096
|
-
// aws_region: "eu-west-2",
|
|
1097
|
-
// aws_role_arn: "",
|
|
1098
|
-
// job_types: ["profile", "quality"],
|
|
1099
|
-
// workgroup: "primary",
|
|
1100
|
-
// },
|
|
1101
|
-
// },
|
|
1102
|
-
// {
|
|
1103
|
-
// __typename: "Source",
|
|
1104
|
-
// id: "151",
|
|
1105
|
-
// externalId: "MySQL",
|
|
1106
|
-
// config: {
|
|
1107
|
-
// alias: "MySQL",
|
|
1108
|
-
// domain: {
|
|
1109
|
-
// external_id: "Truedat",
|
|
1110
|
-
// id: 2,
|
|
1111
|
-
// name: "Truedat",
|
|
1112
|
-
// parent_id: null,
|
|
1113
|
-
// updated_at: "2020-07-28 13:21:21.938189Z",
|
|
1114
|
-
// },
|
|
1115
|
-
// filter_type: "Whitelist Databases",
|
|
1116
|
-
// host: "localhost",
|
|
1117
|
-
// job_types: ["profile", "quality", "catalog"],
|
|
1118
|
-
// port: "3306",
|
|
1119
|
-
// system: {
|
|
1120
|
-
// external_id: "MySQL",
|
|
1121
|
-
// id: 103,
|
|
1122
|
-
// name: "MySQL",
|
|
1123
|
-
// },
|
|
1124
|
-
// whitelist_databases: ["classicmodels"],
|
|
1125
|
-
// },
|
|
1126
|
-
// },
|
|
1127
|
-
// {
|
|
1128
|
-
// __typename: "Source",
|
|
1129
|
-
// id: "196",
|
|
1130
|
-
// externalId: "Oracle 12",
|
|
1131
|
-
// config: {
|
|
1132
|
-
// alias: "Oracle 12",
|
|
1133
|
-
// databases: ["ORCLPDB1.localdomain"],
|
|
1134
|
-
// domain: {
|
|
1135
|
-
// external_id: "Truedat",
|
|
1136
|
-
// id: 2,
|
|
1137
|
-
// name: "Truedat",
|
|
1138
|
-
// parent_id: null,
|
|
1139
|
-
// updated_at: "2020-07-28 13:21:21.938189Z",
|
|
1140
|
-
// },
|
|
1141
|
-
// evidences_host: "samba",
|
|
1142
|
-
// evidences_password: "badpass",
|
|
1143
|
-
// evidences_path: "interfases",
|
|
1144
|
-
// evidences_port: "445",
|
|
1145
|
-
// evidences_size: "10",
|
|
1146
|
-
// evidences_user: "example1",
|
|
1147
|
-
// filter_type: "Whitelist",
|
|
1148
|
-
// host: "oracle_12",
|
|
1149
|
-
// job_types: ["profile", "quality", "catalog"],
|
|
1150
|
-
// password: "Oradoc_db1",
|
|
1151
|
-
// port: "1521",
|
|
1152
|
-
// protocol: "SMB",
|
|
1153
|
-
// save_evidences: "Yes",
|
|
1154
|
-
// schemas: ["OT"],
|
|
1155
|
-
// system: {
|
|
1156
|
-
// external_id: "Oracle 12",
|
|
1157
|
-
// id: 141,
|
|
1158
|
-
// name: "Oracle 12",
|
|
1159
|
-
// },
|
|
1160
|
-
// tables_whitelist: ["REGIONS", "CUSTOMERS"],
|
|
1161
|
-
// user: "system",
|
|
1162
|
-
// },
|
|
1163
|
-
// },
|
|
1164
|
-
// {
|
|
1165
|
-
// __typename: "Source",
|
|
1166
|
-
// id: "181",
|
|
1167
|
-
// externalId: "PostgreSQL",
|
|
1168
|
-
// config: {
|
|
1169
|
-
// alias: "PostgreSQL",
|
|
1170
|
-
// databases: [
|
|
1171
|
-
// "td_audit",
|
|
1172
|
-
// "td_auth",
|
|
1173
|
-
// "td_bg",
|
|
1174
|
-
// "td_dd",
|
|
1175
|
-
// "td_df",
|
|
1176
|
-
// "td_ie",
|
|
1177
|
-
// "td_lm",
|
|
1178
|
-
// "td_metrics",
|
|
1179
|
-
// ],
|
|
1180
|
-
// domain: {
|
|
1181
|
-
// external_id: "Truedat",
|
|
1182
|
-
// id: 2,
|
|
1183
|
-
// name: "Truedat",
|
|
1184
|
-
// parent_id: null,
|
|
1185
|
-
// updated_at: "2020-07-28 13:21:21.938189Z",
|
|
1186
|
-
// },
|
|
1187
|
-
// job_types: ["profile", "quality", "catalog"],
|
|
1188
|
-
// system: {
|
|
1189
|
-
// external_id: "postgres",
|
|
1190
|
-
// id: 7,
|
|
1191
|
-
// name: "Truedat PostgreSQL",
|
|
1192
|
-
// },
|
|
1193
|
-
// },
|
|
1194
|
-
// },
|
|
1195
|
-
// {
|
|
1196
|
-
// __typename: "Source",
|
|
1197
|
-
// id: "162",
|
|
1198
|
-
// externalId: "oracle-temp",
|
|
1199
|
-
// config: {
|
|
1200
|
-
// alias: "oracle-temp",
|
|
1201
|
-
// databases: ["xe"],
|
|
1202
|
-
// domain: {
|
|
1203
|
-
// external_id: "Truedat",
|
|
1204
|
-
// id: 2,
|
|
1205
|
-
// name: "Truedat",
|
|
1206
|
-
// parent_id: null,
|
|
1207
|
-
// updated_at: "2020-07-28 13:21:21.938189Z",
|
|
1208
|
-
// },
|
|
1209
|
-
// filter_type: null,
|
|
1210
|
-
// host: "localhost",
|
|
1211
|
-
// job_types: ["profile", "catalog", "quality"],
|
|
1212
|
-
// password: "oracle",
|
|
1213
|
-
// port: "1521",
|
|
1214
|
-
// save_evidences: "No",
|
|
1215
|
-
// schemas: ["HR"],
|
|
1216
|
-
// system: {
|
|
1217
|
-
// external_id: "oracle2",
|
|
1218
|
-
// id: 2,
|
|
1219
|
-
// name: "BBDD Oracle",
|
|
1220
|
-
// },
|
|
1221
|
-
// user: "system",
|
|
1222
|
-
// },
|
|
1223
|
-
// },
|
|
1224
|
-
// ];
|
|
1225
|
-
|
|
1226
985
|
export const ruleImplementationLoaderGlobalState = {
|
|
1227
986
|
rule: {},
|
|
1228
987
|
ruleImplementation,
|