- 新增 GatewayAggregate 领域实体 (GwTenant, GwTenantRoute, GwServiceInstance) - 新增 IRouteStore, RouteStore, IInstanceStore, InstanceStore - 新增 IRouteManager, RouteManager - 合并 GatewayDbContext 到 PlatformDbContext - 统一 Extensions.AddPlatformCore 注册所有服务
29 lines
437 B
C#
29 lines
437 B
C#
namespace Fengling.Platform.Domain.AggregatesModel.GatewayAggregate;
|
|
|
|
/// <summary>
|
|
/// 路由状态枚举
|
|
/// </summary>
|
|
public enum RouteStatus
|
|
{
|
|
Inactive = 0,
|
|
Active = 1
|
|
}
|
|
|
|
/// <summary>
|
|
/// 服务实例健康状态枚举
|
|
/// </summary>
|
|
public enum InstanceHealth
|
|
{
|
|
Unhealthy = 0,
|
|
Healthy = 1
|
|
}
|
|
|
|
/// <summary>
|
|
/// 服务实例状态枚举
|
|
/// </summary>
|
|
public enum InstanceStatus
|
|
{
|
|
Inactive = 0,
|
|
Active = 1
|
|
}
|