mirror of
https://gitee.com/wujiawei1207537021/wu-lazy-cloud-network.git
synced 2026-02-04 15:05:54 +08:00
[add] 添加namespace管理
This commit is contained in:
@@ -90,4 +90,9 @@ public class LazyNettyClientVirtualRouteQueryListCommand {
|
|||||||
*/
|
*/
|
||||||
@Schema(description ="是否删除",name ="isDeleted",example = "")
|
@Schema(description ="是否删除",name ="isDeleted",example = "")
|
||||||
private Boolean isDeleted=false;
|
private Boolean isDeleted=false;
|
||||||
|
/**
|
||||||
|
* 命名空间
|
||||||
|
*/
|
||||||
|
@Schema(description ="命名空间",name ="target_namespace",example = "")
|
||||||
|
private String targetNamespace;
|
||||||
}
|
}
|
||||||
@@ -83,5 +83,10 @@ public class LazyNettyClientVirtualRouteQueryOneCommand {
|
|||||||
*/
|
*/
|
||||||
@Schema(description ="客户端虚拟路由端口:默认ALL",name ="virtualPort",example = "")
|
@Schema(description ="客户端虚拟路由端口:默认ALL",name ="virtualPort",example = "")
|
||||||
private String virtualPort;
|
private String virtualPort;
|
||||||
|
/**
|
||||||
|
* 命名空间
|
||||||
|
*/
|
||||||
|
@Schema(description ="命名空间",name ="target_namespace",example = "")
|
||||||
|
private String targetNamespace;
|
||||||
|
|
||||||
}
|
}
|
||||||
@@ -89,5 +89,10 @@ public class LazyNettyClientVirtualRouteRemoveCommand {
|
|||||||
*/
|
*/
|
||||||
@Schema(description ="客户端虚拟路由端口:默认ALL",name ="virtualPort",example = "")
|
@Schema(description ="客户端虚拟路由端口:默认ALL",name ="virtualPort",example = "")
|
||||||
private String virtualPort;
|
private String virtualPort;
|
||||||
|
/**
|
||||||
|
* 命名空间
|
||||||
|
*/
|
||||||
|
@Schema(description ="命名空间",name ="target_namespace",example = "")
|
||||||
|
private String targetNamespace;
|
||||||
|
|
||||||
}
|
}
|
||||||
@@ -90,4 +90,9 @@ public class LazyNettyClientVirtualRouteStoryCommand {
|
|||||||
@Schema(description ="客户端虚拟路由端口:默认ALL",name ="virtualPort",example = "")
|
@Schema(description ="客户端虚拟路由端口:默认ALL",name ="virtualPort",example = "")
|
||||||
private String virtualPort;
|
private String virtualPort;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 命名空间
|
||||||
|
*/
|
||||||
|
@Schema(description ="命名空间",name ="target_namespace",example = "")
|
||||||
|
private String targetNamespace;
|
||||||
}
|
}
|
||||||
@@ -89,5 +89,10 @@ public class LazyNettyClientVirtualRouteUpdateCommand {
|
|||||||
*/
|
*/
|
||||||
@Schema(description ="客户端虚拟路由端口:默认ALL",name ="virtualPort",example = "")
|
@Schema(description ="客户端虚拟路由端口:默认ALL",name ="virtualPort",example = "")
|
||||||
private String virtualPort;
|
private String virtualPort;
|
||||||
|
/**
|
||||||
|
* 命名空间
|
||||||
|
*/
|
||||||
|
@Schema(description ="命名空间",name ="target_namespace",example = "")
|
||||||
|
private String targetNamespace;
|
||||||
|
|
||||||
}
|
}
|
||||||
@@ -89,5 +89,10 @@ public class LazyNettyClientVirtualRouteDTO {
|
|||||||
*/
|
*/
|
||||||
@Schema(description ="客户端虚拟路由端口:默认ALL",name ="virtualPort",example = "")
|
@Schema(description ="客户端虚拟路由端口:默认ALL",name ="virtualPort",example = "")
|
||||||
private String virtualPort;
|
private String virtualPort;
|
||||||
|
/**
|
||||||
|
* 命名空间
|
||||||
|
*/
|
||||||
|
@Schema(description ="命名空间",name ="target_namespace",example = "")
|
||||||
|
private String targetNamespace;
|
||||||
|
|
||||||
}
|
}
|
||||||
@@ -3,6 +3,8 @@ package org.framework.lazy.cloud.network.heartbeat.server.standalone.domain.mode
|
|||||||
import lombok.Data;
|
import lombok.Data;
|
||||||
import lombok.experimental.Accessors;
|
import lombok.experimental.Accessors;
|
||||||
import io.swagger.v3.oas.annotations.media.Schema;
|
import io.swagger.v3.oas.annotations.media.Schema;
|
||||||
|
import org.wu.framework.lazy.orm.core.stereotype.LazyTableFieldUnique;
|
||||||
|
|
||||||
import java.time.LocalDateTime;
|
import java.time.LocalDateTime;
|
||||||
import java.lang.String;
|
import java.lang.String;
|
||||||
import java.lang.Long;
|
import java.lang.Long;
|
||||||
@@ -89,5 +91,10 @@ public class LazyNettyClientVirtualRoute {
|
|||||||
*/
|
*/
|
||||||
@Schema(description ="客户端虚拟路由端口:默认ALL",name ="virtualPort",example = "")
|
@Schema(description ="客户端虚拟路由端口:默认ALL",name ="virtualPort",example = "")
|
||||||
private String virtualPort;
|
private String virtualPort;
|
||||||
|
/**
|
||||||
|
* 命名空间
|
||||||
|
*/
|
||||||
|
@Schema(description ="命名空间",name ="target_namespace",example = "")
|
||||||
|
private String targetNamespace;
|
||||||
|
|
||||||
}
|
}
|
||||||
@@ -28,13 +28,19 @@ import java.lang.Boolean;
|
|||||||
@Schema(title = "lazy_netty_client_route",description = "客户端代理路由规则")
|
@Schema(title = "lazy_netty_client_route",description = "客户端代理路由规则")
|
||||||
public class LazyNettyClientRouteDO {
|
public class LazyNettyClientRouteDO {
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 命名空间
|
||||||
|
*/
|
||||||
|
@Schema(description ="命名空间",name ="namespace",example = "")
|
||||||
|
@LazyTableFieldUnique(name="namespace",comment="命名空间",columnType="varchar(25)",defaultValue = "DEFAULT")
|
||||||
|
private String namespace;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* 客户端ID
|
* 客户端ID
|
||||||
*/
|
*/
|
||||||
@Schema(description ="客户端ID",name ="clientId",example = "")
|
@Schema(description ="客户端ID",name ="clientId",example = "")
|
||||||
@LazyTableField(name="client_id",comment="客户端ID",notNull=true,columnType="varchar(255)")
|
@LazyTableFieldUnique(name="client_id",comment="客户端ID",notNull=true,columnType="varchar(255)")
|
||||||
private String clientId;
|
private String clientId;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@@ -111,8 +111,8 @@ public class LazyNettyClientVirtualRouteDO {
|
|||||||
/**
|
/**
|
||||||
* 命名空间
|
* 命名空间
|
||||||
*/
|
*/
|
||||||
@Schema(description ="命名空间",name ="namespace",example = "")
|
@Schema(description ="命名空间",name ="target_namespace",example = "")
|
||||||
@LazyTableFieldUnique(name="namespace",comment="命名空间",columnType="varchar(25)",defaultValue = "DEFAULT")
|
@LazyTableFieldUnique(name="target_namespace",comment="命名空间",columnType="varchar(25)",defaultValue = "DEFAULT")
|
||||||
private String namespace;
|
private String targetNamespace;
|
||||||
|
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user