@truedat/dq 4.46.12 → 4.47.2
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 +14 -0
- package/package.json +5 -5
- package/src/api/queries.js +46 -0
- package/src/components/ImplementationCrumbs.js +4 -8
- package/src/components/ImplementationsRoutes.js +2 -3
- package/src/components/RuleImplementationProperties.js +6 -3
- package/src/components/RuleImplementationResults.js +130 -67
- package/src/components/RuleResult.js +3 -17
- package/src/components/RuleResultDetails.js +2 -9
- package/src/components/RuleResultRemediations.js +8 -24
- package/src/components/RuleResultRow.js +89 -61
- package/src/components/RuleResultsRoutes.js +54 -42
- package/src/components/__tests__/RuleImplementationProperties.spec.js +1 -12
- package/src/components/__tests__/RuleImplementationResults.spec.js +76 -12
- package/src/components/__tests__/RuleResultDetails.spec.js +32 -25
- package/src/components/__tests__/RuleResultRemediations.spec.js +12 -20
- package/src/components/__tests__/RuleResultRoutes.spec.js +75 -3
- package/src/components/__tests__/__snapshots__/RuleImplementationProperties.spec.js.snap +11 -11
- package/src/components/__tests__/__snapshots__/RuleImplementationResults.spec.js.snap +204 -57
- package/src/components/__tests__/__snapshots__/RuleResultDetails.spec.js.snap +30 -10
- package/src/components/__tests__/__snapshots__/RuleResultRoutes.spec.js.snap +324 -1
- package/src/messages/es.js +0 -1
- package/src/selectors/getRuleImplementationColumns.js +2 -8
|
@@ -9,7 +9,15 @@ exports[`<RuleImplementationProperties /> matches the latest snapshot 1`] = `
|
|
|
9
9
|
<GridColumn>
|
|
10
10
|
<Label>
|
|
11
11
|
<MemoizedFormattedMessage
|
|
12
|
-
|
|
12
|
+
defaultMessage="published"
|
|
13
|
+
id="ruleImplementation.status.published"
|
|
14
|
+
/>
|
|
15
|
+
</Label>
|
|
16
|
+
<Label
|
|
17
|
+
color="olive"
|
|
18
|
+
>
|
|
19
|
+
<MemoizedFormattedMessage
|
|
20
|
+
id="ruleImplementation.props.executable.true"
|
|
13
21
|
/>
|
|
14
22
|
</Label>
|
|
15
23
|
</GridColumn>
|
|
@@ -27,11 +35,7 @@ exports[`<RuleImplementationProperties /> matches the latest snapshot 1`] = `
|
|
|
27
35
|
"minimum": 1,
|
|
28
36
|
"name": "NameRule2",
|
|
29
37
|
"result_type": "percentage",
|
|
30
|
-
"
|
|
31
|
-
"external_id": "Microstrategy",
|
|
32
|
-
"id": 1,
|
|
33
|
-
"name": "Microstrategy",
|
|
34
|
-
},
|
|
38
|
+
"status": "published",
|
|
35
39
|
"system_params": Object {
|
|
36
40
|
"column": Object {
|
|
37
41
|
"id": 2876,
|
|
@@ -74,11 +78,7 @@ exports[`<RuleImplementationProperties /> matches the latest snapshot 1`] = `
|
|
|
74
78
|
"minimum": 1,
|
|
75
79
|
"name": "NameRule2",
|
|
76
80
|
"result_type": "percentage",
|
|
77
|
-
"
|
|
78
|
-
"external_id": "Microstrategy",
|
|
79
|
-
"id": 1,
|
|
80
|
-
"name": "Microstrategy",
|
|
81
|
-
},
|
|
81
|
+
"status": "published",
|
|
82
82
|
"system_params": Object {
|
|
83
83
|
"column": Object {
|
|
84
84
|
"id": 2876,
|
|
@@ -1,66 +1,213 @@
|
|
|
1
1
|
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
2
2
|
|
|
3
3
|
exports[`<RuleImplementationResults /> matches the latest snapshot 1`] = `
|
|
4
|
-
<
|
|
5
|
-
<
|
|
6
|
-
|
|
7
|
-
className="implementation-results small"
|
|
4
|
+
<div>
|
|
5
|
+
<table
|
|
6
|
+
class="ui table implementation-results small"
|
|
8
7
|
>
|
|
9
|
-
<
|
|
10
|
-
|
|
8
|
+
<thead
|
|
9
|
+
class=""
|
|
11
10
|
>
|
|
12
|
-
<
|
|
13
|
-
|
|
14
|
-
cellAs="td"
|
|
11
|
+
<tr
|
|
12
|
+
class=""
|
|
15
13
|
>
|
|
16
|
-
<
|
|
17
|
-
|
|
18
|
-
|
|
14
|
+
<th
|
|
15
|
+
class=""
|
|
16
|
+
>
|
|
17
|
+
ruleResult.props.date
|
|
18
|
+
</th>
|
|
19
|
+
<th
|
|
20
|
+
class=""
|
|
21
|
+
>
|
|
22
|
+
ruleResult.props.quality
|
|
23
|
+
</th>
|
|
24
|
+
<th
|
|
25
|
+
class=""
|
|
26
|
+
>
|
|
27
|
+
ruleResult.props.records
|
|
28
|
+
</th>
|
|
29
|
+
<th
|
|
30
|
+
class=""
|
|
31
|
+
>
|
|
32
|
+
ruleResult.props.errors
|
|
33
|
+
</th>
|
|
34
|
+
<th
|
|
35
|
+
class=""
|
|
19
36
|
/>
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
<TableHeaderCell
|
|
25
|
-
as="th"
|
|
26
|
-
content="foo"
|
|
27
|
-
key="0"
|
|
28
|
-
/>
|
|
29
|
-
<TableHeaderCell
|
|
30
|
-
as="th"
|
|
31
|
-
/>
|
|
32
|
-
</TableRow>
|
|
33
|
-
</TableHeader>
|
|
34
|
-
<TableBody
|
|
35
|
-
as="tbody"
|
|
37
|
+
</tr>
|
|
38
|
+
</thead>
|
|
39
|
+
<tbody
|
|
40
|
+
class=""
|
|
36
41
|
>
|
|
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
|
-
</
|
|
42
|
+
<tr
|
|
43
|
+
class=""
|
|
44
|
+
>
|
|
45
|
+
<td
|
|
46
|
+
class=""
|
|
47
|
+
colspan="8"
|
|
48
|
+
>
|
|
49
|
+
<a
|
|
50
|
+
class="ui active ribbon label"
|
|
51
|
+
>
|
|
52
|
+
ruleImplementations.props.version: undefined
|
|
53
|
+
</a>
|
|
54
|
+
</td>
|
|
55
|
+
</tr>
|
|
56
|
+
<tr
|
|
57
|
+
class="warning"
|
|
58
|
+
>
|
|
59
|
+
<td
|
|
60
|
+
class=""
|
|
61
|
+
>
|
|
62
|
+
<a
|
|
63
|
+
href="/implementations/1/results/66577"
|
|
64
|
+
>
|
|
65
|
+
<i
|
|
66
|
+
aria-hidden="true"
|
|
67
|
+
class="blue grid layout small circular inverted icon"
|
|
68
|
+
/>
|
|
69
|
+
</a>
|
|
70
|
+
</td>
|
|
71
|
+
<td
|
|
72
|
+
class=""
|
|
73
|
+
>
|
|
74
|
+
<i
|
|
75
|
+
aria-hidden="true"
|
|
76
|
+
class="green circle icon"
|
|
77
|
+
/>
|
|
78
|
+
93.54 %
|
|
79
|
+
</td>
|
|
80
|
+
<td
|
|
81
|
+
class=""
|
|
82
|
+
>
|
|
83
|
+
31
|
|
84
|
+
</td>
|
|
85
|
+
<td
|
|
86
|
+
class=""
|
|
87
|
+
>
|
|
88
|
+
2
|
|
89
|
+
</td>
|
|
90
|
+
</tr>
|
|
91
|
+
<tr
|
|
92
|
+
class="warning"
|
|
93
|
+
>
|
|
94
|
+
<td
|
|
95
|
+
class=""
|
|
96
|
+
>
|
|
97
|
+
<a
|
|
98
|
+
href="/implementations/1/results/66578"
|
|
99
|
+
>
|
|
100
|
+
<i
|
|
101
|
+
aria-hidden="true"
|
|
102
|
+
class="blue grid layout small circular inverted icon"
|
|
103
|
+
/>
|
|
104
|
+
</a>
|
|
105
|
+
</td>
|
|
106
|
+
<td
|
|
107
|
+
class=""
|
|
108
|
+
>
|
|
109
|
+
<i
|
|
110
|
+
aria-hidden="true"
|
|
111
|
+
class="green circle icon"
|
|
112
|
+
/>
|
|
113
|
+
93.54 %
|
|
114
|
+
</td>
|
|
115
|
+
<td
|
|
116
|
+
class=""
|
|
117
|
+
>
|
|
118
|
+
31
|
|
119
|
+
</td>
|
|
120
|
+
<td
|
|
121
|
+
class=""
|
|
122
|
+
>
|
|
123
|
+
2
|
|
124
|
+
</td>
|
|
125
|
+
</tr>
|
|
126
|
+
<tr
|
|
127
|
+
class=""
|
|
128
|
+
>
|
|
129
|
+
<td
|
|
130
|
+
class=""
|
|
131
|
+
colspan="8"
|
|
132
|
+
>
|
|
133
|
+
<a
|
|
134
|
+
class="ui ribbon label"
|
|
135
|
+
>
|
|
136
|
+
ruleImplementations.props.version: undefined
|
|
137
|
+
</a>
|
|
138
|
+
</td>
|
|
139
|
+
</tr>
|
|
140
|
+
<tr
|
|
141
|
+
class=""
|
|
142
|
+
>
|
|
143
|
+
<td
|
|
144
|
+
class=""
|
|
145
|
+
>
|
|
146
|
+
<a
|
|
147
|
+
href="/implementations/2/results/66579"
|
|
148
|
+
>
|
|
149
|
+
<i
|
|
150
|
+
aria-hidden="true"
|
|
151
|
+
class="blue grid layout small circular inverted icon"
|
|
152
|
+
/>
|
|
153
|
+
</a>
|
|
154
|
+
</td>
|
|
155
|
+
<td
|
|
156
|
+
class=""
|
|
157
|
+
>
|
|
158
|
+
<i
|
|
159
|
+
aria-hidden="true"
|
|
160
|
+
class="green circle icon"
|
|
161
|
+
/>
|
|
162
|
+
93.54 %
|
|
163
|
+
</td>
|
|
164
|
+
<td
|
|
165
|
+
class=""
|
|
166
|
+
>
|
|
167
|
+
31
|
|
168
|
+
</td>
|
|
169
|
+
<td
|
|
170
|
+
class=""
|
|
171
|
+
>
|
|
172
|
+
2
|
|
173
|
+
</td>
|
|
174
|
+
</tr>
|
|
175
|
+
<tr
|
|
176
|
+
class=""
|
|
177
|
+
>
|
|
178
|
+
<td
|
|
179
|
+
class=""
|
|
180
|
+
>
|
|
181
|
+
<a
|
|
182
|
+
href="/implementations/2/results/66580"
|
|
183
|
+
>
|
|
184
|
+
<i
|
|
185
|
+
aria-hidden="true"
|
|
186
|
+
class="blue grid layout small circular inverted icon"
|
|
187
|
+
/>
|
|
188
|
+
</a>
|
|
189
|
+
</td>
|
|
190
|
+
<td
|
|
191
|
+
class=""
|
|
192
|
+
>
|
|
193
|
+
<i
|
|
194
|
+
aria-hidden="true"
|
|
195
|
+
class="green circle icon"
|
|
196
|
+
/>
|
|
197
|
+
93.54 %
|
|
198
|
+
</td>
|
|
199
|
+
<td
|
|
200
|
+
class=""
|
|
201
|
+
>
|
|
202
|
+
31
|
|
203
|
+
</td>
|
|
204
|
+
<td
|
|
205
|
+
class=""
|
|
206
|
+
>
|
|
207
|
+
2
|
|
208
|
+
</td>
|
|
209
|
+
</tr>
|
|
210
|
+
</tbody>
|
|
211
|
+
</table>
|
|
212
|
+
</div>
|
|
66
213
|
`;
|
|
@@ -35,9 +35,9 @@ exports[`<RuleResultDetails> matches the latest snapshot 1`] = `
|
|
|
35
35
|
>
|
|
36
36
|
<i
|
|
37
37
|
aria-hidden="true"
|
|
38
|
-
class="
|
|
38
|
+
class="green circle icon"
|
|
39
39
|
/>
|
|
40
|
-
|
|
40
|
+
93.54 %
|
|
41
41
|
</td>
|
|
42
42
|
</tr>
|
|
43
43
|
<tr
|
|
@@ -50,7 +50,13 @@ exports[`<RuleResultDetails> matches the latest snapshot 1`] = `
|
|
|
50
50
|
</td>
|
|
51
51
|
<td
|
|
52
52
|
class=""
|
|
53
|
-
|
|
53
|
+
>
|
|
54
|
+
<time
|
|
55
|
+
datetime="1656028800000"
|
|
56
|
+
>
|
|
57
|
+
2022-06-24 00:00
|
|
58
|
+
</time>
|
|
59
|
+
</td>
|
|
54
60
|
</tr>
|
|
55
61
|
<tr
|
|
56
62
|
class=""
|
|
@@ -62,7 +68,9 @@ exports[`<RuleResultDetails> matches the latest snapshot 1`] = `
|
|
|
62
68
|
</td>
|
|
63
69
|
<td
|
|
64
70
|
class=""
|
|
65
|
-
|
|
71
|
+
>
|
|
72
|
+
31
|
|
73
|
+
</td>
|
|
66
74
|
</tr>
|
|
67
75
|
<tr
|
|
68
76
|
class=""
|
|
@@ -74,7 +82,9 @@ exports[`<RuleResultDetails> matches the latest snapshot 1`] = `
|
|
|
74
82
|
</td>
|
|
75
83
|
<td
|
|
76
84
|
class=""
|
|
77
|
-
|
|
85
|
+
>
|
|
86
|
+
2
|
|
87
|
+
</td>
|
|
78
88
|
</tr>
|
|
79
89
|
</tbody>
|
|
80
90
|
<thead
|
|
@@ -148,9 +158,9 @@ exports[`<RuleResultDetails> without details 1`] = `
|
|
|
148
158
|
>
|
|
149
159
|
<i
|
|
150
160
|
aria-hidden="true"
|
|
151
|
-
class="
|
|
161
|
+
class="green circle icon"
|
|
152
162
|
/>
|
|
153
|
-
|
|
163
|
+
93.54 %
|
|
154
164
|
</td>
|
|
155
165
|
</tr>
|
|
156
166
|
<tr
|
|
@@ -163,7 +173,13 @@ exports[`<RuleResultDetails> without details 1`] = `
|
|
|
163
173
|
</td>
|
|
164
174
|
<td
|
|
165
175
|
class=""
|
|
166
|
-
|
|
176
|
+
>
|
|
177
|
+
<time
|
|
178
|
+
datetime="1656028800000"
|
|
179
|
+
>
|
|
180
|
+
2022-06-24 00:00
|
|
181
|
+
</time>
|
|
182
|
+
</td>
|
|
167
183
|
</tr>
|
|
168
184
|
<tr
|
|
169
185
|
class=""
|
|
@@ -175,7 +191,9 @@ exports[`<RuleResultDetails> without details 1`] = `
|
|
|
175
191
|
</td>
|
|
176
192
|
<td
|
|
177
193
|
class=""
|
|
178
|
-
|
|
194
|
+
>
|
|
195
|
+
31
|
|
196
|
+
</td>
|
|
179
197
|
</tr>
|
|
180
198
|
<tr
|
|
181
199
|
class=""
|
|
@@ -187,7 +205,9 @@ exports[`<RuleResultDetails> without details 1`] = `
|
|
|
187
205
|
</td>
|
|
188
206
|
<td
|
|
189
207
|
class=""
|
|
190
|
-
|
|
208
|
+
>
|
|
209
|
+
2
|
|
210
|
+
</td>
|
|
191
211
|
</tr>
|
|
192
212
|
</tbody>
|
|
193
213
|
</table>
|