Commit Graph

18 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
fe1e426389 chore: 添加.gitignore和项目状态报告
- 添加 .gitignore 排除临时文件、构建产物、IDE配置等
- 添加 PROJECT_STATUS_REPORT.md 详细记录项目当前状态
  - 覆盖率: 指令81.89%, 行88.48%, 分支51.55%
  - 1266个测试用例全部通过
  - 核心功能模块完成情况
  - 待办事项和技术债务清单
2026-03-02 13:35:31 +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
32d6449ea4 feat(jpa): persist Activity in create/update/get with defaults; fix H2 defaults; replace existence checks with repository 2025-09-30 21:20:20 +08:00
Your Name
2f5f819c0d feat(jpa): add JPA entities and repositories aligned to Flyway; chore(deps): remove unused AMQP deps 2025-09-30 21:01:26 +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
e98be2624d ci(woodpecker): preflight 2025-09-30 20:21:10 +08:00
Your Name
f63a59a150 ci(actions): target runner label 'gitea-runner-host' for both jobs 2025-09-30 20:18:49 +08:00
Your Name
497039451f ci(actions): accept secret 'giteatoken' as fallback for auto-merge 2025-09-30 20:15:29 +08:00
Your Name
641158a580 ci(actions): target self-hosted runners and use Maven container to provide Java+Maven 2025-09-30 19:47:06 +08:00
Your Name
0eb81d216c ci(actions): run build in maven:3.9-eclipse-temurin-17 to provide Java+Maven 2025-09-30 19:44:58 +08:00
Your Name
1e6be7e995 ci(actions): use ubuntu-latest label; add auto-merge job gated by success (requires GITEA_TOKEN secret) 2025-09-30 19:39:15 +08:00
Your Name
6712d83a85 ci(actions): run on self-hosted environment (no container) 2025-09-30 19:15:00 +08:00
Your Name
db9d9d38ef Merge remote-tracking branch 'origin/main' into 004-system-integration
Some checks failed
CI / build_test_package (push) Has been cancelled
2025-09-30 18:16:26 +08:00
shenyi
9a65c32d92 Initial commit 2025-09-30 17:40:10 +08:00
Your Name
344d473ca1 ci(actions): add Gitea Actions workflow; docs: note CI path in tasks 2025-09-30 16:47:26 +08:00
Your Name
63a5ee87af ci: add Woodpecker pipeline; docs: add review and tasks; docs: add AGENTS.md 2025-09-30 16:42:04 +08:00
Your Name
8a7afc8a00 chore: initial commit with CI pipeline, review and tasks docs 2025-09-30 16:39:51 +08:00