@acorex-platform/module-background-job-management-client 0.0.32 → 0.0.37

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 (34) hide show
  1. package/fesm2022/acorex-platform-module-background-job-management-client-background-job-command-error.util-BHBmSbvw.mjs.map +1 -1
  2. package/fesm2022/acorex-platform-module-background-job-management-client-background-job-source-column.component-JzU8l_7q.mjs.map +1 -1
  3. package/fesm2022/acorex-platform-module-background-job-management-client-cancel-background-job.command-BHCWX1c1.mjs.map +1 -1
  4. package/fesm2022/acorex-platform-module-background-job-management-client-contracts-entities-background-job-attempt.mjs +262 -0
  5. package/fesm2022/acorex-platform-module-background-job-management-client-contracts-entities-background-job-attempt.mjs.map +1 -0
  6. package/fesm2022/acorex-platform-module-background-job-management-client-contracts-entities-background-job-schedule.mjs +558 -0
  7. package/fesm2022/acorex-platform-module-background-job-management-client-contracts-entities-background-job-schedule.mjs.map +1 -0
  8. package/fesm2022/acorex-platform-module-background-job-management-client-contracts-entities-background-job.mjs +500 -0
  9. package/fesm2022/acorex-platform-module-background-job-management-client-contracts-entities-background-job.mjs.map +1 -0
  10. package/fesm2022/acorex-platform-module-background-job-management-client-contracts-entity-catalog-acorex-platform-module-background-job-management-client-contracts-entity-catalog-CfD1Ah3A.mjs +67 -0
  11. package/fesm2022/acorex-platform-module-background-job-management-client-contracts-entity-catalog-acorex-platform-module-background-job-management-client-contracts-entity-catalog-CfD1Ah3A.mjs.map +1 -0
  12. package/fesm2022/acorex-platform-module-background-job-management-client-contracts-entity-catalog-background-job-attempt.entity-B_yM42Jc.mjs +216 -0
  13. package/fesm2022/acorex-platform-module-background-job-management-client-contracts-entity-catalog-background-job-attempt.entity-B_yM42Jc.mjs.map +1 -0
  14. package/fesm2022/acorex-platform-module-background-job-management-client-contracts-entity-catalog-background-job-schedule.entity-tRaW_7GK.mjs +512 -0
  15. package/fesm2022/acorex-platform-module-background-job-management-client-contracts-entity-catalog-background-job-schedule.entity-tRaW_7GK.mjs.map +1 -0
  16. package/fesm2022/acorex-platform-module-background-job-management-client-contracts-entity-catalog-background-job.entity-CxAscwN8.mjs +454 -0
  17. package/fesm2022/acorex-platform-module-background-job-management-client-contracts-entity-catalog-background-job.entity-CxAscwN8.mjs.map +1 -0
  18. package/fesm2022/acorex-platform-module-background-job-management-client-contracts-entity-catalog.mjs +2 -0
  19. package/fesm2022/acorex-platform-module-background-job-management-client-contracts-entity-catalog.mjs.map +1 -0
  20. package/fesm2022/acorex-platform-module-background-job-management-client-contracts.mjs.map +1 -1
  21. package/fesm2022/acorex-platform-module-background-job-management-client-local-entities.mjs +31 -0
  22. package/fesm2022/acorex-platform-module-background-job-management-client-local-entities.mjs.map +1 -0
  23. package/fesm2022/acorex-platform-module-background-job-management-client-replay-dead-letter.command-BM4NYBxr.mjs.map +1 -1
  24. package/fesm2022/acorex-platform-module-background-job-management-client-retry-background-job.command-BBEAc_i7.mjs.map +1 -1
  25. package/fesm2022/acorex-platform-module-background-job-management-client-run-schedule-now.command-5RV6hAnH.mjs.map +1 -1
  26. package/fesm2022/acorex-platform-module-background-job-management-client-tray-execute-click.command-CEVhvrDQ.mjs.map +1 -1
  27. package/fesm2022/acorex-platform-module-background-job-management-client-tray-run-action.command-B9SFMGxf.mjs.map +1 -1
  28. package/fesm2022/acorex-platform-module-background-job-management-client.mjs.map +1 -1
  29. package/package.json +21 -1
  30. package/types/acorex-platform-module-background-job-management-client-contracts-entities-background-job-attempt.d.ts +5 -0
  31. package/types/acorex-platform-module-background-job-management-client-contracts-entities-background-job-schedule.d.ts +5 -0
  32. package/types/acorex-platform-module-background-job-management-client-contracts-entities-background-job.d.ts +5 -0
  33. package/types/acorex-platform-module-background-job-management-client-contracts-entity-catalog.d.ts +10 -0
  34. package/types/acorex-platform-module-background-job-management-client-local-entities.d.ts +12 -0
