- Implement 5 core API endpoints (create task, get progress, get results, update decision, export Excel) - Add FulltextScreeningController with Zod validation (652 lines) - Implement ExcelExporter service with 4-sheet report generation (352 lines) - Register routes under /api/v1/asl/fulltext-screening - Create 31 REST Client test cases - Add automated integration test script - Fix PDF extraction fallback mechanism in LLM12FieldsService - Update API design documentation to v3.0 - Update development plan to v1.2 - Create Day 5 development record - Clean up temporary test files
38 lines
651 B
TypeScript
38 lines
651 B
TypeScript
/**
|
||
* 健康检查统一导出
|
||
*
|
||
* 提供SAE健康检查端点,用于存活和就绪探测。
|
||
*
|
||
* @module health
|
||
*
|
||
* @example
|
||
* ```typescript
|
||
* import { registerHealthRoutes } from '@/common/health'
|
||
* import Fastify from 'fastify'
|
||
*
|
||
* const app = Fastify()
|
||
*
|
||
* // 注册健康检查路由
|
||
* await registerHealthRoutes(app)
|
||
*
|
||
* // SAE配置示例:
|
||
* // - Liveness Probe: GET /health/liveness (每10秒检查一次)
|
||
* // - Readiness Probe: GET /health/readiness (每5秒检查一次)
|
||
* ```
|
||
*/
|
||
|
||
export { registerHealthRoutes } from './healthCheck.js'
|
||
export type { HealthCheckResponse } from './healthCheck.js'
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|