@@ -19,13 +19,6 @@ import DataProductSection from '../shared/containers/profile/sidebar/DataProduct
19
19
import { getDataProduct } from '../shared/utils' ;
20
20
import SummaryTab from './profile/DataProcessInstanceSummary' ;
21
21
22
- // const getProcessPlatformName = (data?: DataProcessInstance): string => {
23
- // return (
24
- // data?.dataPlatformInstance?.platform?.properties?.displayName ||
25
- // capitalizeFirstLetterOnly(data?.dataPlatformInstance?.platform?.name) ||
26
- // ''
27
- // );
28
- // };
29
22
type PreviewEntity = {
30
23
urn : string ;
31
24
type : EntityType ;
@@ -92,14 +85,9 @@ export class DataProcessInstanceEntity implements Entity<DataProcessInstance> {
92
85
urn = { urn }
93
86
entityType = { EntityType . DataProcessInstance }
94
87
useEntityQuery = { this . useEntityQuery }
95
- // useUpdateQuery={useUpdateDataProcessInstanceMutation}
96
88
getOverrideProperties = { this . getOverridePropertiesFromEntity }
97
89
headerDropdownItems = { new Set ( [ EntityMenuItems . UPDATE_DEPRECATION , EntityMenuItems . RAISE_INCIDENT ] ) }
98
90
tabs = { [
99
- // {
100
- // name: 'Documentation',
101
- // component: DocumentationTab,
102
- // },
103
91
{
104
92
name : 'Summary' ,
105
93
component : SummaryTab ,
@@ -168,13 +156,11 @@ export class DataProcessInstanceEntity implements Entity<DataProcessInstance> {
168
156
platformLogo = { data ?. dataPlatformInstance ?. platform ?. properties ?. logoUrl }
169
157
owners = { null }
170
158
globalTags = { null }
171
- // domain={data.domain?.domain}
172
159
dataProduct = { getDataProduct ( genericProperties ?. dataProduct ) }
173
160
externalUrl = { data . properties ?. externalUrl }
174
161
parentContainers = { data . parentContainers }
175
162
parentEntities = { parentEntities as unknown as PreviewEntity [ ] }
176
163
container = { data . container || undefined }
177
- // health={data.health}
178
164
/>
179
165
) ;
180
166
} ;
@@ -200,9 +186,7 @@ export class DataProcessInstanceEntity implements Entity<DataProcessInstance> {
200
186
platformInstanceId = { data . dataPlatformInstance ?. instanceId }
201
187
owners = { null }
202
188
globalTags = { null }
203
- // domain={data.domain?.domain}
204
189
dataProduct = { getDataProduct ( genericProperties ?. dataProduct ) }
205
- // deprecation={data.deprecation}
206
190
insights = { result . insights }
207
191
externalUrl = { data . properties ?. externalUrl }
208
192
degree = { ( result as any ) . degree }
@@ -213,7 +197,6 @@ export class DataProcessInstanceEntity implements Entity<DataProcessInstance> {
213
197
duration = { firstState ?. durationMillis }
214
198
status = { firstState ?. result ?. resultType }
215
199
startTime = { firstState ?. timestampMillis }
216
- // health={data.health}
217
200
/>
218
201
) ;
219
202
} ;
@@ -227,7 +210,6 @@ export class DataProcessInstanceEntity implements Entity<DataProcessInstance> {
227
210
icon : entity ?. dataPlatformInstance ?. platform ?. properties ?. logoUrl || undefined ,
228
211
platform : entity ?. dataPlatformInstance ?. platform ,
229
212
container : entity ?. container ,
230
- // health: entity?.health || undefined,
231
213
} ;
232
214
} ;
233
215
0 commit comments