refactor(sdk)!: 适配 SDK 领域分包——流程/班级/用户中心门面切新包
build / build-push (push) Successful in 55s

- FlowModels / FlowCenterClient / FlowCenterClientTest:
  openapi.dto.FlowDto → openapi.flow.model.*(按需引入 FlowApplyBody/Result、FlowCallbackRegBody/Result、
  FlowInstance/FlowSummary);TargetSpec/YschCallProperties/YschOpenCall → openapi.core.*
- ClassService(+IClassService):切新班级域门面 YschClassOpenApi + clazz.model.SchTea,
  替换原先用 openapi.client.YschBaseOpenApi 直连基址的写法
- ContactsService / NoticeService / UserCenterService:YschBaseOpenApi → openapi.base.*
- application.yml:随服务目录兜底去掉 open.enabled / user-center-url / userclass 三个 legacy 键
  (userclass 已由 PlatformService 枚举兜底 = base-host + /userclass)

验证:clean test 全绿 64 个非 IT 用例(含本次改动的 FlowCenterClientTest 5/5)。
12 个 *IT 在本机因无 MySQL(jdbc:mysql://localhost:3306/bsch_notice_test)在
entityManagerFactory 阶段 Connection refused,属环境性失败,与本次迁移无关。

说明:这批改动是工作区在途内容(适配 SDK 领域分包所必需),不落库则 Notice 无法对
当前 nexus 上的 SDK 构建通过——即"消费方提交态编译不过"的根因。
This commit is contained in:
chenxing
2026-09-16 19:26:27 +08:00
parent 01ce87ed7a
commit 8852c7ab02
9 changed files with 64 additions and 69 deletions
+1 -4
View File
@@ -93,11 +93,8 @@ yh:
# "100009": "dcc36c98299a4d36bb0ec39d42008e8c"
trust-registry: true
open:
enabled: true
# 四域服务目录零配置:userbase/userclass/usermsg/flowcenter 枚举兜底 = base-host + 默认 ctx
base-host: http://base.yunhaixingtong.com
user-center-url: http://base.yunhaixingtong.com/userbase
# 班级管理(userclass)服务基址(原 bschclass 路由已下线)
userclass: http://base.yunhaixingtong.com/userclass
# env-config 前端运行时配置(免登录 GET /api/env-config?target=front,数据源见
# config/PropertyEnvConfigSource:聚合 starter 自动装配,有 bean 即注册端点)。
# 本地无需配值(前端 dev 走 .env.dev);线上值经环境变量 YH_ENV_CONFIG_SOURCE_FRONT