@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 @@
1
+ {"version":3,"file":"acorex-platform-module-system-insight-client-contracts-entities-audit-log.mjs","sources":["../../../../libs/modules/system-insight/contracts/src/root-config.ts","../../../../libs/modules/system-insight/contracts/src/entities/audit-log/audit-log.entity.ts","../../../../libs/modules/system-insight/contracts/src/acorex-platform-module-system-insight-client-contracts-entities-audit-log.ts"],"sourcesContent":["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 { AXPEntity, AXPEntityCommandScope, createAllQueryView, createQueryView } from '@acorex-platform/framework-shared/entity';\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('Audit logs are read-only');\n};\n\nexport async function auditLogFactory(): Promise<AXPEntity | null> {\n const scope = RootConfig.config.i18n;\n const entityScope = `@${scope}:logs.entities.audit-log`;\n const groupTitle = (key: string) => `${entityScope}.groups.${key}`;\n const fieldTitle = (key: string) => `${entityScope}.fields.${key}.title`;\n const viewTitle = (key: string) => `${entityScope}.views.${key}.title`;\n\n const entityDef: AXPEntity = {\n module: RootConfig.module.name,\n name: RootConfig.entities.auditLog.name,\n title: RootConfig.entities.auditLog.title,\n icon: RootConfig.entities.auditLog.icon,\n formats: {\n individual: RootConfig.entities.auditLog.title,\n plural: RootConfig.entities.auditLog.titlePlural,\n searchResult: {\n title: '{{ applicationName }}',\n description: `${entityScope}.formats.search-result.description`,\n },\n },\n relatedEntities: [],\n commands: {\n create: { execute: readOnlyCrud },\n update: { execute: readOnlyCrud },\n delete: { execute: readOnlyCrud },\n },\n groups: [\n { id: 'general', title: groupTitle('general') },\n { id: 'user', title: groupTitle('user') },\n { id: 'client', title: groupTitle('client') },\n { id: 'impersonator', title: groupTitle('impersonator') },\n { id: 'actions', title: groupTitle('actions') },\n { id: 'entityChanges', title: groupTitle('entity-changes') },\n { id: 'extra', title: groupTitle('extra') },\n ],\n properties: [\n // General\n {\n name: 'id',\n title: fieldTitle('id'),\n groupId: 'general',\n schema: { dataType: 'string', interface: { type: AXPWidgetsList.Editors.TextBox } },\n },\n {\n name: 'applicationName',\n title: fieldTitle('application-name'),\n groupId: 'general',\n schema: { dataType: 'string', interface: { type: AXPWidgetsList.Editors.TextBox } },\n options: listFieldOptions,\n },\n {\n name: 'executionTime',\n title: fieldTitle('execution-time'),\n groupId: 'general',\n schema: { dataType: 'date', interface: { type: AXPWidgetsList.Editors.DateTimeBox } },\n options: listFieldOptions,\n },\n {\n name: 'executionDuration',\n title: fieldTitle('execution-duration'),\n groupId: 'general',\n schema: { dataType: 'number', interface: { type: AXPWidgetsList.Editors.NumberBox } },\n },\n {\n name: 'comments',\n title: fieldTitle('comments'),\n groupId: 'general',\n schema: { dataType: 'string', interface: { type: AXPWidgetsList.Editors.TextBox } },\n },\n // User\n {\n name: 'tenantId',\n title: fieldTitle('tenant-id'),\n groupId: 'user',\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: 'tenantName',\n title: fieldTitle('tenant-name'),\n groupId: 'user',\n schema: { dataType: 'string', interface: { type: AXPWidgetsList.Editors.TextBox }, visible: false },\n },\n {\n name: 'userId',\n title: fieldTitle('user-id'),\n groupId: 'user',\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: 'userName',\n title: fieldTitle('user-name'),\n groupId: 'user',\n schema: { dataType: 'string', interface: { type: AXPWidgetsList.Editors.TextBox } },\n },\n // Client\n {\n name: 'clientIpAddress',\n title: fieldTitle('client-ip-address'),\n groupId: 'client',\n schema: { dataType: 'string', interface: { type: AXPWidgetsList.Editors.TextBox } },\n options: listFieldOptions,\n },\n {\n name: 'clientName',\n title: fieldTitle('client-name'),\n groupId: 'client',\n schema: { dataType: 'string', interface: { type: AXPWidgetsList.Editors.TextBox } },\n },\n {\n name: 'clientId',\n title: fieldTitle('client-id'),\n groupId: 'client',\n schema: { dataType: 'string', interface: { type: AXPWidgetsList.Editors.TextBox } },\n },\n {\n name: 'browserInfo',\n title: fieldTitle('browser-info'),\n groupId: 'client',\n schema: { dataType: 'string', interface: { type: AXPWidgetsList.Editors.TextBox } },\n },\n {\n name: 'httpMethod',\n title: fieldTitle('http-method'),\n groupId: 'client',\n schema: { dataType: 'string', interface: { type: AXPWidgetsList.Editors.TextBox } },\n options: listFieldOptions,\n },\n {\n name: 'url',\n title: fieldTitle('url'),\n groupId: 'client',\n schema: { dataType: 'string', interface: { type: AXPWidgetsList.Editors.TextBox } },\n options: listFieldOptions,\n },\n {\n name: 'httpStatusCode',\n title: fieldTitle('http-status-code'),\n groupId: 'client',\n schema: { dataType: 'number', interface: { type: AXPWidgetsList.Editors.NumberBox } },\n options: listFieldOptions,\n },\n {\n name: 'httpStatus',\n title: fieldTitle('http-status'),\n groupId: 'client',\n schema: { dataType: 'string', interface: { type: AXPWidgetsList.Editors.TextBox } },\n options: listFieldOptions,\n },\n // Correlation\n {\n name: 'correlationId',\n title: fieldTitle('correlation-id'),\n groupId: 'general',\n schema: { dataType: 'string', interface: { type: AXPWidgetsList.Editors.TextBox } },\n },\n // Exception\n {\n name: 'exceptions',\n title: fieldTitle('exceptions'),\n groupId: 'general',\n schema: { dataType: 'string', interface: { type: AXPWidgetsList.Editors.TextBox } },\n },\n // Impersonator\n {\n name: 'impersonatorUserId',\n title: fieldTitle('impersonator-user-id'),\n groupId: 'impersonator',\n schema: { dataType: 'string', interface: { type: AXPWidgetsList.Editors.TextBox } },\n },\n {\n name: 'impersonatorUserName',\n title: fieldTitle('impersonator-user-name'),\n groupId: 'impersonator',\n schema: { dataType: 'string', interface: { type: AXPWidgetsList.Editors.TextBox } },\n },\n {\n name: 'impersonatorTenantId',\n title: fieldTitle('impersonator-tenant-id'),\n groupId: 'impersonator',\n schema: { dataType: 'string', interface: { type: AXPWidgetsList.Editors.TextBox } },\n },\n {\n name: 'impersonatorTenantName',\n title: fieldTitle('impersonator-tenant-name'),\n groupId: 'impersonator',\n schema: { dataType: 'string', interface: { type: AXPWidgetsList.Editors.TextBox } },\n },\n // Actions\n {\n name: 'actions',\n title: fieldTitle('actions'),\n groupId: 'actions',\n schema: { dataType: 'array', interface: { type: AXPWidgetsList.Editors.TextBox } },\n },\n // EntityChanges\n {\n name: 'entityChanges',\n title: fieldTitle('entity-changes'),\n groupId: 'entityChanges',\n schema: { dataType: 'array', interface: { type: AXPWidgetsList.Editors.TextBox } },\n },\n ],\n columns: [\n { name: 'applicationName' },\n { name: 'userName' },\n { name: 'executionTime' },\n { name: 'clientIpAddress' },\n { name: 'httpMethod' },\n { name: 'url' },\n { name: 'httpStatusCode' },\n { name: 'httpStatus' },\n ],\n interfaces: {\n master: {\n single: {\n title: viewTitle('single'),\n sections: [\n {\n id: 'general',\n layout: {\n positions: {\n lg: {\n colSpan: 12,\n },\n },\n },\n },\n {\n id: 'user',\n layout: {\n positions: {\n lg: {\n colSpan: 12,\n },\n },\n },\n },\n {\n id: 'client',\n layout: {\n positions: {\n lg: {\n colSpan: 12,\n },\n },\n },\n },\n {\n id: 'impersonator',\n layout: {\n positions: {\n lg: {\n colSpan: 12,\n },\n },\n },\n },\n {\n id: 'actions',\n layout: {\n positions: {\n lg: {\n colSpan: 12,\n },\n },\n },\n },\n {\n id: 'entityChanges',\n layout: {\n positions: {\n lg: {\n colSpan: 12,\n },\n },\n },\n },\n {\n id: 'extra',\n layout: {\n positions: {\n lg: {\n colSpan: 12,\n },\n },\n },\n },\n ],\n properties: [\n {\n name: 'id',\n layout: {\n positions: {\n lg: {\n colSpan: 6,\n },\n },\n },\n },\n {\n name: 'applicationName',\n layout: {\n positions: {\n lg: {\n colSpan: 6,\n },\n },\n },\n },\n {\n name: 'executionTime',\n layout: {\n positions: {\n lg: {\n colSpan: 6,\n },\n },\n },\n },\n {\n name: 'executionDuration',\n layout: {\n positions: {\n lg: {\n colSpan: 6,\n },\n },\n },\n },\n {\n name: 'comments',\n layout: {\n positions: {\n lg: {\n colSpan: 6,\n },\n },\n },\n },\n {\n name: 'tenantId',\n layout: {\n positions: {\n lg: {\n colSpan: 6,\n },\n },\n },\n },\n {\n name: 'userId',\n layout: {\n positions: {\n lg: {\n colSpan: 6,\n },\n },\n },\n },\n {\n name: 'clientIpAddress',\n layout: {\n positions: {\n lg: {\n colSpan: 6,\n },\n },\n },\n },\n {\n name: 'clientName',\n layout: {\n positions: {\n lg: {\n colSpan: 6,\n },\n },\n },\n },\n {\n name: 'clientId',\n layout: {\n positions: {\n lg: {\n colSpan: 6,\n },\n },\n },\n },\n {\n name: 'browserInfo',\n layout: {\n positions: {\n lg: {\n colSpan: 6,\n },\n },\n },\n },\n {\n name: 'httpMethod',\n layout: {\n positions: {\n lg: {\n colSpan: 6,\n },\n },\n },\n },\n {\n name: 'url',\n layout: {\n positions: {\n lg: {\n colSpan: 6,\n },\n },\n },\n },\n {\n name: 'httpStatusCode',\n layout: {\n positions: {\n lg: {\n colSpan: 6,\n },\n },\n },\n },\n {\n name: 'httpStatus',\n layout: {\n positions: {\n lg: {\n colSpan: 6,\n },\n },\n },\n },\n {\n name: 'correlationId',\n layout: {\n positions: {\n lg: {\n colSpan: 6,\n },\n },\n },\n },\n {\n name: 'exceptions',\n layout: {\n positions: {\n lg: {\n colSpan: 6,\n },\n },\n },\n },\n {\n name: 'impersonatorUserId',\n layout: {\n positions: {\n lg: {\n colSpan: 6,\n },\n },\n },\n },\n {\n name: 'impersonatorUserName',\n layout: {\n positions: {\n lg: {\n colSpan: 6,\n },\n },\n },\n },\n {\n name: 'impersonatorTenantId',\n layout: {\n positions: {\n lg: {\n colSpan: 6,\n },\n },\n },\n },\n {\n name: 'impersonatorTenantName',\n layout: {\n positions: {\n lg: {\n colSpan: 6,\n },\n },\n },\n },\n {\n name: 'extraProperties',\n layout: {\n positions: {\n lg: {\n colSpan: 6,\n },\n },\n },\n },\n {\n name: 'actions',\n layout: {\n positions: {\n lg: {\n colSpan: 6,\n },\n },\n },\n },\n {\n name: 'entityChanges',\n layout: {\n positions: {\n lg: {\n colSpan: 6,\n },\n },\n },\n },\n ],\n actions: [],\n },\n list: {\n actions: [\n // {\n // title: `t(\"create\", { scope: \"common\" })`,\n // command: 'create-entity',\n // priority: 'primary',\n // type: 'create',\n // scope: AXPEntityCommandScope.TypeLevel,\n // },\n // {\n // title: 't(\"deleteItems\", { scope: \"common\" })',\n // command: 'delete-entity',\n // priority: 'primary',\n // type: 'delete',\n // scope: AXPEntityCommandScope.Selected,\n // },\n {\n title: '@general:actions.detail.title',\n command: 'Entity:OpenDetails',\n priority: 'secondary',\n type: 'view',\n scope: AXPEntityCommandScope.Individual,\n },\n // {\n // title: 't(\"delete\", { scope: \"common\" })',\n // command: 'delete-entity',\n // priority: 'secondary',\n // type: 'delete',\n // scope: AXPEntityCommandScope.Individual,\n // },\n ],\n views: [\n createAllQueryView({\n sorts: [{ name: 'applicationName', dir: 'asc' }],\n }),\n createQueryView('auth-logs', viewTitle('auth-logs'), true, {\n conditions: [\n {\n name: 'type',\n operator: {\n type: 'equal',\n },\n value: 'auth',\n },\n ],\n }),\n ],\n },\n },\n },\n };\n\n return entityDef;\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './entity-entry.audit-log';\n"],"names":[],"mappings":";;;AAAA,MAAM,MAAM,GAAG;AACb,IAAA,IAAI,EAAE,gBAAgB;CACvB;AAEM,MAAM,UAAU,GAAG;IACxB,MAAM;AACN,IAAA,MAAM,EAAE;AACN,QAAA,KAAK,EAAE,gBAAgB;AACvB,QAAA,MAAM,EAAE,gBAAgB;AACxB,QAAA,IAAI,EAAE,eAAe;AACrB,QAAA,KAAK,EAAE,8BAA8B;AACrC,QAAA,IAAI,EAAE,8BAA8B;AACrC,KAAA;AACD,IAAA,QAAQ,EAAE;AACR,QAAA,QAAQ,EAAE;AACR,YAAA,IAAI,EAAE,UAAU;AAChB,YAAA,KAAK,EAAE,+CAA+C;AACtD,YAAA,WAAW,EAAE,gDAAgD;AAC7D,YAAA,IAAI,EAAE,uBAAuB;AAC9B,SAAA;AACD,QAAA,QAAQ,EAAE;AACR,YAAA,IAAI,EAAE,UAAU;AAChB,YAAA,KAAK,EAAE,0CAA0C;AACjD,YAAA,WAAW,EAAE,2CAA2C;AACxD,YAAA,IAAI,EAAE,wBAAwB;AAC/B,SAAA;AACD,QAAA,cAAc,EAAE;AACd,YAAA,IAAI,EAAE,gBAAgB;AACtB,YAAA,KAAK,EAAE,iDAAiD;AACxD,YAAA,WAAW,EAAE,kDAAkD;AAC/D,YAAA,IAAI,EAAE,mBAAmB;AAC1B,SAAA;AACD,QAAA,eAAe,EAAE;AACf,YAAA,IAAI,EAAE,iBAAiB;AACvB,YAAA,KAAK,EAAE,kDAAkD;AACzD,YAAA,WAAW,EAAE,mDAAmD;AAChE,YAAA,IAAI,EAAE,mBAAmB;AAC1B,SAAA;AACD,QAAA,UAAU,EAAE;AACV,YAAA,IAAI,EAAE,YAAY;AAClB,YAAA,KAAK,EAAE,4CAA4C;AACnD,YAAA,WAAW,EAAE,6CAA6C;AAC1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AoB;AAC7B,4BAAA,QAAQ,EAAE,WAAW;AACrB,4BAAA,IAAI,EAAE,MAAM;4BACZ,KAAK,EAAE,qBAAqB,CAAC,UAAU;AACxC,yBAAA;;;;;;;;AAQF,qBAAA;AACD,oBAAA,KAAK,EAAE;AACL,wBAAA,kBAAkB,CAAC;4BACjB,KAAK,EAAE,CAAC,EAAE,IAAI,EAAE,iBAAiB,EAAE,GAAG,EAAE,KAAK,EAAE,CAAC;yBACjD,CAAC;wBACF,eAAe,CAAC,WAAW,EAAE,SAAS,CAAC,WAAW,CAAC,EAAE,IAAI,EAAE;AACzD,4BAAA,UAAU,EAAE;AACV,gCAAA;AACE,oCAAA,IAAI,EAAE,MAAM;AACZ,oCAAA,QAAQ,EAAE;AACR,wCAAA,IAAI,EAAE,OAAO;AACd,qCAAA;AACD,oCAAA,KAAK,EAAE,MAAM;AACd,iCAAA;AACF,6BAAA;yBACF,CAAC;AACH,qBAAA;AACF,iBAAA;AACF,aAAA;AACF,SAAA;KACF;AAED,IAAA,OAAO,SAAS;AAClB;;AC9nBA;;AAEG;;;;"}
@@ -0,0 +1,161 @@
1
+ import { AXPWidgetsList } from '@acorex-platform/framework-shared/core';
2
+ import { entityMasterRecordActions, createAllQueryView, entityMasterCrudActions } from '@acorex-platform/framework-shared/entity';
3
+
4
+ const config = {
5
+ i18n: 'system-insight',
6
+ };
7
+ const RootConfig = {
8
+ config,
9
+ module: {
10
+ route: 'system-insight',
11
+ module: 'system-insight',
12
+ name: 'SystemInsight',
13
+ title: '@system-insight:module.title',
14
+ icon: 'fa-light fa-monitor-waveform',
15
+ },
16
+ entities: {
17
+ auditLog: {
18
+ name: 'AuditLog',
19
+ title: '@system-insight:logs.entities.audit-log.title',
20
+ titlePlural: '@system-insight:logs.entities.audit-log.plural',
21
+ icon: 'fa-light fa-file-code',
22
+ },
23
+ logEntry: {
24
+ name: 'LogEntry',
25
+ title: '@system-insight:entities.log-entry.title',
26
+ titlePlural: '@system-insight:entities.log-entry.plural',
27
+ icon: 'fa-light fa-file-lines',
28
+ },
29
+ httpRequestLog: {
30
+ name: 'HttpRequestLog',
31
+ title: '@system-insight:entities.http-request-log.title',
32
+ titlePlural: '@system-insight:entities.http-request-log.plural',
33
+ icon: 'fa-light fa-globe',
34
+ },
35
+ jobExecutionLog: {
36
+ name: 'JobExecutionLog',
37
+ title: '@system-insight:entities.job-execution-log.title',
38
+ titlePlural: '@system-insight:entities.job-execution-log.plural',
39
+ icon: 'fa-light fa-clock',
40
+ },
41
+ traceEntry: {
42
+ name: 'TraceEntry',
43
+ title: '@system-insight:entities.trace-entry.title',
44
+ titlePlural: '@system-insight:entities.trace-entry.plural',
45
+ icon: 'fa-light fa-route',
46
+ },
47
+ traceSpan: {
48
+ name: 'TraceSpan',
49
+ title: '@system-insight:entities.trace-span.title',
50
+ titlePlural: '@system-insight:entities.trace-span.plural',
51
+ icon: 'fa-light fa-diagram-project',
52
+ },
53
+ errorEvent: {
54
+ name: 'ErrorEvent',
55
+ title: '@system-insight:entities.error-event.title',
56
+ titlePlural: '@system-insight:entities.error-event.plural',
57
+ icon: 'fa-light fa-circle-exclamation',
58
+ },
59
+ slowRequest: {
60
+ name: 'SlowRequest',
61
+ title: '@system-insight:entities.slow-request.title',
62
+ titlePlural: '@system-insight:entities.slow-request.plural',
63
+ icon: 'fa-light fa-hourglass-half',
64
+ },
65
+ metricPoint: {
66
+ name: 'MetricPoint',
67
+ title: '@system-insight:entities.metric-point.title',
68
+ titlePlural: '@system-insight:entities.metric-point.plural',
69
+ icon: 'fa-light fa-chart-line',
70
+ },
71
+ savedView: {
72
+ name: 'SavedView',
73
+ title: '@system-insight:entities.saved-view.title',
74
+ titlePlural: '@system-insight:entities.saved-view.plural',
75
+ icon: 'fa-light fa-bookmark',
76
+ },
77
+ alertRule: {
78
+ name: 'AlertRule',
79
+ title: '@system-insight:entities.alert-rule.title',
80
+ titlePlural: '@system-insight:entities.alert-rule.plural',
81
+ icon: 'fa-light fa-bell',
82
+ },
83
+ observabilityDataSource: {
84
+ name: 'ObservabilityDataSource',
85
+ title: '@system-insight:entities.observability-data-source.title',
86
+ titlePlural: '@system-insight:entities.observability-data-source.plural',
87
+ icon: 'fa-light fa-database',
88
+ },
89
+ retentionPolicy: {
90
+ name: 'RetentionPolicy',
91
+ title: '@system-insight:entities.retention-policy.title',
92
+ titlePlural: '@system-insight:entities.retention-policy.plural',
93
+ icon: 'fa-light fa-calendar-clock',
94
+ },
95
+ dashboardWidgetConfig: {
96
+ name: 'DashboardWidgetConfig',
97
+ title: '@system-insight:entities.dashboard-widget-config.title',
98
+ titlePlural: '@system-insight:entities.dashboard-widget-config.plural',
99
+ icon: 'fa-light fa-grid-2',
100
+ },
101
+ },
102
+ };
103
+
104
+ async function dashboardWidgetConfigEntityFactory() {
105
+ return {
106
+ module: RootConfig.module.name,
107
+ name: RootConfig.entities.dashboardWidgetConfig.name,
108
+ title: RootConfig.entities.dashboardWidgetConfig.title,
109
+ icon: RootConfig.entities.dashboardWidgetConfig.icon,
110
+ formats: {
111
+ individual: RootConfig.entities.dashboardWidgetConfig.title,
112
+ plural: RootConfig.entities.dashboardWidgetConfig.titlePlural,
113
+ searchResult: { title: '{{ title }}', description: RootConfig.entities.dashboardWidgetConfig.title },
114
+ },
115
+ groups: [{ id: 'general', title: '@system-insight:groups.general' }],
116
+ properties: [
117
+ { name: 'title', title: '@system-insight:fields.title', groupId: 'general', schema: { dataType: 'string', interface: { type: AXPWidgetsList.Editors.TextBox } } },
118
+ { name: 'widgetType', title: '@system-insight:fields.widget-type', groupId: 'general', schema: { dataType: 'string', interface: { type: AXPWidgetsList.Editors.TextBox } } },
119
+ { name: 'dashboardKey', title: '@system-insight:fields.dashboard-key', groupId: 'general', schema: { dataType: 'string', interface: { type: AXPWidgetsList.Editors.TextBox } } },
120
+ { name: 'order', title: '@system-insight:fields.order', groupId: 'general', schema: { dataType: 'number', interface: { type: AXPWidgetsList.Editors.NumberBox } } },
121
+ {
122
+ name: 'tenantId',
123
+ title: '@system-insight:fields.tenant-id',
124
+ groupId: 'general',
125
+ schema: {
126
+ dataType: 'string',
127
+ nullable: true,
128
+ interface: {
129
+ type: AXPWidgetsList.Editors.LookupBox,
130
+ options: {
131
+ entity: 'TenantManagement.Tenant',
132
+ textField: 'title',
133
+ valueField: 'id',
134
+ look: 'select',
135
+ expose: [
136
+ { source: 'id', target: 'tenant.id' },
137
+ { source: 'title', target: 'tenant.title' },
138
+ ],
139
+ },
140
+ },
141
+ },
142
+ },
143
+ ],
144
+ columns: [{ name: 'title' }, { name: 'widgetType' }, { name: 'dashboardKey' }, { name: 'order' }],
145
+ interfaces: {
146
+ master: {
147
+ list: { actions: [...entityMasterCrudActions()], views: [createAllQueryView()] },
148
+ single: { title: '{{ title }}', sections: [{ id: 'general' }], properties: [{ name: 'title' }, { name: 'widgetType' }, { name: 'dashboardKey' }, { name: 'order' }], actions: [...entityMasterRecordActions()] },
149
+ create: { sections: [{ id: 'general' }], properties: [{ name: 'title' }, { name: 'widgetType' }, { name: 'dashboardKey' }, { name: 'order' }] },
150
+ update: { sections: [{ id: 'general' }], properties: [{ name: 'title' }, { name: 'widgetType' }, { name: 'dashboardKey' }, { name: 'order' }] },
151
+ },
152
+ },
153
+ };
154
+ }
155
+
156
+ /**
157
+ * Generated bundle index. Do not edit.
158
+ */
159
+
160
+ export { dashboardWidgetConfigEntityFactory };
161
+ //# sourceMappingURL=acorex-platform-module-system-insight-client-contracts-entities-dashboard-widget-config.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"acorex-platform-module-system-insight-client-contracts-entities-dashboard-widget-config.mjs","sources":["../../../../libs/modules/system-insight/contracts/src/root-config.ts","../../../../libs/modules/system-insight/contracts/src/entities/dashboard-widget-config/dashboard-widget-config.entity.ts","../../../../libs/modules/system-insight/contracts/src/acorex-platform-module-system-insight-client-contracts-entities-dashboard-widget-config.ts"],"sourcesContent":["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 { AXPEntity, createAllQueryView, entityMasterCrudActions, entityMasterRecordActions } from '@acorex-platform/framework-shared/entity';\nimport { RootConfig } from '../../root-config';\n\nexport async function dashboardWidgetConfigEntityFactory(): Promise<AXPEntity | null> {\n return {\n module: RootConfig.module.name,\n name: RootConfig.entities.dashboardWidgetConfig.name,\n title: RootConfig.entities.dashboardWidgetConfig.title,\n icon: RootConfig.entities.dashboardWidgetConfig.icon,\n formats: {\n individual: RootConfig.entities.dashboardWidgetConfig.title,\n plural: RootConfig.entities.dashboardWidgetConfig.titlePlural,\n searchResult: { title: '{{ title }}', description: RootConfig.entities.dashboardWidgetConfig.title },\n },\n groups: [{ id: 'general', title: '@system-insight:groups.general' }],\n properties: [\n { name: 'title', title: '@system-insight:fields.title', groupId: 'general', schema: { dataType: 'string', interface: { type: AXPWidgetsList.Editors.TextBox } } },\n { name: 'widgetType', title: '@system-insight:fields.widget-type', groupId: 'general', schema: { dataType: 'string', interface: { type: AXPWidgetsList.Editors.TextBox } } },\n { name: 'dashboardKey', title: '@system-insight:fields.dashboard-key', groupId: 'general', schema: { dataType: 'string', interface: { type: AXPWidgetsList.Editors.TextBox } } },\n { name: 'order', title: '@system-insight:fields.order', groupId: 'general', schema: { dataType: 'number', interface: { type: AXPWidgetsList.Editors.NumberBox } } },\n {\n name: 'tenantId',\n title: '@system-insight:fields.tenant-id',\n groupId: 'general',\n schema: {\n dataType: 'string',\n nullable: true,\n interface: {\n type: AXPWidgetsList.Editors.LookupBox,\n options: {\n entity: 'TenantManagement.Tenant',\n textField: 'title',\n valueField: 'id',\n look: 'select',\n expose: [\n { source: 'id', target: 'tenant.id' },\n { source: 'title', target: 'tenant.title' },\n ],\n },\n },\n },\n },\n ],\n columns: [{ name: 'title' }, { name: 'widgetType' }, { name: 'dashboardKey' }, { name: 'order' }],\n interfaces: {\n master: {\n list: { actions: [...entityMasterCrudActions()], views: [createAllQueryView()] },\n single: { title: '{{ title }}', sections: [{ id: 'general' }], properties: [{ name: 'title' }, { name: 'widgetType' }, { name: 'dashboardKey' }, { name: 'order' }], actions: [...entityMasterRecordActions()] },\n create: { sections: [{ id: 'general' }], properties: [{ name: 'title' }, { name: 'widgetType' }, { name: 'dashboardKey' }, { name: 'order' }] },\n update: { sections: [{ id: 'general' }], properties: [{ name: 'title' }, { name: 'widgetType' }, { name: 'dashboardKey' }, { name: 'order' }] },\n },\n },\n };\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './entity-entry.dashboard-widget-config';\n"],"names":[],"mappings":";;;AAAA,MAAM,MAAM,GAAG;AACb,IAAA,IAAI,EAAE,gBAAgB;CACvB;AAEM,MAAM,UAAU,GAAG;IACxB,MAAM;AACN,IAAA,MAAM,EAAE;AACN,QAAA,KAAK,EAAE,gBAAgB;AACvB,QAAA,MAAM,EAAE,gBAAgB;AACxB,QAAA,IAAI,EAAE,eAAe;AACrB,QAAA,KAAK,EAAE,8BAA8B;AACrC,QAAA,IAAI,EAAE,8BAA8B;AACrC,KAAA;AACD,IAAA,QAAQ,EAAE;AACR,QAAA,QAAQ,EAAE;AACR,YAAA,IAAI,EAAE,UAAU;AAChB,YAAA,KAAK,EAAE,+CAA+C;AACtD,YAAA,WAAW,EA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AO,EAAE,EAAE,EAAE,IAAI,EAAE,YAAY,EAAE,EAAE,EAAE,IAAI,EAAE,cAAc,EAAE,EAAE,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC,EAAE,OAAO,EAAE,CAAC,GAAG,yBAAyB,EAAE,CAAC,EAAE;AAChN,gBAAA,MAAM,EAAE,EAAE,QAAQ,EAAE,CAAC,EAAE,EAAE,EAAE,SAAS,EAAE,CAAC,EAAE,UAAU,EAAE,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,EAAE,EAAE,IAAI,EAAE,YAAY,EAAE,EAAE,EAAE,IAAI,EAAE,cAAc,EAAE,EAAE,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC,EAAE;AAC/I,gBAAA,MAAM,EAAE,EAAE,QAAQ,EAAE,CAAC,EAAE,EAAE,EAAE,SAAS,EAAE,CAAC,EAAE,UAAU,EAAE,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,EAAE,EAAE,IAAI,EAAE,YAAY,EAAE,EAAE,EAAE,IAAI,EAAE,cAAc,EAAE,EAAE,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC,EAAE;AAChJ,aAAA;AACF,SAAA;KACF;AACH;;ACtDA;;AAEG;;;;"}
@@ -0,0 +1,365 @@
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 errorEventEntityFactory() {
173
+ const i18n = RootConfig.config.i18n;
174
+ const properties = [
175
+ {
176
+ name: 'timestamp',
177
+ title: '@system-insight:fields.timestamp',
178
+ groupId: 'general',
179
+ schema: { dataType: 'date', interface: { type: AXPWidgetsList.Editors.DateTimeBox } },
180
+ options: listFieldOptions,
181
+ },
182
+ {
183
+ name: 'errorType',
184
+ title: '@system-insight:fields.error-type',
185
+ groupId: 'general',
186
+ schema: { dataType: 'string', interface: { type: AXPWidgetsList.Editors.TextBox } },
187
+ options: listFieldOptions,
188
+ },
189
+ {
190
+ name: 'message',
191
+ title: '@system-insight:fields.message',
192
+ groupId: 'general',
193
+ schema: { dataType: 'string', interface: { type: AXPWidgetsList.Editors.TextBox } },
194
+ options: listFieldOptions,
195
+ },
196
+ {
197
+ name: 'serviceName',
198
+ title: '@system-insight:fields.service-name',
199
+ groupId: 'general',
200
+ schema: { dataType: 'string', interface: { type: AXPWidgetsList.Editors.TextBox } },
201
+ options: listFieldOptions,
202
+ },
203
+ {
204
+ name: 'traceId',
205
+ title: '@system-insight:fields.trace-id',
206
+ groupId: 'general',
207
+ schema: { dataType: 'string', interface: { type: AXPWidgetsList.Editors.TextBox } },
208
+ options: listFieldOptions,
209
+ },
210
+ {
211
+ name: 'requestId',
212
+ title: '@system-insight:fields.request-id',
213
+ groupId: 'general',
214
+ schema: { dataType: 'string', interface: { type: AXPWidgetsList.Editors.TextBox } },
215
+ options: listFieldOptions,
216
+ },
217
+ {
218
+ name: 'userId',
219
+ title: '@system-insight:fields.user-id',
220
+ groupId: 'general',
221
+ schema: {
222
+ dataType: 'string',
223
+ nullable: true,
224
+ readonly: true,
225
+ interface: {
226
+ type: AXPWidgetsList.Editors.LookupBox,
227
+ options: {
228
+ entity: 'SecurityManagement.User',
229
+ textField: 'displayName',
230
+ valueField: 'id',
231
+ look: 'select',
232
+ readonly: true,
233
+ disabled: true,
234
+ expose: [
235
+ { source: 'id', target: 'user.id' },
236
+ { source: 'displayName', target: 'user.displayName' },
237
+ ],
238
+ },
239
+ },
240
+ },
241
+ options: listFieldOptions,
242
+ },
243
+ {
244
+ name: 'tenantId',
245
+ title: '@system-insight:fields.tenant-id',
246
+ groupId: 'general',
247
+ schema: {
248
+ dataType: 'string',
249
+ nullable: true,
250
+ readonly: true,
251
+ interface: {
252
+ type: AXPWidgetsList.Editors.LookupBox,
253
+ options: {
254
+ entity: 'TenantManagement.Tenant',
255
+ textField: 'title',
256
+ valueField: 'id',
257
+ look: 'select',
258
+ readonly: true,
259
+ disabled: true,
260
+ expose: [
261
+ { source: 'id', target: 'tenant.id' },
262
+ { source: 'title', target: 'tenant.title' },
263
+ ],
264
+ },
265
+ },
266
+ },
267
+ options: listFieldOptions,
268
+ },
269
+ {
270
+ name: 'fingerprint',
271
+ title: '@system-insight:fields.fingerprint',
272
+ groupId: 'general',
273
+ schema: { dataType: 'string', interface: { type: AXPWidgetsList.Editors.TextBox } },
274
+ options: listFieldOptions,
275
+ },
276
+ ];
277
+ return {
278
+ module: RootConfig.module.name,
279
+ name: RootConfig.entities.errorEvent.name,
280
+ title: RootConfig.entities.errorEvent.title,
281
+ icon: RootConfig.entities.errorEvent.icon,
282
+ formats: {
283
+ individual: RootConfig.entities.errorEvent.title,
284
+ plural: RootConfig.entities.errorEvent.titlePlural,
285
+ searchResult: {
286
+ title: '{{ message }}',
287
+ description: RootConfig.entities.errorEvent.title,
288
+ },
289
+ },
290
+ groups: [{ id: 'general', title: `@${i18n}:groups.general` }],
291
+ properties,
292
+ columns: [
293
+ { name: 'timestamp' },
294
+ { name: 'errorType' },
295
+ { name: 'message' },
296
+ { name: 'serviceName' },
297
+ { name: 'traceId' },
298
+ ],
299
+ queries: {
300
+ list: { execute: AXMSystemInsightQueryKeys.ErrorEvent.List, type: AXPEntityQueryType.List },
301
+ byKey: { execute: AXMSystemInsightQueryKeys.ErrorEvent.GetOne, type: AXPEntityQueryType.Single },
302
+ aggregate: { execute: AXMSystemInsightQueryKeys.ErrorEvent.Aggregate, type: AXPEntityQueryType.List },
303
+ },
304
+ commands: {
305
+ create: { execute: readOnlyCrud },
306
+ update: { execute: readOnlyCrud },
307
+ delete: { execute: readOnlyCrud },
308
+ createAlertFromFilter: { execute: AXMSystemInsightCommandKeys.AlertRule.CreateFromFilter },
309
+ },
310
+ interfaces: {
311
+ master: {
312
+ list: {
313
+ actions: [
314
+ {
315
+ title: '@general:actions.detail.title',
316
+ icon: 'fa-light fa-eye',
317
+ command: 'Entity:View',
318
+ priority: 'primary',
319
+ type: 'view',
320
+ scope: AXPEntityCommandScope.Individual,
321
+ default: true,
322
+ },
323
+ ],
324
+ views: [
325
+ createAllQueryView({
326
+ sorts: [{ name: 'timestamp', dir: 'desc' }],
327
+ }),
328
+ ],
329
+ },
330
+ single: {
331
+ title: '{{ message }}',
332
+ sections: [{ id: 'general' }],
333
+ properties: properties.map((property) => ({
334
+ name: property.name,
335
+ layout: { positions: { lg: { colSpan: 6 } } },
336
+ })),
337
+ actions: [
338
+ {
339
+ title: `@${i18n}:actions.create-alert.title`,
340
+ command: AXMSystemInsightCommandKeys.AlertRule.CreateFromFilter,
341
+ priority: 'secondary',
342
+ type: 'action',
343
+ scope: AXPEntityCommandScope.Individual,
344
+ },
345
+ {
346
+ title: `@${i18n}:actions.view-trace.title`,
347
+ command: AXMSystemInsightCommandKeys.Trace.OpenTimeline,
348
+ priority: 'secondary',
349
+ type: 'view',
350
+ scope: AXPEntityCommandScope.Individual,
351
+ hidden: `{{ !context.eval("traceId") }}`,
352
+ },
353
+ ],
354
+ },
355
+ },
356
+ },
357
+ };
358
+ }
359
+
360
+ /**
361
+ * Generated bundle index. Do not edit.
362
+ */
363
+
364
+ export { errorEventEntityFactory };
365
+ //# sourceMappingURL=acorex-platform-module-system-insight-client-contracts-entities-error-event.mjs.map