# Roadmap **Project:** Fengling.Platform **Milestone:** v1.0 - Platform Foundation **Status:** In Progress --- ## Phase 1: Gateway Routing Migration **Goal:** Migrate YARP gateway routing entities from fengling-gateway to Platform project with unified management **Status:** ● Completed **Requirements:** - [x] GATEWAY-01: GwTenant entity and management - [x] GATEWAY-02: GwTenantRoute entity and management - [x] GATEWAY-03: GwServiceInstance entity and management - [x] GATEWAY-04: Extensions for IoC registration - [x] GATEWAY-05: Database migrations **Plans:** - [x] 01-01-PLAN.md — Domain entities (GwTenant, GwTenantRoute, GwServiceInstance) ✅ - [x] 01-02-PLAN.md — Infrastructure (Store, Manager, DbContext) ✅ - [x] 01-03-PLAN.md — Extensions and IoC integration ✅ --- ## Phase 2: Platform Core **Goal:** Complete multi-tenant platform infrastructure **Status:** ● Completed **Requirements:** - [x] USER-01: User management - [x] USER-02: Role and permissions - [x] AUTH-01: Authentication flows - [x] AUTH-02: Authorization --- ## Phase 3: Gateway Cluster Entities **Goal:** Restructure gateway cluster management - replace GwServiceInstance with GwCluster aggregate root **Status:** ● In Progress MV|**Requirements:** - [x] GATEWAY-RESTRUCTURE-01: GwCluster aggregate root - [x] GATEWAY-RESTRUCTURE-02: GwCluster value objects (GwDestination, GwHealthCheckConfig, GwSessionAffinityConfig) - [x] GATEWAY-RESTRUCTURE-03: Extended GwTenantRoute with YARP fields - [x] GATEWAY-RESTRUCTURE-04: Removed obsolete GwTenant and GwServiceInstance entities YX|**Plans:** - [x] 03-gateway-cluster-entities-PLAN.md — Cluster entities ✅ - [x] 03-gateway-route-update-PLAN.md — Route update ✅ **Requirements:** - [x] GATEWAY-RESTRUCTURE-01: GwCluster aggregate root - [x] GATEWAY-RESTRUCTURE-02: GwCluster value objects (GwDestination, GwHealthCheckConfig, GwSessionAffinityConfig) **Plans:** - [x] 03-gateway-cluster-entities-PLAN.md — Cluster entities ✅ --- ## Notes - Gateway routing entities migrated from `../fengling-gateway/src/Models/` - Pattern: Manager + Store (same as Tenant management) - Extensions for quick IoC installation via `AddPlatformCore()` - GwCluster replaces old GwServiceInstance design with embedded value objects