@@ -5,6 +5,8 @@ import { AuthGuard } from './auth/auth.guard';
55import { AuthModule } from './auth/auth.module' ;
66import { ThrottleByUserGuard } from './auth/throttle-by-user.guard' ;
77import { ConfigModule } from './config/config.module' ;
8+ import { AdminController } from './controllers/admin.controller' ;
9+ import { AuditController } from './controllers/audit.controller' ;
810import { HealthController } from './controllers/health.controller' ;
911import { MetricsController } from './controllers/metrics.controller' ;
1012import { ObservabilityController } from './controllers/observability.controller' ;
@@ -39,6 +41,9 @@ import { RunExecutorService } from './runs/run-executor.service';
3941import { RunManagerService } from './runs/run-manager.service' ;
4042import { RunRecoveryService } from './runs/run-recovery.service' ;
4143import { StreamConsumerService } from './runs/stream-consumer.service' ;
44+ import { WebhookController } from './controllers/webhook.controller' ;
45+ import { WebhookRepository } from './webhooks/webhook.repository' ;
46+ import { WebhookService } from './webhooks/webhook.service' ;
4247
4348@Module ( {
4449 imports : [
@@ -47,7 +52,7 @@ import { StreamConsumerService } from './runs/stream-consumer.service';
4752 AuthModule ,
4853 ThrottlerModule . forRoot ( [ { ttl : 60000 , limit : 100 } ] )
4954 ] ,
50- controllers : [ RunsController , RunInsightsController , RuntimeController , ObservabilityController , HealthController , MetricsController ] ,
55+ controllers : [ RunsController , RunInsightsController , RuntimeController , ObservabilityController , HealthController , MetricsController , AdminController , AuditController , WebhookController ] ,
5156 providers : [
5257 { provide : APP_GUARD , useClass : AuthGuard } ,
5358 { provide : APP_GUARD , useClass : ThrottleByUserGuard } ,
@@ -75,7 +80,9 @@ import { StreamConsumerService } from './runs/stream-consumer.service';
7580 StreamConsumerService ,
7681 RunExecutorService ,
7782 RunRecoveryService ,
78- RunInsightsService
83+ RunInsightsService ,
84+ WebhookRepository ,
85+ WebhookService
7986 ]
8087} )
8188export class AppModule implements NestModule {
0 commit comments