@@ -0,0 +1,512 @@
1
+ import { AXPWidgetsCatalog, AXPWidgetsList, AXPRegionalSetting, AXPSystemActionType } from '@acorex-platform/framework-shared/core';
2
+ import { AXPBackgroundJobCommandKeys, AXP_BACKGROUND_JOB_SCHEDULE_STATUS_DEFINITION_KEY } from '@acorex-platform/framework-shared/background-job';
3
+ import { createAllQueryView, AXPEntityCommandScope, entityMasterCrudActions, entityMasterRecordActions, entityDetailsSimpleCondition } from '@acorex-platform/framework-shared/entity';
4
+ import { R as RootConfig } from './acorex-platform-module-background-job-management-client-contracts-entity-catalog-acorex-platform-module-background-job-management-client-contracts-entity-catalog-CfD1Ah3A.mjs';
5
+
6
+ const I18N = '@background-job-management:schedules.entities.background-job-schedule';
7
+ const CONCURRENCY_ITEMS = [
8
+ { name: 'skip-if-running', title: `${I18N}.options.concurrency.skip-if-running` },
9
+ { name: 'queue', title: `${I18N}.options.concurrency.queue` },
10
+ ];
11
+ const MISSED_RUN_ITEMS = [
12
+ { name: 'skip', title: `${I18N}.options.missed-run.skip` },
13
+ { name: 'catch-up-one', title: `${I18N}.options.missed-run.catch-up-one` },
14
+ ];
15
+ const SOURCE_ITEMS = [
16
+ { name: 'system', title: `${I18N}.options.source.system` },
17
+ { name: 'integration', title: `${I18N}.options.source.integration` },
18
+ { name: 'user', title: `${I18N}.options.source.user` },
19
+ ];
20
+ const VISIBILITY_ITEMS = [
21
+ { name: 'initiator', title: `${I18N}.options.visibility.initiator` },
22
+ { name: 'tenant-admin', title: `${I18N}.options.visibility.tenant-admin` },
23
+ { name: 'silent', title: `${I18N}.options.visibility.silent` },
24
+ ];
25
+ const FAILURE_ACTION_ITEMS = [
26
+ { name: 'pause', title: `${I18N}.options.failure-action.pause` },
27
+ { name: 'disable', title: `${I18N}.options.failure-action.disable` },
28
+ { name: 'alert-only', title: `${I18N}.options.failure-action.alert` },
29
+ ];
30
+ async function factoryBackgroundJobSchedule() {
31
+ const entityDef = {
32
+ module: RootConfig.module.name,
33
+ name: RootConfig.entities.backgroundJobSchedule.name,
34
+ title: RootConfig.entities.backgroundJobSchedule.title,
35
+ icon: RootConfig.entities.backgroundJobSchedule.icon,
36
+ plugins: [
37
+ { name: 'history' },
38
+ {
39
+ name: 'status',
40
+ options: {
41
+ field: 'status',
42
+ definition: AXP_BACKGROUND_JOB_SCHEDULE_STATUS_DEFINITION_KEY,
43
+ showInCreate: false,
44
+ generate: { views: { enabled: true } },
45
+ },
46
+ },
47
+ ],
48
+ formats: {
49
+ individual: RootConfig.entities.backgroundJobSchedule.title,
50
+ plural: RootConfig.entities.backgroundJobSchedule.titlePlural,
51
+ searchResult: {
52
+ title: '{{ title || command.key }}',
53
+ description: '{{ description || cron }}',
54
+ },
55
+ },
56
+ relatedEntities: [
57
+ {
58
+ entity: RootConfig.entities.backgroundJob.fullName,
59
+ title: `${I18N}.related-entities.jobs.title`,
60
+ icon: RootConfig.entities.backgroundJob.icon,
61
+ columns: [
62
+ 'title',
63
+ 'command',
64
+ 'executedAt',
65
+ 'completedAt',
66
+ 'totalDurationMs',
67
+ 'progress',
68
+ 'trigger',
69
+ 'result',
70
+ ],
71
+ conditions: [entityDetailsSimpleCondition('scheduleId')],
72
+ layout: { type: 'page-list', position: 'after', order: 1 },
73
+ actions: [
74
+ {
75
+ title: '@general:actions.view.title',
76
+ command: { name: 'Entity:View' },
77
+ priority: 'primary',
78
+ default: true,
79
+ type: AXPSystemActionType.View,
80
+ scope: AXPEntityCommandScope.Individual,
81
+ },
82
+ ],
83
+ },
84
+ ],
85
+ groups: [
86
+ { id: 'basicInfo', title: `${I18N}.groups.basic-info` },
87
+ { id: 'command', title: `${I18N}.groups.command` },
88
+ { id: 'recurrence', title: `${I18N}.groups.recurrence` },
89
+ { id: 'policies', title: `${I18N}.groups.policies` },
90
+ { id: 'runtime', title: `${I18N}.groups.runtime` },
91
+ ],
92
+ properties: [
93
+ {
94
+ name: 'id',
95
+ title: 'ID',
96
+ groupId: 'basicInfo',
97
+ schema: {
98
+ dataType: 'uuid',
99
+ visible: false,
100
+ nullable: false,
101
+ readonly: true,
102
+ unique: { enabled: true },
103
+ },
104
+ },
105
+ {
106
+ name: 'title',
107
+ title: `${I18N}.fields.title.title`,
108
+ groupId: 'basicInfo',
109
+ schema: {
110
+ dataType: 'string',
111
+ interface: { type: AXPWidgetsCatalog.text, options: { multiLanguage: true } },
112
+ },
113
+ options: { filter: { advance: { enabled: true }, inline: { enabled: false } }, sort: { enabled: true } },
114
+ validations: [{ rule: 'required' }],
115
+ },
116
+ {
117
+ name: 'source',
118
+ title: `${I18N}.fields.source.title`,
119
+ groupId: 'basicInfo',
120
+ schema: {
121
+ dataType: 'string',
122
+ defaultValue: 'user',
123
+ readonly: true,
124
+ interface: {
125
+ type: AXPWidgetsCatalog.select,
126
+ options: {
127
+ readonly: true,
128
+ valueField: 'name',
129
+ textField: 'title',
130
+ multiple: false,
131
+ dataSource: SOURCE_ITEMS,
132
+ },
133
+ },
134
+ },
135
+ options: { filter: { advance: { enabled: true }, inline: { enabled: false } }, sort: { enabled: true } },
136
+ },
137
+ {
138
+ name: 'description',
139
+ title: `${I18N}.fields.description.title`,
140
+ groupId: 'basicInfo',
141
+ schema: {
142
+ dataType: 'string',
143
+ interface: { type: AXPWidgetsCatalog.largeText, options: { rows: 3 } },
144
+ },
145
+ options: { filter: { advance: { enabled: true }, inline: { enabled: false } }, sort: { enabled: false } },
146
+ },
147
+ {
148
+ name: 'command',
149
+ title: `${I18N}.fields.command.title`,
150
+ groupId: 'command',
151
+ schema: {
152
+ dataType: 'object',
153
+ interface: {
154
+ type: AXPWidgetsList.Editors.ActivityCommandConfigurator,
155
+ options: {
156
+ loadStrategy: 'command-registry',
157
+ executionModeFilter: 'backend',
158
+ capabilitiesFilter: ['background-job'],
159
+ },
160
+ },
161
+ },
162
+ options: { filter: { advance: { enabled: false }, inline: { enabled: false } }, sort: { enabled: false } },
163
+ validations: [{ rule: 'required' }],
164
+ },
165
+ {
166
+ name: 'cron',
167
+ title: `${I18N}.fields.cron.title`,
168
+ groupId: 'recurrence',
169
+ schema: {
170
+ dataType: 'string',
171
+ defaultValue: '0 0 * * *',
172
+ interface: { type: AXPWidgetsCatalog.cronJob },
173
+ },
174
+ options: { filter: { advance: { enabled: false }, inline: { enabled: false } }, sort: { enabled: false } },
175
+ validations: [{ rule: 'required' }],
176
+ },
177
+ {
178
+ name: 'timezone',
179
+ title: `${I18N}.fields.timezone.title`,
180
+ groupId: 'recurrence',
181
+ schema: {
182
+ dataType: 'string',
183
+ defaultValue: `{{ settings.get('${AXPRegionalSetting.TimeZone}') }}`,
184
+ interface: {
185
+ type: AXPWidgetsCatalog.lookup,
186
+ options: {
187
+ entity: 'LocaleManagement.Timezones',
188
+ look: 'select',
189
+ allowSearch: true,
190
+ valueField: 'code',
191
+ textField: 'title',
192
+ filter: {
193
+ logic: 'and',
194
+ filters: [{ field: 'isActive', operator: { type: 'equal' }, value: true }],
195
+ },
196
+ },
197
+ },
198
+ },
199
+ options: { filter: { advance: { enabled: true }, inline: { enabled: false } }, sort: { enabled: true } },
200
+ validations: [{ rule: 'required' }],
201
+ },
202
+ {
203
+ name: 'concurrencyPolicy',
204
+ title: `${I18N}.fields.concurrency-policy.title`,
205
+ groupId: 'policies',
206
+ schema: {
207
+ dataType: 'string',
208
+ defaultValue: 'skip-if-running',
209
+ interface: {
210
+ type: AXPWidgetsCatalog.select,
211
+ options: {
212
+ valueField: 'name',
213
+ textField: 'title',
214
+ multiple: false,
215
+ dataSource: CONCURRENCY_ITEMS,
216
+ },
217
+ },
218
+ },
219
+ options: { filter: { advance: { enabled: false }, inline: { enabled: false } }, sort: { enabled: false } },
220
+ },
221
+ {
222
+ name: 'missedRunPolicy',
223
+ title: `${I18N}.fields.missed-run-policy.title`,
224
+ groupId: 'policies',
225
+ schema: {
226
+ dataType: 'string',
227
+ defaultValue: 'skip',
228
+ interface: {
229
+ type: AXPWidgetsCatalog.select,
230
+ options: {
231
+ valueField: 'name',
232
+ textField: 'title',
233
+ multiple: false,
234
+ dataSource: MISSED_RUN_ITEMS,
235
+ },
236
+ },
237
+ },
238
+ options: { filter: { advance: { enabled: false }, inline: { enabled: false } }, sort: { enabled: false } },
239
+ },
240
+ {
241
+ name: 'defaultVisibility',
242
+ title: `${I18N}.fields.default-visibility.title`,
243
+ groupId: 'policies',
244
+ schema: {
245
+ dataType: 'string',
246
+ defaultValue: 'tenant-admin',
247
+ interface: {
248
+ type: AXPWidgetsCatalog.select,
249
+ options: {
250
+ valueField: 'name',
251
+ textField: 'title',
252
+ multiple: false,
253
+ dataSource: VISIBILITY_ITEMS,
254
+ },
255
+ },
256
+ },
257
+ options: { filter: { advance: { enabled: false }, inline: { enabled: false } }, sort: { enabled: false } },
258
+ },
259
+ {
260
+ name: 'failurePolicy.consecutiveFailureThreshold',
261
+ title: `${I18N}.fields.failure-threshold.title`,
262
+ groupId: 'policies',
263
+ schema: {
264
+ dataType: 'number',
265
+ defaultValue: 5,
266
+ interface: { type: AXPWidgetsCatalog.number, options: { minValue: 1 } },
267
+ },
268
+ options: { filter: { advance: { enabled: false }, inline: { enabled: false } }, sort: { enabled: false } },
269
+ validations: [{ rule: 'required' }],
270
+ },
271
+ {
272
+ name: 'failurePolicy.onThresholdExceeded',
273
+ title: `${I18N}.fields.failure-action.title`,
274
+ groupId: 'policies',
275
+ schema: {
276
+ dataType: 'string',
277
+ defaultValue: 'pause',
278
+ interface: {
279
+ type: AXPWidgetsCatalog.select,
280
+ options: {
281
+ valueField: 'name',
282
+ textField: 'title',
283
+ multiple: false,
284
+ dataSource: FAILURE_ACTION_ITEMS,
285
+ },
286
+ },
287
+ },
288
+ options: { filter: { advance: { enabled: false }, inline: { enabled: false } }, sort: { enabled: false } },
289
+ validations: [{ rule: 'required' }],
290
+ },
291
+ {
292
+ name: 'failurePolicy.resetAfterSuccess',
293
+ title: `${I18N}.fields.reset-failures-after-success.title`,
294
+ groupId: 'policies',
295
+ schema: {
296
+ dataType: 'boolean',
297
+ defaultValue: true,
298
+ interface: { type: AXPWidgetsCatalog.toggle },
299
+ },
300
+ options: { filter: { advance: { enabled: false }, inline: { enabled: false } }, sort: { enabled: false } },
301
+ },
302
+ {
303
+ name: 'nextRunAt',
304
+ title: `${I18N}.fields.next-run-at.title`,
305
+ groupId: 'runtime',
306
+ schema: {
307
+ dataType: 'datetime',
308
+ interface: { type: AXPWidgetsCatalog.dateTime, options: { format: 'datetime' } },
309
+ readonly: true,
310
+ },
311
+ options: { filter: { advance: { enabled: true }, inline: { enabled: false } }, sort: { enabled: true } },
312
+ },
313
+ {
314
+ name: 'lastTriggeredAt',
315
+ title: `${I18N}.fields.last-triggered-at.title`,
316
+ groupId: 'runtime',
317
+ schema: {
318
+ dataType: 'datetime',
319
+ interface: { type: AXPWidgetsCatalog.dateTime, options: { format: 'datetime' } },
320
+ readonly: true,
321
+ },
322
+ options: { filter: { advance: { enabled: true }, inline: { enabled: false } }, sort: { enabled: true } },
323
+ },
324
+ {
325
+ name: 'consecutiveFailures',
326
+ title: `${I18N}.fields.consecutive-failures.title`,
327
+ groupId: 'runtime',
328
+ schema: {
329
+ dataType: 'number',
330
+ interface: { type: AXPWidgetsCatalog.number },
331
+ readonly: true,
332
+ },
333
+ options: { filter: { advance: { enabled: false }, inline: { enabled: false } }, sort: { enabled: true } },
334
+ },
335
+ ],
336
+ columns: [
337
+ { name: 'title' },
338
+ { name: 'command' },
339
+ { name: 'cron' },
340
+ { name: 'lastTriggeredAt' },
341
+ { name: 'nextRunAt' },
342
+ { name: 'consecutiveFailures' },
343
+ ],
344
+ interfaces: {
345
+ master: {
346
+ create: {
347
+ sections: [
348
+ { id: 'basicInfo', order: 1, layout: { positions: { lg: { colSpan: 12 } } } },
349
+ { id: 'command', order: 2, layout: { positions: { lg: { colSpan: 12 } } } },
350
+ { id: 'recurrence', order: 3, layout: { positions: { lg: { colSpan: 12 } } } },
351
+ { id: 'policies', order: 4, layout: { positions: { lg: { colSpan: 12 } } } },
352
+ ],
353
+ properties: [
354
+ { name: 'title', layout: { positions: { lg: { colSpan: 12 } } } },
355
+ { name: 'description', layout: { positions: { lg: { colSpan: 12 } } } },
356
+ {
357
+ name: 'command',
358
+ layout: {
359
+ label: { visible: false },
360
+ positions: { lg: { colSpan: 12 } },
361
+ },
362
+ },
363
+ {
364
+ name: 'cron',
365
+ layout: {
366
+ label: { visible: false },
367
+ positions: { lg: { colSpan: 12 } },
368
+ },
369
+ },
370
+ { name: 'timezone', layout: { positions: { lg: { colSpan: 6 } } } },
371
+ { name: 'concurrencyPolicy', layout: { positions: { lg: { colSpan: 6 } } } },
372
+ { name: 'missedRunPolicy', layout: { positions: { lg: { colSpan: 6 } } } },
373
+ { name: 'defaultVisibility', layout: { positions: { lg: { colSpan: 6 } } } },
374
+ {
375
+ name: 'failurePolicy.consecutiveFailureThreshold',
376
+ layout: { positions: { lg: { colSpan: 4 } } },
377
+ },
378
+ { name: 'failurePolicy.onThresholdExceeded', layout: { positions: { lg: { colSpan: 4 } } } },
379
+ { name: 'failurePolicy.resetAfterSuccess', layout: { positions: { lg: { colSpan: 4 } } } },
380
+ ],
381
+ },
382
+ update: {
383
+ sections: [
384
+ { id: 'basicInfo', order: 1, layout: { positions: { lg: { colSpan: 12 } } } },
385
+ { id: 'command', order: 2, layout: { positions: { lg: { colSpan: 12 } } } },
386
+ { id: 'recurrence', order: 3, layout: { positions: { lg: { colSpan: 12 } } } },
387
+ { id: 'policies', order: 4, layout: { positions: { lg: { colSpan: 12 } } } },
388
+ ],
389
+ properties: [
390
+ { name: 'title', layout: { order: 1, positions: { lg: { colSpan: 6 } } } },
391
+ { name: 'source', layout: { order: 2, positions: { lg: { colSpan: 6 } } } },
392
+ { name: 'description', layout: { order: 3, positions: { lg: { colSpan: 12 } } } },
393
+ {
394
+ name: 'command',
395
+ layout: {
396
+ label: { visible: false },
397
+ positions: { lg: { colSpan: 12 } },
398
+ },
399
+ },
400
+ {
401
+ name: 'cron',
402
+ layout: {
403
+ label: { visible: false },
404
+ positions: { lg: { colSpan: 12 } },
405
+ },
406
+ },
407
+ { name: 'timezone', layout: { positions: { lg: { colSpan: 6 } } } },
408
+ { name: 'concurrencyPolicy', layout: { positions: { lg: { colSpan: 6 } } } },
409
+ { name: 'missedRunPolicy', layout: { positions: { lg: { colSpan: 6 } } } },
410
+ { name: 'defaultVisibility', layout: { positions: { lg: { colSpan: 6 } } } },
411
+ {
412
+ name: 'failurePolicy.consecutiveFailureThreshold',
413
+ layout: { positions: { lg: { colSpan: 4 } } },
414
+ },
415
+ { name: 'failurePolicy.onThresholdExceeded', layout: { positions: { lg: { colSpan: 4 } } } },
416
+ { name: 'failurePolicy.resetAfterSuccess', layout: { positions: { lg: { colSpan: 4 } } } },
417
+ ],
418
+ },
419
+ single: {
420
+ title: '{{ title || command.key }}',
421
+ sections: [
422
+ { id: 'basicInfo', order: 1, layout: { positions: { lg: { colSpan: 12 } } } },
423
+ { id: 'command', order: 2, layout: { positions: { lg: { colSpan: 12 } } } },
424
+ { id: 'recurrence', order: 3, layout: { positions: { lg: { colSpan: 12 } } } },
425
+ { id: 'policies', order: 4, layout: { positions: { lg: { colSpan: 12 } } } },
426
+ { id: 'runtime', order: 5, layout: { positions: { lg: { colSpan: 12 } } } },
427
+ ],
428
+ properties: [
429
+ { name: 'title', layout: { order: 1, positions: { lg: { colSpan: 6 } } } },
430
+ { name: 'source', layout: { order: 2, positions: { lg: { colSpan: 6 } } } },
431
+ { name: 'description', layout: { order: 3, positions: { lg: { colSpan: 12 } } } },
432
+ {
433
+ name: 'command',
434
+ layout: {
435
+ label: { visible: false },
436
+ positions: { lg: { colSpan: 12 } },
437
+ },
438
+ },
439
+ {
440
+ name: 'cron',
441
+ layout: {
442
+ label: { visible: false },
443
+ positions: { lg: { colSpan: 12 } },
444
+ },
445
+ },
446
+ { name: 'timezone', layout: { positions: { lg: { colSpan: 6 } } } },
447
+ { name: 'concurrencyPolicy', layout: { positions: { lg: { colSpan: 6 } } } },
448
+ { name: 'missedRunPolicy', layout: { positions: { lg: { colSpan: 6 } } } },
449
+ { name: 'defaultVisibility', layout: { positions: { lg: { colSpan: 6 } } } },
450
+ {
451
+ name: 'failurePolicy.consecutiveFailureThreshold',
452
+ layout: { positions: { lg: { colSpan: 4 } } },
453
+ },
454
+ { name: 'failurePolicy.onThresholdExceeded', layout: { positions: { lg: { colSpan: 4 } } } },
455
+ { name: 'failurePolicy.resetAfterSuccess', layout: { positions: { lg: { colSpan: 4 } } } },
456
+ { name: 'nextRunAt', layout: { positions: { lg: { colSpan: 4 } } } },
457
+ { name: 'lastTriggeredAt', layout: { positions: { lg: { colSpan: 4 } } } },
458
+ { name: 'consecutiveFailures', layout: { positions: { lg: { colSpan: 4 } } } },
459
+ ],
460
+ actions: [...entityMasterRecordActions()],
461
+ },
462
+ list: {
463
+ actions: [
464
+ ...entityMasterCrudActions(),
465
+ {
466
+ title: '@background-job-management:schedules.actions.run-now.title',
467
+ name: 'run-schedule-now',
468
+ command: {
469
+ name: AXPBackgroundJobCommandKeys.ScheduleRunNow,
470
+ options: {
471
+ scheduleId: '{{ context.eval("id") }}',
472
+ },
473
+ },
474
+ icon: 'fa-light fa-play',
475
+ color: 'success',
476
+ priority: 'secondary',
477
+ type: 'execute',
478
+ scope: AXPEntityCommandScope.Individual,
479
+ },
480
+ {
481
+ title: '@background-job-management:schedules.actions.bulk-run-now.title',
482
+ name: 'bulk-run-schedule-now',
483
+ command: {
484
+ name: 'Entity:Bulk',
485
+ options: {
486
+ command: AXPBackgroundJobCommandKeys.ScheduleRunNow,
487
+ entity: RootConfig.entities.backgroundJobSchedule.fullName,
488
+ idField: 'scheduleId',
489
+ confirm: {
490
+ title: '@background-job-management:schedules.actions.bulk-run-now.confirm.title',
491
+ message: '@background-job-management:schedules.actions.bulk-run-now.confirm.message',
492
+ },
493
+ },
494
+ },
495
+ icon: 'fa-light fa-play',
496
+ color: 'success',
497
+ priority: 'primary',
498
+ type: 'execute',
499
+ scope: AXPEntityCommandScope.Selected,
500
+ order: 10,
501
+ },
502
+ ],
503
+ views: [createAllQueryView({ sorts: [{ name: 'auditInfo.created.at', dir: 'desc' }] })],
504
+ },
505
+ },
506
+ },
507
+ };
508
+ return entityDef;
509
+ }
510
+
511
+ export { factoryBackgroundJobSchedule };
512
+ //# sourceMappingURL=acorex-platform-module-background-job-management-client-contracts-entity-catalog-background-job-schedule.entity-tRaW_7GK.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"acorex-platform-module-background-job-management-client-contracts-entity-catalog-background-job-schedule.entity-tRaW_7GK.mjs","sources":["../../../../libs/modules/background-job-management/contracts/src/entities/background-job-schedule/background-job-schedule.entity.ts"],"sourcesContent":["import { AXPRegionalSetting, AXPSystemActionType, AXPWidgetsCatalog, AXPWidgetsList } from '@acorex-platform/framework-shared/core';\nimport { AXPBackgroundJobCommandKeys, AXP_BACKGROUND_JOB_SCHEDULE_STATUS_DEFINITION_KEY } from '@acorex-platform/framework-shared/background-job';\nimport {\n AXPEntity,\n AXPEntityCommandScope,\n createAllQueryView,\n entityDetailsSimpleCondition,\n entityMasterCrudActions,\n entityMasterRecordActions,\n} from '@acorex-platform/framework-shared/entity';\nimport { RootConfig } from '../../root-config';\n\nconst I18N = '@background-job-management:schedules.entities.background-job-schedule';\n\nconst CONCURRENCY_ITEMS = [\n { name: 'skip-if-running', title: `${I18N}.options.concurrency.skip-if-running` },\n { name: 'queue', title: `${I18N}.options.concurrency.queue` },\n];\n\nconst MISSED_RUN_ITEMS = [\n { name: 'skip', title: `${I18N}.options.missed-run.skip` },\n { name: 'catch-up-one', title: `${I18N}.options.missed-run.catch-up-one` },\n];\n\nconst SOURCE_ITEMS = [\n { name: 'system', title: `${I18N}.options.source.system` },\n { name: 'integration', title: `${I18N}.options.source.integration` },\n { name: 'user', title: `${I18N}.options.source.user` },\n];\n\nconst VISIBILITY_ITEMS = [\n { name: 'initiator', title: `${I18N}.options.visibility.initiator` },\n { name: 'tenant-admin', title: `${I18N}.options.visibility.tenant-admin` },\n { name: 'silent', title: `${I18N}.options.visibility.silent` },\n];\n\nconst FAILURE_ACTION_ITEMS = [\n { name: 'pause', title: `${I18N}.options.failure-action.pause` },\n { name: 'disable', title: `${I18N}.options.failure-action.disable` },\n { name: 'alert-only', title: `${I18N}.options.failure-action.alert` },\n];\n\nexport async function factoryBackgroundJobSchedule(): Promise<AXPEntity | null> {\n const entityDef: AXPEntity = {\n module: RootConfig.module.name,\n name: RootConfig.entities.backgroundJobSchedule.name,\n title: RootConfig.entities.backgroundJobSchedule.title,\n icon: RootConfig.entities.backgroundJobSchedule.icon,\n plugins: [\n { name: 'history' },\n {\n name: 'status',\n options: {\n field: 'status',\n definition: AXP_BACKGROUND_JOB_SCHEDULE_STATUS_DEFINITION_KEY,\n showInCreate: false,\n generate: { views: { enabled: true } },\n },\n },\n ],\n formats: {\n individual: RootConfig.entities.backgroundJobSchedule.title,\n plural: RootConfig.entities.backgroundJobSchedule.titlePlural,\n searchResult: {\n title: '{{ title || command.key }}',\n description: '{{ description || cron }}',\n },\n },\n relatedEntities: [\n {\n entity: RootConfig.entities.backgroundJob.fullName,\n title: `${I18N}.related-entities.jobs.title`,\n icon: RootConfig.entities.backgroundJob.icon,\n columns: [\n 'title',\n 'command',\n 'executedAt',\n 'completedAt',\n 'totalDurationMs',\n 'progress',\n 'trigger',\n 'result',\n ],\n conditions: [entityDetailsSimpleCondition('scheduleId')],\n layout: { type: 'page-list', position: 'after', order: 1 },\n actions: [\n {\n title: '@general:actions.view.title',\n command: { name: 'Entity:View' },\n priority: 'primary',\n default: true,\n type: AXPSystemActionType.View,\n scope: AXPEntityCommandScope.Individual,\n },\n ],\n },\n ],\n groups: [\n { id: 'basicInfo', title: `${I18N}.groups.basic-info` },\n { id: 'command', title: `${I18N}.groups.command` },\n { id: 'recurrence', title: `${I18N}.groups.recurrence` },\n { id: 'policies', title: `${I18N}.groups.policies` },\n { id: 'runtime', title: `${I18N}.groups.runtime` },\n ],\n properties: [\n {\n name: 'id',\n title: 'ID',\n groupId: 'basicInfo',\n schema: {\n dataType: 'uuid',\n visible: false,\n nullable: false,\n readonly: true,\n unique: { enabled: true },\n },\n },\n {\n name: 'title',\n title: `${I18N}.fields.title.title`,\n groupId: 'basicInfo',\n schema: {\n dataType: 'string',\n interface: { type: AXPWidgetsCatalog.text, options: { multiLanguage: true } },\n },\n options: { filter: { advance: { enabled: true }, inline: { enabled: false } }, sort: { enabled: true } },\n validations: [{ rule: 'required' }],\n },\n {\n name: 'source',\n title: `${I18N}.fields.source.title`,\n groupId: 'basicInfo',\n schema: {\n dataType: 'string',\n defaultValue: 'user',\n readonly: true,\n interface: {\n type: AXPWidgetsCatalog.select,\n options: {\n readonly: true,\n valueField: 'name',\n textField: 'title',\n multiple: false,\n dataSource: SOURCE_ITEMS,\n },\n },\n },\n options: { filter: { advance: { enabled: true }, inline: { enabled: false } }, sort: { enabled: true } },\n },\n {\n name: 'description',\n title: `${I18N}.fields.description.title`,\n groupId: 'basicInfo',\n schema: {\n dataType: 'string',\n interface: { type: AXPWidgetsCatalog.largeText, options: { rows: 3 } },\n },\n options: { filter: { advance: { enabled: true }, inline: { enabled: false } }, sort: { enabled: false } },\n },\n {\n name: 'command',\n title: `${I18N}.fields.command.title`,\n groupId: 'command',\n schema: {\n dataType: 'object',\n interface: {\n type: AXPWidgetsList.Editors.ActivityCommandConfigurator,\n options: {\n loadStrategy: 'command-registry',\n executionModeFilter: 'backend',\n capabilitiesFilter: ['background-job'],\n },\n },\n },\n options: { filter: { advance: { enabled: false }, inline: { enabled: false } }, sort: { enabled: false } },\n validations: [{ rule: 'required' }],\n },\n {\n name: 'cron',\n title: `${I18N}.fields.cron.title`,\n groupId: 'recurrence',\n schema: {\n dataType: 'string',\n defaultValue: '0 0 * * *',\n interface: { type: AXPWidgetsCatalog.cronJob },\n },\n options: { filter: { advance: { enabled: false }, inline: { enabled: false } }, sort: { enabled: false } },\n validations: [{ rule: 'required' }],\n },\n {\n name: 'timezone',\n title: `${I18N}.fields.timezone.title`,\n groupId: 'recurrence',\n schema: {\n dataType: 'string',\n defaultValue: `{{ settings.get('${AXPRegionalSetting.TimeZone}') }}`,\n interface: {\n type: AXPWidgetsCatalog.lookup,\n options: {\n entity: 'LocaleManagement.Timezones',\n look: 'select',\n allowSearch: true,\n valueField: 'code',\n textField: 'title',\n filter: {\n logic: 'and',\n filters: [{ field: 'isActive', operator: { type: 'equal' }, value: true }],\n },\n },\n },\n },\n options: { filter: { advance: { enabled: true }, inline: { enabled: false } }, sort: { enabled: true } },\n validations: [{ rule: 'required' }],\n },\n {\n name: 'concurrencyPolicy',\n title: `${I18N}.fields.concurrency-policy.title`,\n groupId: 'policies',\n schema: {\n dataType: 'string',\n defaultValue: 'skip-if-running',\n interface: {\n type: AXPWidgetsCatalog.select,\n options: {\n valueField: 'name',\n textField: 'title',\n multiple: false,\n dataSource: CONCURRENCY_ITEMS,\n },\n },\n },\n options: { filter: { advance: { enabled: false }, inline: { enabled: false } }, sort: { enabled: false } },\n },\n {\n name: 'missedRunPolicy',\n title: `${I18N}.fields.missed-run-policy.title`,\n groupId: 'policies',\n schema: {\n dataType: 'string',\n defaultValue: 'skip',\n interface: {\n type: AXPWidgetsCatalog.select,\n options: {\n valueField: 'name',\n textField: 'title',\n multiple: false,\n dataSource: MISSED_RUN_ITEMS,\n },\n },\n },\n options: { filter: { advance: { enabled: false }, inline: { enabled: false } }, sort: { enabled: false } },\n },\n {\n name: 'defaultVisibility',\n title: `${I18N}.fields.default-visibility.title`,\n groupId: 'policies',\n schema: {\n dataType: 'string',\n defaultValue: 'tenant-admin',\n interface: {\n type: AXPWidgetsCatalog.select,\n options: {\n valueField: 'name',\n textField: 'title',\n multiple: false,\n dataSource: VISIBILITY_ITEMS,\n },\n },\n },\n options: { filter: { advance: { enabled: false }, inline: { enabled: false } }, sort: { enabled: false } },\n },\n {\n name: 'failurePolicy.consecutiveFailureThreshold',\n title: `${I18N}.fields.failure-threshold.title`,\n groupId: 'policies',\n schema: {\n dataType: 'number',\n defaultValue: 5,\n interface: { type: AXPWidgetsCatalog.number, options: { minValue: 1 } },\n },\n options: { filter: { advance: { enabled: false }, inline: { enabled: false } }, sort: { enabled: false } },\n validations: [{ rule: 'required' }],\n },\n {\n name: 'failurePolicy.onThresholdExceeded',\n title: `${I18N}.fields.failure-action.title`,\n groupId: 'policies',\n schema: {\n dataType: 'string',\n defaultValue: 'pause',\n interface: {\n type: AXPWidgetsCatalog.select,\n options: {\n valueField: 'name',\n textField: 'title',\n multiple: false,\n dataSource: FAILURE_ACTION_ITEMS,\n },\n },\n },\n options: { filter: { advance: { enabled: false }, inline: { enabled: false } }, sort: { enabled: false } },\n validations: [{ rule: 'required' }],\n },\n {\n name: 'failurePolicy.resetAfterSuccess',\n title: `${I18N}.fields.reset-failures-after-success.title`,\n groupId: 'policies',\n schema: {\n dataType: 'boolean',\n defaultValue: true,\n interface: { type: AXPWidgetsCatalog.toggle },\n },\n options: { filter: { advance: { enabled: false }, inline: { enabled: false } }, sort: { enabled: false } },\n },\n {\n name: 'nextRunAt',\n title: `${I18N}.fields.next-run-at.title`,\n groupId: 'runtime',\n schema: {\n dataType: 'datetime',\n interface: { type: AXPWidgetsCatalog.dateTime, options: { format: 'datetime' } },\n readonly: true,\n },\n options: { filter: { advance: { enabled: true }, inline: { enabled: false } }, sort: { enabled: true } },\n },\n {\n name: 'lastTriggeredAt',\n title: `${I18N}.fields.last-triggered-at.title`,\n groupId: 'runtime',\n schema: {\n dataType: 'datetime',\n interface: { type: AXPWidgetsCatalog.dateTime, options: { format: 'datetime' } },\n readonly: true,\n },\n options: { filter: { advance: { enabled: true }, inline: { enabled: false } }, sort: { enabled: true } },\n },\n {\n name: 'consecutiveFailures',\n title: `${I18N}.fields.consecutive-failures.title`,\n groupId: 'runtime',\n schema: {\n dataType: 'number',\n interface: { type: AXPWidgetsCatalog.number },\n readonly: true,\n },\n options: { filter: { advance: { enabled: false }, inline: { enabled: false } }, sort: { enabled: true } },\n },\n ],\n columns: [\n { name: 'title' },\n { name: 'command' },\n { name: 'cron' },\n { name: 'lastTriggeredAt' },\n { name: 'nextRunAt' },\n { name: 'consecutiveFailures' },\n ],\n interfaces: {\n master: {\n create: {\n sections: [\n { id: 'basicInfo', order: 1, layout: { positions: { lg: { colSpan: 12 } } } },\n { id: 'command', order: 2, layout: { positions: { lg: { colSpan: 12 } } } },\n { id: 'recurrence', order: 3, layout: { positions: { lg: { colSpan: 12 } } } },\n { id: 'policies', order: 4, layout: { positions: { lg: { colSpan: 12 } } } },\n ],\n properties: [\n { name: 'title', layout: { positions: { lg: { colSpan: 12 } } } },\n { name: 'description', layout: { positions: { lg: { colSpan: 12 } } } },\n {\n name: 'command',\n layout: {\n label: { visible: false },\n positions: { lg: { colSpan: 12 } },\n },\n },\n {\n name: 'cron',\n layout: {\n label: { visible: false },\n positions: { lg: { colSpan: 12 } },\n },\n },\n { name: 'timezone', layout: { positions: { lg: { colSpan: 6 } } } },\n { name: 'concurrencyPolicy', layout: { positions: { lg: { colSpan: 6 } } } },\n { name: 'missedRunPolicy', layout: { positions: { lg: { colSpan: 6 } } } },\n { name: 'defaultVisibility', layout: { positions: { lg: { colSpan: 6 } } } },\n {\n name: 'failurePolicy.consecutiveFailureThreshold',\n layout: { positions: { lg: { colSpan: 4 } } },\n },\n { name: 'failurePolicy.onThresholdExceeded', layout: { positions: { lg: { colSpan: 4 } } } },\n { name: 'failurePolicy.resetAfterSuccess', layout: { positions: { lg: { colSpan: 4 } } } },\n ],\n },\n update: {\n sections: [\n { id: 'basicInfo', order: 1, layout: { positions: { lg: { colSpan: 12 } } } },\n { id: 'command', order: 2, layout: { positions: { lg: { colSpan: 12 } } } },\n { id: 'recurrence', order: 3, layout: { positions: { lg: { colSpan: 12 } } } },\n { id: 'policies', order: 4, layout: { positions: { lg: { colSpan: 12 } } } },\n ],\n properties: [\n { name: 'title', layout: { order: 1, positions: { lg: { colSpan: 6 } } } },\n { name: 'source', layout: { order: 2, positions: { lg: { colSpan: 6 } } } },\n { name: 'description', layout: { order: 3, positions: { lg: { colSpan: 12 } } } },\n {\n name: 'command',\n layout: {\n label: { visible: false },\n positions: { lg: { colSpan: 12 } },\n },\n },\n {\n name: 'cron',\n layout: {\n label: { visible: false },\n positions: { lg: { colSpan: 12 } },\n },\n },\n { name: 'timezone', layout: { positions: { lg: { colSpan: 6 } } } },\n { name: 'concurrencyPolicy', layout: { positions: { lg: { colSpan: 6 } } } },\n { name: 'missedRunPolicy', layout: { positions: { lg: { colSpan: 6 } } } },\n { name: 'defaultVisibility', layout: { positions: { lg: { colSpan: 6 } } } },\n {\n name: 'failurePolicy.consecutiveFailureThreshold',\n layout: { positions: { lg: { colSpan: 4 } } },\n },\n { name: 'failurePolicy.onThresholdExceeded', layout: { positions: { lg: { colSpan: 4 } } } },\n { name: 'failurePolicy.resetAfterSuccess', layout: { positions: { lg: { colSpan: 4 } } } },\n ],\n },\n single: {\n title: '{{ title || command.key }}',\n sections: [\n { id: 'basicInfo', order: 1, layout: { positions: { lg: { colSpan: 12 } } } },\n { id: 'command', order: 2, layout: { positions: { lg: { colSpan: 12 } } } },\n { id: 'recurrence', order: 3, layout: { positions: { lg: { colSpan: 12 } } } },\n { id: 'policies', order: 4, layout: { positions: { lg: { colSpan: 12 } } } },\n { id: 'runtime', order: 5, layout: { positions: { lg: { colSpan: 12 } } } },\n ],\n properties: [\n { name: 'title', layout: { order: 1, positions: { lg: { colSpan: 6 } } } },\n { name: 'source', layout: { order: 2, positions: { lg: { colSpan: 6 } } } },\n { name: 'description', layout: { order: 3, positions: { lg: { colSpan: 12 } } } },\n {\n name: 'command',\n layout: {\n label: { visible: false },\n positions: { lg: { colSpan: 12 } },\n },\n },\n {\n name: 'cron',\n layout: {\n label: { visible: false },\n positions: { lg: { colSpan: 12 } },\n },\n },\n { name: 'timezone', layout: { positions: { lg: { colSpan: 6 } } } },\n { name: 'concurrencyPolicy', layout: { positions: { lg: { colSpan: 6 } } } },\n { name: 'missedRunPolicy', layout: { positions: { lg: { colSpan: 6 } } } },\n { name: 'defaultVisibility', layout: { positions: { lg: { colSpan: 6 } } } },\n {\n name: 'failurePolicy.consecutiveFailureThreshold',\n layout: { positions: { lg: { colSpan: 4 } } },\n },\n { name: 'failurePolicy.onThresholdExceeded', layout: { positions: { lg: { colSpan: 4 } } } },\n { name: 'failurePolicy.resetAfterSuccess', layout: { positions: { lg: { colSpan: 4 } } } },\n { name: 'nextRunAt', layout: { positions: { lg: { colSpan: 4 } } } },\n { name: 'lastTriggeredAt', layout: { positions: { lg: { colSpan: 4 } } } },\n { name: 'consecutiveFailures', layout: { positions: { lg: { colSpan: 4 } } } },\n ],\n actions: [...entityMasterRecordActions()],\n },\n list: {\n actions: [\n ...entityMasterCrudActions(),\n {\n title: '@background-job-management:schedules.actions.run-now.title',\n name: 'run-schedule-now',\n command: {\n name: AXPBackgroundJobCommandKeys.ScheduleRunNow,\n options: {\n scheduleId: '{{ context.eval(\"id\") }}',\n },\n },\n icon: 'fa-light fa-play',\n color: 'success',\n priority: 'secondary',\n type: 'execute',\n scope: AXPEntityCommandScope.Individual,\n },\n {\n title: '@background-job-management:schedules.actions.bulk-run-now.title',\n name: 'bulk-run-schedule-now',\n command: {\n name: 'Entity:Bulk',\n options: {\n command: AXPBackgroundJobCommandKeys.ScheduleRunNow,\n entity: RootConfig.entities.backgroundJobSchedule.fullName,\n idField: 'scheduleId',\n confirm: {\n title: '@background-job-management:schedules.actions.bulk-run-now.confirm.title',\n message: '@background-job-management:schedules.actions.bulk-run-now.confirm.message',\n },\n },\n },\n icon: 'fa-light fa-play',\n color: 'success',\n priority: 'primary',\n type: 'execute',\n scope: AXPEntityCommandScope.Selected,\n order: 10,\n },\n ],\n views: [createAllQueryView({ sorts: [{ name: 'auditInfo.created.at', dir: 'desc' }] })],\n },\n },\n },\n };\n\n return entityDef;\n}\n"],"names":[],"mappings":";;;;;AAYA,MAAM,IAAI,GAAG,uEAAuE;AAEpF,MAAM,iBAAiB,GAAG;IACxB,EAAE,IAAI,EAAE,iBAAiB,EAAE,KAAK,EAAE,CAAA,EAAG,IAAI,CAAA,oCAAA,CAAsC,EAAE;IACjF,EAAE,IAAI,EAAE,OAAO,EAAE,KAAK,EAAE,CAAA,EAAG,IAAI,CAAA,0BAAA,CAA4B,EAAE;CAC9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