feat: add repository pattern, service layer architecture, and scheduler management

- Implement repository pattern for data access layer
- Add comprehensive service layer for business logic
- Create scheduler management system with health monitoring
- Add bounded buffer utility for memory management
- Enhance security audit logging with retention policies
This commit is contained in:
2025-07-12 07:00:37 +02:00
parent e1abedb148
commit 041a1cc3ef
54 changed files with 5755 additions and 878 deletions

View File

@ -13,6 +13,7 @@ import {
securityAuditLogger,
} from "./securityAuditLogger";
/* eslint-disable @typescript-eslint/no-unused-vars, no-unused-vars */
export enum BatchLogLevel {
DEBUG = "DEBUG",
INFO = "INFO",
@ -20,7 +21,9 @@ export enum BatchLogLevel {
ERROR = "ERROR",
CRITICAL = "CRITICAL",
}
/* eslint-enable @typescript-eslint/no-unused-vars, no-unused-vars */
/* eslint-disable @typescript-eslint/no-unused-vars, no-unused-vars */
export enum BatchOperation {
BATCH_CREATION = "BATCH_CREATION",
BATCH_STATUS_CHECK = "BATCH_STATUS_CHECK",
@ -33,6 +36,7 @@ export enum BatchOperation {
INDIVIDUAL_REQUEST_RETRY = "INDIVIDUAL_REQUEST_RETRY",
COST_TRACKING = "COST_TRACKING",
}
/* eslint-enable @typescript-eslint/no-unused-vars, no-unused-vars */
export interface BatchLogContext {
operation: BatchOperation;