@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.
- package/fesm2022/acorex-platform-module-system-insight-client-contracts-entities-alert-rule.mjs +163 -0
- package/fesm2022/acorex-platform-module-system-insight-client-contracts-entities-alert-rule.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-system-insight-client-contracts-entities-audit-log.mjs +741 -0
- package/fesm2022/acorex-platform-module-system-insight-client-contracts-entities-audit-log.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-system-insight-client-contracts-entities-dashboard-widget-config.mjs +161 -0
- package/fesm2022/acorex-platform-module-system-insight-client-contracts-entities-dashboard-widget-config.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-system-insight-client-contracts-entities-error-event.mjs +365 -0
- package/fesm2022/acorex-platform-module-system-insight-client-contracts-entities-error-event.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-system-insight-client-contracts-entities-http-request-log.mjs +439 -0
- package/fesm2022/acorex-platform-module-system-insight-client-contracts-entities-http-request-log.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-system-insight-client-contracts-entities-job-execution-log.mjs +445 -0
- package/fesm2022/acorex-platform-module-system-insight-client-contracts-entities-job-execution-log.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-system-insight-client-contracts-entities-log-entry.mjs +730 -0
- package/fesm2022/acorex-platform-module-system-insight-client-contracts-entities-log-entry.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-system-insight-client-contracts-entities-metric-point.mjs +290 -0
- package/fesm2022/acorex-platform-module-system-insight-client-contracts-entities-metric-point.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-system-insight-client-contracts-entities-observability-data-source.mjs +161 -0
- package/fesm2022/acorex-platform-module-system-insight-client-contracts-entities-observability-data-source.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-system-insight-client-contracts-entities-retention-policy.mjs +182 -0
- package/fesm2022/acorex-platform-module-system-insight-client-contracts-entities-retention-policy.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-system-insight-client-contracts-entities-saved-view.mjs +162 -0
- package/fesm2022/acorex-platform-module-system-insight-client-contracts-entities-saved-view.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-system-insight-client-contracts-entities-slow-request.mjs +312 -0
- package/fesm2022/acorex-platform-module-system-insight-client-contracts-entities-slow-request.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-system-insight-client-contracts-entities-trace-entry.mjs +539 -0
- package/fesm2022/acorex-platform-module-system-insight-client-contracts-entities-trace-entry.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-system-insight-client-contracts-entities-trace-span.mjs +304 -0
- package/fesm2022/acorex-platform-module-system-insight-client-contracts-entities-trace-span.mjs.map +1 -0
- 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
- 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
- package/fesm2022/acorex-platform-module-system-insight-client-contracts-entity-catalog-alert-rule.entity-CVQ8zi2n.mjs +43 -0
- package/fesm2022/acorex-platform-module-system-insight-client-contracts-entity-catalog-alert-rule.entity-CVQ8zi2n.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-system-insight-client-contracts-entity-catalog-audit-log.entity-DUUbh-K4.mjs +638 -0
- package/fesm2022/acorex-platform-module-system-insight-client-contracts-entity-catalog-audit-log.entity-DUUbh-K4.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-system-insight-client-contracts-entity-catalog-commands.keys-yv865ABJ.mjs +20 -0
- package/fesm2022/acorex-platform-module-system-insight-client-contracts-entity-catalog-commands.keys-yv865ABJ.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-system-insight-client-contracts-entity-catalog-dashboard-widget-config.entity-CQPGHj3-.mjs +58 -0
- package/fesm2022/acorex-platform-module-system-insight-client-contracts-entity-catalog-dashboard-widget-config.entity-CQPGHj3-.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-system-insight-client-contracts-entity-catalog-error-event.entity-41bQET9n.mjs +203 -0
- package/fesm2022/acorex-platform-module-system-insight-client-contracts-entity-catalog-error-event.entity-41bQET9n.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-system-insight-client-contracts-entity-catalog-http-request-log.entity-DuUG39be.mjs +277 -0
- package/fesm2022/acorex-platform-module-system-insight-client-contracts-entity-catalog-http-request-log.entity-DuUG39be.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-system-insight-client-contracts-entity-catalog-job-execution-log.entity-DjScVny4.mjs +283 -0
- package/fesm2022/acorex-platform-module-system-insight-client-contracts-entity-catalog-job-execution-log.entity-DjScVny4.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-system-insight-client-contracts-entity-catalog-log-entry.entity-KhwOnohn.mjs +533 -0
- package/fesm2022/acorex-platform-module-system-insight-client-contracts-entity-catalog-log-entry.entity-KhwOnohn.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-system-insight-client-contracts-entity-catalog-metric-point.entity-kfxxSxvp.mjs +128 -0
- package/fesm2022/acorex-platform-module-system-insight-client-contracts-entity-catalog-metric-point.entity-kfxxSxvp.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-system-insight-client-contracts-entity-catalog-observability-data-source.entity-BM0wTN3C.mjs +58 -0
- package/fesm2022/acorex-platform-module-system-insight-client-contracts-entity-catalog-observability-data-source.entity-BM0wTN3C.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-system-insight-client-contracts-entity-catalog-queries.keys-C768fZe1.mjs +45 -0
- package/fesm2022/acorex-platform-module-system-insight-client-contracts-entity-catalog-queries.keys-C768fZe1.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-system-insight-client-contracts-entity-catalog-retention-policy.entity-BU_FXy6_.mjs +79 -0
- package/fesm2022/acorex-platform-module-system-insight-client-contracts-entity-catalog-retention-policy.entity-BU_FXy6_.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-system-insight-client-contracts-entity-catalog-saved-view.entity-BhhIVSRT.mjs +59 -0
- package/fesm2022/acorex-platform-module-system-insight-client-contracts-entity-catalog-saved-view.entity-BhhIVSRT.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-system-insight-client-contracts-entity-catalog-settings.keys-CI-iHRBX.mjs +38 -0
- package/fesm2022/acorex-platform-module-system-insight-client-contracts-entity-catalog-settings.keys-CI-iHRBX.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-system-insight-client-contracts-entity-catalog-slow-request.entity-CdQongZo.mjs +150 -0
- package/fesm2022/acorex-platform-module-system-insight-client-contracts-entity-catalog-slow-request.entity-CdQongZo.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-system-insight-client-contracts-entity-catalog-trace-entry.entity-B_B8zT6c.mjs +342 -0
- package/fesm2022/acorex-platform-module-system-insight-client-contracts-entity-catalog-trace-entry.entity-B_B8zT6c.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-system-insight-client-contracts-entity-catalog-trace-span.entity-BJGn3-6F.mjs +142 -0
- package/fesm2022/acorex-platform-module-system-insight-client-contracts-entity-catalog-trace-span.entity-BJGn3-6F.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-system-insight-client-contracts-entity-catalog.mjs +2 -0
- package/fesm2022/acorex-platform-module-system-insight-client-contracts-entity-catalog.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-system-insight-client-contracts.mjs.map +1 -1
- package/fesm2022/acorex-platform-module-system-insight-client-local-entities.mjs +42 -0
- package/fesm2022/acorex-platform-module-system-insight-client-local-entities.mjs.map +1 -0
- package/package.json +65 -1
- package/types/acorex-platform-module-system-insight-client-contracts-entities-alert-rule.d.ts +5 -0
- package/types/acorex-platform-module-system-insight-client-contracts-entities-audit-log.d.ts +5 -0
- package/types/acorex-platform-module-system-insight-client-contracts-entities-dashboard-widget-config.d.ts +5 -0
- package/types/acorex-platform-module-system-insight-client-contracts-entities-error-event.d.ts +5 -0
- package/types/acorex-platform-module-system-insight-client-contracts-entities-http-request-log.d.ts +5 -0
- package/types/acorex-platform-module-system-insight-client-contracts-entities-job-execution-log.d.ts +5 -0
- package/types/acorex-platform-module-system-insight-client-contracts-entities-log-entry.d.ts +5 -0
- package/types/acorex-platform-module-system-insight-client-contracts-entities-metric-point.d.ts +5 -0
- package/types/acorex-platform-module-system-insight-client-contracts-entities-observability-data-source.d.ts +5 -0
- package/types/acorex-platform-module-system-insight-client-contracts-entities-retention-policy.d.ts +5 -0
- package/types/acorex-platform-module-system-insight-client-contracts-entities-saved-view.d.ts +5 -0
- package/types/acorex-platform-module-system-insight-client-contracts-entities-slow-request.d.ts +5 -0
- package/types/acorex-platform-module-system-insight-client-contracts-entities-trace-entry.d.ts +5 -0
- package/types/acorex-platform-module-system-insight-client-contracts-entities-trace-span.d.ts +5 -0
- package/types/acorex-platform-module-system-insight-client-contracts-entity-catalog.d.ts +10 -0
- package/types/acorex-platform-module-system-insight-client-contracts.d.ts +2 -0
- package/types/acorex-platform-module-system-insight-client-local-entities.d.ts +12 -0
|
@@ -0,0 +1,533 @@
|
|
|
1
|
+
import { AXPWidgetsList } from '@acorex-platform/framework-shared/core';
|
|
2
|
+
import { AXPEntityCommandScope, AXPEntityQueryType, createAllQueryView, createQueryView } from '@acorex-platform/framework-shared/entity';
|
|
3
|
+
import { A as AXMSystemInsightCommandKeys } from './acorex-platform-module-system-insight-client-contracts-entity-catalog-commands.keys-yv865ABJ.mjs';
|
|
4
|
+
import { A as AXMSystemInsightQueryKeys } from './acorex-platform-module-system-insight-client-contracts-entity-catalog-queries.keys-C768fZe1.mjs';
|
|
5
|
+
import { A as AXP_SYSTEM_INSIGHT_SETTING_DEFAULTS, a as AXPSystemInsightSettings } from './acorex-platform-module-system-insight-client-contracts-entity-catalog-settings.keys-CI-iHRBX.mjs';
|
|
6
|
+
import { R as RootConfig } from './acorex-platform-module-system-insight-client-contracts-entity-catalog-acorex-platform-module-system-insight-client-contracts-entity-catalog-L_KQ_ZRS.mjs';
|
|
7
|
+
|
|
8
|
+
/**
|
|
9
|
+
* Administration capabilities used by this module.
|
|
10
|
+
* Domain capability keys for this module. Root groups live in `AXPCommonPermissionGroupKeys` (common contracts).
|
|
11
|
+
*/
|
|
12
|
+
const AXPAdministrationPermissionKeys = {
|
|
13
|
+
Access: 'Administration:Permission:Access',
|
|
14
|
+
MaintainUsersAndRoles: 'Administration:Permission:MaintainUsersAndRoles',
|
|
15
|
+
ManageSessions: 'Administration:Permission:ManageSessions',
|
|
16
|
+
MaintainPolicies: 'Administration:Permission:MaintainPolicies',
|
|
17
|
+
ViewIntegrations: 'Administration:Permission:ViewIntegrations',
|
|
18
|
+
MaintainConnections: 'Administration:Permission:MaintainConnections',
|
|
19
|
+
MaintainWorkflows: 'Administration:Permission:MaintainWorkflows',
|
|
20
|
+
ManageWorkflowActions: 'Administration:Permission:ManageWorkflowActions',
|
|
21
|
+
ViewRules: 'Administration:Permission:ViewRules',
|
|
22
|
+
MaintainRules: 'Administration:Permission:MaintainRules',
|
|
23
|
+
ManageRuleActions: 'Administration:Permission:ManageRuleActions',
|
|
24
|
+
MaintainAi: 'Administration:Permission:MaintainAi',
|
|
25
|
+
UseAiAssist: 'Administration:Permission:UseAiAssist',
|
|
26
|
+
MaintainDashboards: 'Administration:Permission:MaintainDashboards',
|
|
27
|
+
ViewJobs: 'Administration:Permission:ViewJobs',
|
|
28
|
+
ManageJobActions: 'Administration:Permission:ManageJobActions',
|
|
29
|
+
ViewObservability: 'Administration:Permission:ViewObservability',
|
|
30
|
+
MaintainObservability: 'Administration:Permission:MaintainObservability',
|
|
31
|
+
};
|
|
32
|
+
/**
|
|
33
|
+
* @deprecated Prefer {@link AXPAdministrationPermissionKeys}.
|
|
34
|
+
* Legacy nested shape kept so existing imports compile during migration.
|
|
35
|
+
*/
|
|
36
|
+
const AXMSystemInsightPermissionKeys = {
|
|
37
|
+
SystemInsight: {
|
|
38
|
+
Logs: { View: AXPAdministrationPermissionKeys.ViewObservability },
|
|
39
|
+
Traces: { View: AXPAdministrationPermissionKeys.ViewObservability },
|
|
40
|
+
Metrics: { View: AXPAdministrationPermissionKeys.ViewObservability },
|
|
41
|
+
Errors: { View: AXPAdministrationPermissionKeys.ViewObservability },
|
|
42
|
+
Alerts: { Manage: AXPAdministrationPermissionKeys.MaintainObservability },
|
|
43
|
+
SavedViews: { Manage: AXPAdministrationPermissionKeys.MaintainObservability },
|
|
44
|
+
Admin: AXPAdministrationPermissionKeys.MaintainObservability,
|
|
45
|
+
Management: AXPAdministrationPermissionKeys.MaintainObservability,
|
|
46
|
+
AuditLog: {
|
|
47
|
+
Management: AXPAdministrationPermissionKeys.MaintainObservability,
|
|
48
|
+
},
|
|
49
|
+
},
|
|
50
|
+
};
|
|
51
|
+
|
|
52
|
+
const listFieldOptions = {
|
|
53
|
+
filter: { inline: { enabled: true }, advance: { enabled: true } },
|
|
54
|
+
sort: { enabled: true },
|
|
55
|
+
};
|
|
56
|
+
const logLevelDataSource = [
|
|
57
|
+
{ id: 'error', title: '@system-insight:logs.settings.level.items.default.options.error' },
|
|
58
|
+
{ id: 'warn', title: '@system-insight:logs.settings.level.items.default.options.warn' },
|
|
59
|
+
{ id: 'info', title: '@system-insight:logs.settings.level.items.default.options.info' },
|
|
60
|
+
{ id: 'debug', title: '@system-insight:logs.settings.level.items.default.options.debug' },
|
|
61
|
+
{ id: 'trace', title: '@system-insight:logs.settings.level.items.default.options.trace' },
|
|
62
|
+
];
|
|
63
|
+
const slowRequestThresholdMs = AXP_SYSTEM_INSIGHT_SETTING_DEFAULTS[AXPSystemInsightSettings.SlowRequestThresholdMs];
|
|
64
|
+
const readOnlyField = {
|
|
65
|
+
readonly: true,
|
|
66
|
+
nullable: true,
|
|
67
|
+
};
|
|
68
|
+
const readOnlyCrud = async () => {
|
|
69
|
+
throw new Error('Observability data is read-only');
|
|
70
|
+
};
|
|
71
|
+
const col = (name, colSpan = 6) => ({
|
|
72
|
+
name,
|
|
73
|
+
layout: { positions: { lg: { colSpan } } },
|
|
74
|
+
});
|
|
75
|
+
async function logEntryEntityFactory() {
|
|
76
|
+
const i18n = RootConfig.config.i18n;
|
|
77
|
+
const properties = [
|
|
78
|
+
{
|
|
79
|
+
name: 'id',
|
|
80
|
+
title: '@system-insight:fields.id',
|
|
81
|
+
groupId: 'event',
|
|
82
|
+
schema: {
|
|
83
|
+
dataType: 'string',
|
|
84
|
+
...readOnlyField,
|
|
85
|
+
interface: { type: AXPWidgetsList.Editors.TextBox, options: { readonly: true, disabled: true } },
|
|
86
|
+
},
|
|
87
|
+
options: listFieldOptions,
|
|
88
|
+
},
|
|
89
|
+
{
|
|
90
|
+
name: 'timestamp',
|
|
91
|
+
title: '@system-insight:fields.timestamp',
|
|
92
|
+
groupId: 'event',
|
|
93
|
+
schema: {
|
|
94
|
+
dataType: 'datetime',
|
|
95
|
+
...readOnlyField,
|
|
96
|
+
interface: {
|
|
97
|
+
type: AXPWidgetsList.Editors.DateTimeBox,
|
|
98
|
+
options: { type: 'datetime', readonly: true, disabled: true },
|
|
99
|
+
},
|
|
100
|
+
},
|
|
101
|
+
options: listFieldOptions,
|
|
102
|
+
},
|
|
103
|
+
{
|
|
104
|
+
name: 'level',
|
|
105
|
+
title: '@system-insight:fields.level',
|
|
106
|
+
groupId: 'event',
|
|
107
|
+
schema: {
|
|
108
|
+
dataType: 'string',
|
|
109
|
+
...readOnlyField,
|
|
110
|
+
interface: {
|
|
111
|
+
type: AXPWidgetsList.Editors.SelectBox,
|
|
112
|
+
options: {
|
|
113
|
+
valueField: 'id',
|
|
114
|
+
textField: 'title',
|
|
115
|
+
dataSource: logLevelDataSource,
|
|
116
|
+
readonly: true,
|
|
117
|
+
disabled: true,
|
|
118
|
+
},
|
|
119
|
+
},
|
|
120
|
+
},
|
|
121
|
+
options: listFieldOptions,
|
|
122
|
+
},
|
|
123
|
+
{
|
|
124
|
+
name: 'severityNumber',
|
|
125
|
+
title: '@system-insight:fields.severity-number',
|
|
126
|
+
groupId: 'event',
|
|
127
|
+
schema: {
|
|
128
|
+
dataType: 'number',
|
|
129
|
+
...readOnlyField,
|
|
130
|
+
visible: false,
|
|
131
|
+
interface: { type: AXPWidgetsList.Editors.NumberBox, options: { readonly: true, disabled: true } },
|
|
132
|
+
},
|
|
133
|
+
options: { filter: { inline: { enabled: false }, advance: { enabled: true } }, sort: { enabled: true } },
|
|
134
|
+
},
|
|
135
|
+
{
|
|
136
|
+
name: 'message',
|
|
137
|
+
title: '@system-insight:fields.message',
|
|
138
|
+
groupId: 'event',
|
|
139
|
+
schema: {
|
|
140
|
+
dataType: 'string',
|
|
141
|
+
...readOnlyField,
|
|
142
|
+
interface: {
|
|
143
|
+
type: AXPWidgetsList.Editors.LargeTextBox,
|
|
144
|
+
options: { rows: 3, readonly: true, disabled: true },
|
|
145
|
+
},
|
|
146
|
+
},
|
|
147
|
+
options: listFieldOptions,
|
|
148
|
+
},
|
|
149
|
+
{
|
|
150
|
+
name: 'serviceName',
|
|
151
|
+
title: '@system-insight:fields.service-name',
|
|
152
|
+
groupId: 'event',
|
|
153
|
+
schema: {
|
|
154
|
+
dataType: 'string',
|
|
155
|
+
...readOnlyField,
|
|
156
|
+
interface: { type: AXPWidgetsList.Editors.TextBox, options: { readonly: true, disabled: true } },
|
|
157
|
+
},
|
|
158
|
+
options: listFieldOptions,
|
|
159
|
+
},
|
|
160
|
+
{
|
|
161
|
+
name: 'source',
|
|
162
|
+
title: '@system-insight:fields.source',
|
|
163
|
+
groupId: 'event',
|
|
164
|
+
schema: {
|
|
165
|
+
dataType: 'string',
|
|
166
|
+
...readOnlyField,
|
|
167
|
+
interface: { type: AXPWidgetsList.Editors.TextBox, options: { readonly: true, disabled: true } },
|
|
168
|
+
},
|
|
169
|
+
options: listFieldOptions,
|
|
170
|
+
},
|
|
171
|
+
{
|
|
172
|
+
name: 'method',
|
|
173
|
+
title: '@system-insight:fields.method',
|
|
174
|
+
groupId: 'http',
|
|
175
|
+
schema: {
|
|
176
|
+
dataType: 'string',
|
|
177
|
+
...readOnlyField,
|
|
178
|
+
interface: { type: AXPWidgetsList.Editors.TextBox, options: { readonly: true, disabled: true } },
|
|
179
|
+
},
|
|
180
|
+
options: listFieldOptions,
|
|
181
|
+
},
|
|
182
|
+
{
|
|
183
|
+
name: 'url',
|
|
184
|
+
title: '@system-insight:fields.url',
|
|
185
|
+
groupId: 'http',
|
|
186
|
+
schema: {
|
|
187
|
+
dataType: 'string',
|
|
188
|
+
...readOnlyField,
|
|
189
|
+
interface: {
|
|
190
|
+
type: AXPWidgetsList.Editors.LargeTextBox,
|
|
191
|
+
options: { rows: 2, readonly: true, disabled: true },
|
|
192
|
+
},
|
|
193
|
+
},
|
|
194
|
+
options: listFieldOptions,
|
|
195
|
+
},
|
|
196
|
+
{
|
|
197
|
+
name: 'statusCode',
|
|
198
|
+
title: '@system-insight:fields.status-code',
|
|
199
|
+
groupId: 'http',
|
|
200
|
+
schema: {
|
|
201
|
+
dataType: 'number',
|
|
202
|
+
...readOnlyField,
|
|
203
|
+
interface: { type: AXPWidgetsList.Editors.NumberBox, options: { readonly: true, disabled: true } },
|
|
204
|
+
},
|
|
205
|
+
options: listFieldOptions,
|
|
206
|
+
},
|
|
207
|
+
{
|
|
208
|
+
name: 'duration',
|
|
209
|
+
title: '@system-insight:fields.duration',
|
|
210
|
+
groupId: 'http',
|
|
211
|
+
schema: {
|
|
212
|
+
dataType: 'number',
|
|
213
|
+
...readOnlyField,
|
|
214
|
+
interface: { type: AXPWidgetsList.Editors.NumberBox, options: { readonly: true, disabled: true } },
|
|
215
|
+
},
|
|
216
|
+
options: listFieldOptions,
|
|
217
|
+
},
|
|
218
|
+
{
|
|
219
|
+
name: 'requestId',
|
|
220
|
+
title: '@system-insight:fields.request-id',
|
|
221
|
+
groupId: 'correlation',
|
|
222
|
+
schema: {
|
|
223
|
+
dataType: 'string',
|
|
224
|
+
...readOnlyField,
|
|
225
|
+
interface: { type: AXPWidgetsList.Editors.TextBox, options: { readonly: true, disabled: true } },
|
|
226
|
+
},
|
|
227
|
+
options: listFieldOptions,
|
|
228
|
+
},
|
|
229
|
+
{
|
|
230
|
+
name: 'traceId',
|
|
231
|
+
title: '@system-insight:fields.trace-id',
|
|
232
|
+
groupId: 'correlation',
|
|
233
|
+
schema: {
|
|
234
|
+
dataType: 'string',
|
|
235
|
+
...readOnlyField,
|
|
236
|
+
interface: { type: AXPWidgetsList.Editors.TextBox, options: { readonly: true, disabled: true } },
|
|
237
|
+
},
|
|
238
|
+
options: listFieldOptions,
|
|
239
|
+
},
|
|
240
|
+
{
|
|
241
|
+
name: 'spanId',
|
|
242
|
+
title: '@system-insight:fields.span-id',
|
|
243
|
+
groupId: 'correlation',
|
|
244
|
+
schema: {
|
|
245
|
+
dataType: 'string',
|
|
246
|
+
...readOnlyField,
|
|
247
|
+
interface: { type: AXPWidgetsList.Editors.TextBox, options: { readonly: true, disabled: true } },
|
|
248
|
+
},
|
|
249
|
+
options: listFieldOptions,
|
|
250
|
+
},
|
|
251
|
+
{
|
|
252
|
+
name: 'userId',
|
|
253
|
+
title: '@system-insight:fields.user-id',
|
|
254
|
+
groupId: 'context',
|
|
255
|
+
schema: {
|
|
256
|
+
dataType: 'string',
|
|
257
|
+
...readOnlyField,
|
|
258
|
+
interface: {
|
|
259
|
+
type: AXPWidgetsList.Editors.LookupBox,
|
|
260
|
+
options: {
|
|
261
|
+
entity: 'SecurityManagement.User',
|
|
262
|
+
textField: 'displayName',
|
|
263
|
+
valueField: 'id',
|
|
264
|
+
look: 'select',
|
|
265
|
+
readonly: true,
|
|
266
|
+
disabled: true,
|
|
267
|
+
expose: [
|
|
268
|
+
{ source: 'id', target: 'user.id' },
|
|
269
|
+
{ source: 'displayName', target: 'user.displayName' },
|
|
270
|
+
],
|
|
271
|
+
},
|
|
272
|
+
},
|
|
273
|
+
},
|
|
274
|
+
options: listFieldOptions,
|
|
275
|
+
},
|
|
276
|
+
{
|
|
277
|
+
name: 'tenantId',
|
|
278
|
+
title: '@system-insight:fields.tenant-id',
|
|
279
|
+
groupId: 'context',
|
|
280
|
+
schema: {
|
|
281
|
+
dataType: 'string',
|
|
282
|
+
...readOnlyField,
|
|
283
|
+
interface: {
|
|
284
|
+
type: AXPWidgetsList.Editors.LookupBox,
|
|
285
|
+
options: {
|
|
286
|
+
entity: 'TenantManagement.Tenant',
|
|
287
|
+
textField: 'title',
|
|
288
|
+
valueField: 'id',
|
|
289
|
+
look: 'select',
|
|
290
|
+
readonly: true,
|
|
291
|
+
disabled: true,
|
|
292
|
+
expose: [
|
|
293
|
+
{ source: 'id', target: 'tenant.id' },
|
|
294
|
+
{ source: 'title', target: 'tenant.title' },
|
|
295
|
+
],
|
|
296
|
+
},
|
|
297
|
+
},
|
|
298
|
+
},
|
|
299
|
+
options: listFieldOptions,
|
|
300
|
+
},
|
|
301
|
+
{
|
|
302
|
+
name: 'applicationId',
|
|
303
|
+
title: '@system-insight:fields.application-id',
|
|
304
|
+
groupId: 'context',
|
|
305
|
+
schema: {
|
|
306
|
+
dataType: 'string',
|
|
307
|
+
...readOnlyField,
|
|
308
|
+
interface: {
|
|
309
|
+
type: AXPWidgetsList.Editors.LookupBox,
|
|
310
|
+
options: {
|
|
311
|
+
entity: 'ApplicationManagement.Application',
|
|
312
|
+
textField: 'title',
|
|
313
|
+
valueField: 'id',
|
|
314
|
+
look: 'select',
|
|
315
|
+
readonly: true,
|
|
316
|
+
disabled: true,
|
|
317
|
+
expose: [
|
|
318
|
+
{ source: 'id', target: 'application.id' },
|
|
319
|
+
{ source: 'title', target: 'application.title' },
|
|
320
|
+
],
|
|
321
|
+
},
|
|
322
|
+
},
|
|
323
|
+
},
|
|
324
|
+
options: listFieldOptions,
|
|
325
|
+
},
|
|
326
|
+
{
|
|
327
|
+
name: 'module',
|
|
328
|
+
title: '@system-insight:fields.module',
|
|
329
|
+
groupId: 'context',
|
|
330
|
+
schema: {
|
|
331
|
+
dataType: 'string',
|
|
332
|
+
...readOnlyField,
|
|
333
|
+
interface: { type: AXPWidgetsList.Editors.TextBox, options: { readonly: true, disabled: true } },
|
|
334
|
+
},
|
|
335
|
+
options: listFieldOptions,
|
|
336
|
+
},
|
|
337
|
+
{
|
|
338
|
+
name: 'entity',
|
|
339
|
+
title: '@system-insight:fields.entity',
|
|
340
|
+
groupId: 'context',
|
|
341
|
+
schema: {
|
|
342
|
+
dataType: 'string',
|
|
343
|
+
...readOnlyField,
|
|
344
|
+
interface: { type: AXPWidgetsList.Editors.TextBox, options: { readonly: true, disabled: true } },
|
|
345
|
+
},
|
|
346
|
+
options: listFieldOptions,
|
|
347
|
+
},
|
|
348
|
+
{
|
|
349
|
+
name: 'operation',
|
|
350
|
+
title: '@system-insight:fields.operation',
|
|
351
|
+
groupId: 'context',
|
|
352
|
+
schema: {
|
|
353
|
+
dataType: 'string',
|
|
354
|
+
...readOnlyField,
|
|
355
|
+
interface: { type: AXPWidgetsList.Editors.TextBox, options: { readonly: true, disabled: true } },
|
|
356
|
+
},
|
|
357
|
+
options: listFieldOptions,
|
|
358
|
+
},
|
|
359
|
+
{
|
|
360
|
+
name: 'properties',
|
|
361
|
+
title: '@system-insight:fields.attributes',
|
|
362
|
+
groupId: 'attributes',
|
|
363
|
+
schema: {
|
|
364
|
+
dataType: 'object',
|
|
365
|
+
...readOnlyField,
|
|
366
|
+
interface: {
|
|
367
|
+
type: AXPWidgetsList.Advanced.JsonViewer,
|
|
368
|
+
options: { disabled: true },
|
|
369
|
+
},
|
|
370
|
+
},
|
|
371
|
+
options: { filter: { inline: { enabled: false }, advance: { enabled: false } }, sort: { enabled: false } },
|
|
372
|
+
},
|
|
373
|
+
];
|
|
374
|
+
const singleProperties = [
|
|
375
|
+
col('timestamp'),
|
|
376
|
+
col('level'),
|
|
377
|
+
col('serviceName'),
|
|
378
|
+
col('source'),
|
|
379
|
+
col('message', 12),
|
|
380
|
+
col('method'),
|
|
381
|
+
col('statusCode'),
|
|
382
|
+
col('duration'),
|
|
383
|
+
col('url', 12),
|
|
384
|
+
col('requestId'),
|
|
385
|
+
col('traceId'),
|
|
386
|
+
col('spanId', 12),
|
|
387
|
+
col('userId'),
|
|
388
|
+
col('tenantId'),
|
|
389
|
+
col('applicationId'),
|
|
390
|
+
col('module'),
|
|
391
|
+
col('entity'),
|
|
392
|
+
col('operation'),
|
|
393
|
+
col('id', 12),
|
|
394
|
+
col('properties', 12),
|
|
395
|
+
];
|
|
396
|
+
return {
|
|
397
|
+
module: RootConfig.module.name,
|
|
398
|
+
name: RootConfig.entities.logEntry.name,
|
|
399
|
+
title: RootConfig.entities.logEntry.title,
|
|
400
|
+
icon: RootConfig.entities.logEntry.icon,
|
|
401
|
+
formats: {
|
|
402
|
+
individual: RootConfig.entities.logEntry.title,
|
|
403
|
+
plural: RootConfig.entities.logEntry.titlePlural,
|
|
404
|
+
searchResult: {
|
|
405
|
+
title: '{{ message }}',
|
|
406
|
+
description: '{{ method }} {{ url }}',
|
|
407
|
+
},
|
|
408
|
+
},
|
|
409
|
+
groups: [
|
|
410
|
+
{ id: 'event', title: `@${i18n}:groups.event` },
|
|
411
|
+
{ id: 'http', title: `@${i18n}:groups.http` },
|
|
412
|
+
{ id: 'correlation', title: `@${i18n}:groups.correlation` },
|
|
413
|
+
{ id: 'context', title: `@${i18n}:groups.context` },
|
|
414
|
+
{ id: 'attributes', title: `@${i18n}:groups.attributes` },
|
|
415
|
+
],
|
|
416
|
+
plugins: [
|
|
417
|
+
{ name: 'trace', options: { enabled: false } },
|
|
418
|
+
{ name: 'log', options: { enabled: false } },
|
|
419
|
+
],
|
|
420
|
+
properties,
|
|
421
|
+
columns: [
|
|
422
|
+
{ name: 'timestamp' },
|
|
423
|
+
{ name: 'level' },
|
|
424
|
+
{ name: 'method' },
|
|
425
|
+
{ name: 'statusCode' },
|
|
426
|
+
{ name: 'duration' },
|
|
427
|
+
{ name: 'message' },
|
|
428
|
+
{ name: 'url' },
|
|
429
|
+
{ name: 'serviceName' },
|
|
430
|
+
],
|
|
431
|
+
// list stays on EntityStore → insight Elasticsearch (full history).
|
|
432
|
+
// byKey uses REST so detail includes HTTP fields + attributes (properties).
|
|
433
|
+
queries: {
|
|
434
|
+
byKey: { execute: AXMSystemInsightQueryKeys.LogEntry.GetOne, type: AXPEntityQueryType.Single },
|
|
435
|
+
},
|
|
436
|
+
commands: {
|
|
437
|
+
create: { execute: readOnlyCrud },
|
|
438
|
+
update: { execute: readOnlyCrud },
|
|
439
|
+
delete: { execute: readOnlyCrud },
|
|
440
|
+
export: { execute: AXMSystemInsightCommandKeys.LogEntry.Export },
|
|
441
|
+
clear: {
|
|
442
|
+
execute: AXMSystemInsightCommandKeys.LogEntry.Clear,
|
|
443
|
+
permissions: [AXMSystemInsightPermissionKeys.SystemInsight.Admin],
|
|
444
|
+
},
|
|
445
|
+
createAlertFromFilter: { execute: AXMSystemInsightCommandKeys.AlertRule.CreateFromFilter },
|
|
446
|
+
},
|
|
447
|
+
interfaces: {
|
|
448
|
+
master: {
|
|
449
|
+
list: {
|
|
450
|
+
actions: [
|
|
451
|
+
{
|
|
452
|
+
title: '@general:actions.detail.title',
|
|
453
|
+
icon: 'fa-light fa-eye',
|
|
454
|
+
command: 'Entity:OpenDetails',
|
|
455
|
+
priority: 'primary',
|
|
456
|
+
type: 'view',
|
|
457
|
+
scope: AXPEntityCommandScope.Individual,
|
|
458
|
+
default: true,
|
|
459
|
+
},
|
|
460
|
+
{
|
|
461
|
+
title: `@${i18n}:actions.export.title`,
|
|
462
|
+
command: AXMSystemInsightCommandKeys.LogEntry.Export,
|
|
463
|
+
priority: 'secondary',
|
|
464
|
+
type: 'action',
|
|
465
|
+
scope: AXPEntityCommandScope.TypeLevel,
|
|
466
|
+
},
|
|
467
|
+
{
|
|
468
|
+
title: `@${i18n}:actions.clear-logs.title`,
|
|
469
|
+
command: AXMSystemInsightCommandKeys.LogEntry.Clear,
|
|
470
|
+
priority: 'secondary',
|
|
471
|
+
type: 'action',
|
|
472
|
+
scope: AXPEntityCommandScope.TypeLevel,
|
|
473
|
+
permissions: [AXMSystemInsightPermissionKeys.SystemInsight.Admin],
|
|
474
|
+
color: 'danger',
|
|
475
|
+
icon: 'fa-light fa-trash-can',
|
|
476
|
+
},
|
|
477
|
+
],
|
|
478
|
+
views: [
|
|
479
|
+
createAllQueryView({
|
|
480
|
+
sorts: [{ name: 'timestamp', dir: 'desc' }],
|
|
481
|
+
}),
|
|
482
|
+
createQueryView('slow', `@${i18n}:entities.log-entry.views.slow.title`, true, {
|
|
483
|
+
conditions: [
|
|
484
|
+
{
|
|
485
|
+
name: 'duration',
|
|
486
|
+
operator: { type: 'greaterThanOrEqual' },
|
|
487
|
+
value: slowRequestThresholdMs,
|
|
488
|
+
},
|
|
489
|
+
],
|
|
490
|
+
sorts: [{ name: 'timestamp', dir: 'desc' }],
|
|
491
|
+
}),
|
|
492
|
+
],
|
|
493
|
+
},
|
|
494
|
+
single: {
|
|
495
|
+
title: '{{ message }}',
|
|
496
|
+
sections: [
|
|
497
|
+
{ id: 'event' },
|
|
498
|
+
{ id: 'http' },
|
|
499
|
+
{ id: 'correlation' },
|
|
500
|
+
{ id: 'context' },
|
|
501
|
+
{ id: 'attributes' },
|
|
502
|
+
],
|
|
503
|
+
properties: singleProperties,
|
|
504
|
+
actions: [
|
|
505
|
+
{
|
|
506
|
+
title: `@${i18n}:actions.create-alert.title`,
|
|
507
|
+
command: AXMSystemInsightCommandKeys.AlertRule.CreateFromFilter,
|
|
508
|
+
priority: 'secondary',
|
|
509
|
+
type: 'action',
|
|
510
|
+
scope: AXPEntityCommandScope.Individual,
|
|
511
|
+
},
|
|
512
|
+
{
|
|
513
|
+
title: `@${i18n}:actions.view-trace.title`,
|
|
514
|
+
command: AXMSystemInsightCommandKeys.Trace.OpenTimeline,
|
|
515
|
+
priority: 'secondary',
|
|
516
|
+
type: 'view',
|
|
517
|
+
scope: AXPEntityCommandScope.Individual,
|
|
518
|
+
hidden: `{{ !context.eval("traceId") }}`,
|
|
519
|
+
},
|
|
520
|
+
],
|
|
521
|
+
},
|
|
522
|
+
// Empty update keeps the single page view-only (no editable fields).
|
|
523
|
+
update: {
|
|
524
|
+
sections: [],
|
|
525
|
+
properties: [],
|
|
526
|
+
},
|
|
527
|
+
},
|
|
528
|
+
},
|
|
529
|
+
};
|
|
530
|
+
}
|
|
531
|
+
|
|
532
|
+
export { logEntryEntityFactory };
|
|
533
|
+
//# sourceMappingURL=acorex-platform-module-system-insight-client-contracts-entity-catalog-log-entry.entity-KhwOnohn.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"acorex-platform-module-system-insight-client-contracts-entity-catalog-log-entry.entity-KhwOnohn.mjs","sources":["../../../../libs/modules/system-insight/contracts/src/permission.keys.ts","../../../../libs/modules/system-insight/contracts/src/entities/log-entry/log-entry.entity.ts"],"sourcesContent":["/**\n * Administration capabilities used by this module.\n * Domain capability keys for this module. Root groups live in `AXPCommonPermissionGroupKeys` (common contracts).\n */\nexport const AXPAdministrationPermissionKeys = {\n Access: 'Administration:Permission:Access',\n MaintainUsersAndRoles: 'Administration:Permission:MaintainUsersAndRoles',\n ManageSessions: 'Administration:Permission:ManageSessions',\n MaintainPolicies: 'Administration:Permission:MaintainPolicies',\n ViewIntegrations: 'Administration:Permission:ViewIntegrations',\n MaintainConnections: 'Administration:Permission:MaintainConnections',\n MaintainWorkflows: 'Administration:Permission:MaintainWorkflows',\n ManageWorkflowActions: 'Administration:Permission:ManageWorkflowActions',\n ViewRules: 'Administration:Permission:ViewRules',\n MaintainRules: 'Administration:Permission:MaintainRules',\n ManageRuleActions: 'Administration:Permission:ManageRuleActions',\n MaintainAi: 'Administration:Permission:MaintainAi',\n UseAiAssist: 'Administration:Permission:UseAiAssist',\n MaintainDashboards: 'Administration:Permission:MaintainDashboards',\n ViewJobs: 'Administration:Permission:ViewJobs',\n ManageJobActions: 'Administration:Permission:ManageJobActions',\n ViewObservability: 'Administration:Permission:ViewObservability',\n MaintainObservability: 'Administration:Permission:MaintainObservability',\n} as const;\n\n/**\n * @deprecated Prefer {@link AXPAdministrationPermissionKeys}.\n * Legacy nested shape kept so existing imports compile during migration.\n */\nexport const AXMSystemInsightPermissionKeys = {\n SystemInsight: {\n Logs: { View: AXPAdministrationPermissionKeys.ViewObservability },\n Traces: { View: AXPAdministrationPermissionKeys.ViewObservability },\n Metrics: { View: AXPAdministrationPermissionKeys.ViewObservability },\n Errors: { View: AXPAdministrationPermissionKeys.ViewObservability },\n Alerts: { Manage: AXPAdministrationPermissionKeys.MaintainObservability },\n SavedViews: { Manage: AXPAdministrationPermissionKeys.MaintainObservability },\n Admin: AXPAdministrationPermissionKeys.MaintainObservability,\n Management: AXPAdministrationPermissionKeys.MaintainObservability,\n AuditLog: {\n Management: AXPAdministrationPermissionKeys.MaintainObservability,\n },\n },\n} as const;\n","import { AXPWidgetsList } from '@acorex-platform/framework-shared/core';\nimport {\n AXPEntity,\n AXPEntityCommandScope,\n AXPEntityQueryType,\n createAllQueryView,\n createQueryView,\n} from '@acorex-platform/framework-shared/entity';\nimport { AXMSystemInsightCommandKeys } from '../../commands.keys';\nimport { AXMSystemInsightPermissionKeys } from '../../permission.keys';\nimport { AXMSystemInsightQueryKeys } from '../../queries.keys';\nimport {\n AXP_SYSTEM_INSIGHT_SETTING_DEFAULTS,\n AXPSystemInsightSettings,\n} from '../../settings.keys';\nimport { RootConfig } from '../../root-config';\nconst listFieldOptions = {\n filter: { inline: { enabled: true }, advance: { enabled: true } },\n sort: { enabled: true },\n};\n\nconst logLevelDataSource = [\n { id: 'error', title: '@system-insight:logs.settings.level.items.default.options.error' },\n { id: 'warn', title: '@system-insight:logs.settings.level.items.default.options.warn' },\n { id: 'info', title: '@system-insight:logs.settings.level.items.default.options.info' },\n { id: 'debug', title: '@system-insight:logs.settings.level.items.default.options.debug' },\n { id: 'trace', title: '@system-insight:logs.settings.level.items.default.options.trace' },\n];\n\nconst slowRequestThresholdMs =\n AXP_SYSTEM_INSIGHT_SETTING_DEFAULTS[AXPSystemInsightSettings.SlowRequestThresholdMs];\n\nconst readOnlyField = {\n readonly: true,\n nullable: true,\n} as const;\n\nconst readOnlyCrud = async () => {\n throw new Error('Observability data is read-only');\n};\n\nconst col = (name: string, colSpan = 6) => ({\n name,\n layout: { positions: { lg: { colSpan } } },\n});\n\nexport async function logEntryEntityFactory(): 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: 'event',\n schema: {\n dataType: 'string',\n ...readOnlyField,\n interface: { type: AXPWidgetsList.Editors.TextBox, options: { readonly: true, disabled: true } },\n },\n options: listFieldOptions,\n },\n {\n name: 'timestamp',\n title: '@system-insight:fields.timestamp',\n groupId: 'event',\n schema: {\n dataType: 'datetime',\n ...readOnlyField,\n interface: {\n type: AXPWidgetsList.Editors.DateTimeBox,\n options: { type: 'datetime', readonly: true, disabled: true },\n },\n },\n options: listFieldOptions,\n },\n {\n name: 'level',\n title: '@system-insight:fields.level',\n groupId: 'event',\n schema: {\n dataType: 'string',\n ...readOnlyField,\n interface: {\n type: AXPWidgetsList.Editors.SelectBox,\n options: {\n valueField: 'id',\n textField: 'title',\n dataSource: logLevelDataSource,\n readonly: true,\n disabled: true,\n },\n },\n },\n options: listFieldOptions,\n },\n {\n name: 'severityNumber',\n title: '@system-insight:fields.severity-number',\n groupId: 'event',\n schema: {\n dataType: 'number',\n ...readOnlyField,\n visible: false,\n interface: { type: AXPWidgetsList.Editors.NumberBox, options: { readonly: true, disabled: true } },\n },\n options: { filter: { inline: { enabled: false }, advance: { enabled: true } }, sort: { enabled: true } },\n },\n {\n name: 'message',\n title: '@system-insight:fields.message',\n groupId: 'event',\n schema: {\n dataType: 'string',\n ...readOnlyField,\n interface: {\n type: AXPWidgetsList.Editors.LargeTextBox,\n options: { rows: 3, readonly: true, disabled: true },\n },\n },\n options: listFieldOptions,\n },\n {\n name: 'serviceName',\n title: '@system-insight:fields.service-name',\n groupId: 'event',\n schema: {\n dataType: 'string',\n ...readOnlyField,\n interface: { type: AXPWidgetsList.Editors.TextBox, options: { readonly: true, disabled: true } },\n },\n options: listFieldOptions,\n },\n {\n name: 'source',\n title: '@system-insight:fields.source',\n groupId: 'event',\n schema: {\n dataType: 'string',\n ...readOnlyField,\n interface: { type: AXPWidgetsList.Editors.TextBox, options: { readonly: true, disabled: true } },\n },\n options: listFieldOptions,\n },\n {\n name: 'method',\n title: '@system-insight:fields.method',\n groupId: 'http',\n schema: {\n dataType: 'string',\n ...readOnlyField,\n interface: { type: AXPWidgetsList.Editors.TextBox, options: { readonly: true, disabled: true } },\n },\n options: listFieldOptions,\n },\n {\n name: 'url',\n title: '@system-insight:fields.url',\n groupId: 'http',\n schema: {\n dataType: 'string',\n ...readOnlyField,\n interface: {\n type: AXPWidgetsList.Editors.LargeTextBox,\n options: { rows: 2, readonly: true, disabled: true },\n },\n },\n options: listFieldOptions,\n },\n {\n name: 'statusCode',\n title: '@system-insight:fields.status-code',\n groupId: 'http',\n schema: {\n dataType: 'number',\n ...readOnlyField,\n interface: { type: AXPWidgetsList.Editors.NumberBox, options: { readonly: true, disabled: true } },\n },\n options: listFieldOptions,\n },\n {\n name: 'duration',\n title: '@system-insight:fields.duration',\n groupId: 'http',\n schema: {\n dataType: 'number',\n ...readOnlyField,\n interface: { type: AXPWidgetsList.Editors.NumberBox, options: { readonly: true, disabled: true } },\n },\n options: listFieldOptions,\n },\n {\n name: 'requestId',\n title: '@system-insight:fields.request-id',\n groupId: 'correlation',\n schema: {\n dataType: 'string',\n ...readOnlyField,\n interface: { type: AXPWidgetsList.Editors.TextBox, options: { readonly: true, disabled: true } },\n },\n options: listFieldOptions,\n },\n {\n name: 'traceId',\n title: '@system-insight:fields.trace-id',\n groupId: 'correlation',\n schema: {\n dataType: 'string',\n ...readOnlyField,\n interface: { type: AXPWidgetsList.Editors.TextBox, options: { readonly: true, disabled: true } },\n },\n options: listFieldOptions,\n },\n {\n name: 'spanId',\n title: '@system-insight:fields.span-id',\n groupId: 'correlation',\n schema: {\n dataType: 'string',\n ...readOnlyField,\n interface: { type: AXPWidgetsList.Editors.TextBox, options: { readonly: true, disabled: true } },\n },\n options: listFieldOptions,\n },\n {\n name: 'userId',\n title: '@system-insight:fields.user-id',\n groupId: 'context',\n schema: {\n dataType: 'string',\n ...readOnlyField,\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: 'context',\n schema: {\n dataType: 'string',\n ...readOnlyField,\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: 'context',\n schema: {\n dataType: 'string',\n ...readOnlyField,\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: 'module',\n title: '@system-insight:fields.module',\n groupId: 'context',\n schema: {\n dataType: 'string',\n ...readOnlyField,\n interface: { type: AXPWidgetsList.Editors.TextBox, options: { readonly: true, disabled: true } },\n },\n options: listFieldOptions,\n },\n {\n name: 'entity',\n title: '@system-insight:fields.entity',\n groupId: 'context',\n schema: {\n dataType: 'string',\n ...readOnlyField,\n interface: { type: AXPWidgetsList.Editors.TextBox, options: { readonly: true, disabled: true } },\n },\n options: listFieldOptions,\n },\n {\n name: 'operation',\n title: '@system-insight:fields.operation',\n groupId: 'context',\n schema: {\n dataType: 'string',\n ...readOnlyField,\n interface: { type: AXPWidgetsList.Editors.TextBox, options: { readonly: true, disabled: true } },\n },\n options: listFieldOptions,\n },\n {\n name: 'properties',\n title: '@system-insight:fields.attributes',\n groupId: 'attributes',\n schema: {\n dataType: 'object',\n ...readOnlyField,\n interface: {\n type: AXPWidgetsList.Advanced.JsonViewer,\n options: { disabled: true },\n },\n },\n options: { filter: { inline: { enabled: false }, advance: { enabled: false } }, sort: { enabled: false } },\n },\n ];\n\n const singleProperties = [\n col('timestamp'),\n col('level'),\n col('serviceName'),\n col('source'),\n col('message', 12),\n col('method'),\n col('statusCode'),\n col('duration'),\n col('url', 12),\n col('requestId'),\n col('traceId'),\n col('spanId', 12),\n col('userId'),\n col('tenantId'),\n col('applicationId'),\n col('module'),\n col('entity'),\n col('operation'),\n col('id', 12),\n col('properties', 12),\n ];\n\n return {\n module: RootConfig.module.name,\n name: RootConfig.entities.logEntry.name,\n title: RootConfig.entities.logEntry.title,\n icon: RootConfig.entities.logEntry.icon,\n formats: {\n individual: RootConfig.entities.logEntry.title,\n plural: RootConfig.entities.logEntry.titlePlural,\n searchResult: {\n title: '{{ message }}',\n description: '{{ method }} {{ url }}',\n },\n },\n groups: [\n { id: 'event', title: `@${i18n}:groups.event` },\n { id: 'http', title: `@${i18n}:groups.http` },\n { id: 'correlation', title: `@${i18n}:groups.correlation` },\n { id: 'context', title: `@${i18n}:groups.context` },\n { id: 'attributes', title: `@${i18n}:groups.attributes` },\n ],\n plugins: [\n { name: 'trace', options: { enabled: false } },\n { name: 'log', options: { enabled: false } },\n ],\n properties,\n columns: [\n { name: 'timestamp' },\n { name: 'level' },\n { name: 'method' },\n { name: 'statusCode' },\n { name: 'duration' },\n { name: 'message' },\n { name: 'url' },\n { name: 'serviceName' },\n ],\n // list stays on EntityStore → insight Elasticsearch (full history).\n // byKey uses REST so detail includes HTTP fields + attributes (properties).\n queries: {\n byKey: { execute: AXMSystemInsightQueryKeys.LogEntry.GetOne, type: AXPEntityQueryType.Single },\n },\n commands: {\n create: { execute: readOnlyCrud },\n update: { execute: readOnlyCrud },\n delete: { execute: readOnlyCrud },\n export: { execute: AXMSystemInsightCommandKeys.LogEntry.Export },\n clear: {\n execute: AXMSystemInsightCommandKeys.LogEntry.Clear,\n permissions: [AXMSystemInsightPermissionKeys.SystemInsight.Admin],\n },\n createAlertFromFilter: { execute: AXMSystemInsightCommandKeys.AlertRule.CreateFromFilter },\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:OpenDetails',\n priority: 'primary',\n type: 'view',\n scope: AXPEntityCommandScope.Individual,\n default: true,\n },\n {\n title: `@${i18n}:actions.export.title`,\n command: AXMSystemInsightCommandKeys.LogEntry.Export,\n priority: 'secondary',\n type: 'action',\n scope: AXPEntityCommandScope.TypeLevel,\n },\n {\n title: `@${i18n}:actions.clear-logs.title`,\n command: AXMSystemInsightCommandKeys.LogEntry.Clear,\n priority: 'secondary',\n type: 'action',\n scope: AXPEntityCommandScope.TypeLevel,\n permissions: [AXMSystemInsightPermissionKeys.SystemInsight.Admin],\n color: 'danger',\n icon: 'fa-light fa-trash-can',\n },\n ],\n views: [\n createAllQueryView({\n sorts: [{ name: 'timestamp', dir: 'desc' }],\n }),\n createQueryView('slow', `@${i18n}:entities.log-entry.views.slow.title`, true, {\n conditions: [\n {\n name: 'duration',\n operator: { type: 'greaterThanOrEqual' },\n value: slowRequestThresholdMs,\n },\n ],\n sorts: [{ name: 'timestamp', dir: 'desc' }],\n }),\n ],\n },\n single: {\n title: '{{ message }}',\n sections: [\n { id: 'event' },\n { id: 'http' },\n { id: 'correlation' },\n { id: 'context' },\n { id: 'attributes' },\n ],\n properties: singleProperties,\n actions: [\n {\n title: `@${i18n}:actions.create-alert.title`,\n command: AXMSystemInsightCommandKeys.AlertRule.CreateFromFilter,\n priority: 'secondary',\n type: 'action',\n scope: AXPEntityCommandScope.Individual,\n },\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 // Empty update keeps the single page view-only (no editable fields).\n update: {\n sections: [],\n properties: [],\n },\n },\n },\n };\n}\n"],"names":[],"mappings":";;;;;;;AAAA;;;AAGG;AACI,MAAM,+BAA+B,GAAG;AAC7C,IAAA,MAAM,EAAE,kCAAkC;AAC1C,IAAA,qBAAqB,EAAE,iDAAiD;AACxE,IAAA,cAAc,EAAE,0CAA0C;AAC1D,IAAA,gBAAgB,EAAE,4CAA4C;AAC9D,IAAA,gBAAgB,EAAE,4CAA4C;AAC9D,IAAA,mBAAmB,EAAE,+CAA+C;AACpE,IAAA,iBAAiB,EAAE,6CAA6C;AAChE,IAAA,qBAAqB,EAAE,iDAAiD;AACxE,IAAA,SAAS,EAAE,qCAAqC;AAChD,IAAA,aAAa,EAAE,yCAAyC;AACxD,IAAA,iBAAiB,EAAE,6CAA6C;AAChE,IAAA,UAAU,EAAE,sCAAsC;AAClD,IAAA,WAAW,EAAE,uCAAuC;AACpD,IAAA,kBAAkB,EAAE,8CAA8C;AAClE,IAAA,QAAQ,EAAE,oCAAoC;AAC9C,IAAA,gBAAgB,EAAE,4CAA4C;AAC9D,IAAA,iBAAiB,EAAE,6CAA6C;AAChE,IAAA,qBAAqB,EAAE,iDAAiD;CAChE;AAEV;;;AAGG;AACI,MAAM,8BAA8B,GAAG;AAC5C,IAAA,aAAa,EAAE;AACb,QAAA,IAAI,EAAE,EAAE,IAAI,EAAE,+BAA+B,CAAC,iBAAiB,EAAE;AACjE,QAAA,MAAM,EAAE,EAAE,IAAI,EAAE,+BAA+B,CAAC,iBAAiB,EAAE;AACnE,QAAA,OA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