@acorex-platform/module-system-insight-client 0.0.30 → 0.0.33

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.
Files changed (87) hide show
  1. package/fesm2022/acorex-platform-module-system-insight-client-contracts-entities-alert-rule.mjs +163 -0
  2. package/fesm2022/acorex-platform-module-system-insight-client-contracts-entities-alert-rule.mjs.map +1 -0
  3. package/fesm2022/acorex-platform-module-system-insight-client-contracts-entities-audit-log.mjs +741 -0
  4. package/fesm2022/acorex-platform-module-system-insight-client-contracts-entities-audit-log.mjs.map +1 -0
  5. package/fesm2022/acorex-platform-module-system-insight-client-contracts-entities-dashboard-widget-config.mjs +161 -0
  6. package/fesm2022/acorex-platform-module-system-insight-client-contracts-entities-dashboard-widget-config.mjs.map +1 -0
  7. package/fesm2022/acorex-platform-module-system-insight-client-contracts-entities-error-event.mjs +365 -0
  8. package/fesm2022/acorex-platform-module-system-insight-client-contracts-entities-error-event.mjs.map +1 -0
  9. package/fesm2022/acorex-platform-module-system-insight-client-contracts-entities-http-request-log.mjs +439 -0
  10. package/fesm2022/acorex-platform-module-system-insight-client-contracts-entities-http-request-log.mjs.map +1 -0
  11. package/fesm2022/acorex-platform-module-system-insight-client-contracts-entities-job-execution-log.mjs +445 -0
  12. package/fesm2022/acorex-platform-module-system-insight-client-contracts-entities-job-execution-log.mjs.map +1 -0
  13. package/fesm2022/acorex-platform-module-system-insight-client-contracts-entities-log-entry.mjs +730 -0
  14. package/fesm2022/acorex-platform-module-system-insight-client-contracts-entities-log-entry.mjs.map +1 -0
  15. package/fesm2022/acorex-platform-module-system-insight-client-contracts-entities-metric-point.mjs +290 -0
  16. package/fesm2022/acorex-platform-module-system-insight-client-contracts-entities-metric-point.mjs.map +1 -0
  17. package/fesm2022/acorex-platform-module-system-insight-client-contracts-entities-observability-data-source.mjs +161 -0
  18. package/fesm2022/acorex-platform-module-system-insight-client-contracts-entities-observability-data-source.mjs.map +1 -0
  19. package/fesm2022/acorex-platform-module-system-insight-client-contracts-entities-retention-policy.mjs +182 -0
  20. package/fesm2022/acorex-platform-module-system-insight-client-contracts-entities-retention-policy.mjs.map +1 -0
  21. package/fesm2022/acorex-platform-module-system-insight-client-contracts-entities-saved-view.mjs +162 -0
  22. package/fesm2022/acorex-platform-module-system-insight-client-contracts-entities-saved-view.mjs.map +1 -0
  23. package/fesm2022/acorex-platform-module-system-insight-client-contracts-entities-slow-request.mjs +312 -0
  24. package/fesm2022/acorex-platform-module-system-insight-client-contracts-entities-slow-request.mjs.map +1 -0
  25. package/fesm2022/acorex-platform-module-system-insight-client-contracts-entities-trace-entry.mjs +539 -0
  26. package/fesm2022/acorex-platform-module-system-insight-client-contracts-entities-trace-entry.mjs.map +1 -0
  27. package/fesm2022/acorex-platform-module-system-insight-client-contracts-entities-trace-span.mjs +304 -0
  28. package/fesm2022/acorex-platform-module-system-insight-client-contracts-entities-trace-span.mjs.map +1 -0
  29. package/fesm2022/acorex-platform-module-system-insight-client-contracts-entity-catalog-acorex-platform-module-system-insight-client-contracts-entity-catalog-L_KQ_ZRS.mjs +135 -0
  30. package/fesm2022/acorex-platform-module-system-insight-client-contracts-entity-catalog-acorex-platform-module-system-insight-client-contracts-entity-catalog-L_KQ_ZRS.mjs.map +1 -0
  31. package/fesm2022/acorex-platform-module-system-insight-client-contracts-entity-catalog-alert-rule.entity-CVQ8zi2n.mjs +43 -0
  32. package/fesm2022/acorex-platform-module-system-insight-client-contracts-entity-catalog-alert-rule.entity-CVQ8zi2n.mjs.map +1 -0
  33. package/fesm2022/acorex-platform-module-system-insight-client-contracts-entity-catalog-audit-log.entity-DUUbh-K4.mjs +638 -0
  34. package/fesm2022/acorex-platform-module-system-insight-client-contracts-entity-catalog-audit-log.entity-DUUbh-K4.mjs.map +1 -0
  35. package/fesm2022/acorex-platform-module-system-insight-client-contracts-entity-catalog-commands.keys-yv865ABJ.mjs +20 -0
  36. package/fesm2022/acorex-platform-module-system-insight-client-contracts-entity-catalog-commands.keys-yv865ABJ.mjs.map +1 -0
  37. package/fesm2022/acorex-platform-module-system-insight-client-contracts-entity-catalog-dashboard-widget-config.entity-CQPGHj3-.mjs +58 -0
  38. package/fesm2022/acorex-platform-module-system-insight-client-contracts-entity-catalog-dashboard-widget-config.entity-CQPGHj3-.mjs.map +1 -0
  39. package/fesm2022/acorex-platform-module-system-insight-client-contracts-entity-catalog-error-event.entity-41bQET9n.mjs +203 -0
  40. package/fesm2022/acorex-platform-module-system-insight-client-contracts-entity-catalog-error-event.entity-41bQET9n.mjs.map +1 -0
  41. package/fesm2022/acorex-platform-module-system-insight-client-contracts-entity-catalog-http-request-log.entity-DuUG39be.mjs +277 -0
  42. package/fesm2022/acorex-platform-module-system-insight-client-contracts-entity-catalog-http-request-log.entity-DuUG39be.mjs.map +1 -0
  43. package/fesm2022/acorex-platform-module-system-insight-client-contracts-entity-catalog-job-execution-log.entity-DjScVny4.mjs +283 -0
  44. package/fesm2022/acorex-platform-module-system-insight-client-contracts-entity-catalog-job-execution-log.entity-DjScVny4.mjs.map +1 -0
  45. package/fesm2022/acorex-platform-module-system-insight-client-contracts-entity-catalog-log-entry.entity-KhwOnohn.mjs +533 -0
  46. package/fesm2022/acorex-platform-module-system-insight-client-contracts-entity-catalog-log-entry.entity-KhwOnohn.mjs.map +1 -0
  47. package/fesm2022/acorex-platform-module-system-insight-client-contracts-entity-catalog-metric-point.entity-kfxxSxvp.mjs +128 -0
  48. package/fesm2022/acorex-platform-module-system-insight-client-contracts-entity-catalog-metric-point.entity-kfxxSxvp.mjs.map +1 -0
  49. package/fesm2022/acorex-platform-module-system-insight-client-contracts-entity-catalog-observability-data-source.entity-BM0wTN3C.mjs +58 -0
  50. package/fesm2022/acorex-platform-module-system-insight-client-contracts-entity-catalog-observability-data-source.entity-BM0wTN3C.mjs.map +1 -0
  51. package/fesm2022/acorex-platform-module-system-insight-client-contracts-entity-catalog-queries.keys-C768fZe1.mjs +45 -0
  52. package/fesm2022/acorex-platform-module-system-insight-client-contracts-entity-catalog-queries.keys-C768fZe1.mjs.map +1 -0
  53. package/fesm2022/acorex-platform-module-system-insight-client-contracts-entity-catalog-retention-policy.entity-BU_FXy6_.mjs +79 -0
  54. package/fesm2022/acorex-platform-module-system-insight-client-contracts-entity-catalog-retention-policy.entity-BU_FXy6_.mjs.map +1 -0
  55. package/fesm2022/acorex-platform-module-system-insight-client-contracts-entity-catalog-saved-view.entity-BhhIVSRT.mjs +59 -0
  56. package/fesm2022/acorex-platform-module-system-insight-client-contracts-entity-catalog-saved-view.entity-BhhIVSRT.mjs.map +1 -0
  57. package/fesm2022/acorex-platform-module-system-insight-client-contracts-entity-catalog-settings.keys-CI-iHRBX.mjs +38 -0
  58. package/fesm2022/acorex-platform-module-system-insight-client-contracts-entity-catalog-settings.keys-CI-iHRBX.mjs.map +1 -0
  59. package/fesm2022/acorex-platform-module-system-insight-client-contracts-entity-catalog-slow-request.entity-CdQongZo.mjs +150 -0
  60. package/fesm2022/acorex-platform-module-system-insight-client-contracts-entity-catalog-slow-request.entity-CdQongZo.mjs.map +1 -0
  61. package/fesm2022/acorex-platform-module-system-insight-client-contracts-entity-catalog-trace-entry.entity-B_B8zT6c.mjs +342 -0
  62. package/fesm2022/acorex-platform-module-system-insight-client-contracts-entity-catalog-trace-entry.entity-B_B8zT6c.mjs.map +1 -0
  63. package/fesm2022/acorex-platform-module-system-insight-client-contracts-entity-catalog-trace-span.entity-BJGn3-6F.mjs +142 -0
  64. package/fesm2022/acorex-platform-module-system-insight-client-contracts-entity-catalog-trace-span.entity-BJGn3-6F.mjs.map +1 -0
  65. package/fesm2022/acorex-platform-module-system-insight-client-contracts-entity-catalog.mjs +2 -0
  66. package/fesm2022/acorex-platform-module-system-insight-client-contracts-entity-catalog.mjs.map +1 -0
  67. package/fesm2022/acorex-platform-module-system-insight-client-contracts.mjs.map +1 -1
  68. package/fesm2022/acorex-platform-module-system-insight-client-local-entities.mjs +42 -0
  69. package/fesm2022/acorex-platform-module-system-insight-client-local-entities.mjs.map +1 -0
  70. package/package.json +65 -1
  71. package/types/acorex-platform-module-system-insight-client-contracts-entities-alert-rule.d.ts +5 -0
  72. package/types/acorex-platform-module-system-insight-client-contracts-entities-audit-log.d.ts +5 -0
  73. package/types/acorex-platform-module-system-insight-client-contracts-entities-dashboard-widget-config.d.ts +5 -0
  74. package/types/acorex-platform-module-system-insight-client-contracts-entities-error-event.d.ts +5 -0
  75. package/types/acorex-platform-module-system-insight-client-contracts-entities-http-request-log.d.ts +5 -0
  76. package/types/acorex-platform-module-system-insight-client-contracts-entities-job-execution-log.d.ts +5 -0
  77. package/types/acorex-platform-module-system-insight-client-contracts-entities-log-entry.d.ts +5 -0
  78. package/types/acorex-platform-module-system-insight-client-contracts-entities-metric-point.d.ts +5 -0
  79. package/types/acorex-platform-module-system-insight-client-contracts-entities-observability-data-source.d.ts +5 -0
  80. package/types/acorex-platform-module-system-insight-client-contracts-entities-retention-policy.d.ts +5 -0
  81. package/types/acorex-platform-module-system-insight-client-contracts-entities-saved-view.d.ts +5 -0
  82. package/types/acorex-platform-module-system-insight-client-contracts-entities-slow-request.d.ts +5 -0
  83. package/types/acorex-platform-module-system-insight-client-contracts-entities-trace-entry.d.ts +5 -0
  84. package/types/acorex-platform-module-system-insight-client-contracts-entities-trace-span.d.ts +5 -0
  85. package/types/acorex-platform-module-system-insight-client-contracts-entity-catalog.d.ts +10 -0
  86. package/types/acorex-platform-module-system-insight-client-contracts.d.ts +2 -0
  87. package/types/acorex-platform-module-system-insight-client-local-entities.d.ts +12 -0
