fengling-platform/.planning/STATE.md
movingsam 1b8c937aa4
Some checks failed
Build and Push Docker / build (push) Failing after 23s
Publish NuGet Packages / build (push) Failing after 8s
feat: 添加 Gateway 路由实体到 Platform
- 新增 GatewayAggregate 领域实体 (GwTenant, GwTenantRoute, GwServiceInstance)
- 新增 IRouteStore, RouteStore, IInstanceStore, InstanceStore
- 新增 IRouteManager, RouteManager
- 合并 GatewayDbContext 到 PlatformDbContext
- 统一 Extensions.AddPlatformCore 注册所有服务
2026-02-28 23:53:00 +08:00

42 lines
1020 B
Markdown

# Project State
**Last Updated:** 2026-02-28
## Status
- **Phase:** Planning new gateway routing feature
- **Milestone:** v1.0 - Platform Foundation
## Project Context
This is the Fengling.Platform project - a multi-tenant identity and authentication infrastructure.
### Current State
- Platform layer initialized with Tenant, User, Role aggregates
- Manager + Store pattern established (ITenantStore, ITenantManager)
- Extensions for DI registration (AddPlatformCore<TContext>)
- PostgreSQL database with EF Core migrations
### Source for Migration
**fengling-gateway** project (parent directory):
- `GwTenant` - 租户实体
- `GwTenantRoute` - 路由配置实体
- `GwServiceInstance` - 服务实例实体
- GatewayDbContext with PostgreSQL
## Decisions
- Using Manager + Store pattern from existing Tenant implementation
- Extensions-based DI registration for quick IoC setup
- Align with existing Platform coding conventions
## Blockers
None
## Pending
- Plan and implement gateway routing migration