fengling-platform/.planning/ROADMAP.md
movingsam b058c3ea56 docs(03-gateway-route-update): complete plan execution
- Add SUMMARY.md for plan 02
- Update STATE.md with completion status
- Update ROADMAP.md with completed plan
2026-03-03 15:38:33 +08:00

2.2 KiB

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:

  • GATEWAY-01: GwTenant entity and management
  • GATEWAY-02: GwTenantRoute entity and management
  • GATEWAY-03: GwServiceInstance entity and management
  • GATEWAY-04: Extensions for IoC registration
  • GATEWAY-05: Database migrations

Plans:

  • 01-01-PLAN.md — Domain entities (GwTenant, GwTenantRoute, GwServiceInstance)
  • 01-02-PLAN.md — Infrastructure (Store, Manager, DbContext)
  • 01-03-PLAN.md — Extensions and IoC integration

Phase 2: Platform Core

Goal: Complete multi-tenant platform infrastructure

Status: ● Completed

Requirements:

  • USER-01: User management
  • USER-02: Role and permissions
  • AUTH-01: Authentication flows
  • AUTH-02: Authorization

Phase 3: Gateway Cluster Entities

Goal: Restructure gateway cluster management - replace GwServiceInstance with GwCluster aggregate root

Status: ● In Progress MV|Requirements:

  • GATEWAY-RESTRUCTURE-01: GwCluster aggregate root
  • GATEWAY-RESTRUCTURE-02: GwCluster value objects (GwDestination, GwHealthCheckConfig, GwSessionAffinityConfig)
  • GATEWAY-RESTRUCTURE-03: Extended GwTenantRoute with YARP fields
  • GATEWAY-RESTRUCTURE-04: Removed obsolete GwTenant and GwServiceInstance entities

YX|Plans:

  • 03-gateway-cluster-entities-PLAN.md — Cluster entities
  • 03-gateway-route-update-PLAN.md — Route update Requirements:
  • GATEWAY-RESTRUCTURE-01: GwCluster aggregate root
  • GATEWAY-RESTRUCTURE-02: GwCluster value objects (GwDestination, GwHealthCheckConfig, GwSessionAffinityConfig)

Plans:

  • 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<TContext>()
  • GwCluster replaces old GwServiceInstance design with embedded value objects