Files
stack/apps/orchestrator/src/api/health/health.module.ts
Jason Woltje 89bb24493a fix(SEC-ORCH-16): Implement real health and readiness checks
- Add ping() method to ValkeyClient and ValkeyService for health checks
- Update HealthService to check Valkey connectivity before reporting ready
- /health/ready now returns 503 if dependencies are unhealthy
- Add detailed checks object showing individual dependency status
- Update tests with ValkeyService mock

Refs #339

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-05 19:20:07 -06:00

12 lines
341 B
TypeScript

import { Module } from "@nestjs/common";
import { HealthController } from "./health.controller";
import { HealthService } from "./health.service";
import { ValkeyModule } from "../../valkey/valkey.module";
@Module({
imports: [ValkeyModule],
controllers: [HealthController],
providers: [HealthService],
})
export class HealthModule {}