Commit Graph

27 Commits

Author SHA1 Message Date
movingsam
9c59d6881b chore(docker): 添加 NuGet.Config 文件到镜像构建
Some checks failed
Build and Push Docker / build (push) Has been cancelled
- 在 Dockerfile 中新增 COPY 指令,拷贝 NuGet.Config 文件
- 支持镜像构建时使用自定义的 NuGet 源配置
- 保持现有依赖恢复流程不变
- 增强构建过程的灵活性和可配置性
2026-03-01 16:22:33 +08:00
movingsam
18813f905a fix(ci): 修正 Docker 构建配置和 Dockerfile 路径
Some checks failed
Build / build (push) Failing after 1m42s
Deploy to K8s / deploy (push) Failing after 2s
Build and Push Docker / build (push) Has been cancelled
- 修正 docker.yml 中 dockerfile 参数为 file 以匹配 action 版本要求
- 优化 Dockerfile,调整项目文件拷贝路径及恢复依赖步骤
- 统一工作目录路径,确保构建命令正确执行
- 删除多余的复制和恢复步骤,简化构建流程
2026-03-01 13:42:03 +08:00
movingsam
7f645ddd13 refactor(gateway): 优化网关服务逻辑,修改Id类型并引入存储接口
Some checks failed
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
634e6fe455 feat: 注册 Platform 的 Gateway Store/Manager 服务
Some checks failed
Build / build (push) Failing after 30s
Deploy to K8s / deploy (push) Failing after 2s
Build and Push Docker / build (push) Failing after 18s
- 添加 IRouteStore, IInstanceStore, IRouteManager 依赖注入
- 为后续迁移到 Platform 的 Store/Manager 模式做准备
2026-03-01 01:43:44 +08:00
movingsam
0678b44a90 refactor: Gateway 改用 PlatformDbContext
Some checks failed
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
Some checks failed
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
Sam
b8a76dfd93 feat(console): add ASP.NET Core Identity dependency 2026-02-05 14:06:23 +08:00
Sam
7da91991ff first commit 2026-02-03 15:30:12 +08:00
Sam
4c3337a408 feat(console): create Vue 3 frontend project with OAuth2 and basic modules 2026-02-02 10:33:23 +08:00
Sam
153d33f7af chore: add .gitignore and remove tracked binary files (bin, obj, dll, pdb) 2026-02-02 10:20:22 +08:00
Sam
bbecd7348a chore(console): remove incorrect backend project, will create frontend project instead 2026-02-02 10:12:22 +08:00
Sam
d4d87eccde feat(console): create console backend project structure 2026-02-02 10:00:30 +08:00
Sam
ee48b93fae feat(auth): pre-register Fengling.Console as OAuth client 2026-02-02 09:59:32 +08:00
Sam
5cdcba7e57 feat(auth): add OAuth client management API 2026-02-02 09:58:55 +08:00
Sam
d3810f5d43 docs(auth): add API documentation 2026-02-02 09:55:23 +08:00
Sam
dcb1a0add8 feat(auth): add Dockerfile for containerization 2026-02-02 09:55:10 +08:00
Sam
db831758d9 feat(auth): add health check endpoint 2026-02-02 09:54:36 +08:00
Sam
d6dc0b2d36 feat(auth): add seed data for admin and test users 2026-02-02 09:53:06 +08:00
Sam
e51ea08c8f chore: upgrade all projects to .NET 10.0 and latest packages 2026-02-02 01:04:51 +08:00
Sam
22ab0214e6 feat(auth): add authentication controller with login endpoint 2026-02-02 01:00:57 +08:00
Sam
da56bdb493 feat(auth): configure OpenIddict with JWT and OAuth2 support 2026-02-01 23:40:37 +08:00
Sam
3deca408f1 feat(auth): add user and role models with EF Core migrations 2026-02-01 23:36:20 +08:00
Sam
d52b7c9a46 feat(auth): upgrade all dependencies to latest versions 2026-02-01 23:31:33 +08:00
Sam
425bf3b243 revert(auth): restore OpenIddict to 5.0.2 per spec 2026-02-01 23:25:08 +08:00
Sam
4ffc256615 chore(auth): upgrade OpenIddict to 7.2.0 2026-02-01 23:24:47 +08:00
Sam
6ca282d208 feat(auth): create authentication service project structure 2026-02-01 23:23:56 +08:00