movingsam
|
7f645ddd13
|
refactor(gateway): 优化网关服务逻辑,修改Id类型并引入存储接口
Build / build (push) Failing after 41s
Deploy to K8s / deploy (push) Failing after 2s
Build and Push Docker / build (push) Failing after 17s
- 将网关服务相关实体Id类型由long改为string,统一使用Guid V7格式Id
- 新增ConsoleDbContext,配置数据库表命名规范,适配PostgreSQL约定
- 引入IRouteStore和IInstanceStore接口,替代直接使用DbContext访问数据库
- 修改GatewayService实现,调用存储接口进行数据操作以支持解耦扩展
- 调整GatewayController中实例Id参数类型为string,保证一致性
- 更新GatewayDto中各实体的Id类型为string,确保与数据库模型匹配
- 在项目配置中添加EntityFrameworkCore.Design依赖及版本更新
- 新增DesignTimeDbContextFactory方便迁移和设计时上下文创建
- 删除appsettings.json中的GatewayConnection配置,简化连接字符串配置
|
2026-03-01 13:33:02 +08:00 |
|
movingsam
|
0678b44a90
|
refactor: Gateway 改用 PlatformDbContext
Build / build (push) Failing after 44s
Deploy to K8s / deploy (push) Failing after 2s
Build and Push Docker / build (push) Failing after 17s
- 移除单独的 GatewayDbContext,使用 PlatformDbContext
- 修改 DbSet 名称为 GwTenantRoutes, GwServiceInstances
- 添加必要的 using 引用
|
2026-03-01 01:34:59 +08:00 |
|
movingsam
|
797ac930bd
|
fix: 修复项目引用和 GatewayService using
Build / build (push) Failing after 39s
Deploy to K8s / deploy (push) Failing after 4s
Build and Push Docker / build (push) Failing after 24s
- 移除重复的 Directory.Packages.props 内容
- 清理 GatewayService.cs 中未使用的 using
|
2026-02-28 23:00:47 +08:00 |
|
movingsam
|
c50615d8d1
|
refactor: 将项目文件迁移到 src 目录并创建 slnx 解决方案
- 将 Controllers, Services, Models, Properties 等目录移至 src/ 下
- 创建 Fengling.Console.slnx Rider 解决方案文件
- 更新 csproj 中的项目引用路径
- 修复 CI/CD 配置:
- build.yml: 更新项目路径为 src/Fengling.Console.csproj
- docker.yml: 添加 Dockerfile 路径指向 src/Dockerfile
- Dockerfile: 修复 COPY 路径以匹配新的目录结构
Closes #重构项目结构
|
2026-02-28 18:04:16 +08:00 |
|