Commit Graph

4 Commits

Author SHA1 Message Date
Your Name
3e2d1ece71 test: 提升测试覆盖率 - 添加拦截器和UrlValidator测试
- 新增 ApiResponseWrapperInterceptorTest (完整测试)
- 新增 ApiKeyAuthInterceptorTest (完整测试)
- 新增 UrlValidatorTest (完整测试)
- 覆盖率提升:
  - 指令覆盖率: 81.89% → 83.59%
  - 分支覆盖率: 51.55% → 57.12%
  - 行覆盖率: 88.48% → 90.51%
- 新增测试用例覆盖:
  - API版本头设置逻辑
  - API Key认证流程(null/空白/吊销/哈希验证)
  - URL验证(协议/localhost/私有IP/特殊地址)
  - 边界条件和异常处理
2026-03-02 15:22:12 +08:00
Your Name
91a0b77f7a test(cache): 修复CacheConfigTest边界值测试
- 修改 shouldVerifyCacheManager_withMaximumIntegerTtl 为 shouldVerifyCacheManager_withMaximumAllowedTtl
- 使用正确的最大TTL值(10080分钟,7天)而不是 Integer.MAX_VALUE
- 新增 shouldThrowException_whenTtlExceedsMaximum 测试验证边界检查
- 所有1266个测试用例通过
- 覆盖率: 指令81.89%, 行88.48%, 分支51.55%

docs: 添加项目状态报告
- 生成 PROJECT_STATUS_REPORT.md 详细记录项目当前状态
- 包含质量指标、已完成功能、待办事项和技术债务
2026-03-02 13:31:54 +08:00
Your Name
e8fc04886e feat(perf): remove Thread.sleep via DelayProvider; chore(cache): add Redis cache TTL + JDK serialization; chore(test): migrate javax->jakarta for embedded redis; chore(config): add dev/test/prod profiles; chore(security): strengthen API key hashing with PBKDF2 2025-09-30 20:34:39 +08:00
Your Name
8a7afc8a00 chore: initial commit with CI pipeline, review and tasks docs 2025-09-30 16:39:51 +08:00