feat: add incident model, module and service with StatusService integration

- Create Incident model with resolution tracking fields
- Implement IncidentModule for data access
- Implement IncidentService with business logic
- Integrate with StatusService to auto-create/resolve incidents on status change
This commit is contained in:
karenvicent committed 2025-11-06 17:06:33 -05:00
1 parent eb70c9f5f0
commit 0c3fdbc539
7 files changed
+748 -4

No files matched your search

+2
View File
@@ -19,6 +19,7 @@ class MongoDB {
pageSpeedCheckModule,
recoveryModule,
settingsModule,
incidentModule,
}) {
this.logger = logger;
this.envSettings = envSettings;
@@ -34,6 +35,7 @@ class MongoDB {
this.settingsModule = settingsModule;
this.statusPageModule = statusPageModule;
this.networkCheckModule = networkCheckModule;
this.incidentModule = incidentModule;
}
get serviceName() {