@@ -0,0 +1,445 @@
1
+ import { AXPWidgetsList } from '@acorex-platform/framework-shared/core';
2
+ import { AXPEntityCommandScope, AXPEntityQueryType, createAllQueryView } from '@acorex-platform/framework-shared/entity';
3
+
4
+ //#region ---- Command Keys ----
5
+ const AXMSystemInsightCommandKeys = {
6
+ LogEntry: {
7
+ Export: 'SystemInsight:LogEntry:Export',
8
+ Clear: 'SystemInsight:LogEntry:Clear',
9
+ },
10
+ AlertRule: {
11
+ CreateFromFilter: 'SystemInsight:AlertRule:CreateFromFilter',
12
+ },
13
+ Notification: {
14
+ SendAlert: 'SystemInsight:Notification:SendAlert',
15
+ },
16
+ Trace: {
17
+ OpenTimeline: 'SystemInsight:Trace:OpenTimeline',
18
+ },
19
+ };
20
+ //#endregion
21
+
22
+ //#region ---- Query Keys ----
23
+ const AXMSystemInsightQueryKeys = {
24
+ LogEntry: {
25
+ List: 'SystemInsight:LogEntry:List',
26
+ GetOne: 'SystemInsight:LogEntry:GetOne',
27
+ Aggregate: 'SystemInsight:LogEntry:Aggregate',
28
+ },
29
+ HttpRequestLog: {
30
+ List: 'SystemInsight:HttpRequestLog:List',
31
+ GetOne: 'SystemInsight:HttpRequestLog:GetOne',
32
+ },
33
+ JobExecutionLog: {
34
+ List: 'SystemInsight:JobExecutionLog:List',
35
+ GetOne: 'SystemInsight:JobExecutionLog:GetOne',
36
+ },
37
+ TraceEntry: {
38
+ List: 'SystemInsight:TraceEntry:List',
39
+ GetOne: 'SystemInsight:TraceEntry:GetOne',
40
+ },
41
+ TraceSpan: {
42
+ List: 'SystemInsight:TraceSpan:List',
43
+ GetOne: 'SystemInsight:TraceSpan:GetOne',
44
+ },
45
+ TraceTimeline: {
46
+ Get: 'SystemInsight:TraceTimeline:Get',
47
+ },
48
+ ErrorEvent: {
49
+ List: 'SystemInsight:ErrorEvent:List',
50
+ GetOne: 'SystemInsight:ErrorEvent:GetOne',
51
+ Aggregate: 'SystemInsight:ErrorEvent:Aggregate',
52
+ },
53
+ SlowRequest: {
54
+ List: 'SystemInsight:SlowRequest:List',
55
+ GetOne: 'SystemInsight:SlowRequest:GetOne',
56
+ },
57
+ MetricPoint: {
58
+ List: 'SystemInsight:MetricPoint:List',
59
+ GetOne: 'SystemInsight:MetricPoint:GetOne',
60
+ Range: 'SystemInsight:MetricPoint:Range',
61
+ },
62
+ };
63
+ //#endregion
64
+
65
+ const config = {
66
+ i18n: 'system-insight',
67
+ };
68
+ const RootConfig = {
69
+ config,
70
+ module: {
71
+ route: 'system-insight',
72
+ module: 'system-insight',
73
+ name: 'SystemInsight',
74
+ title: '@system-insight:module.title',
75
+ icon: 'fa-light fa-monitor-waveform',
76
+ },
77
+ entities: {
78
+ auditLog: {
79
+ name: 'AuditLog',
80
+ title: '@system-insight:logs.entities.audit-log.title',
81
+ titlePlural: '@system-insight:logs.entities.audit-log.plural',
82
+ icon: 'fa-light fa-file-code',
83
+ },
84
+ logEntry: {
85
+ name: 'LogEntry',
86
+ title: '@system-insight:entities.log-entry.title',
87
+ titlePlural: '@system-insight:entities.log-entry.plural',
88
+ icon: 'fa-light fa-file-lines',
89
+ },
90
+ httpRequestLog: {
91
+ name: 'HttpRequestLog',
92
+ title: '@system-insight:entities.http-request-log.title',
93
+ titlePlural: '@system-insight:entities.http-request-log.plural',
94
+ icon: 'fa-light fa-globe',
95
+ },
96
+ jobExecutionLog: {
97
+ name: 'JobExecutionLog',
98
+ title: '@system-insight:entities.job-execution-log.title',
99
+ titlePlural: '@system-insight:entities.job-execution-log.plural',
100
+ icon: 'fa-light fa-clock',
101
+ },
102
+ traceEntry: {
103
+ name: 'TraceEntry',
104
+ title: '@system-insight:entities.trace-entry.title',
105
+ titlePlural: '@system-insight:entities.trace-entry.plural',
106
+ icon: 'fa-light fa-route',
107
+ },
108
+ traceSpan: {
109
+ name: 'TraceSpan',
110
+ title: '@system-insight:entities.trace-span.title',
111
+ titlePlural: '@system-insight:entities.trace-span.plural',
112
+ icon: 'fa-light fa-diagram-project',
113
+ },
114
+ errorEvent: {
115
+ name: 'ErrorEvent',
116
+ title: '@system-insight:entities.error-event.title',
117
+ titlePlural: '@system-insight:entities.error-event.plural',
118
+ icon: 'fa-light fa-circle-exclamation',
119
+ },
120
+ slowRequest: {
121
+ name: 'SlowRequest',
122
+ title: '@system-insight:entities.slow-request.title',
123
+ titlePlural: '@system-insight:entities.slow-request.plural',
124
+ icon: 'fa-light fa-hourglass-half',
125
+ },
126
+ metricPoint: {
127
+ name: 'MetricPoint',
128
+ title: '@system-insight:entities.metric-point.title',
129
+ titlePlural: '@system-insight:entities.metric-point.plural',
130
+ icon: 'fa-light fa-chart-line',
131
+ },
132
+ savedView: {
133
+ name: 'SavedView',
134
+ title: '@system-insight:entities.saved-view.title',
135
+ titlePlural: '@system-insight:entities.saved-view.plural',
136
+ icon: 'fa-light fa-bookmark',
137
+ },
138
+ alertRule: {
139
+ name: 'AlertRule',
140
+ title: '@system-insight:entities.alert-rule.title',
141
+ titlePlural: '@system-insight:entities.alert-rule.plural',
142
+ icon: 'fa-light fa-bell',
143
+ },
144
+ observabilityDataSource: {
145
+ name: 'ObservabilityDataSource',
146
+ title: '@system-insight:entities.observability-data-source.title',
147
+ titlePlural: '@system-insight:entities.observability-data-source.plural',
148
+ icon: 'fa-light fa-database',
149
+ },
150
+ retentionPolicy: {
151
+ name: 'RetentionPolicy',
152
+ title: '@system-insight:entities.retention-policy.title',
153
+ titlePlural: '@system-insight:entities.retention-policy.plural',
154
+ icon: 'fa-light fa-calendar-clock',
155
+ },
156
+ dashboardWidgetConfig: {
157
+ name: 'DashboardWidgetConfig',
158
+ title: '@system-insight:entities.dashboard-widget-config.title',
159
+ titlePlural: '@system-insight:entities.dashboard-widget-config.plural',
160
+ icon: 'fa-light fa-grid-2',
161
+ },
162
+ },
163
+ };
164
+
165
+ const listFieldOptions = {
166
+ filter: { inline: { enabled: true }, advance: { enabled: true } },
167
+ sort: { enabled: true },
168
+ };
169
+ const readOnlyCrud = async () => {
170
+ throw new Error('Observability data is read-only');
171
+ };
172
+ async function jobExecutionLogEntityFactory() {
173
+ const i18n = RootConfig.config.i18n;
174
+ const properties = [
175
+ {
176
+ name: 'id',
177
+ title: '@system-insight:fields.id',
178
+ groupId: 'general',
179
+ schema: { dataType: 'string', interface: { type: AXPWidgetsList.Editors.TextBox } },
180
+ options: listFieldOptions,
181
+ },
182
+ {
183
+ name: 'timestamp',
184
+ title: '@system-insight:fields.timestamp',
185
+ groupId: 'general',
186
+ schema: { dataType: 'date', interface: { type: AXPWidgetsList.Editors.DateTimeBox } },
187
+ options: listFieldOptions,
188
+ },
189
+ {
190
+ name: 'level',
191
+ title: '@system-insight:fields.level',
192
+ groupId: 'general',
193
+ schema: { dataType: 'string', interface: { type: AXPWidgetsList.Editors.TextBox } },
194
+ options: listFieldOptions,
195
+ },
196
+ {
197
+ name: 'message',
198
+ title: '@system-insight:fields.message',
199
+ groupId: 'general',
200
+ schema: { dataType: 'string', interface: { type: AXPWidgetsList.Editors.TextBox } },
201
+ options: listFieldOptions,
202
+ },
203
+ {
204
+ name: 'requestId',
205
+ title: '@system-insight:fields.request-id',
206
+ groupId: 'general',
207
+ schema: { dataType: 'string', interface: { type: AXPWidgetsList.Editors.TextBox } },
208
+ options: listFieldOptions,
209
+ },
210
+ {
211
+ name: 'traceId',
212
+ title: '@system-insight:fields.trace-id',
213
+ groupId: 'general',
214
+ schema: { dataType: 'string', interface: { type: AXPWidgetsList.Editors.TextBox } },
215
+ options: listFieldOptions,
216
+ },
217
+ {
218
+ name: 'spanId',
219
+ title: '@system-insight:fields.span-id',
220
+ groupId: 'general',
221
+ schema: { dataType: 'string', interface: { type: AXPWidgetsList.Editors.TextBox } },
222
+ options: listFieldOptions,
223
+ },
224
+ {
225
+ name: 'userId',
226
+ title: '@system-insight:fields.user-id',
227
+ groupId: 'general',
228
+ schema: {
229
+ dataType: 'string',
230
+ nullable: true,
231
+ readonly: true,
232
+ interface: {
233
+ type: AXPWidgetsList.Editors.LookupBox,
234
+ options: {
235
+ entity: 'SecurityManagement.User',
236
+ textField: 'displayName',
237
+ valueField: 'id',
238
+ look: 'select',
239
+ readonly: true,
240
+ disabled: true,
241
+ expose: [
242
+ { source: 'id', target: 'user.id' },
243
+ { source: 'displayName', target: 'user.displayName' },
244
+ ],
245
+ },
246
+ },
247
+ },
248
+ options: listFieldOptions,
249
+ },
250
+ {
251
+ name: 'tenantId',
252
+ title: '@system-insight:fields.tenant-id',
253
+ groupId: 'general',
254
+ schema: {
255
+ dataType: 'string',
256
+ nullable: true,
257
+ readonly: true,
258
+ interface: {
259
+ type: AXPWidgetsList.Editors.LookupBox,
260
+ options: {
261
+ entity: 'TenantManagement.Tenant',
262
+ textField: 'title',
263
+ valueField: 'id',
264
+ look: 'select',
265
+ readonly: true,
266
+ disabled: true,
267
+ expose: [
268
+ { source: 'id', target: 'tenant.id' },
269
+ { source: 'title', target: 'tenant.title' },
270
+ ],
271
+ },
272
+ },
273
+ },
274
+ options: listFieldOptions,
275
+ },
276
+ {
277
+ name: 'applicationId',
278
+ title: '@system-insight:fields.application-id',
279
+ groupId: 'general',
280
+ schema: {
281
+ dataType: 'string',
282
+ nullable: true,
283
+ readonly: true,
284
+ interface: {
285
+ type: AXPWidgetsList.Editors.LookupBox,
286
+ options: {
287
+ entity: 'ApplicationManagement.Application',
288
+ textField: 'title',
289
+ valueField: 'id',
290
+ look: 'select',
291
+ readonly: true,
292
+ disabled: true,
293
+ expose: [
294
+ { source: 'id', target: 'application.id' },
295
+ { source: 'title', target: 'application.title' },
296
+ ],
297
+ },
298
+ },
299
+ },
300
+ options: listFieldOptions,
301
+ },
302
+ {
303
+ name: 'serviceName',
304
+ title: '@system-insight:fields.service-name',
305
+ groupId: 'general',
306
+ schema: { dataType: 'string', interface: { type: AXPWidgetsList.Editors.TextBox } },
307
+ options: listFieldOptions,
308
+ },
309
+ {
310
+ name: 'module',
311
+ title: '@system-insight:fields.module',
312
+ groupId: 'general',
313
+ schema: { dataType: 'string', interface: { type: AXPWidgetsList.Editors.TextBox } },
314
+ options: listFieldOptions,
315
+ },
316
+ {
317
+ name: 'entity',
318
+ title: '@system-insight:fields.entity',
319
+ groupId: 'general',
320
+ schema: { dataType: 'string', interface: { type: AXPWidgetsList.Editors.TextBox } },
321
+ options: listFieldOptions,
322
+ },
323
+ {
324
+ name: 'operation',
325
+ title: '@system-insight:fields.operation',
326
+ groupId: 'general',
327
+ schema: { dataType: 'string', interface: { type: AXPWidgetsList.Editors.TextBox } },
328
+ options: listFieldOptions,
329
+ },
330
+ {
331
+ name: 'jobId',
332
+ title: '@system-insight:fields.job-id',
333
+ groupId: 'general',
334
+ schema: { dataType: 'string', interface: { type: AXPWidgetsList.Editors.TextBox } },
335
+ options: listFieldOptions,
336
+ },
337
+ {
338
+ name: 'jobName',
339
+ title: '@system-insight:fields.job-name',
340
+ groupId: 'general',
341
+ schema: { dataType: 'string', interface: { type: AXPWidgetsList.Editors.TextBox } },
342
+ options: listFieldOptions,
343
+ },
344
+ {
345
+ name: 'status',
346
+ title: '@system-insight:fields.status',
347
+ groupId: 'general',
348
+ schema: { dataType: 'string', interface: { type: AXPWidgetsList.Editors.TextBox } },
349
+ options: listFieldOptions,
350
+ },
351
+ {
352
+ name: 'duration',
353
+ title: '@system-insight:fields.duration',
354
+ groupId: 'general',
355
+ schema: { dataType: 'number', interface: { type: AXPWidgetsList.Editors.NumberBox } },
356
+ options: listFieldOptions,
357
+ },
358
+ {
359
+ name: 'error',
360
+ title: '@system-insight:fields.error',
361
+ groupId: 'general',
362
+ schema: { dataType: 'string', interface: { type: AXPWidgetsList.Editors.TextBox } },
363
+ options: listFieldOptions,
364
+ },
365
+ ];
366
+ return {
367
+ module: RootConfig.module.name,
368
+ name: RootConfig.entities.jobExecutionLog.name,
369
+ title: RootConfig.entities.jobExecutionLog.title,
370
+ icon: RootConfig.entities.jobExecutionLog.icon,
371
+ formats: {
372
+ individual: RootConfig.entities.jobExecutionLog.title,
373
+ plural: RootConfig.entities.jobExecutionLog.titlePlural,
374
+ searchResult: {
375
+ title: '{{ jobName }}',
376
+ description: RootConfig.entities.jobExecutionLog.title,
377
+ },
378
+ },
379
+ groups: [{ id: 'general', title: `@${i18n}:groups.general` }],
380
+ properties,
381
+ columns: [
382
+ { name: 'timestamp' },
383
+ { name: 'jobName' },
384
+ { name: 'status' },
385
+ { name: 'duration' },
386
+ { name: 'serviceName' },
387
+ ],
388
+ queries: {
389
+ list: { execute: AXMSystemInsightQueryKeys.JobExecutionLog.List, type: AXPEntityQueryType.List },
390
+ byKey: { execute: AXMSystemInsightQueryKeys.JobExecutionLog.GetOne, type: AXPEntityQueryType.Single },
391
+ },
392
+ commands: {
393
+ create: { execute: readOnlyCrud },
394
+ update: { execute: readOnlyCrud },
395
+ delete: { execute: readOnlyCrud },
396
+ },
397
+ interfaces: {
398
+ master: {
399
+ list: {
400
+ actions: [
401
+ {
402
+ title: '@general:actions.detail.title',
403
+ icon: 'fa-light fa-eye',
404
+ command: 'Entity:View',
405
+ priority: 'primary',
406
+ type: 'view',
407
+ scope: AXPEntityCommandScope.Individual,
408
+ default: true,
409
+ },
410
+ ],
411
+ views: [
412
+ createAllQueryView({
413
+ sorts: [{ name: 'timestamp', dir: 'desc' }],
414
+ }),
415
+ ],
416
+ },
417
+ single: {
418
+ title: '{{ jobName }}',
419
+ sections: [{ id: 'general' }],
420
+ properties: properties.map((property) => ({
421
+ name: property.name,
422
+ layout: { positions: { lg: { colSpan: 6 } } },
423
+ })),
424
+ actions: [
425
+ {
426
+ title: `@${i18n}:actions.view-trace.title`,
427
+ command: AXMSystemInsightCommandKeys.Trace.OpenTimeline,
428
+ priority: 'secondary',
429
+ type: 'view',
430
+ scope: AXPEntityCommandScope.Individual,
431
+ hidden: `{{ !context.eval("traceId") }}`,
432
+ },
433
+ ],
434
+ },
435
+ },
436
+ },
437
+ };
438
+ }
439
+
440
+ /**
441
+ * Generated bundle index. Do not edit.
442
+ */
443
+
444
+ export { jobExecutionLogEntityFactory };
445
+ //# sourceMappingURL=acorex-platform-module-system-insight-client-contracts-entities-job-execution-log.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"acorex-platform-module-system-insight-client-contracts-entities-job-execution-log.mjs","sources":["../../../../libs/modules/system-insight/contracts/src/commands.keys.ts","../../../../libs/modules/system-insight/contracts/src/queries.keys.ts","../../../../libs/modules/system-insight/contracts/src/root-config.ts","../../../../libs/modules/system-insight/contracts/src/entities/job-execution-log/job-execution-log.entity.ts","../../../../libs/modules/system-insight/contracts/src/acorex-platform-module-system-insight-client-contracts-entities-job-execution-log.ts"],"sourcesContent":["//#region ---- Command Keys ----\n\nexport const AXMSystemInsightCommandKeys = {\n LogEntry: {\n Export: 'SystemInsight:LogEntry:Export',\n Clear: 'SystemInsight:LogEntry:Clear',\n },\n AlertRule: {\n CreateFromFilter: 'SystemInsight:AlertRule:CreateFromFilter',\n },\n Notification: {\n SendAlert: 'SystemInsight:Notification:SendAlert',\n },\n Trace: {\n OpenTimeline: 'SystemInsight:Trace:OpenTimeline',\n },\n} as const;\n\n//#endregion\n","//#region ---- Query Keys ----\n\nexport const AXMSystemInsightQueryKeys = {\n LogEntry: {\n List: 'SystemInsight:LogEntry:List',\n GetOne: 'SystemInsight:LogEntry:GetOne',\n Aggregate: 'SystemInsight:LogEntry:Aggregate',\n },\n HttpRequestLog: {\n List: 'SystemInsight:HttpRequestLog:List',\n GetOne: 'SystemInsight:HttpRequestLog:GetOne',\n },\n JobExecutionLog: {\n List: 'SystemInsight:JobExecutionLog:List',\n GetOne: 'SystemInsight:JobExecutionLog:GetOne',\n },\n TraceEntry: {\n List: 'SystemInsight:TraceEntry:List',\n GetOne: 'SystemInsight:TraceEntry:GetOne',\n },\n TraceSpan: {\n List: 'SystemInsight:TraceSpan:List',\n GetOne: 'SystemInsight:TraceSpan:GetOne',\n },\n TraceTimeline: {\n Get: 'SystemInsight:TraceTimeline:Get',\n },\n ErrorEvent: {\n List: 'SystemInsight:ErrorEvent:List',\n GetOne: 'SystemInsight:ErrorEvent:GetOne',\n Aggregate: 'SystemInsight:ErrorEvent:Aggregate',\n },\n SlowRequest: {\n List: 'SystemInsight:SlowRequest:List',\n GetOne: 'SystemInsight:SlowRequest:GetOne',\n },\n MetricPoint: {\n List: 'SystemInsight:MetricPoint:List',\n GetOne: 'SystemInsight:MetricPoint:GetOne',\n Range: 'SystemInsight:MetricPoint:Range',\n },\n} as const;\n\n//#endregion\n","const config = {\n i18n: 'system-insight',\n};\n\nexport const RootConfig = {\n config,\n module: {\n route: 'system-insight',\n module: 'system-insight',\n name: 'SystemInsight',\n title: '@system-insight:module.title',\n icon: 'fa-light fa-monitor-waveform',\n },\n entities: {\n auditLog: {\n name: 'AuditLog',\n title: '@system-insight:logs.entities.audit-log.title',\n titlePlural: '@system-insight:logs.entities.audit-log.plural',\n icon: 'fa-light fa-file-code',\n },\n logEntry: {\n name: 'LogEntry',\n title: '@system-insight:entities.log-entry.title',\n titlePlural: '@system-insight:entities.log-entry.plural',\n icon: 'fa-light fa-file-lines',\n },\n httpRequestLog: {\n name: 'HttpRequestLog',\n title: '@system-insight:entities.http-request-log.title',\n titlePlural: '@system-insight:entities.http-request-log.plural',\n icon: 'fa-light fa-globe',\n },\n jobExecutionLog: {\n name: 'JobExecutionLog',\n title: '@system-insight:entities.job-execution-log.title',\n titlePlural: '@system-insight:entities.job-execution-log.plural',\n icon: 'fa-light fa-clock',\n },\n traceEntry: {\n name: 'TraceEntry',\n title: '@system-insight:entities.trace-entry.title',\n titlePlural: '@system-insight:entities.trace-entry.plural',\n icon: 'fa-light fa-route',\n },\n traceSpan: {\n name: 'TraceSpan',\n title: '@system-insight:entities.trace-span.title',\n titlePlural: '@system-insight:entities.trace-span.plural',\n icon: 'fa-light fa-diagram-project',\n },\n errorEvent: {\n name: 'ErrorEvent',\n title: '@system-insight:entities.error-event.title',\n titlePlural: '@system-insight:entities.error-event.plural',\n icon: 'fa-light fa-circle-exclamation',\n },\n slowRequest: {\n name: 'SlowRequest',\n title: '@system-insight:entities.slow-request.title',\n titlePlural: '@system-insight:entities.slow-request.plural',\n icon: 'fa-light fa-hourglass-half',\n },\n metricPoint: {\n name: 'MetricPoint',\n title: '@system-insight:entities.metric-point.title',\n titlePlural: '@system-insight:entities.metric-point.plural',\n icon: 'fa-light fa-chart-line',\n },\n savedView: {\n name: 'SavedView',\n title: '@system-insight:entities.saved-view.title',\n titlePlural: '@system-insight:entities.saved-view.plural',\n icon: 'fa-light fa-bookmark',\n },\n alertRule: {\n name: 'AlertRule',\n title: '@system-insight:entities.alert-rule.title',\n titlePlural: '@system-insight:entities.alert-rule.plural',\n icon: 'fa-light fa-bell',\n },\n observabilityDataSource: {\n name: 'ObservabilityDataSource',\n title: '@system-insight:entities.observability-data-source.title',\n titlePlural: '@system-insight:entities.observability-data-source.plural',\n icon: 'fa-light fa-database',\n },\n retentionPolicy: {\n name: 'RetentionPolicy',\n title: '@system-insight:entities.retention-policy.title',\n titlePlural: '@system-insight:entities.retention-policy.plural',\n icon: 'fa-light fa-calendar-clock',\n },\n dashboardWidgetConfig: {\n name: 'DashboardWidgetConfig',\n title: '@system-insight:entities.dashboard-widget-config.title',\n titlePlural: '@system-insight:entities.dashboard-widget-config.plural',\n icon: 'fa-light fa-grid-2',\n },\n },\n} as const;\n","import { AXPWidgetsList } from '@acorex-platform/framework-shared/core';\nimport {\n AXPEntity,\n AXPEntityCommandScope,\n AXPEntityQueryType,\n createAllQueryView,\n} from '@acorex-platform/framework-shared/entity';\nimport { AXMSystemInsightCommandKeys } from '../../commands.keys';\nimport { AXMSystemInsightQueryKeys } from '../../queries.keys';\nimport { RootConfig } from '../../root-config';\n\nconst listFieldOptions = {\n filter: { inline: { enabled: true }, advance: { enabled: true } },\n sort: { enabled: true },\n};\n\nconst readOnlyCrud = async () => {\n throw new Error('Observability data is read-only');\n};\n\nexport async function jobExecutionLogEntityFactory(): Promise<AXPEntity> {\n const i18n = RootConfig.config.i18n;\n\n const properties: AXPEntity['properties'] = [\n {\n name: 'id',\n title: '@system-insight:fields.id',\n groupId: 'general',\n schema: { dataType: 'string', interface: { type: AXPWidgetsList.Editors.TextBox } },\n options: listFieldOptions,\n },\n {\n name: 'timestamp',\n title: '@system-insight:fields.timestamp',\n groupId: 'general',\n schema: { dataType: 'date', interface: { type: AXPWidgetsList.Editors.DateTimeBox } },\n options: listFieldOptions,\n },\n {\n name: 'level',\n title: '@system-insight:fields.level',\n groupId: 'general',\n schema: { dataType: 'string', interface: { type: AXPWidgetsList.Editors.TextBox } },\n options: listFieldOptions,\n },\n {\n name: 'message',\n title: '@system-insight:fields.message',\n groupId: 'general',\n schema: { dataType: 'string', interface: { type: AXPWidgetsList.Editors.TextBox } },\n options: listFieldOptions,\n },\n {\n name: 'requestId',\n title: '@system-insight:fields.request-id',\n groupId: 'general',\n schema: { dataType: 'string', interface: { type: AXPWidgetsList.Editors.TextBox } },\n options: listFieldOptions,\n },\n {\n name: 'traceId',\n title: '@system-insight:fields.trace-id',\n groupId: 'general',\n schema: { dataType: 'string', interface: { type: AXPWidgetsList.Editors.TextBox } },\n options: listFieldOptions,\n },\n {\n name: 'spanId',\n title: '@system-insight:fields.span-id',\n groupId: 'general',\n schema: { dataType: 'string', interface: { type: AXPWidgetsList.Editors.TextBox } },\n options: listFieldOptions,\n },\n {\n name: 'userId',\n title: '@system-insight:fields.user-id',\n groupId: 'general',\n schema: {\n dataType: 'string',\n nullable: true,\n readonly: true,\n interface: {\n type: AXPWidgetsList.Editors.LookupBox,\n options: {\n entity: 'SecurityManagement.User',\n textField: 'displayName',\n valueField: 'id',\n look: 'select',\n readonly: true,\n disabled: true,\n expose: [\n { source: 'id', target: 'user.id' },\n { source: 'displayName', target: 'user.displayName' },\n ],\n },\n },\n },\n options: listFieldOptions,\n },\n {\n name: 'tenantId',\n title: '@system-insight:fields.tenant-id',\n groupId: 'general',\n schema: {\n dataType: 'string',\n nullable: true,\n readonly: true,\n interface: {\n type: AXPWidgetsList.Editors.LookupBox,\n options: {\n entity: 'TenantManagement.Tenant',\n textField: 'title',\n valueField: 'id',\n look: 'select',\n readonly: true,\n disabled: true,\n expose: [\n { source: 'id', target: 'tenant.id' },\n { source: 'title', target: 'tenant.title' },\n ],\n },\n },\n },\n options: listFieldOptions,\n },\n {\n name: 'applicationId',\n title: '@system-insight:fields.application-id',\n groupId: 'general',\n schema: {\n dataType: 'string',\n nullable: true,\n readonly: true,\n interface: {\n type: AXPWidgetsList.Editors.LookupBox,\n options: {\n entity: 'ApplicationManagement.Application',\n textField: 'title',\n valueField: 'id',\n look: 'select',\n readonly: true,\n disabled: true,\n expose: [\n { source: 'id', target: 'application.id' },\n { source: 'title', target: 'application.title' },\n ],\n },\n },\n },\n options: listFieldOptions,\n },\n {\n name: 'serviceName',\n title: '@system-insight:fields.service-name',\n groupId: 'general',\n schema: { dataType: 'string', interface: { type: AXPWidgetsList.Editors.TextBox } },\n options: listFieldOptions,\n },\n {\n name: 'module',\n title: '@system-insight:fields.module',\n groupId: 'general',\n schema: { dataType: 'string', interface: { type: AXPWidgetsList.Editors.TextBox } },\n options: listFieldOptions,\n },\n {\n name: 'entity',\n title: '@system-insight:fields.entity',\n groupId: 'general',\n schema: { dataType: 'string', interface: { type: AXPWidgetsList.Editors.TextBox } },\n options: listFieldOptions,\n },\n {\n name: 'operation',\n title: '@system-insight:fields.operation',\n groupId: 'general',\n schema: { dataType: 'string', interface: { type: AXPWidgetsList.Editors.TextBox } },\n options: listFieldOptions,\n },\n {\n name: 'jobId',\n title: '@system-insight:fields.job-id',\n groupId: 'general',\n schema: { dataType: 'string', interface: { type: AXPWidgetsList.Editors.TextBox } },\n options: listFieldOptions,\n },\n {\n name: 'jobName',\n title: '@system-insight:fields.job-name',\n groupId: 'general',\n schema: { dataType: 'string', interface: { type: AXPWidgetsList.Editors.TextBox } },\n options: listFieldOptions,\n },\n {\n name: 'status',\n title: '@system-insight:fields.status',\n groupId: 'general',\n schema: { dataType: 'string', interface: { type: AXPWidgetsList.Editors.TextBox } },\n options: listFieldOptions,\n },\n {\n name: 'duration',\n title: '@system-insight:fields.duration',\n groupId: 'general',\n schema: { dataType: 'number', interface: { type: AXPWidgetsList.Editors.NumberBox } },\n options: listFieldOptions,\n },\n {\n name: 'error',\n title: '@system-insight:fields.error',\n groupId: 'general',\n schema: { dataType: 'string', interface: { type: AXPWidgetsList.Editors.TextBox } },\n options: listFieldOptions,\n },\n ];\n\n return {\n module: RootConfig.module.name,\n name: RootConfig.entities.jobExecutionLog.name,\n title: RootConfig.entities.jobExecutionLog.title,\n icon: RootConfig.entities.jobExecutionLog.icon,\n formats: {\n individual: RootConfig.entities.jobExecutionLog.title,\n plural: RootConfig.entities.jobExecutionLog.titlePlural,\n searchResult: {\n title: '{{ jobName }}',\n description: RootConfig.entities.jobExecutionLog.title,\n },\n },\n groups: [{ id: 'general', title: `@${i18n}:groups.general` }],\n properties,\n columns: [\n { name: 'timestamp' },\n { name: 'jobName' },\n { name: 'status' },\n { name: 'duration' },\n { name: 'serviceName' },\n ],\n queries: {\n list: { execute: AXMSystemInsightQueryKeys.JobExecutionLog.List, type: AXPEntityQueryType.List },\n byKey: { execute: AXMSystemInsightQueryKeys.JobExecutionLog.GetOne, type: AXPEntityQueryType.Single },\n },\n commands: {\n create: { execute: readOnlyCrud },\n update: { execute: readOnlyCrud },\n delete: { execute: readOnlyCrud },\n },\n interfaces: {\n master: {\n list: {\n actions: [\n {\n title: '@general:actions.detail.title',\n icon: 'fa-light fa-eye',\n command: 'Entity:View',\n priority: 'primary',\n type: 'view',\n scope: AXPEntityCommandScope.Individual,\n default: true,\n },\n ],\n views: [\n createAllQueryView({\n sorts: [{ name: 'timestamp', dir: 'desc' }],\n }),\n ],\n },\n single: {\n title: '{{ jobName }}',\n sections: [{ id: 'general' }],\n properties: properties.map((property) => ({\n name: property.name,\n layout: { positions: { lg: { colSpan: 6 } } },\n })),\n actions: [\n {\n title: `@${i18n}:actions.view-trace.title`,\n command: AXMSystemInsightCommandKeys.Trace.OpenTimeline,\n priority: 'secondary',\n type: 'view',\n scope: AXPEntityCommandScope.Individual,\n hidden: `{{ !context.eval(\"traceId\") }}`,\n },\n ],\n },\n },\n },\n };\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './entity-entry.job-execution-log';\n"],"names":[],"mappings":";;;AAAA;AAEO,MAAM,2BAA2B,GAAG;AACzC,IAAA,QAAQ,EAAE;AACR,QAAA,MAAM,EAAE,+BAA+B;AACvC,QAAA,KAAK,EAAE,8BAA8B;AACtC,KAAA;AACD,IAAA,SAAS,EAAE;AACT,QAAA,gBAAgB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