4.0.0 com.eip4 eip4-platform 0.1.0-SNAPSHOT platform-flow-gateway platform-flow-gateway P3-4 单体侧流程网关:Flowable REST 客户端 + 待办聚合 + 事件回写。 引擎在独立 flowable-service(端口 8089),本模块只做 HTTP 客户端(架构第三节)。 - FlowableClient:RestClient 调 flowable-service(基址 eip4.flow.base-url,默认 http://localhost:8089), 超时/重试/熔断降级(服务不可达 → FlowServiceUnavailableException → 503 语义,非 500 堆栈)。 - 待办聚合(经 platform-app 暴露):GET /api/todo、GET /api/done、POST /api/task/{id}/complete、 POST /api/process/start;聚合层把 Flowable 任务与业务摘要连接(businessKey → SYS_DATASTATUS.tablename → 引擎 loadPOJO 只读标题字段;业务摘要数据源=客户库只读;拼不到优雅降级为仅流程字段)。 - 事件回写:complete 后按老系统 ProcessCoreServiceImpl/WfChangeStatus 语义更新 SYS_DATASTATUS (STATUS_PROCESSING=2/STATUS_PASS=3,守卫 oldstatus < status 单调递增);本地库验证,客户库只读。 com.eip4platform-legacy-core com.eip4platform-metadata com.eip4platform-auth org.springframework.bootspring-boot-starter-web org.springframework.bootspring-boot-starter-jdbc org.springdoc springdoc-openapi-starter-webmvc-ui org.springframework.boot spring-boot-starter-cache com.github.ben-manes.caffeine caffeine org.springframework.boot spring-boot-starter-test test