Commit Graph

5 Commits

Author SHA1 Message Date
movingsam
c7cf1d3738 feat: add TenantRoutingTransform for multi-tenant routing (IMPL-10)
- Implement YARP RequestTransform to route requests based on tenant
- Extract tenant ID from JWT token (supports multiple claim types)
- Query tenant-specific destination first, fallback to default
- Add IMemoryCache for performance optimization (5min expiration)
- Update Platform packages to 1.0.14 to use GwDestination.TenantCode
2026-03-08 01:01:22 +08:00
movingsam
28941fc0ef chore: 升级 Fengling.Platform.Infrastructure 到 1.0.12 2026-03-04 13:17:22 +08:00
movingsam
42b8c9cca5 fix: 升级 Fengling.Platform 包并修复编译警告
- 修复 CS0108: GatewayDbContext.Tenants 隐藏继承成员
- 修复 NU1506: 移除重复 PackageVersion 定义
- 修复 NU1507: 添加包源映射配置 (NuGet.Config)
2026-03-04 13:14:26 +08:00
movingsam
8f7e8d3a71 docs: update all planning docs to Chinese 2026-03-02 18:15:23 +08:00
movingsam
da4f03502a refactor: reorganize project structure into yarpgateway folder
- Move YarpGateway and all source files to src/yarpgateway/
- Keep Fengling.Gateway.Plugin.Abstractions at src/ level
- Fix duplicate project reference in YarpGateway.slnx
- Update solution paths and test project references
- Add ProjectReference from YarpGateway to abstractions
2026-03-01 17:47:48 +08:00