Skip to content

@sourceloop/audit-service / Exports / JobProcessingService

Class: JobProcessingService

Table of contents

Constructors

Properties

Methods

Constructors

constructor

new JobProcessingService(querySelectedFiles, auditLogExport, columnBuilder, mappingLogRepository, jobRepository, auditLogRepository)

Parameters

Name Type
querySelectedFiles QuerySelectedFilesFn
auditLogExport AuditLogExportFn
columnBuilder ColumnBuilderFn
mappingLogRepository EntityCrudRepository<MappingLog, string, {}>
jobRepository EntityCrudRepository<Job, string, {}>
auditLogRepository EntityCrudRepository<AuditLog, string, {}>

Defined in

services/audit-service/src/services/job-processing.service.ts:22

Properties

auditLogExport

auditLogExport: AuditLogExportFn

Defined in

services/audit-service/src/services/job-processing.service.ts:26


auditLogRepository

auditLogRepository: EntityCrudRepository<AuditLog, string, {}>

Defined in

services/audit-service/src/services/job-processing.service.ts:34


columnBuilder

columnBuilder: ColumnBuilderFn

Defined in

services/audit-service/src/services/job-processing.service.ts:28


jobRepository

jobRepository: EntityCrudRepository<Job, string, {}>

Defined in

services/audit-service/src/services/job-processing.service.ts:32


mappingLogRepository

mappingLogRepository: EntityCrudRepository<MappingLog, string, {}>

Defined in

services/audit-service/src/services/job-processing.service.ts:30


querySelectedFiles

querySelectedFiles: QuerySelectedFilesFn

Defined in

services/audit-service/src/services/job-processing.service.ts:24

Methods

start

start(jobId): Promise<void>

Parameters

Name Type
jobId string

Returns

Promise<void>

Defined in

services/audit-service/src/services/job-processing.service.ts:37