@servicelabsco/nestjs-utility-services 1.2.104 → 1.2.106
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/app.controller.d.ts +6 -3
- package/dist/app.controller.js +9 -6
- package/dist/app.controller.js.map +1 -1
- package/dist/config/entity.constants.d.ts +4 -0
- package/dist/config/entity.constants.js +4 -0
- package/dist/config/entity.constants.js.map +1 -1
- package/dist/migrations/1732960894547-CreateCodeFixScriptTable.d.ts +5 -0
- package/dist/migrations/1732960894547-CreateCodeFixScriptTable.js +22 -0
- package/dist/migrations/1732960894547-CreateCodeFixScriptTable.js.map +1 -0
- package/dist/migrations/1732961040333-CreateCodeFixLogTable.d.ts +5 -0
- package/dist/migrations/1732961040333-CreateCodeFixLogTable.js +24 -0
- package/dist/migrations/1732961040333-CreateCodeFixLogTable.js.map +1 -0
- package/dist/migrations/1732962774052-AddJsonDataSysScheduledEventsTable.ts.d.ts +5 -0
- package/dist/migrations/1732962774052-AddJsonDataSysScheduledEventsTable.ts.js +15 -0
- package/dist/migrations/1732962774052-AddJsonDataSysScheduledEventsTable.ts.js.map +1 -0
- package/dist/migrations/1732962856845-AddJsonPayloadSysEventQueuesTable.ts.d.ts +5 -0
- package/dist/migrations/1732962856845-AddJsonPayloadSysEventQueuesTable.ts.js +15 -0
- package/dist/migrations/1732962856845-AddJsonPayloadSysEventQueuesTable.ts.js.map +1 -0
- package/dist/system/dtos/code.fix.log.attributes.dto.d.ts +3 -0
- package/dist/system/dtos/code.fix.log.attributes.dto.js +8 -0
- package/dist/system/dtos/code.fix.log.attributes.dto.js.map +1 -0
- package/dist/system/dtos/code.fix.script.attributes.dto.d.ts +3 -0
- package/dist/system/dtos/code.fix.script.attributes.dto.js +8 -0
- package/dist/system/dtos/code.fix.script.attributes.dto.js.map +1 -0
- package/dist/system/dtos/index.d.ts +2 -0
- package/dist/system/dtos/index.js +2 -0
- package/dist/system/dtos/index.js.map +1 -1
- package/dist/system/entities/code.fix.log.entity.d.ts +16 -0
- package/dist/system/entities/code.fix.log.entity.js +68 -0
- package/dist/system/entities/code.fix.log.entity.js.map +1 -0
- package/dist/system/entities/code.fix.script.entity.d.ts +11 -0
- package/dist/system/entities/code.fix.script.entity.js +48 -0
- package/dist/system/entities/code.fix.script.entity.js.map +1 -0
- package/dist/system/entities/event.queue.entity.d.ts +1 -0
- package/dist/system/entities/event.queue.entity.js +4 -0
- package/dist/system/entities/event.queue.entity.js.map +1 -1
- package/dist/system/entities/index.d.ts +2 -0
- package/dist/system/entities/index.js +2 -0
- package/dist/system/entities/index.js.map +1 -1
- package/dist/system/entities/scheduled.event.entity.d.ts +1 -0
- package/dist/system/entities/scheduled.event.entity.js +4 -0
- package/dist/system/entities/scheduled.event.entity.js.map +1 -1
- package/dist/system/es6.classes.d.ts +14 -5
- package/dist/system/es6.classes.js +22 -0
- package/dist/system/es6.classes.js.map +1 -1
- package/dist/system/jobs/code.fix.log.job.d.ts +9 -0
- package/dist/system/jobs/code.fix.log.job.js +30 -0
- package/dist/system/jobs/code.fix.log.job.js.map +1 -0
- package/dist/system/jobs/code.fix.script.job.d.ts +9 -0
- package/dist/system/jobs/code.fix.script.job.js +30 -0
- package/dist/system/jobs/code.fix.script.job.js.map +1 -0
- package/dist/system/jobs/execute.code.fix.job.d.ts +12 -0
- package/dist/system/jobs/execute.code.fix.job.js +35 -0
- package/dist/system/jobs/execute.code.fix.job.js.map +1 -0
- package/dist/system/jobs/index.d.ts +4 -0
- package/dist/system/jobs/index.js +4 -0
- package/dist/system/jobs/index.js.map +1 -1
- package/dist/system/jobs/set.event.queue.job.d.ts +1 -0
- package/dist/system/jobs/set.event.queue.job.js +13 -7
- package/dist/system/jobs/set.event.queue.job.js.map +1 -1
- package/dist/system/jobs/sync.all.code.job.d.ts +45 -0
- package/dist/system/jobs/sync.all.code.job.js +330 -0
- package/dist/system/jobs/sync.all.code.job.js.map +1 -0
- package/dist/system/libraries/execute.code.fix.d.ts +13 -0
- package/dist/system/libraries/execute.code.fix.js +60 -0
- package/dist/system/libraries/execute.code.fix.js.map +1 -0
- package/dist/system/libraries/index.d.ts +1 -0
- package/dist/system/libraries/index.js +1 -0
- package/dist/system/libraries/index.js.map +1 -1
- package/dist/system/services/es6.jobs.service.d.ts +9 -1
- package/dist/system/services/es6.jobs.service.js +17 -1
- package/dist/system/services/es6.jobs.service.js.map +1 -1
- package/dist/system/services/scheduled.event.service.js +1 -0
- package/dist/system/services/scheduled.event.service.js.map +1 -1
- package/dist/system/services/upload.service.d.ts +1 -1
- package/dist/system/subscribers/code.fix.log.subscriber.d.ts +10 -0
- package/dist/system/subscribers/code.fix.log.subscriber.js +34 -0
- package/dist/system/subscribers/code.fix.log.subscriber.js.map +1 -0
- package/dist/system/subscribers/code.fix.script.subscriber.d.ts +10 -0
- package/dist/system/subscribers/code.fix.script.subscriber.js +34 -0
- package/dist/system/subscribers/code.fix.script.subscriber.js.map +1 -0
- package/dist/system/subscribers/index.d.ts +2 -0
- package/dist/system/subscribers/index.js +2 -0
- package/dist/system/subscribers/index.js.map +1 -1
- package/package.json +1 -1
@@ -38,6 +38,8 @@ import { ChartEntity } from './entities/chart.entity';
|
|
38
38
|
import { ClientCredentialEntity } from './entities/client.credential.entity';
|
39
39
|
import { ClientEntity } from './entities/client.entity';
|
40
40
|
import { ClientScriptEntity } from './entities/client.script.entity';
|
41
|
+
import { CodeFixLogEntity } from './entities/code.fix.log.entity';
|
42
|
+
import { CodeFixScriptEntity } from './entities/code.fix.script.entity';
|
41
43
|
import { ColumnDefinitionEntity } from './entities/column.definition.entity';
|
42
44
|
import { ColumnEntity } from './entities/column.entity';
|
43
45
|
import { CommentEntity } from './entities/comment.entity';
|
@@ -91,10 +93,13 @@ import { SentryInterceptor } from './interceptors/sentry.interceptor';
|
|
91
93
|
import { CleanScheduledEventJob } from './jobs/clean.scheduled.event.job';
|
92
94
|
import { ClientCredentialJob } from './jobs/client.credential.job';
|
93
95
|
import { ClientJob } from './jobs/client.job';
|
96
|
+
import { CodeFixLogJob } from './jobs/code.fix.log.job';
|
97
|
+
import { CodeFixScriptJob } from './jobs/code.fix.script.job';
|
94
98
|
import { ColumnMapperJob } from './jobs/column.mapper.job';
|
95
99
|
import { CommentJob } from './jobs/comment.job';
|
96
100
|
import { CredentialIpJob } from './jobs/credential.ip.job';
|
97
101
|
import { DocumentJob } from './jobs/document.job';
|
102
|
+
import { ExecuteCodeFixJob } from './jobs/execute.code.fix.job';
|
98
103
|
import { MailEventJob } from './jobs/mail.event.job';
|
99
104
|
import { MailRecipientJob } from './jobs/mail.recipient.job';
|
100
105
|
import { MailValidationJob } from './jobs/mail.validation.job';
|
@@ -109,12 +114,14 @@ import { SetEventQueueJob } from './jobs/set.event.queue.job';
|
|
109
114
|
import { SetScheduledEventJob } from './jobs/set.scheduled.event.job';
|
110
115
|
import { SmsMessageJob } from './jobs/sms.message.job';
|
111
116
|
import { SqsPollingJob } from './jobs/sqs.polling.job';
|
117
|
+
import { SyncAllCodeJob } from './jobs/sync.all.code.job';
|
112
118
|
import { UserGroupMemberJob } from './jobs/user.group.member.job';
|
113
119
|
import { UserGroupPermissionJob } from './jobs/user.group.permission.job';
|
114
120
|
import { UserGroupRoleJob } from './jobs/user.group.role.job';
|
115
121
|
import { BusinessRuleFilterValidator } from './libraries/business.rule.filter.validator';
|
116
122
|
import { BusinessRuleQueryEvaluator } from './libraries/business.rule.query.evaluator';
|
117
123
|
import { ColumnManager } from './libraries/column.manager';
|
124
|
+
import { ExecuteCodeFix } from './libraries/execute.code.fix';
|
118
125
|
import { ModelSync } from './libraries/model.sync';
|
119
126
|
import { ProcessMenuCreation } from './libraries/process.menu.creation';
|
120
127
|
import { SecurityRuleEvaluator } from './libraries/security.rule.evaluator';
|
@@ -150,6 +157,8 @@ import { UploadService } from './services/upload.service';
|
|
150
157
|
import { UserPreferenceService } from './services/user.preference.service';
|
151
158
|
import { ClientCredentialSubscriber } from './subscribers/client.credential.subscriber';
|
152
159
|
import { ClientSubscriber } from './subscribers/client.subscriber';
|
160
|
+
import { CodeFixLogSubscriber } from './subscribers/code.fix.log.subscriber';
|
161
|
+
import { CodeFixScriptSubscriber } from './subscribers/code.fix.script.subscriber';
|
153
162
|
import { ColumnSubscriber } from './subscribers/column.subscriber';
|
154
163
|
import { CommentSubscriber } from './subscribers/comment.subscriber';
|
155
164
|
import { CredentialIpSubscriber } from './subscribers/credential.ip.subscriber';
|
@@ -169,12 +178,12 @@ declare const es6Classes: {
|
|
169
178
|
commands: (typeof DbScannerCommand | typeof DynamoScannerCommand | typeof EventQueueCommand | typeof JobsScannerCommand | typeof ModelScannerCommand | typeof ReportScannerCommand | typeof ServiceScannerCommand | typeof SesEventTrackingCommand | typeof SyncAllCommand)[];
|
170
179
|
controllers: (typeof BaseController | typeof DataController | typeof FormController | typeof MenuController | typeof PreferenceController | typeof ReportController | typeof UploadController | typeof UserPreferenceController)[];
|
171
180
|
dtos: (typeof ClientCredentialAttributesDto | typeof FileUploadSpecDto | typeof S3UploadOptionsDto | typeof LocalFileS3UploadDto | typeof S3ObjectInfoDto | typeof AddDirectMenuDto | typeof ModelFormPreferenceCreationDto | typeof UserPreferenceCreationDto | typeof FileUploadDto | typeof AddCommentDto | typeof ClientCredentialDto | typeof JobRecordParamDto | typeof MailValidationDto | typeof MobileValidationDto | typeof ModelAllowedColumnDto | typeof OtpGenerationDto | typeof ValidationOptionsDto)[];
|
172
|
-
entities: (typeof LookupTypeEntity | typeof UserGroupRoleEntity | typeof UserGroupEntity | typeof UserGroupMemberEntity | typeof BusinessRuleRoleEntity | typeof BusinessRuleEntity | typeof ColumnDefinitionEntity | typeof ColumnEntity | typeof ModelEntity | typeof FormPreferenceEntity | typeof ModelColumnEntity | typeof RelationshipEntity | typeof ModelRelationshipEntity | typeof ModelRoleEntity | typeof FormColumnEntity | typeof SystemScriptEntity | typeof UiActionPermissionEntity | typeof UiActionEntity | typeof UiActionRoleEntity | typeof PrimaryAxisEntity | typeof ChartEntity | typeof ClientEntity | typeof ClientCredentialEntity | typeof CredentialIpEntity | typeof ClientScriptEntity | typeof DocumentEntity | typeof CommentEntity | typeof DynamoTableEntity | typeof EventDetailEntity | typeof EventQueueEntity | typeof MailLogEntity | typeof MailEventEntity | typeof MailRecipientEntity | typeof MailValidationEntity | typeof MenuRoleEntity | typeof MenuEntity | typeof ModuleEntity | typeof ModuleMenuEntity | typeof PageDefinitionEntity | typeof ParentMenuEntity | typeof MobileValidationEntity | typeof OpenPropertyEntity | typeof ReportFilterEntity | typeof ReportEntity | typeof ReportRelationshipEntity | typeof ReportRoleEntity | typeof ReportColumnEntity | typeof ScheduledEventEntity | typeof SecurityRuleEntity | typeof ServiceEntity | typeof SmsTemplateEntity | typeof SmsMessageEntity | typeof UserGroupPermissionEntity | typeof UserPreferenceEntity | typeof WhatsappTemplateEntity)[];
|
181
|
+
entities: (typeof LookupTypeEntity | typeof UserGroupRoleEntity | typeof UserGroupEntity | typeof UserGroupMemberEntity | typeof BusinessRuleRoleEntity | typeof BusinessRuleEntity | typeof ColumnDefinitionEntity | typeof ColumnEntity | typeof ModelEntity | typeof FormPreferenceEntity | typeof ModelColumnEntity | typeof RelationshipEntity | typeof ModelRelationshipEntity | typeof ModelRoleEntity | typeof FormColumnEntity | typeof SystemScriptEntity | typeof UiActionPermissionEntity | typeof UiActionEntity | typeof UiActionRoleEntity | typeof PrimaryAxisEntity | typeof ChartEntity | typeof ClientEntity | typeof ClientCredentialEntity | typeof CredentialIpEntity | typeof ClientScriptEntity | typeof CodeFixScriptEntity | typeof CodeFixLogEntity | typeof DocumentEntity | typeof CommentEntity | typeof DynamoTableEntity | typeof EventDetailEntity | typeof EventQueueEntity | typeof MailLogEntity | typeof MailEventEntity | typeof MailRecipientEntity | typeof MailValidationEntity | typeof MenuRoleEntity | typeof MenuEntity | typeof ModuleEntity | typeof ModuleMenuEntity | typeof PageDefinitionEntity | typeof ParentMenuEntity | typeof MobileValidationEntity | typeof OpenPropertyEntity | typeof ReportFilterEntity | typeof ReportEntity | typeof ReportRelationshipEntity | typeof ReportRoleEntity | typeof ReportColumnEntity | typeof ScheduledEventEntity | typeof SecurityRuleEntity | typeof ServiceEntity | typeof SmsTemplateEntity | typeof SmsMessageEntity | typeof UserGroupPermissionEntity | typeof UserPreferenceEntity | typeof WhatsappTemplateEntity)[];
|
173
182
|
interceptors: (typeof SentryInterceptor)[];
|
174
|
-
jobs: (typeof SetScheduledEventJob | typeof ModelScannerJob | typeof ReportColumnSyncJob | typeof CleanScheduledEventJob | typeof ClientCredentialJob | typeof ClientJob | typeof ColumnMapperJob | typeof CommentJob | typeof CredentialIpJob | typeof DocumentJob | typeof MailEventJob | typeof MailRecipientJob | typeof MailValidationJob | typeof MobileValidationJob | typeof RefreshPropertyCacheJob | typeof PropertyJob | typeof RelationshipMapperJob | typeof ScheduledEventJob | typeof SetEventQueueJob | typeof SmsMessageJob | typeof SqsPollingJob | typeof UserGroupMemberJob | typeof UserGroupPermissionJob | typeof UserGroupRoleJob)[];
|
175
|
-
libraries: (typeof
|
183
|
+
jobs: (typeof ExecuteCodeFixJob | typeof SetScheduledEventJob | typeof ModelScannerJob | typeof ReportColumnSyncJob | typeof SyncAllCodeJob | typeof CleanScheduledEventJob | typeof ClientCredentialJob | typeof ClientJob | typeof CodeFixLogJob | typeof CodeFixScriptJob | typeof ColumnMapperJob | typeof CommentJob | typeof CredentialIpJob | typeof DocumentJob | typeof MailEventJob | typeof MailRecipientJob | typeof MailValidationJob | typeof MobileValidationJob | typeof RefreshPropertyCacheJob | typeof PropertyJob | typeof RelationshipMapperJob | typeof ScheduledEventJob | typeof SetEventQueueJob | typeof SmsMessageJob | typeof SqsPollingJob | typeof UserGroupMemberJob | typeof UserGroupPermissionJob | typeof UserGroupRoleJob)[];
|
184
|
+
libraries: (typeof ExecuteCodeFix | typeof ModelSync | typeof SecurityRuleEvaluator | typeof ColumnManager | typeof SyncDynamoTables | typeof BusinessRuleFilterValidator | typeof BusinessRuleQueryEvaluator | typeof ProcessMenuCreation)[];
|
176
185
|
modifiers: (typeof MenuListModifier | typeof ModuleListModifier)[];
|
177
|
-
services: (typeof PropertyService | typeof AwsS3Service | typeof UploadService | typeof ScheduledEventService | typeof
|
178
|
-
subscribers: (typeof ClientCredentialSubscriber | typeof ClientSubscriber | typeof ColumnSubscriber | typeof CommentSubscriber | typeof CredentialIpSubscriber | typeof DocumentSubscriber | typeof MailEventSubscriber | typeof MailRecipientSubscriber | typeof MailValidationSubscriber | typeof MobileValidationSubscriber | typeof PropertySubscriber | typeof RelationshipSubscriber | typeof ScheduledEventSubscriber | typeof SmsMessageSubscriber | typeof UserGroupMemberSubscriber | typeof UserGroupPermissionSubscriber | typeof UserGroupRoleSubscriber)[];
|
186
|
+
services: (typeof PropertyService | typeof AwsS3Service | typeof UploadService | typeof ScheduledEventService | typeof SecurityRuleService | typeof UiActionService | typeof ModelService | typeof CommonService | typeof EventDetailService | typeof EventQueueService | typeof ClientScriptService | typeof PreferenceService | typeof BusinessRuleService | typeof ListService | typeof FormService | typeof MenuService | typeof UserPreferenceService | typeof ReportService | typeof ClientCredentialService | typeof ColumnService | typeof DocumentService | typeof CommentService | typeof Es6JobsService | typeof Es6Service | typeof InternalServerConnectService | typeof MailValidationService | typeof MobileValidationService)[];
|
187
|
+
subscribers: (typeof ClientCredentialSubscriber | typeof ClientSubscriber | typeof CodeFixLogSubscriber | typeof CodeFixScriptSubscriber | typeof ColumnSubscriber | typeof CommentSubscriber | typeof CredentialIpSubscriber | typeof DocumentSubscriber | typeof MailEventSubscriber | typeof MailRecipientSubscriber | typeof MailValidationSubscriber | typeof MobileValidationSubscriber | typeof PropertySubscriber | typeof RelationshipSubscriber | typeof ScheduledEventSubscriber | typeof SmsMessageSubscriber | typeof UserGroupMemberSubscriber | typeof UserGroupPermissionSubscriber | typeof UserGroupRoleSubscriber)[];
|
179
188
|
};
|
180
189
|
export default es6Classes;
|
@@ -22,6 +22,8 @@ const add_direct_menu_dto_1 = require("./dtos/add.direct.menu.dto");
|
|
22
22
|
const client_attributes_dto_1 = require("./dtos/client.attributes.dto");
|
23
23
|
const client_credential_attributes_dto_1 = require("./dtos/client.credential.attributes.dto");
|
24
24
|
const client_credential_dto_1 = require("./dtos/client.credential.dto");
|
25
|
+
const code_fix_log_attributes_dto_1 = require("./dtos/code.fix.log.attributes.dto");
|
26
|
+
const code_fix_script_attributes_dto_1 = require("./dtos/code.fix.script.attributes.dto");
|
25
27
|
const comment_attributes_dto_1 = require("./dtos/comment.attributes.dto");
|
26
28
|
const credential_ip_attributes_dto_1 = require("./dtos/credential.ip.attributes.dto");
|
27
29
|
const document_attributes_dto_1 = require("./dtos/document.attributes.dto");
|
@@ -48,6 +50,8 @@ const chart_entity_1 = require("./entities/chart.entity");
|
|
48
50
|
const client_credential_entity_1 = require("./entities/client.credential.entity");
|
49
51
|
const client_entity_1 = require("./entities/client.entity");
|
50
52
|
const client_script_entity_1 = require("./entities/client.script.entity");
|
53
|
+
const code_fix_log_entity_1 = require("./entities/code.fix.log.entity");
|
54
|
+
const code_fix_script_entity_1 = require("./entities/code.fix.script.entity");
|
51
55
|
const column_definition_entity_1 = require("./entities/column.definition.entity");
|
52
56
|
const column_entity_1 = require("./entities/column.entity");
|
53
57
|
const comment_entity_1 = require("./entities/comment.entity");
|
@@ -108,10 +112,13 @@ const sentry_interceptor_1 = require("./interceptors/sentry.interceptor");
|
|
108
112
|
const clean_scheduled_event_job_1 = require("./jobs/clean.scheduled.event.job");
|
109
113
|
const client_credential_job_1 = require("./jobs/client.credential.job");
|
110
114
|
const client_job_1 = require("./jobs/client.job");
|
115
|
+
const code_fix_log_job_1 = require("./jobs/code.fix.log.job");
|
116
|
+
const code_fix_script_job_1 = require("./jobs/code.fix.script.job");
|
111
117
|
const column_mapper_job_1 = require("./jobs/column.mapper.job");
|
112
118
|
const comment_job_1 = require("./jobs/comment.job");
|
113
119
|
const credential_ip_job_1 = require("./jobs/credential.ip.job");
|
114
120
|
const document_job_1 = require("./jobs/document.job");
|
121
|
+
const execute_code_fix_job_1 = require("./jobs/execute.code.fix.job");
|
115
122
|
const mail_event_job_1 = require("./jobs/mail.event.job");
|
116
123
|
const mail_recipient_job_1 = require("./jobs/mail.recipient.job");
|
117
124
|
const mail_validation_job_1 = require("./jobs/mail.validation.job");
|
@@ -126,12 +133,14 @@ const set_event_queue_job_1 = require("./jobs/set.event.queue.job");
|
|
126
133
|
const set_scheduled_event_job_1 = require("./jobs/set.scheduled.event.job");
|
127
134
|
const sms_message_job_1 = require("./jobs/sms.message.job");
|
128
135
|
const sqs_polling_job_1 = require("./jobs/sqs.polling.job");
|
136
|
+
const sync_all_code_job_1 = require("./jobs/sync.all.code.job");
|
129
137
|
const user_group_member_job_1 = require("./jobs/user.group.member.job");
|
130
138
|
const user_group_permission_job_1 = require("./jobs/user.group.permission.job");
|
131
139
|
const user_group_role_job_1 = require("./jobs/user.group.role.job");
|
132
140
|
const business_rule_filter_validator_1 = require("./libraries/business.rule.filter.validator");
|
133
141
|
const business_rule_query_evaluator_1 = require("./libraries/business.rule.query.evaluator");
|
134
142
|
const column_manager_1 = require("./libraries/column.manager");
|
143
|
+
const execute_code_fix_1 = require("./libraries/execute.code.fix");
|
135
144
|
const model_sync_1 = require("./libraries/model.sync");
|
136
145
|
const process_menu_creation_1 = require("./libraries/process.menu.creation");
|
137
146
|
const security_rule_evaluator_1 = require("./libraries/security.rule.evaluator");
|
@@ -167,6 +176,8 @@ const upload_service_1 = require("./services/upload.service");
|
|
167
176
|
const user_preference_service_1 = require("./services/user.preference.service");
|
168
177
|
const client_credential_subscriber_1 = require("./subscribers/client.credential.subscriber");
|
169
178
|
const client_subscriber_1 = require("./subscribers/client.subscriber");
|
179
|
+
const code_fix_log_subscriber_1 = require("./subscribers/code.fix.log.subscriber");
|
180
|
+
const code_fix_script_subscriber_1 = require("./subscribers/code.fix.script.subscriber");
|
170
181
|
const column_subscriber_1 = require("./subscribers/column.subscriber");
|
171
182
|
const comment_subscriber_1 = require("./subscribers/comment.subscriber");
|
172
183
|
const credential_ip_subscriber_1 = require("./subscribers/credential.ip.subscriber");
|
@@ -210,6 +221,8 @@ const es6Classes = {
|
|
210
221
|
client_attributes_dto_1.ClientAttributesDto,
|
211
222
|
client_credential_attributes_dto_1.ClientCredentialAttributesDto,
|
212
223
|
client_credential_dto_1.ClientCredentialDto,
|
224
|
+
code_fix_log_attributes_dto_1.CodeFixLogAttributesDto,
|
225
|
+
code_fix_script_attributes_dto_1.CodeFixScriptAttributesDto,
|
213
226
|
comment_attributes_dto_1.CommentAttributesDto,
|
214
227
|
credential_ip_attributes_dto_1.CredentialIpAttributesDto,
|
215
228
|
document_attributes_dto_1.DocumentAttributesDto,
|
@@ -238,6 +251,8 @@ const es6Classes = {
|
|
238
251
|
client_credential_entity_1.ClientCredentialEntity,
|
239
252
|
client_entity_1.ClientEntity,
|
240
253
|
client_script_entity_1.ClientScriptEntity,
|
254
|
+
code_fix_log_entity_1.CodeFixLogEntity,
|
255
|
+
code_fix_script_entity_1.CodeFixScriptEntity,
|
241
256
|
column_definition_entity_1.ColumnDefinitionEntity,
|
242
257
|
column_entity_1.ColumnEntity,
|
243
258
|
comment_entity_1.CommentEntity,
|
@@ -300,10 +315,13 @@ const es6Classes = {
|
|
300
315
|
clean_scheduled_event_job_1.CleanScheduledEventJob,
|
301
316
|
client_credential_job_1.ClientCredentialJob,
|
302
317
|
client_job_1.ClientJob,
|
318
|
+
code_fix_log_job_1.CodeFixLogJob,
|
319
|
+
code_fix_script_job_1.CodeFixScriptJob,
|
303
320
|
column_mapper_job_1.ColumnMapperJob,
|
304
321
|
comment_job_1.CommentJob,
|
305
322
|
credential_ip_job_1.CredentialIpJob,
|
306
323
|
document_job_1.DocumentJob,
|
324
|
+
execute_code_fix_job_1.ExecuteCodeFixJob,
|
307
325
|
mail_event_job_1.MailEventJob,
|
308
326
|
mail_recipient_job_1.MailRecipientJob,
|
309
327
|
mail_validation_job_1.MailValidationJob,
|
@@ -318,6 +336,7 @@ const es6Classes = {
|
|
318
336
|
set_scheduled_event_job_1.SetScheduledEventJob,
|
319
337
|
sms_message_job_1.SmsMessageJob,
|
320
338
|
sqs_polling_job_1.SqsPollingJob,
|
339
|
+
sync_all_code_job_1.SyncAllCodeJob,
|
321
340
|
user_group_member_job_1.UserGroupMemberJob,
|
322
341
|
user_group_permission_job_1.UserGroupPermissionJob,
|
323
342
|
user_group_role_job_1.UserGroupRoleJob,
|
@@ -326,6 +345,7 @@ const es6Classes = {
|
|
326
345
|
business_rule_filter_validator_1.BusinessRuleFilterValidator,
|
327
346
|
business_rule_query_evaluator_1.BusinessRuleQueryEvaluator,
|
328
347
|
column_manager_1.ColumnManager,
|
348
|
+
execute_code_fix_1.ExecuteCodeFix,
|
329
349
|
model_sync_1.ModelSync,
|
330
350
|
process_menu_creation_1.ProcessMenuCreation,
|
331
351
|
security_rule_evaluator_1.SecurityRuleEvaluator,
|
@@ -364,6 +384,8 @@ const es6Classes = {
|
|
364
384
|
subscribers: [
|
365
385
|
client_credential_subscriber_1.ClientCredentialSubscriber,
|
366
386
|
client_subscriber_1.ClientSubscriber,
|
387
|
+
code_fix_log_subscriber_1.CodeFixLogSubscriber,
|
388
|
+
code_fix_script_subscriber_1.CodeFixScriptSubscriber,
|
367
389
|
column_subscriber_1.ColumnSubscriber,
|
368
390
|
comment_subscriber_1.CommentSubscriber,
|
369
391
|
credential_ip_subscriber_1.CredentialIpSubscriber,
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"es6.classes.js","sourceRoot":"","sources":["../../src/system/es6.classes.ts"],"names":[],"mappings":";;AAAA,sEAAiE;AACjE,8EAAyE;AACzE,wEAAmE;AACnE,0EAAqE;AACrE,4EAAuE;AACvE,8EAAyE;AACzE,gFAA2E;AAC3E,sFAAgF;AAChF,kEAA6D;AAC7D,mEAA+D;AAC/D,mEAA+D;AAC/D,mEAA+D;AAC/D,mEAA+D;AAC/D,+EAA2E;AAC3E,uEAAmE;AACnE,uEAAmE;AACnE,yFAAoF;AACpF,4DAAuD;AACvD,oEAA8D;AAC9D,wEA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E;QACT,yDAA0B;QAC1B,oCAAgB;QAChB,oCAAgB;QAChB,sCAAiB;QACjB,iDAAsB;QACtB,wCAAkB;QAClB,2CAAmB;QACnB,mDAAuB;QACvB,qDAAwB;QACxB,yDAA0B;QAC1B,wCAAkB;QAClB,gDAAsB;QACtB,qDAAwB;QACxB,6CAAoB;QACpB,wDAAyB;QACzB,gEAA6B;QAC7B,oDAAuB;KAC1B;CACJ,CAAC;AAEF,kBAAe,UAAU,CAAC"}
|
1
|
+
{"version":3,"file":"es6.classes.js","sourceRoot":"","sources":["../../src/system/es6.classes.ts"],"names":[],"mappings":";;AAAA,sEAAiE;AACjE,8EAAyE;AACzE,wEAAmE;AACnE,0EAAqE;AACrE,4EAAuE;AACvE,8EAAyE;AACzE,gFAA2E;AAC3E,sFAAgF;AAChF,kEAA6D;AAC7D,mEAA+D;AAC/D,mEAA+D;AAC/D,mEAA+D;AAC/D,mEAA+D;AAC/D,+EAA2E;AAC3E,uEAAmE;AACnE,uEAAmE;AACnE,yFAAoF;AACpF,4DAAuD;AACvD,oEAA8D;AAC9D,wEAAmE;AACnE,8FAAwF;AACxF,wEAAmE;AACnE,oFAA6E;AAC7E,0FAAmF;AACnF,0EAAqE;AACrE,sFAAgF;AAChF,4EAAuE;AACvE,4DAAuD;AACvD,sEAAgE;AAChE,sEAAgE;AAChE,8EAAuE;AACvE,gFAA0E;AAC1E,wFAAkF;AAClF,oEAA+D;AAC/D,gGAAyF;AACzF,wEAAmE;AACnE,8EAAwE;AACxE,kGAA2F;AAC3F,kEAA6D;AAC7D,kEAA4D;AAC5D,wEAAkE;AAClE,kFAA4E;AAC5E,sFAAgF;AAChF,0EAAqE;AACrE,0EAAqE;AACrE,oFAA8E;AAC9E,0DAAsD;AACtD,kFAA6E;AAC7E,4DAAwD;AACxD,0EAAqE;AACrE,wEAAkE;AAClE,8EAAwE;AACxE,kFAA6E;AAC7E,4DAAwD;AACxD,8DAA0D;AAC1D,0EAAqE;AACrE,gEAA4D;AAC5D,w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DAAuB;KAC1B;CACJ,CAAC;AAEF,kBAAe,UAAU,CAAC"}
|
@@ -0,0 +1,9 @@
|
|
1
|
+
import { CodeFixLogEntity } from '../entities/code.fix.log.entity';
|
2
|
+
import { DatabaseEventDto } from '../../common/dtos/database.event.dto';
|
3
|
+
import { CommonJob } from '../../common/libraries/common.job';
|
4
|
+
import { QueueService } from '../../platformUtility/services/queue.service';
|
5
|
+
export declare class CodeFixLogJob extends CommonJob {
|
6
|
+
protected readonly queueService: QueueService;
|
7
|
+
constructor(queueService: QueueService);
|
8
|
+
handle(evt: DatabaseEventDto<CodeFixLogEntity>): Promise<CodeFixLogEntity>;
|
9
|
+
}
|
@@ -0,0 +1,30 @@
|
|
1
|
+
"use strict";
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
5
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
7
|
+
};
|
8
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
9
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
10
|
+
};
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
12
|
+
exports.CodeFixLogJob = void 0;
|
13
|
+
const common_1 = require("@nestjs/common");
|
14
|
+
const common_job_1 = require("../../common/libraries/common.job");
|
15
|
+
const queue_service_1 = require("../../platformUtility/services/queue.service");
|
16
|
+
let CodeFixLogJob = class CodeFixLogJob extends common_job_1.CommonJob {
|
17
|
+
constructor(queueService) {
|
18
|
+
super('22f3e204e242b61c405ded5eb2825441');
|
19
|
+
this.queueService = queueService;
|
20
|
+
}
|
21
|
+
async handle(evt) {
|
22
|
+
return evt.entity;
|
23
|
+
}
|
24
|
+
};
|
25
|
+
exports.CodeFixLogJob = CodeFixLogJob;
|
26
|
+
exports.CodeFixLogJob = CodeFixLogJob = __decorate([
|
27
|
+
(0, common_1.Injectable)(),
|
28
|
+
__metadata("design:paramtypes", [queue_service_1.QueueService])
|
29
|
+
], CodeFixLogJob);
|
30
|
+
//# sourceMappingURL=code.fix.log.job.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"code.fix.log.job.js","sourceRoot":"","sources":["../../../src/system/jobs/code.fix.log.job.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,2CAA4C;AAG5C,kEAA8D;AAC9D,gFAA4E;AAErE,IAAM,aAAa,GAAnB,MAAM,aAAc,SAAQ,sBAAS;IACxC,YAA+B,YAA0B;QACrD,KAAK,CAAC,kCAAkC,CAAC,CAAC;QADf,iBAAY,GAAZ,YAAY,CAAc;IAEzD,CAAC;IACD,KAAK,CAAC,MAAM,CAAC,GAAuC;QAChD,OAAO,GAAG,CAAC,MAAM,CAAC;IACtB,CAAC;CACJ,CAAA;AAPY,sCAAa;wBAAb,aAAa;IADzB,IAAA,mBAAU,GAAE;qCAEoC,4BAAY;GADhD,aAAa,CAOzB"}
|
@@ -0,0 +1,9 @@
|
|
1
|
+
import { CodeFixScriptEntity } from '../entities/code.fix.script.entity';
|
2
|
+
import { DatabaseEventDto } from '../../common/dtos/database.event.dto';
|
3
|
+
import { CommonJob } from '../../common/libraries/common.job';
|
4
|
+
import { QueueService } from '../../platformUtility/services/queue.service';
|
5
|
+
export declare class CodeFixScriptJob extends CommonJob {
|
6
|
+
protected readonly queueService: QueueService;
|
7
|
+
constructor(queueService: QueueService);
|
8
|
+
handle(evt: DatabaseEventDto<CodeFixScriptEntity>): Promise<CodeFixScriptEntity>;
|
9
|
+
}
|
@@ -0,0 +1,30 @@
|
|
1
|
+
"use strict";
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
5
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
7
|
+
};
|
8
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
9
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
10
|
+
};
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
12
|
+
exports.CodeFixScriptJob = void 0;
|
13
|
+
const common_1 = require("@nestjs/common");
|
14
|
+
const common_job_1 = require("../../common/libraries/common.job");
|
15
|
+
const queue_service_1 = require("../../platformUtility/services/queue.service");
|
16
|
+
let CodeFixScriptJob = class CodeFixScriptJob extends common_job_1.CommonJob {
|
17
|
+
constructor(queueService) {
|
18
|
+
super('46043a7eb56579d19cc50088d849535d');
|
19
|
+
this.queueService = queueService;
|
20
|
+
}
|
21
|
+
async handle(evt) {
|
22
|
+
return evt.entity;
|
23
|
+
}
|
24
|
+
};
|
25
|
+
exports.CodeFixScriptJob = CodeFixScriptJob;
|
26
|
+
exports.CodeFixScriptJob = CodeFixScriptJob = __decorate([
|
27
|
+
(0, common_1.Injectable)(),
|
28
|
+
__metadata("design:paramtypes", [queue_service_1.QueueService])
|
29
|
+
], CodeFixScriptJob);
|
30
|
+
//# sourceMappingURL=code.fix.script.job.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"code.fix.script.job.js","sourceRoot":"","sources":["../../../src/system/jobs/code.fix.script.job.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,2CAA4C;AAG5C,kEAA8D;AAC9D,gFAA4E;AAErE,IAAM,gBAAgB,GAAtB,MAAM,gBAAiB,SAAQ,sBAAS;IAC3C,YAA+B,YAA0B;QACrD,KAAK,CAAC,kCAAkC,CAAC,CAAC;QADf,iBAAY,GAAZ,YAAY,CAAc;IAEzD,CAAC;IACD,KAAK,CAAC,MAAM,CAAC,GAA0C;QACnD,OAAO,GAAG,CAAC,MAAM,CAAC;IACtB,CAAC;CACJ,CAAA;AAPY,4CAAgB;2BAAhB,gBAAgB;IAD5B,IAAA,mBAAU,GAAE;qCAEoC,4BAAY;GADhD,gBAAgB,CAO5B"}
|
@@ -0,0 +1,12 @@
|
|
1
|
+
import { CommonJob } from '../../common/libraries/common.job';
|
2
|
+
import { QueueService } from '../../platformUtility/services/queue.service';
|
3
|
+
import { SqlService } from '../../platformUtility/services/sql.service';
|
4
|
+
export declare class ExecuteCodeFixJob extends CommonJob {
|
5
|
+
protected readonly queueService: QueueService;
|
6
|
+
protected readonly sqlService: SqlService;
|
7
|
+
constructor(queueService: QueueService, sqlService: SqlService);
|
8
|
+
handle(options: {
|
9
|
+
identifier: string;
|
10
|
+
context: any;
|
11
|
+
}): Promise<void>;
|
12
|
+
}
|
@@ -0,0 +1,35 @@
|
|
1
|
+
"use strict";
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
5
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
7
|
+
};
|
8
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
9
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
10
|
+
};
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
12
|
+
exports.ExecuteCodeFixJob = void 0;
|
13
|
+
const common_1 = require("@nestjs/common");
|
14
|
+
const common_job_1 = require("../../common/libraries/common.job");
|
15
|
+
const queue_service_1 = require("../../platformUtility/services/queue.service");
|
16
|
+
const sql_service_1 = require("../../platformUtility/services/sql.service");
|
17
|
+
const execute_code_fix_1 = require("../libraries/execute.code.fix");
|
18
|
+
let ExecuteCodeFixJob = class ExecuteCodeFixJob extends common_job_1.CommonJob {
|
19
|
+
constructor(queueService, sqlService) {
|
20
|
+
super('66b85ebd2f93d8d9ad74f91dd448fc10');
|
21
|
+
this.queueService = queueService;
|
22
|
+
this.sqlService = sqlService;
|
23
|
+
}
|
24
|
+
async handle(options) {
|
25
|
+
const { identifier, context } = options;
|
26
|
+
return new execute_code_fix_1.ExecuteCodeFix(this.sqlService).process(identifier, context);
|
27
|
+
}
|
28
|
+
};
|
29
|
+
exports.ExecuteCodeFixJob = ExecuteCodeFixJob;
|
30
|
+
exports.ExecuteCodeFixJob = ExecuteCodeFixJob = __decorate([
|
31
|
+
(0, common_1.Injectable)(),
|
32
|
+
__metadata("design:paramtypes", [queue_service_1.QueueService,
|
33
|
+
sql_service_1.SqlService])
|
34
|
+
], ExecuteCodeFixJob);
|
35
|
+
//# sourceMappingURL=execute.code.fix.job.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"execute.code.fix.job.js","sourceRoot":"","sources":["../../../src/system/jobs/execute.code.fix.job.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,2CAA4C;AAC5C,kEAA8D;AAC9D,gFAA4E;AAC5E,4EAAwE;AACxE,oEAA+D;AAGxD,IAAM,iBAAiB,GAAvB,MAAM,iBAAkB,SAAQ,sBAAS;IAC5C,YACuB,YAA0B,EAC1B,UAAsB;QAEzC,KAAK,CAAC,kCAAkC,CAAC,CAAC;QAHvB,iBAAY,GAAZ,YAAY,CAAc;QAC1B,eAAU,GAAV,UAAU,CAAY;IAG7C,CAAC;IAED,KAAK,CAAC,MAAM,CAAC,OAA6C;QACtD,MAAM,EAAE,UAAU,EAAE,OAAO,EAAE,GAAG,OAAO,CAAC;QACxC,OAAO,IAAI,iCAAc,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,OAAO,CAAC,UAAU,EAAE,OAAO,CAAC,CAAC;IAC5E,CAAC;CACJ,CAAA;AAZY,8CAAiB;4BAAjB,iBAAiB;IAD7B,IAAA,mBAAU,GAAE;qCAG4B,4BAAY;QACd,wBAAU;GAHpC,iBAAiB,CAY7B"}
|
@@ -1,10 +1,13 @@
|
|
1
1
|
export * from './clean.scheduled.event.job';
|
2
2
|
export * from './client.credential.job';
|
3
3
|
export * from './client.job';
|
4
|
+
export * from './code.fix.log.job';
|
5
|
+
export * from './code.fix.script.job';
|
4
6
|
export * from './column.mapper.job';
|
5
7
|
export * from './comment.job';
|
6
8
|
export * from './credential.ip.job';
|
7
9
|
export * from './document.job';
|
10
|
+
export * from './execute.code.fix.job';
|
8
11
|
export * from './mail.event.job';
|
9
12
|
export * from './mail.recipient.job';
|
10
13
|
export * from './mail.validation.job';
|
@@ -19,6 +22,7 @@ export * from './set.event.queue.job';
|
|
19
22
|
export * from './set.scheduled.event.job';
|
20
23
|
export * from './sms.message.job';
|
21
24
|
export * from './sqs.polling.job';
|
25
|
+
export * from './sync.all.code.job';
|
22
26
|
export * from './user.group.member.job';
|
23
27
|
export * from './user.group.permission.job';
|
24
28
|
export * from './user.group.role.job';
|
@@ -17,10 +17,13 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
__exportStar(require("./clean.scheduled.event.job"), exports);
|
18
18
|
__exportStar(require("./client.credential.job"), exports);
|
19
19
|
__exportStar(require("./client.job"), exports);
|
20
|
+
__exportStar(require("./code.fix.log.job"), exports);
|
21
|
+
__exportStar(require("./code.fix.script.job"), exports);
|
20
22
|
__exportStar(require("./column.mapper.job"), exports);
|
21
23
|
__exportStar(require("./comment.job"), exports);
|
22
24
|
__exportStar(require("./credential.ip.job"), exports);
|
23
25
|
__exportStar(require("./document.job"), exports);
|
26
|
+
__exportStar(require("./execute.code.fix.job"), exports);
|
24
27
|
__exportStar(require("./mail.event.job"), exports);
|
25
28
|
__exportStar(require("./mail.recipient.job"), exports);
|
26
29
|
__exportStar(require("./mail.validation.job"), exports);
|
@@ -35,6 +38,7 @@ __exportStar(require("./set.event.queue.job"), exports);
|
|
35
38
|
__exportStar(require("./set.scheduled.event.job"), exports);
|
36
39
|
__exportStar(require("./sms.message.job"), exports);
|
37
40
|
__exportStar(require("./sqs.polling.job"), exports);
|
41
|
+
__exportStar(require("./sync.all.code.job"), exports);
|
38
42
|
__exportStar(require("./user.group.member.job"), exports);
|
39
43
|
__exportStar(require("./user.group.permission.job"), exports);
|
40
44
|
__exportStar(require("./user.group.role.job"), exports);
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/system/jobs/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,8DAA4C;AAAA,0DAAwC;AAAA,+CAA6B;AAAA,sDAAoC;AAAA,gDAA8B;AAAA,sDAAoC;AAAA,iDAA+B;AAAA,mDAAiC;AAAA,uDAAqC;AAAA,wDAAsC;AAAA,0DAAwC;AAAA,sDAAoC;AAAA,iDAA+B;AAAA,+DAA6C;AAAA,4DAA0C;AAAA,2DAAyC;AAAA,wDAAsC;AAAA,wDAAsC;AAAA,4DAA0C;AAAA,oDAAkC;AAAA,oDAAkC;AAAA,0DAAwC;AAAA,8DAA4C;AAAA,wDAAqC"}
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/system/jobs/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,8DAA4C;AAAA,0DAAwC;AAAA,+CAA6B;AAAA,qDAAmC;AAAA,wDAAsC;AAAA,sDAAoC;AAAA,gDAA8B;AAAA,sDAAoC;AAAA,iDAA+B;AAAA,yDAAuC;AAAA,mDAAiC;AAAA,uDAAqC;AAAA,wDAAsC;AAAA,0DAAwC;AAAA,sDAAoC;AAAA,iDAA+B;AAAA,+DAA6C;AAAA,4DAA0C;AAAA,2DAAyC;AAAA,wDAAsC;AAAA,wDAAsC;AAAA,4DAA0C;AAAA,oDAAkC;AAAA,oDAAkC;AAAA,sDAAoC;AAAA,0DAAwC;AAAA,8DAA4C;AAAA,wDAAqC"}
|
@@ -30,7 +30,6 @@ let SetEventQueueJob = class SetEventQueueJob extends common_job_1.CommonJob {
|
|
30
30
|
const pollQueue = this.configService.get('EVENT_QUEUE_POLL');
|
31
31
|
if (!pollQueue)
|
32
32
|
return;
|
33
|
-
global.console.log('new Date()', new Date());
|
34
33
|
await this.pollQueue();
|
35
34
|
return this.removeCompletedEvents();
|
36
35
|
}
|
@@ -46,18 +45,25 @@ let SetEventQueueJob = class SetEventQueueJob extends common_job_1.CommonJob {
|
|
46
45
|
}
|
47
46
|
async setEvent(event) {
|
48
47
|
event.start_time = date_util_1.DateUtil.getDateTime();
|
49
|
-
await event.save();
|
50
48
|
try {
|
51
|
-
const payload = this.
|
49
|
+
const payload = this.getPayload(event);
|
52
50
|
const job = await this.queueService.addJob(event.event.identifier, payload);
|
51
|
+
event.attributes = { ...event.attributes, job_id: job.id };
|
53
52
|
global.console.log('triggered event : ', event.event.identifier, payload, job.id);
|
54
53
|
}
|
55
54
|
catch (error) {
|
56
|
-
|
57
|
-
global.console.error(error);
|
55
|
+
event.attributes = { ...event.attributes, no_trigger: true };
|
58
56
|
}
|
59
|
-
|
60
|
-
|
57
|
+
finally {
|
58
|
+
event.end_time = date_util_1.DateUtil.getDateTime();
|
59
|
+
return event.save();
|
60
|
+
}
|
61
|
+
}
|
62
|
+
getPayload(event) {
|
63
|
+
const { payload, parameter } = event;
|
64
|
+
if (Object.keys(payload || {}).length)
|
65
|
+
return payload;
|
66
|
+
return this.typeCastParameter(parameter);
|
61
67
|
}
|
62
68
|
typeCastParameter(value) {
|
63
69
|
if (!value.length)
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"set.event.queue.job.js","sourceRoot":"","sources":["../../../src/system/jobs/set.event.queue.job.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,2CAA4C;AAC5C,2CAA+C;AAC/C,uCAAmC;AACnC,kEAA8D;AAC9D,gEAA4D;AAC5D,gFAA4E;AAC5E,4EAAwE;AAExE,yEAAoE;AAG7D,IAAM,gBAAgB,GAAtB,MAAM,gBAAiB,SAAQ,sBAAS;IAC3C,YACqB,iBAAoC,EAClC,YAA0B,EAC1B,aAA4B,EAC5B,UAAsB;QAEzC,KAAK,CAAC,kCAAkC,CAAC,CAAC;QALzB,sBAAiB,GAAjB,iBAAiB,CAAmB;QAClC,iBAAY,GAAZ,YAAY,CAAc;QAC1B,kBAAa,GAAb,aAAa,CAAe;QAC5B,eAAU,GAAV,UAAU,CAAY;IAG7C,CAAC;
|
1
|
+
{"version":3,"file":"set.event.queue.job.js","sourceRoot":"","sources":["../../../src/system/jobs/set.event.queue.job.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,2CAA4C;AAC5C,2CAA+C;AAC/C,uCAAmC;AACnC,kEAA8D;AAC9D,gEAA4D;AAC5D,gFAA4E;AAC5E,4EAAwE;AAExE,yEAAoE;AAG7D,IAAM,gBAAgB,GAAtB,MAAM,gBAAiB,SAAQ,sBAAS;IAC3C,YACqB,iBAAoC,EAClC,YAA0B,EAC1B,aAA4B,EAC5B,UAAsB;QAEzC,KAAK,CAAC,kCAAkC,CAAC,CAAC;QALzB,sBAAiB,GAAjB,iBAAiB,CAAmB;QAClC,iBAAY,GAAZ,YAAY,CAAc;QAC1B,kBAAa,GAAb,aAAa,CAAe;QAC5B,eAAU,GAAV,UAAU,CAAY;IAG7C,CAAC;IAMD,KAAK,CAAC,MAAM;QACR,MAAM,SAAS,GAAG,IAAI,CAAC,aAAa,CAAC,GAAG,CAAU,kBAAkB,CAAC,CAAC;QACtE,IAAI,CAAC,SAAS;YAAE,O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formUtility/services/queue.service';
|
3
|
+
import { CommonService } from '../services/common.service';
|
4
|
+
import { EventDetailService } from '../services/event.detail.service';
|
5
|
+
import { ModelScannerJob } from './model.scanner.job';
|
6
|
+
import { ReportColumnSyncJob } from './report.column.sync.job';
|
7
|
+
import { ColumnEntity } from '../entities/column.entity';
|
8
|
+
import { ModelEntity } from '../entities/model.entity';
|
9
|
+
import { RelationshipEntity } from '../entities/relationship.entity';
|
10
|
+
import { SqlService } from '../../platformUtility/services/sql.service';
|
11
|
+
export declare class SyncAllCodeJob extends CommonJob {
|
12
|
+
protected readonly queueService: QueueService;
|
13
|
+
private readonly modelScannerJob;
|
14
|
+
private readonly eventDetailService;
|
15
|
+
private readonly reportColumnSyncJob;
|
16
|
+
private readonly commonService;
|
17
|
+
private readonly sqlService;
|
18
|
+
protected noDuplicate: boolean;
|
19
|
+
private columnDefinitionMapping;
|
20
|
+
constructor(queueService: QueueService, modelScannerJob: ModelScannerJob, eventDetailService: EventDetailService, reportColumnSyncJob: ReportColumnSyncJob, commonService: CommonService, sqlService: SqlService);
|
21
|
+
handle(): Promise<void>;
|
22
|
+
private syncAllModels;
|
23
|
+
private loadModelRelations;
|
24
|
+
private syncAllJobs;
|
25
|
+
private syncAllServices;
|
26
|
+
private syncAllReports;
|
27
|
+
private syncAllDbTables;
|
28
|
+
setAllTables(): Promise<ModelEntity[]>;
|
29
|
+
setModel(table: any): Promise<ModelEntity>;
|
30
|
+
setModelsColumn(models: ModelEntity[]): Promise<ColumnEntity[]>;
|
31
|
+
setModelColumn(model: ModelEntity): Promise<ColumnEntity[]>;
|
32
|
+
setColumn(model: ModelEntity, data: any): Promise<ColumnEntity>;
|
33
|
+
setModelsRelationship(models: ModelEntity[]): Promise<void>;
|
34
|
+
setModelRelationship(model: ModelEntity): Promise<void>;
|
35
|
+
setRelationship(model: ModelEntity, data: any): Promise<void>;
|
36
|
+
createForwardRelationship(relationship: RelationshipEntity, foreignModel: ModelEntity, foreignColumn: ColumnEntity, data: any): Promise<RelationshipEntity>;
|
37
|
+
createReverseRelationship(relationship: RelationshipEntity, model: ModelEntity, sourceColumn: ColumnEntity): Promise<RelationshipEntity>;
|
38
|
+
getColumn(model: ModelEntity, columnName: string): Promise<ColumnEntity>;
|
39
|
+
setUserTable(): Promise<ModelEntity>;
|
40
|
+
setCreatorModel(): Promise<ModelEntity>;
|
41
|
+
private getEntityName;
|
42
|
+
private loadDBColumnMapping;
|
43
|
+
private getColumnDisplayName;
|
44
|
+
private getRelationshipName;
|
45
|
+
}
|