zizi
d7fac9038d
fix(wave3-staging): yudao 单体启动装配修复 + application-staging.yaml(mini-desktop 真启动通过)
首次真启动整个 yudao-server 单体暴露预存装配缺陷(此前只验编译+单测)。按 live 错误栈两层根因修复:
- 撤销 yudao-server/pom.xml 对 spring-cloud-starter-openfeign 的排除——framework starter
(YudaoSecurityRpcAutoConfiguration 等)自带 @EnableFeignClients 需 openfeign 在 classpath
- 补 yudao 上游漏标的 primary=false:OAuth2TokenCommonApi/TenantCommonApi/ApiAccessLogCommonApi/
ApiErrorLogCommonApi 四个 @FeignClient + 对应 4 个 *ApiImpl 加 @Primary(同 PermissionApiImpl 范式),
使单体内本地实现胜过 Feign 远程代理
- application-staging.yaml:DB/Redis→隔离容器 13306/16379(${ENV} 占位非明文)、nacos/xxl 关、
mock-enable、tenant.enable=false(单租户)、openfeign 回环 48080
验证(主 agent 独立 mini-desktop 观测 + 本机编译):Started YudaoServerApplication;Flyway V1-V9 全 success;
24 张 game_* 表;/v3/api-docs 87 paths 9 模块无 game/ 前缀;POST /app-api/project/1/publish→admitted+gates 含 key=compliance;
本机 mvn -am compile BUILD SUCCESS。Application.java 未改(原 @EnableFeignClients 假设会致双 primary 冲突,实测不需要)。
P1 遗留:admin-api @PreAuthorize 端点撞 yudao 单体嵌套 Feign 回环 404(app-api 主链路不受影响)。
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-09 04:55:23 +00:00
..
2026-06-09 04:55:23 +00:00
2026-06-08 09:10:05 +00:00
2026-06-08 09:10:05 +00:00
2026-06-08 09:10:05 +00:00
2026-06-08 09:10:05 +00:00
2026-06-08 09:10:05 +00:00
2026-06-08 09:10:05 +00:00
2026-06-08 09:10:05 +00:00
2026-06-08 09:10:05 +00:00
2026-06-08 09:10:05 +00:00
2026-06-08 09:10:05 +00:00
2026-06-08 09:10:05 +00:00
2026-06-08 09:10:05 +00:00
2026-06-08 09:10:05 +00:00
2026-06-08 09:10:05 +00:00
2026-06-08 09:10:05 +00:00
2026-06-08 09:10:05 +00:00
2026-06-08 09:10:05 +00:00