58 lines
1.6 KiB
Markdown
58 lines
1.6 KiB
Markdown
# Project State
|
|
|
|
**Last Updated:** 2026-03-03
|
|
|
|
## Status
|
|
|
|
- **Phase:** 01-gateway-routing
|
|
- **Plan:** 02 ✅ Completed
|
|
- **Milestone:** v1.0 - Platform Foundation
|
|
- **Position:** Ready for Plan 03 (Extensions and IoC)
|
|
|
|
## 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
|
|
- **NEW:** Gateway infrastructure implemented (Store/Manager)
|
|
|
|
### 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
|
|
- **NEW:** Gateway entities integrated into PlatformDbContext (not separate DbContext)
|
|
- **NEW:** Using `string` IDs for Gateway entities (consistent with source)
|
|
|
|
## Blockers
|
|
|
|
None
|
|
|
|
## Accumulated Context
|
|
|
|
### Roadmap Evolution
|
|
|
|
- Phase 3 added: 调整网关部分的需求 我们要进行讨论 不要自动评估需求
|
|
|
|
### Phase 01 Progress
|
|
|
|
- Plan 01: Domain entities ✅ COMPLETED
|
|
- Plan 02: Infrastructure - Store/Manager/DbContext ✅ COMPLETED
|
|
- Plan 03: Extensions and IoC (NEXT)
|
|
|
|
## Pending
|
|
|
|
- Execute Plan 03: Extensions for IoC registration |