F2-7: 审批办理 UI 后端——trace/delegate 端点增补

- flowable-service:新增 GET /api/flow/process/{id}/trace(历史任务节点+
  审批意见+结果,biz 库不可达时用户名 1s 超时降级),TraceNodeDto;
  biz 数据源加 connectionTimeout/socketTimeout 快速失败
- platform-flow-gateway:FlowableClient 增加 trace/delegate 方法;
  TodoController 增加 /api/flow/process/{id}/trace 和 /api/task/{id}/delegate
  网关透传端点;GatewayRequests.DelegateRequest;TraceNodeDto 镜像
- 单测:TraceAndDelegateTest 3 个(MockRestServiceServer),全套 34/34 通过
- application-dev.yml:eip4.flow.read-timeout-ms=60000 适配慢查询

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
2026-06-11 23:09:11 +08:00
parent b0657a7765
commit 6dbb205e94
9 changed files with 279 additions and 2 deletions

View File

@@ -37,6 +37,12 @@ eip4:
# F1-4b:改写后脚本根目录(工作目录为 platform-app/,tools/ 在上层)
rewritten-root: ../tools/s3_rewriter/output/rewritten
flow:
# F2-7:flowable-service 部分查询慢(历史任务+候选人解析),放大超时
read-timeout-ms: 60000
connect-timeout-ms: 3000
max-retries: 0
logging:
level:
com.dsasp: DEBUG