Commit Graph

5 Commits

Author SHA1 Message Date
Kimi CLI
ca27d8659d docs: remove GSD workflow planning documents
- Remove .planning/ directory (GSD workflow artifacts)
- Remove 网关配置的新想法.md (outdated design doc)
- Keep only essential technical documentation
2026-03-08 15:49:12 +08:00
movingsam
650f2f48e0 fix: improve RouteCache tenant route loading logic
- Change from if-else if to separate if statements
- Ensure tenant routes are loaded regardless of IsGlobal flag
- Add detailed logging for route loading
- Fix null check for GetRoute parameters
2026-03-08 11:05:36 +08:00
movingsam
1b13efffc5 fix: add null check in RouteCache.GetRoute to prevent ArgumentNullException
- Allow nullable tenantCode and serviceName parameters
- Return null early if serviceName is null or empty
- Fix test: GetRoute_WithNullServiceName_ShouldReturnNull
2026-03-08 11:01:49 +08:00
movingsam
0c08620565 refactor: 升级 Fengling.Platform.Infrastructure 到 1.0.12 并迁移到新模型
- 升级 Fengling.Platform.Infrastructure 包到 1.0.12
- DatabaseRouteConfigProvider: 使用 GwTenantRoutes 和 GwRouteMatch
- DatabaseClusterConfigProvider: 使用 GwClusters 和内嵌 Destinations
- GatewayDbContext: 添加兼容性别名 (TenantRoutes, ServiceInstances)
- RouteCache: 更新使用新的模型结构
- 暂时禁用 GatewayConfigController 和测试 (需要重写以适配新模型)
2026-03-04 13:30:35 +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