diff --git a/wu-lazy-cloud-heartbeat-server/src/main/java/org/framework/lazy/cloud/network/heartbeat/server/standalone/application/LazyNettyClientVirtualRouteApplication.java b/wu-lazy-cloud-heartbeat-server/src/main/java/org/framework/lazy/cloud/network/heartbeat/server/standalone/application/LazyNettyClientVirtualRouteApplication.java new file mode 100644 index 0000000..aa2c605 --- /dev/null +++ b/wu-lazy-cloud-heartbeat-server/src/main/java/org/framework/lazy/cloud/network/heartbeat/server/standalone/application/LazyNettyClientVirtualRouteApplication.java @@ -0,0 +1,109 @@ +package org.framework.lazy.cloud.network.heartbeat.server.standalone.application; + +import org.wu.framework.web.response.Result; +import org.wu.framework.web.response.ResultFactory; +import org.framework.lazy.cloud.network.heartbeat.server.standalone.domain.model.lazy.netty.client.virtual.route.LazyNettyClientVirtualRoute; +import org.framework.lazy.cloud.network.heartbeat.server.standalone.application.command.lazy.netty.client.virtual.route.LazyNettyClientVirtualRouteRemoveCommand; +import org.framework.lazy.cloud.network.heartbeat.server.standalone.application.command.lazy.netty.client.virtual.route.LazyNettyClientVirtualRouteStoryCommand; +import org.framework.lazy.cloud.network.heartbeat.server.standalone.application.command.lazy.netty.client.virtual.route.LazyNettyClientVirtualRouteUpdateCommand; +import org.framework.lazy.cloud.network.heartbeat.server.standalone.application.command.lazy.netty.client.virtual.route.LazyNettyClientVirtualRouteQueryListCommand; +import org.framework.lazy.cloud.network.heartbeat.server.standalone.application.command.lazy.netty.client.virtual.route.LazyNettyClientVirtualRouteQueryOneCommand; +import org.framework.lazy.cloud.network.heartbeat.server.standalone.application.dto.LazyNettyClientVirtualRouteDTO; +import java.util.List; +import org.wu.framework.lazy.orm.database.lambda.domain.LazyPage; +/** + * describe 客户端虚拟路由管理 + * + * @author Jia wei Wu + * @date 2025/05/06 05:00 下午 + * @see org.wu.framework.lazy.orm.core.persistence.reverse.lazy.ddd.DefaultDDDLazyApplication + **/ + +public interface LazyNettyClientVirtualRouteApplication { + + + /** + * describe 新增客户端虚拟路由管理 + * + * @param lazyNettyClientVirtualRouteStoryCommand 新增客户端虚拟路由管理 + * @return {@link Result} 客户端虚拟路由管理新增后领域对象 + + * @author Jia wei Wu + * @date 2025/05/06 05:00 下午 + **/ + + Result story(LazyNettyClientVirtualRouteStoryCommand lazyNettyClientVirtualRouteStoryCommand); + + /** + * describe 批量新增客户端虚拟路由管理 + * + * @param lazyNettyClientVirtualRouteStoryCommandList 批量新增客户端虚拟路由管理 + * @return {@link Result>} 客户端虚拟路由管理新增后领域对象集合 + + * @author Jia wei Wu + * @date 2025/05/06 05:00 下午 + **/ + + Result> batchStory(List lazyNettyClientVirtualRouteStoryCommandList); + + /** + * describe 更新客户端虚拟路由管理 + * + * @param lazyNettyClientVirtualRouteUpdateCommand 更新客户端虚拟路由管理 + * @return {@link Result} 客户端虚拟路由管理领域对象 + + * @author Jia wei Wu + * @date 2025/05/06 05:00 下午 + **/ + + Result updateOne(LazyNettyClientVirtualRouteUpdateCommand lazyNettyClientVirtualRouteUpdateCommand); + + /** + * describe 查询单个客户端虚拟路由管理 + * + * @param lazyNettyClientVirtualRouteQueryOneCommand 查询单个客户端虚拟路由管理 + * @return {@link Result} 客户端虚拟路由管理DTO对象 + + * @author Jia wei Wu + * @date 2025/05/06 05:00 下午 + **/ + + Result findOne(LazyNettyClientVirtualRouteQueryOneCommand lazyNettyClientVirtualRouteQueryOneCommand); + + /** + * describe 查询多个客户端虚拟路由管理 + * + * @param lazyNettyClientVirtualRouteQueryListCommand 查询多个客户端虚拟路由管理 + * @return {@link Result >} 客户端虚拟路由管理DTO对象 + + * @author Jia wei Wu + * @date 2025/05/06 05:00 下午 + **/ + + Result > findList(LazyNettyClientVirtualRouteQueryListCommand lazyNettyClientVirtualRouteQueryListCommand); + + /** + * describe 分页查询多个客户端虚拟路由管理 + * + * @param lazyNettyClientVirtualRouteQueryListCommand 分页查询多个客户端虚拟路由管理 + * @return {@link Result >} 分页客户端虚拟路由管理DTO对象 + + * @author Jia wei Wu + * @date 2025/05/06 05:00 下午 + **/ + + Result > findPage(int size,int current,LazyNettyClientVirtualRouteQueryListCommand lazyNettyClientVirtualRouteQueryListCommand); + + /** + * describe 删除客户端虚拟路由管理 + * + * @param lazyNettyClientVirtualRouteRemoveCommand 删除客户端虚拟路由管理 + * @return {@link Result} 客户端虚拟路由管理 + + * @author Jia wei Wu + * @date 2025/05/06 05:00 下午 + **/ + + Result remove(LazyNettyClientVirtualRouteRemoveCommand lazyNettyClientVirtualRouteRemoveCommand); + +} \ No newline at end of file diff --git a/wu-lazy-cloud-heartbeat-server/src/main/java/org/framework/lazy/cloud/network/heartbeat/server/standalone/application/LazyNettyServerVirtualRouteApplication.java b/wu-lazy-cloud-heartbeat-server/src/main/java/org/framework/lazy/cloud/network/heartbeat/server/standalone/application/LazyNettyServerVirtualRouteApplication.java new file mode 100644 index 0000000..6df842b --- /dev/null +++ b/wu-lazy-cloud-heartbeat-server/src/main/java/org/framework/lazy/cloud/network/heartbeat/server/standalone/application/LazyNettyServerVirtualRouteApplication.java @@ -0,0 +1,109 @@ +package org.framework.lazy.cloud.network.heartbeat.server.standalone.application; + +import org.wu.framework.web.response.Result; +import org.wu.framework.web.response.ResultFactory; +import org.framework.lazy.cloud.network.heartbeat.server.standalone.domain.model.lazy.netty.server.virtual.route.LazyNettyServerVirtualRoute; +import org.framework.lazy.cloud.network.heartbeat.server.standalone.application.command.lazy.netty.server.virtual.route.LazyNettyServerVirtualRouteRemoveCommand; +import org.framework.lazy.cloud.network.heartbeat.server.standalone.application.command.lazy.netty.server.virtual.route.LazyNettyServerVirtualRouteStoryCommand; +import org.framework.lazy.cloud.network.heartbeat.server.standalone.application.command.lazy.netty.server.virtual.route.LazyNettyServerVirtualRouteUpdateCommand; +import org.framework.lazy.cloud.network.heartbeat.server.standalone.application.command.lazy.netty.server.virtual.route.LazyNettyServerVirtualRouteQueryListCommand; +import org.framework.lazy.cloud.network.heartbeat.server.standalone.application.command.lazy.netty.server.virtual.route.LazyNettyServerVirtualRouteQueryOneCommand; +import org.framework.lazy.cloud.network.heartbeat.server.standalone.application.dto.LazyNettyServerVirtualRouteDTO; +import java.util.List; +import org.wu.framework.lazy.orm.database.lambda.domain.LazyPage; +/** + * describe 服务端虚拟路由管理 + * + * @author Jia wei Wu + * @date 2025/05/06 05:00 下午 + * @see org.wu.framework.lazy.orm.core.persistence.reverse.lazy.ddd.DefaultDDDLazyApplication + **/ + +public interface LazyNettyServerVirtualRouteApplication { + + + /** + * describe 新增服务端虚拟路由管理 + * + * @param lazyNettyServerVirtualRouteStoryCommand 新增服务端虚拟路由管理 + * @return {@link Result} 服务端虚拟路由管理新增后领域对象 + + * @author Jia wei Wu + * @date 2025/05/06 05:00 下午 + **/ + + Result story(LazyNettyServerVirtualRouteStoryCommand lazyNettyServerVirtualRouteStoryCommand); + + /** + * describe 批量新增服务端虚拟路由管理 + * + * @param lazyNettyServerVirtualRouteStoryCommandList 批量新增服务端虚拟路由管理 + * @return {@link Result>} 服务端虚拟路由管理新增后领域对象集合 + + * @author Jia wei Wu + * @date 2025/05/06 05:00 下午 + **/ + + Result> batchStory(List lazyNettyServerVirtualRouteStoryCommandList); + + /** + * describe 更新服务端虚拟路由管理 + * + * @param lazyNettyServerVirtualRouteUpdateCommand 更新服务端虚拟路由管理 + * @return {@link Result} 服务端虚拟路由管理领域对象 + + * @author Jia wei Wu + * @date 2025/05/06 05:00 下午 + **/ + + Result updateOne(LazyNettyServerVirtualRouteUpdateCommand lazyNettyServerVirtualRouteUpdateCommand); + + /** + * describe 查询单个服务端虚拟路由管理 + * + * @param lazyNettyServerVirtualRouteQueryOneCommand 查询单个服务端虚拟路由管理 + * @return {@link Result} 服务端虚拟路由管理DTO对象 + + * @author Jia wei Wu + * @date 2025/05/06 05:00 下午 + **/ + + Result findOne(LazyNettyServerVirtualRouteQueryOneCommand lazyNettyServerVirtualRouteQueryOneCommand); + + /** + * describe 查询多个服务端虚拟路由管理 + * + * @param lazyNettyServerVirtualRouteQueryListCommand 查询多个服务端虚拟路由管理 + * @return {@link Result >} 服务端虚拟路由管理DTO对象 + + * @author Jia wei Wu + * @date 2025/05/06 05:00 下午 + **/ + + Result > findList(LazyNettyServerVirtualRouteQueryListCommand lazyNettyServerVirtualRouteQueryListCommand); + + /** + * describe 分页查询多个服务端虚拟路由管理 + * + * @param lazyNettyServerVirtualRouteQueryListCommand 分页查询多个服务端虚拟路由管理 + * @return {@link Result >} 分页服务端虚拟路由管理DTO对象 + + * @author Jia wei Wu + * @date 2025/05/06 05:00 下午 + **/ + + Result > findPage(int size,int current,LazyNettyServerVirtualRouteQueryListCommand lazyNettyServerVirtualRouteQueryListCommand); + + /** + * describe 删除服务端虚拟路由管理 + * + * @param lazyNettyServerVirtualRouteRemoveCommand 删除服务端虚拟路由管理 + * @return {@link Result} 服务端虚拟路由管理 + + * @author Jia wei Wu + * @date 2025/05/06 05:00 下午 + **/ + + Result remove(LazyNettyServerVirtualRouteRemoveCommand lazyNettyServerVirtualRouteRemoveCommand); + +} \ No newline at end of file diff --git a/wu-lazy-cloud-heartbeat-server/src/main/java/org/framework/lazy/cloud/network/heartbeat/server/standalone/application/assembler/LazyNettyClientVirtualRouteDTOAssembler.java b/wu-lazy-cloud-heartbeat-server/src/main/java/org/framework/lazy/cloud/network/heartbeat/server/standalone/application/assembler/LazyNettyClientVirtualRouteDTOAssembler.java new file mode 100644 index 0000000..295054e --- /dev/null +++ b/wu-lazy-cloud-heartbeat-server/src/main/java/org/framework/lazy/cloud/network/heartbeat/server/standalone/application/assembler/LazyNettyClientVirtualRouteDTOAssembler.java @@ -0,0 +1,93 @@ +package org.framework.lazy.cloud.network.heartbeat.server.standalone.application.assembler; + +import org.framework.lazy.cloud.network.heartbeat.server.standalone.domain.model.lazy.netty.client.virtual.route.LazyNettyClientVirtualRoute; +import org.framework.lazy.cloud.network.heartbeat.server.standalone.application.command.lazy.netty.client.virtual.route.LazyNettyClientVirtualRouteRemoveCommand; +import org.framework.lazy.cloud.network.heartbeat.server.standalone.application.command.lazy.netty.client.virtual.route.LazyNettyClientVirtualRouteStoryCommand; +import org.framework.lazy.cloud.network.heartbeat.server.standalone.application.command.lazy.netty.client.virtual.route.LazyNettyClientVirtualRouteUpdateCommand; +import org.framework.lazy.cloud.network.heartbeat.server.standalone.application.command.lazy.netty.client.virtual.route.LazyNettyClientVirtualRouteQueryListCommand; +import org.framework.lazy.cloud.network.heartbeat.server.standalone.application.command.lazy.netty.client.virtual.route.LazyNettyClientVirtualRouteQueryOneCommand; +import org.framework.lazy.cloud.network.heartbeat.server.standalone.application.dto.LazyNettyClientVirtualRouteDTO; +import org.mapstruct.factory.Mappers; +import org.mapstruct.Mapper; +/** + * describe 客户端虚拟路由管理 + * + * @author Jia wei Wu + * @date 2025/05/06 05:00 下午 + * @see org.wu.framework.lazy.orm.core.persistence.reverse.lazy.ddd.DefaultDDDLazyAssembler + **/ +@Mapper +public interface LazyNettyClientVirtualRouteDTOAssembler { + + + /** + * describe MapStruct 创建的代理对象 + * + + + + * @author Jia wei Wu + * @date 2025/05/06 05:00 下午 + **/ + LazyNettyClientVirtualRouteDTOAssembler INSTANCE = Mappers.getMapper(LazyNettyClientVirtualRouteDTOAssembler.class); + /** + * describe 应用层存储入参转换成 领域对象 + * + * @param lazyNettyClientVirtualRouteStoryCommand 保存客户端虚拟路由管理对象 + * @return {@link LazyNettyClientVirtualRoute} 客户端虚拟路由管理领域对象 + + * @author Jia wei Wu + * @date 2025/05/06 05:00 下午 + **/ + LazyNettyClientVirtualRoute toLazyNettyClientVirtualRoute(LazyNettyClientVirtualRouteStoryCommand lazyNettyClientVirtualRouteStoryCommand); + /** + * describe 应用层更新入参转换成 领域对象 + * + * @param lazyNettyClientVirtualRouteUpdateCommand 更新客户端虚拟路由管理对象 + * @return {@link LazyNettyClientVirtualRoute} 客户端虚拟路由管理领域对象 + + * @author Jia wei Wu + * @date 2025/05/06 05:00 下午 + **/ + LazyNettyClientVirtualRoute toLazyNettyClientVirtualRoute(LazyNettyClientVirtualRouteUpdateCommand lazyNettyClientVirtualRouteUpdateCommand); + /** + * describe 应用层查询入参转换成 领域对象 + * + * @param lazyNettyClientVirtualRouteQueryOneCommand 查询单个客户端虚拟路由管理对象参数 + * @return {@link LazyNettyClientVirtualRoute} 客户端虚拟路由管理领域对象 + + * @author Jia wei Wu + * @date 2025/05/06 05:00 下午 + **/ + LazyNettyClientVirtualRoute toLazyNettyClientVirtualRoute(LazyNettyClientVirtualRouteQueryOneCommand lazyNettyClientVirtualRouteQueryOneCommand); + /** + * describe 应用层查询入参转换成 领域对象 + * + * @param lazyNettyClientVirtualRouteQueryListCommand 查询集合客户端虚拟路由管理对象参数 + * @return {@link LazyNettyClientVirtualRoute} 客户端虚拟路由管理领域对象 + + * @author Jia wei Wu + * @date 2025/05/06 05:00 下午 + **/ + LazyNettyClientVirtualRoute toLazyNettyClientVirtualRoute(LazyNettyClientVirtualRouteQueryListCommand lazyNettyClientVirtualRouteQueryListCommand); + /** + * describe 应用层删除入参转换成 领域对象 + * + * @param lazyNettyClientVirtualRouteRemoveCommand 删除客户端虚拟路由管理对象参数 + * @return {@link LazyNettyClientVirtualRoute} 客户端虚拟路由管理领域对象 + + * @author Jia wei Wu + * @date 2025/05/06 05:00 下午 + **/ + LazyNettyClientVirtualRoute toLazyNettyClientVirtualRoute(LazyNettyClientVirtualRouteRemoveCommand lazyNettyClientVirtualRouteRemoveCommand); + /** + * describe 持久层领域对象转换成DTO对象 + * + * @param lazyNettyClientVirtualRoute 客户端虚拟路由管理领域对象 + * @return {@link LazyNettyClientVirtualRouteDTO} 客户端虚拟路由管理DTO对象 + + * @author Jia wei Wu + * @date 2025/05/06 05:00 下午 + **/ + LazyNettyClientVirtualRouteDTO fromLazyNettyClientVirtualRoute(LazyNettyClientVirtualRoute lazyNettyClientVirtualRoute); +} \ No newline at end of file diff --git a/wu-lazy-cloud-heartbeat-server/src/main/java/org/framework/lazy/cloud/network/heartbeat/server/standalone/application/assembler/LazyNettyServerVirtualRouteDTOAssembler.java b/wu-lazy-cloud-heartbeat-server/src/main/java/org/framework/lazy/cloud/network/heartbeat/server/standalone/application/assembler/LazyNettyServerVirtualRouteDTOAssembler.java new file mode 100644 index 0000000..86be77e --- /dev/null +++ b/wu-lazy-cloud-heartbeat-server/src/main/java/org/framework/lazy/cloud/network/heartbeat/server/standalone/application/assembler/LazyNettyServerVirtualRouteDTOAssembler.java @@ -0,0 +1,93 @@ +package org.framework.lazy.cloud.network.heartbeat.server.standalone.application.assembler; + +import org.framework.lazy.cloud.network.heartbeat.server.standalone.domain.model.lazy.netty.server.virtual.route.LazyNettyServerVirtualRoute; +import org.framework.lazy.cloud.network.heartbeat.server.standalone.application.command.lazy.netty.server.virtual.route.LazyNettyServerVirtualRouteRemoveCommand; +import org.framework.lazy.cloud.network.heartbeat.server.standalone.application.command.lazy.netty.server.virtual.route.LazyNettyServerVirtualRouteStoryCommand; +import org.framework.lazy.cloud.network.heartbeat.server.standalone.application.command.lazy.netty.server.virtual.route.LazyNettyServerVirtualRouteUpdateCommand; +import org.framework.lazy.cloud.network.heartbeat.server.standalone.application.command.lazy.netty.server.virtual.route.LazyNettyServerVirtualRouteQueryListCommand; +import org.framework.lazy.cloud.network.heartbeat.server.standalone.application.command.lazy.netty.server.virtual.route.LazyNettyServerVirtualRouteQueryOneCommand; +import org.framework.lazy.cloud.network.heartbeat.server.standalone.application.dto.LazyNettyServerVirtualRouteDTO; +import org.mapstruct.factory.Mappers; +import org.mapstruct.Mapper; +/** + * describe 服务端虚拟路由管理 + * + * @author Jia wei Wu + * @date 2025/05/06 05:00 下午 + * @see org.wu.framework.lazy.orm.core.persistence.reverse.lazy.ddd.DefaultDDDLazyAssembler + **/ +@Mapper +public interface LazyNettyServerVirtualRouteDTOAssembler { + + + /** + * describe MapStruct 创建的代理对象 + * + + + + * @author Jia wei Wu + * @date 2025/05/06 05:00 下午 + **/ + LazyNettyServerVirtualRouteDTOAssembler INSTANCE = Mappers.getMapper(LazyNettyServerVirtualRouteDTOAssembler.class); + /** + * describe 应用层存储入参转换成 领域对象 + * + * @param lazyNettyServerVirtualRouteStoryCommand 保存服务端虚拟路由管理对象 + * @return {@link LazyNettyServerVirtualRoute} 服务端虚拟路由管理领域对象 + + * @author Jia wei Wu + * @date 2025/05/06 05:00 下午 + **/ + LazyNettyServerVirtualRoute toLazyNettyServerVirtualRoute(LazyNettyServerVirtualRouteStoryCommand lazyNettyServerVirtualRouteStoryCommand); + /** + * describe 应用层更新入参转换成 领域对象 + * + * @param lazyNettyServerVirtualRouteUpdateCommand 更新服务端虚拟路由管理对象 + * @return {@link LazyNettyServerVirtualRoute} 服务端虚拟路由管理领域对象 + + * @author Jia wei Wu + * @date 2025/05/06 05:00 下午 + **/ + LazyNettyServerVirtualRoute toLazyNettyServerVirtualRoute(LazyNettyServerVirtualRouteUpdateCommand lazyNettyServerVirtualRouteUpdateCommand); + /** + * describe 应用层查询入参转换成 领域对象 + * + * @param lazyNettyServerVirtualRouteQueryOneCommand 查询单个服务端虚拟路由管理对象参数 + * @return {@link LazyNettyServerVirtualRoute} 服务端虚拟路由管理领域对象 + + * @author Jia wei Wu + * @date 2025/05/06 05:00 下午 + **/ + LazyNettyServerVirtualRoute toLazyNettyServerVirtualRoute(LazyNettyServerVirtualRouteQueryOneCommand lazyNettyServerVirtualRouteQueryOneCommand); + /** + * describe 应用层查询入参转换成 领域对象 + * + * @param lazyNettyServerVirtualRouteQueryListCommand 查询集合服务端虚拟路由管理对象参数 + * @return {@link LazyNettyServerVirtualRoute} 服务端虚拟路由管理领域对象 + + * @author Jia wei Wu + * @date 2025/05/06 05:00 下午 + **/ + LazyNettyServerVirtualRoute toLazyNettyServerVirtualRoute(LazyNettyServerVirtualRouteQueryListCommand lazyNettyServerVirtualRouteQueryListCommand); + /** + * describe 应用层删除入参转换成 领域对象 + * + * @param lazyNettyServerVirtualRouteRemoveCommand 删除服务端虚拟路由管理对象参数 + * @return {@link LazyNettyServerVirtualRoute} 服务端虚拟路由管理领域对象 + + * @author Jia wei Wu + * @date 2025/05/06 05:00 下午 + **/ + LazyNettyServerVirtualRoute toLazyNettyServerVirtualRoute(LazyNettyServerVirtualRouteRemoveCommand lazyNettyServerVirtualRouteRemoveCommand); + /** + * describe 持久层领域对象转换成DTO对象 + * + * @param lazyNettyServerVirtualRoute 服务端虚拟路由管理领域对象 + * @return {@link LazyNettyServerVirtualRouteDTO} 服务端虚拟路由管理DTO对象 + + * @author Jia wei Wu + * @date 2025/05/06 05:00 下午 + **/ + LazyNettyServerVirtualRouteDTO fromLazyNettyServerVirtualRoute(LazyNettyServerVirtualRoute lazyNettyServerVirtualRoute); +} \ No newline at end of file diff --git a/wu-lazy-cloud-heartbeat-server/src/main/java/org/framework/lazy/cloud/network/heartbeat/server/standalone/application/command/lazy/netty/client/virtual/route/LazyNettyClientVirtualRouteQueryListCommand.java b/wu-lazy-cloud-heartbeat-server/src/main/java/org/framework/lazy/cloud/network/heartbeat/server/standalone/application/command/lazy/netty/client/virtual/route/LazyNettyClientVirtualRouteQueryListCommand.java new file mode 100644 index 0000000..5283c92 --- /dev/null +++ b/wu-lazy-cloud-heartbeat-server/src/main/java/org/framework/lazy/cloud/network/heartbeat/server/standalone/application/command/lazy/netty/client/virtual/route/LazyNettyClientVirtualRouteQueryListCommand.java @@ -0,0 +1,87 @@ +package org.framework.lazy.cloud.network.heartbeat.server.standalone.application.command.lazy.netty.client.virtual.route; + +import lombok.Data; +import lombok.experimental.Accessors; +import io.swagger.v3.oas.annotations.media.Schema; +import java.time.LocalDateTime; +import java.lang.String; +import java.lang.Long; +import java.lang.Boolean; +/** + * describe 客户端虚拟路由管理 + * + * @author Jia wei Wu + * @date 2025/05/06 05:00 下午 + * @see org.wu.framework.lazy.orm.core.persistence.reverse.lazy.ddd.DefaultDDDLazyQueryListCommand + **/ +@Data +@Accessors(chain = true) +@Schema(title = "lazy_netty_client_virtual_route_query_List_command",description = "客户端虚拟路由管理") +public class LazyNettyClientVirtualRouteQueryListCommand { + + + /** + * + * 创建时间 + */ + @Schema(description ="创建时间",name ="createTime",example = "") + private LocalDateTime createTime; + + /** + * + * 规则描述 + */ + @Schema(description ="规则描述",name ="describe",example = "") + private String describe; + + /** + * + * 主键ID + */ + @Schema(description ="主键ID",name ="id",example = "") + private Long id; + + + /** + * + * 目标客户端ID + */ + @Schema(description ="目标客户端ID",name ="targetClientId",example = "") + private String targetClientId; + + /** + * + * 目标路由IP + */ + @Schema(description ="目标路由IP",name ="targetIp",example = "") + private String targetIp; + + /** + * + * 目标路由端口:默认ALL + */ + @Schema(description ="目标路由端口:默认ALL",name ="targetPort",example = "") + private String targetPort; + + /** + * + * 更新时间 + */ + @Schema(description ="更新时间",name ="updateTime",example = "") + private LocalDateTime updateTime; + + /** + * + * 客户端虚拟路由IP + */ + @Schema(description ="客户端虚拟路由IP",name ="virtualIp",example = "") + private String virtualIp; + + /** + * + * 客户端虚拟路由端口:默认ALL + */ + @Schema(description ="客户端虚拟路由端口:默认ALL",name ="virtualPort",example = "") + private String virtualPort; + +} \ No newline at end of file diff --git a/wu-lazy-cloud-heartbeat-server/src/main/java/org/framework/lazy/cloud/network/heartbeat/server/standalone/application/command/lazy/netty/client/virtual/route/LazyNettyClientVirtualRouteQueryOneCommand.java b/wu-lazy-cloud-heartbeat-server/src/main/java/org/framework/lazy/cloud/network/heartbeat/server/standalone/application/command/lazy/netty/client/virtual/route/LazyNettyClientVirtualRouteQueryOneCommand.java new file mode 100644 index 0000000..3e4abdd --- /dev/null +++ b/wu-lazy-cloud-heartbeat-server/src/main/java/org/framework/lazy/cloud/network/heartbeat/server/standalone/application/command/lazy/netty/client/virtual/route/LazyNettyClientVirtualRouteQueryOneCommand.java @@ -0,0 +1,87 @@ +package org.framework.lazy.cloud.network.heartbeat.server.standalone.application.command.lazy.netty.client.virtual.route; + +import lombok.Data; +import lombok.experimental.Accessors; +import io.swagger.v3.oas.annotations.media.Schema; +import java.time.LocalDateTime; +import java.lang.String; +import java.lang.Long; +import java.lang.Boolean; +/** + * describe 客户端虚拟路由管理 + * + * @author Jia wei Wu + * @date 2025/05/06 05:00 下午 + * @see org.wu.framework.lazy.orm.core.persistence.reverse.lazy.ddd.DefaultDDDLazyQueryOneCommand + **/ +@Data +@Accessors(chain = true) +@Schema(title = "lazy_netty_client_virtual_route_query_one_command",description = "客户端虚拟路由管理") +public class LazyNettyClientVirtualRouteQueryOneCommand { + + + /** + * + * 创建时间 + */ + @Schema(description ="创建时间",name ="createTime",example = "") + private LocalDateTime createTime; + + /** + * + * 规则描述 + */ + @Schema(description ="规则描述",name ="describe",example = "") + private String describe; + + /** + * + * 主键ID + */ + @Schema(description ="主键ID",name ="id",example = "") + private Long id; + + + /** + * + * 目标客户端ID + */ + @Schema(description ="目标客户端ID",name ="targetClientId",example = "") + private String targetClientId; + + /** + * + * 目标路由IP + */ + @Schema(description ="目标路由IP",name ="targetIp",example = "") + private String targetIp; + + /** + * + * 目标路由端口:默认ALL + */ + @Schema(description ="目标路由端口:默认ALL",name ="targetPort",example = "") + private String targetPort; + + /** + * + * 更新时间 + */ + @Schema(description ="更新时间",name ="updateTime",example = "") + private LocalDateTime updateTime; + + /** + * + * 客户端虚拟路由IP + */ + @Schema(description ="客户端虚拟路由IP",name ="virtualIp",example = "") + private String virtualIp; + + /** + * + * 客户端虚拟路由端口:默认ALL + */ + @Schema(description ="客户端虚拟路由端口:默认ALL",name ="virtualPort",example = "") + private String virtualPort; + +} \ No newline at end of file diff --git a/wu-lazy-cloud-heartbeat-server/src/main/java/org/framework/lazy/cloud/network/heartbeat/server/standalone/application/command/lazy/netty/client/virtual/route/LazyNettyClientVirtualRouteRemoveCommand.java b/wu-lazy-cloud-heartbeat-server/src/main/java/org/framework/lazy/cloud/network/heartbeat/server/standalone/application/command/lazy/netty/client/virtual/route/LazyNettyClientVirtualRouteRemoveCommand.java new file mode 100644 index 0000000..df6eda5 --- /dev/null +++ b/wu-lazy-cloud-heartbeat-server/src/main/java/org/framework/lazy/cloud/network/heartbeat/server/standalone/application/command/lazy/netty/client/virtual/route/LazyNettyClientVirtualRouteRemoveCommand.java @@ -0,0 +1,93 @@ +package org.framework.lazy.cloud.network.heartbeat.server.standalone.application.command.lazy.netty.client.virtual.route; + +import lombok.Data; +import lombok.experimental.Accessors; +import io.swagger.v3.oas.annotations.media.Schema; +import java.time.LocalDateTime; +import java.lang.String; +import java.lang.Long; +import java.lang.Boolean; +/** + * describe 客户端虚拟路由管理 + * + * @author Jia wei Wu + * @date 2025/05/06 05:00 下午 + * @see org.wu.framework.lazy.orm.core.persistence.reverse.lazy.ddd.DefaultDDDLazyRemoveCommand + **/ +@Data +@Accessors(chain = true) +@Schema(title = "lazy_netty_client_virtual_route_remove_command",description = "客户端虚拟路由管理") +public class LazyNettyClientVirtualRouteRemoveCommand { + + + /** + * + * 创建时间 + */ + @Schema(description ="创建时间",name ="createTime",example = "") + private LocalDateTime createTime; + + /** + * + * 规则描述 + */ + @Schema(description ="规则描述",name ="describe",example = "") + private String describe; + + /** + * + * 主键ID + */ + @Schema(description ="主键ID",name ="id",example = "") + private Long id; + + /** + * + * 是否删除 + */ + @Schema(description ="是否删除",name ="isDeleted",example = "") + private Boolean isDeleted; + + /** + * + * 目标客户端ID + */ + @Schema(description ="目标客户端ID",name ="targetClientId",example = "") + private String targetClientId; + + /** + * + * 目标路由IP + */ + @Schema(description ="目标路由IP",name ="targetIp",example = "") + private String targetIp; + + /** + * + * 目标路由端口:默认ALL + */ + @Schema(description ="目标路由端口:默认ALL",name ="targetPort",example = "") + private String targetPort; + + /** + * + * 更新时间 + */ + @Schema(description ="更新时间",name ="updateTime",example = "") + private LocalDateTime updateTime; + + /** + * + * 客户端虚拟路由IP + */ + @Schema(description ="客户端虚拟路由IP",name ="virtualIp",example = "") + private String virtualIp; + + /** + * + * 客户端虚拟路由端口:默认ALL + */ + @Schema(description ="客户端虚拟路由端口:默认ALL",name ="virtualPort",example = "") + private String virtualPort; + +} \ No newline at end of file diff --git a/wu-lazy-cloud-heartbeat-server/src/main/java/org/framework/lazy/cloud/network/heartbeat/server/standalone/application/command/lazy/netty/client/virtual/route/LazyNettyClientVirtualRouteStoryCommand.java b/wu-lazy-cloud-heartbeat-server/src/main/java/org/framework/lazy/cloud/network/heartbeat/server/standalone/application/command/lazy/netty/client/virtual/route/LazyNettyClientVirtualRouteStoryCommand.java new file mode 100644 index 0000000..ad12c85 --- /dev/null +++ b/wu-lazy-cloud-heartbeat-server/src/main/java/org/framework/lazy/cloud/network/heartbeat/server/standalone/application/command/lazy/netty/client/virtual/route/LazyNettyClientVirtualRouteStoryCommand.java @@ -0,0 +1,93 @@ +package org.framework.lazy.cloud.network.heartbeat.server.standalone.application.command.lazy.netty.client.virtual.route; + +import lombok.Data; +import lombok.experimental.Accessors; +import io.swagger.v3.oas.annotations.media.Schema; +import java.time.LocalDateTime; +import java.lang.String; +import java.lang.Long; +import java.lang.Boolean; +/** + * describe 客户端虚拟路由管理 + * + * @author Jia wei Wu + * @date 2025/05/06 05:00 下午 + * @see org.wu.framework.lazy.orm.core.persistence.reverse.lazy.ddd.DefaultDDDLazyStoryCommand + **/ +@Data +@Accessors(chain = true) +@Schema(title = "lazy_netty_client_virtual_route_story_command",description = "客户端虚拟路由管理") +public class LazyNettyClientVirtualRouteStoryCommand { + + + /** + * + * 创建时间 + */ + @Schema(description ="创建时间",name ="createTime",example = "") + private LocalDateTime createTime; + + /** + * + * 规则描述 + */ + @Schema(description ="规则描述",name ="describe",example = "") + private String describe; + + /** + * + * 主键ID + */ + @Schema(description ="主键ID",name ="id",example = "") + private Long id; + + /** + * + * 是否删除 + */ + @Schema(description ="是否删除",name ="isDeleted",example = "") + private Boolean isDeleted; + + /** + * + * 目标客户端ID + */ + @Schema(description ="目标客户端ID",name ="targetClientId",example = "") + private String targetClientId; + + /** + * + * 目标路由IP + */ + @Schema(description ="目标路由IP",name ="targetIp",example = "") + private String targetIp; + + /** + * + * 目标路由端口:默认ALL + */ + @Schema(description ="目标路由端口:默认ALL",name ="targetPort",example = "") + private String targetPort; + + /** + * + * 更新时间 + */ + @Schema(description ="更新时间",name ="updateTime",example = "") + private LocalDateTime updateTime; + + /** + * + * 客户端虚拟路由IP + */ + @Schema(description ="客户端虚拟路由IP",name ="virtualIp",example = "") + private String virtualIp; + + /** + * + * 客户端虚拟路由端口:默认ALL + */ + @Schema(description ="客户端虚拟路由端口:默认ALL",name ="virtualPort",example = "") + private String virtualPort; + +} \ No newline at end of file diff --git a/wu-lazy-cloud-heartbeat-server/src/main/java/org/framework/lazy/cloud/network/heartbeat/server/standalone/application/command/lazy/netty/client/virtual/route/LazyNettyClientVirtualRouteUpdateCommand.java b/wu-lazy-cloud-heartbeat-server/src/main/java/org/framework/lazy/cloud/network/heartbeat/server/standalone/application/command/lazy/netty/client/virtual/route/LazyNettyClientVirtualRouteUpdateCommand.java new file mode 100644 index 0000000..9fa3723 --- /dev/null +++ b/wu-lazy-cloud-heartbeat-server/src/main/java/org/framework/lazy/cloud/network/heartbeat/server/standalone/application/command/lazy/netty/client/virtual/route/LazyNettyClientVirtualRouteUpdateCommand.java @@ -0,0 +1,93 @@ +package org.framework.lazy.cloud.network.heartbeat.server.standalone.application.command.lazy.netty.client.virtual.route; + +import lombok.Data; +import lombok.experimental.Accessors; +import io.swagger.v3.oas.annotations.media.Schema; +import java.time.LocalDateTime; +import java.lang.String; +import java.lang.Long; +import java.lang.Boolean; +/** + * describe 客户端虚拟路由管理 + * + * @author Jia wei Wu + * @date 2025/05/06 05:00 下午 + * @see org.wu.framework.lazy.orm.core.persistence.reverse.lazy.ddd.DefaultDDDLazyUpdateCommand + **/ +@Data +@Accessors(chain = true) +@Schema(title = "lazy_netty_client_virtual_route_update_command",description = "客户端虚拟路由管理") +public class LazyNettyClientVirtualRouteUpdateCommand { + + + /** + * + * 创建时间 + */ + @Schema(description ="创建时间",name ="createTime",example = "") + private LocalDateTime createTime; + + /** + * + * 规则描述 + */ + @Schema(description ="规则描述",name ="describe",example = "") + private String describe; + + /** + * + * 主键ID + */ + @Schema(description ="主键ID",name ="id",example = "") + private Long id; + + /** + * + * 是否删除 + */ + @Schema(description ="是否删除",name ="isDeleted",example = "") + private Boolean isDeleted; + + /** + * + * 目标客户端ID + */ + @Schema(description ="目标客户端ID",name ="targetClientId",example = "") + private String targetClientId; + + /** + * + * 目标路由IP + */ + @Schema(description ="目标路由IP",name ="targetIp",example = "") + private String targetIp; + + /** + * + * 目标路由端口:默认ALL + */ + @Schema(description ="目标路由端口:默认ALL",name ="targetPort",example = "") + private String targetPort; + + /** + * + * 更新时间 + */ + @Schema(description ="更新时间",name ="updateTime",example = "") + private LocalDateTime updateTime; + + /** + * + * 客户端虚拟路由IP + */ + @Schema(description ="客户端虚拟路由IP",name ="virtualIp",example = "") + private String virtualIp; + + /** + * + * 客户端虚拟路由端口:默认ALL + */ + @Schema(description ="客户端虚拟路由端口:默认ALL",name ="virtualPort",example = "") + private String virtualPort; + +} \ No newline at end of file diff --git a/wu-lazy-cloud-heartbeat-server/src/main/java/org/framework/lazy/cloud/network/heartbeat/server/standalone/application/command/lazy/netty/server/virtual/route/LazyNettyServerVirtualRouteQueryListCommand.java b/wu-lazy-cloud-heartbeat-server/src/main/java/org/framework/lazy/cloud/network/heartbeat/server/standalone/application/command/lazy/netty/server/virtual/route/LazyNettyServerVirtualRouteQueryListCommand.java new file mode 100644 index 0000000..c8174bf --- /dev/null +++ b/wu-lazy-cloud-heartbeat-server/src/main/java/org/framework/lazy/cloud/network/heartbeat/server/standalone/application/command/lazy/netty/server/virtual/route/LazyNettyServerVirtualRouteQueryListCommand.java @@ -0,0 +1,80 @@ +package org.framework.lazy.cloud.network.heartbeat.server.standalone.application.command.lazy.netty.server.virtual.route; + +import lombok.Data; +import lombok.experimental.Accessors; +import io.swagger.v3.oas.annotations.media.Schema; +import java.time.LocalDateTime; +import java.lang.String; +import java.lang.Long; +import java.lang.Boolean; +/** + * describe 服务端虚拟路由管理 + * + * @author Jia wei Wu + * @date 2025/05/06 05:00 下午 + * @see org.wu.framework.lazy.orm.core.persistence.reverse.lazy.ddd.DefaultDDDLazyQueryListCommand + **/ +@Data +@Accessors(chain = true) +@Schema(title = "lazy_netty_server_virtual_route_query_List_command",description = "服务端虚拟路由管理") +public class LazyNettyServerVirtualRouteQueryListCommand { + + + /** + * + * 创建时间 + */ + @Schema(description ="创建时间",name ="createTime",example = "") + private LocalDateTime createTime; + + /** + * + * 规则描述 + */ + @Schema(description ="规则描述",name ="describe",example = "") + private String describe; + + /** + * + * 主键ID + */ + @Schema(description ="主键ID",name ="id",example = "") + private Long id; + + + /** + * + * 目标路由IP + */ + @Schema(description ="目标路由IP",name ="targetIp",example = "") + private String targetIp; + + /** + * + * 目标路由端口:默认ALL + */ + @Schema(description ="目标路由端口:默认ALL",name ="targetPort",example = "") + private String targetPort; + + /** + * + * 更新时间 + */ + @Schema(description ="更新时间",name ="updateTime",example = "") + private LocalDateTime updateTime; + + /** + * + * 虚拟服务端路由IP + */ + @Schema(description ="虚拟服务端路由IP",name ="virtualIp",example = "") + private String virtualIp; + + /** + * + * 虚拟服务端路由端口:默认ALL + */ + @Schema(description ="虚拟服务端路由端口:默认ALL",name ="virtualPort",example = "") + private String virtualPort; + +} \ No newline at end of file diff --git a/wu-lazy-cloud-heartbeat-server/src/main/java/org/framework/lazy/cloud/network/heartbeat/server/standalone/application/command/lazy/netty/server/virtual/route/LazyNettyServerVirtualRouteQueryOneCommand.java b/wu-lazy-cloud-heartbeat-server/src/main/java/org/framework/lazy/cloud/network/heartbeat/server/standalone/application/command/lazy/netty/server/virtual/route/LazyNettyServerVirtualRouteQueryOneCommand.java new file mode 100644 index 0000000..62b44fa --- /dev/null +++ b/wu-lazy-cloud-heartbeat-server/src/main/java/org/framework/lazy/cloud/network/heartbeat/server/standalone/application/command/lazy/netty/server/virtual/route/LazyNettyServerVirtualRouteQueryOneCommand.java @@ -0,0 +1,80 @@ +package org.framework.lazy.cloud.network.heartbeat.server.standalone.application.command.lazy.netty.server.virtual.route; + +import lombok.Data; +import lombok.experimental.Accessors; +import io.swagger.v3.oas.annotations.media.Schema; +import java.time.LocalDateTime; +import java.lang.String; +import java.lang.Long; +import java.lang.Boolean; +/** + * describe 服务端虚拟路由管理 + * + * @author Jia wei Wu + * @date 2025/05/06 05:00 下午 + * @see org.wu.framework.lazy.orm.core.persistence.reverse.lazy.ddd.DefaultDDDLazyQueryOneCommand + **/ +@Data +@Accessors(chain = true) +@Schema(title = "lazy_netty_server_virtual_route_query_one_command",description = "服务端虚拟路由管理") +public class LazyNettyServerVirtualRouteQueryOneCommand { + + + /** + * + * 创建时间 + */ + @Schema(description ="创建时间",name ="createTime",example = "") + private LocalDateTime createTime; + + /** + * + * 规则描述 + */ + @Schema(description ="规则描述",name ="describe",example = "") + private String describe; + + /** + * + * 主键ID + */ + @Schema(description ="主键ID",name ="id",example = "") + private Long id; + + + /** + * + * 目标路由IP + */ + @Schema(description ="目标路由IP",name ="targetIp",example = "") + private String targetIp; + + /** + * + * 目标路由端口:默认ALL + */ + @Schema(description ="目标路由端口:默认ALL",name ="targetPort",example = "") + private String targetPort; + + /** + * + * 更新时间 + */ + @Schema(description ="更新时间",name ="updateTime",example = "") + private LocalDateTime updateTime; + + /** + * + * 虚拟服务端路由IP + */ + @Schema(description ="虚拟服务端路由IP",name ="virtualIp",example = "") + private String virtualIp; + + /** + * + * 虚拟服务端路由端口:默认ALL + */ + @Schema(description ="虚拟服务端路由端口:默认ALL",name ="virtualPort",example = "") + private String virtualPort; + +} \ No newline at end of file diff --git a/wu-lazy-cloud-heartbeat-server/src/main/java/org/framework/lazy/cloud/network/heartbeat/server/standalone/application/command/lazy/netty/server/virtual/route/LazyNettyServerVirtualRouteRemoveCommand.java b/wu-lazy-cloud-heartbeat-server/src/main/java/org/framework/lazy/cloud/network/heartbeat/server/standalone/application/command/lazy/netty/server/virtual/route/LazyNettyServerVirtualRouteRemoveCommand.java new file mode 100644 index 0000000..2ed8f66 --- /dev/null +++ b/wu-lazy-cloud-heartbeat-server/src/main/java/org/framework/lazy/cloud/network/heartbeat/server/standalone/application/command/lazy/netty/server/virtual/route/LazyNettyServerVirtualRouteRemoveCommand.java @@ -0,0 +1,86 @@ +package org.framework.lazy.cloud.network.heartbeat.server.standalone.application.command.lazy.netty.server.virtual.route; + +import lombok.Data; +import lombok.experimental.Accessors; +import io.swagger.v3.oas.annotations.media.Schema; +import java.time.LocalDateTime; +import java.lang.String; +import java.lang.Long; +import java.lang.Boolean; +/** + * describe 服务端虚拟路由管理 + * + * @author Jia wei Wu + * @date 2025/05/06 05:00 下午 + * @see org.wu.framework.lazy.orm.core.persistence.reverse.lazy.ddd.DefaultDDDLazyRemoveCommand + **/ +@Data +@Accessors(chain = true) +@Schema(title = "lazy_netty_server_virtual_route_remove_command",description = "服务端虚拟路由管理") +public class LazyNettyServerVirtualRouteRemoveCommand { + + + /** + * + * 创建时间 + */ + @Schema(description ="创建时间",name ="createTime",example = "") + private LocalDateTime createTime; + + /** + * + * 规则描述 + */ + @Schema(description ="规则描述",name ="describe",example = "") + private String describe; + + /** + * + * 主键ID + */ + @Schema(description ="主键ID",name ="id",example = "") + private Long id; + + /** + * + * 是否删除 + */ + @Schema(description ="是否删除",name ="isDeleted",example = "") + private Boolean isDeleted; + + /** + * + * 目标路由IP + */ + @Schema(description ="目标路由IP",name ="targetIp",example = "") + private String targetIp; + + /** + * + * 目标路由端口:默认ALL + */ + @Schema(description ="目标路由端口:默认ALL",name ="targetPort",example = "") + private String targetPort; + + /** + * + * 更新时间 + */ + @Schema(description ="更新时间",name ="updateTime",example = "") + private LocalDateTime updateTime; + + /** + * + * 虚拟服务端路由IP + */ + @Schema(description ="虚拟服务端路由IP",name ="virtualIp",example = "") + private String virtualIp; + + /** + * + * 虚拟服务端路由端口:默认ALL + */ + @Schema(description ="虚拟服务端路由端口:默认ALL",name ="virtualPort",example = "") + private String virtualPort; + +} \ No newline at end of file diff --git a/wu-lazy-cloud-heartbeat-server/src/main/java/org/framework/lazy/cloud/network/heartbeat/server/standalone/application/command/lazy/netty/server/virtual/route/LazyNettyServerVirtualRouteStoryCommand.java b/wu-lazy-cloud-heartbeat-server/src/main/java/org/framework/lazy/cloud/network/heartbeat/server/standalone/application/command/lazy/netty/server/virtual/route/LazyNettyServerVirtualRouteStoryCommand.java new file mode 100644 index 0000000..8e921eb --- /dev/null +++ b/wu-lazy-cloud-heartbeat-server/src/main/java/org/framework/lazy/cloud/network/heartbeat/server/standalone/application/command/lazy/netty/server/virtual/route/LazyNettyServerVirtualRouteStoryCommand.java @@ -0,0 +1,86 @@ +package org.framework.lazy.cloud.network.heartbeat.server.standalone.application.command.lazy.netty.server.virtual.route; + +import lombok.Data; +import lombok.experimental.Accessors; +import io.swagger.v3.oas.annotations.media.Schema; +import java.time.LocalDateTime; +import java.lang.String; +import java.lang.Long; +import java.lang.Boolean; +/** + * describe 服务端虚拟路由管理 + * + * @author Jia wei Wu + * @date 2025/05/06 05:00 下午 + * @see org.wu.framework.lazy.orm.core.persistence.reverse.lazy.ddd.DefaultDDDLazyStoryCommand + **/ +@Data +@Accessors(chain = true) +@Schema(title = "lazy_netty_server_virtual_route_story_command",description = "服务端虚拟路由管理") +public class LazyNettyServerVirtualRouteStoryCommand { + + + /** + * + * 创建时间 + */ + @Schema(description ="创建时间",name ="createTime",example = "") + private LocalDateTime createTime; + + /** + * + * 规则描述 + */ + @Schema(description ="规则描述",name ="describe",example = "") + private String describe; + + /** + * + * 主键ID + */ + @Schema(description ="主键ID",name ="id",example = "") + private Long id; + + /** + * + * 是否删除 + */ + @Schema(description ="是否删除",name ="isDeleted",example = "") + private Boolean isDeleted; + + /** + * + * 目标路由IP + */ + @Schema(description ="目标路由IP",name ="targetIp",example = "") + private String targetIp; + + /** + * + * 目标路由端口:默认ALL + */ + @Schema(description ="目标路由端口:默认ALL",name ="targetPort",example = "") + private String targetPort; + + /** + * + * 更新时间 + */ + @Schema(description ="更新时间",name ="updateTime",example = "") + private LocalDateTime updateTime; + + /** + * + * 虚拟服务端路由IP + */ + @Schema(description ="虚拟服务端路由IP",name ="virtualIp",example = "") + private String virtualIp; + + /** + * + * 虚拟服务端路由端口:默认ALL + */ + @Schema(description ="虚拟服务端路由端口:默认ALL",name ="virtualPort",example = "") + private String virtualPort; + +} \ No newline at end of file diff --git a/wu-lazy-cloud-heartbeat-server/src/main/java/org/framework/lazy/cloud/network/heartbeat/server/standalone/application/command/lazy/netty/server/virtual/route/LazyNettyServerVirtualRouteUpdateCommand.java b/wu-lazy-cloud-heartbeat-server/src/main/java/org/framework/lazy/cloud/network/heartbeat/server/standalone/application/command/lazy/netty/server/virtual/route/LazyNettyServerVirtualRouteUpdateCommand.java new file mode 100644 index 0000000..04befcb --- /dev/null +++ b/wu-lazy-cloud-heartbeat-server/src/main/java/org/framework/lazy/cloud/network/heartbeat/server/standalone/application/command/lazy/netty/server/virtual/route/LazyNettyServerVirtualRouteUpdateCommand.java @@ -0,0 +1,86 @@ +package org.framework.lazy.cloud.network.heartbeat.server.standalone.application.command.lazy.netty.server.virtual.route; + +import lombok.Data; +import lombok.experimental.Accessors; +import io.swagger.v3.oas.annotations.media.Schema; +import java.time.LocalDateTime; +import java.lang.String; +import java.lang.Long; +import java.lang.Boolean; +/** + * describe 服务端虚拟路由管理 + * + * @author Jia wei Wu + * @date 2025/05/06 05:00 下午 + * @see org.wu.framework.lazy.orm.core.persistence.reverse.lazy.ddd.DefaultDDDLazyUpdateCommand + **/ +@Data +@Accessors(chain = true) +@Schema(title = "lazy_netty_server_virtual_route_update_command",description = "服务端虚拟路由管理") +public class LazyNettyServerVirtualRouteUpdateCommand { + + + /** + * + * 创建时间 + */ + @Schema(description ="创建时间",name ="createTime",example = "") + private LocalDateTime createTime; + + /** + * + * 规则描述 + */ + @Schema(description ="规则描述",name ="describe",example = "") + private String describe; + + /** + * + * 主键ID + */ + @Schema(description ="主键ID",name ="id",example = "") + private Long id; + + /** + * + * 是否删除 + */ + @Schema(description ="是否删除",name ="isDeleted",example = "") + private Boolean isDeleted; + + /** + * + * 目标路由IP + */ + @Schema(description ="目标路由IP",name ="targetIp",example = "") + private String targetIp; + + /** + * + * 目标路由端口:默认ALL + */ + @Schema(description ="目标路由端口:默认ALL",name ="targetPort",example = "") + private String targetPort; + + /** + * + * 更新时间 + */ + @Schema(description ="更新时间",name ="updateTime",example = "") + private LocalDateTime updateTime; + + /** + * + * 虚拟服务端路由IP + */ + @Schema(description ="虚拟服务端路由IP",name ="virtualIp",example = "") + private String virtualIp; + + /** + * + * 虚拟服务端路由端口:默认ALL + */ + @Schema(description ="虚拟服务端路由端口:默认ALL",name ="virtualPort",example = "") + private String virtualPort; + +} \ No newline at end of file diff --git a/wu-lazy-cloud-heartbeat-server/src/main/java/org/framework/lazy/cloud/network/heartbeat/server/standalone/application/dto/LazyNettyClientVirtualRouteDTO.java b/wu-lazy-cloud-heartbeat-server/src/main/java/org/framework/lazy/cloud/network/heartbeat/server/standalone/application/dto/LazyNettyClientVirtualRouteDTO.java new file mode 100644 index 0000000..723777b --- /dev/null +++ b/wu-lazy-cloud-heartbeat-server/src/main/java/org/framework/lazy/cloud/network/heartbeat/server/standalone/application/dto/LazyNettyClientVirtualRouteDTO.java @@ -0,0 +1,93 @@ +package org.framework.lazy.cloud.network.heartbeat.server.standalone.application.dto; + +import lombok.Data; +import lombok.experimental.Accessors; +import io.swagger.v3.oas.annotations.media.Schema; +import java.time.LocalDateTime; +import java.lang.String; +import java.lang.Long; +import java.lang.Boolean; +/** + * describe 客户端虚拟路由管理 + * + * @author Jia wei Wu + * @date 2025/05/06 05:00 下午 + * @see org.wu.framework.lazy.orm.core.persistence.reverse.lazy.ddd.DefaultDDDLazyDTO + **/ +@Data +@Accessors(chain = true) +@Schema(title = "lazy_netty_client_virtual_route_command_dto",description = "客户端虚拟路由管理") +public class LazyNettyClientVirtualRouteDTO { + + + /** + * + * 创建时间 + */ + @Schema(description ="创建时间",name ="createTime",example = "") + private LocalDateTime createTime; + + /** + * + * 规则描述 + */ + @Schema(description ="规则描述",name ="describe",example = "") + private String describe; + + /** + * + * 主键ID + */ + @Schema(description ="主键ID",name ="id",example = "") + private Long id; + + /** + * + * 是否删除 + */ + @Schema(description ="是否删除",name ="isDeleted",example = "") + private Boolean isDeleted; + + /** + * + * 目标客户端ID + */ + @Schema(description ="目标客户端ID",name ="targetClientId",example = "") + private String targetClientId; + + /** + * + * 目标路由IP + */ + @Schema(description ="目标路由IP",name ="targetIp",example = "") + private String targetIp; + + /** + * + * 目标路由端口:默认ALL + */ + @Schema(description ="目标路由端口:默认ALL",name ="targetPort",example = "") + private String targetPort; + + /** + * + * 更新时间 + */ + @Schema(description ="更新时间",name ="updateTime",example = "") + private LocalDateTime updateTime; + + /** + * + * 客户端虚拟路由IP + */ + @Schema(description ="客户端虚拟路由IP",name ="virtualIp",example = "") + private String virtualIp; + + /** + * + * 客户端虚拟路由端口:默认ALL + */ + @Schema(description ="客户端虚拟路由端口:默认ALL",name ="virtualPort",example = "") + private String virtualPort; + +} \ No newline at end of file diff --git a/wu-lazy-cloud-heartbeat-server/src/main/java/org/framework/lazy/cloud/network/heartbeat/server/standalone/application/dto/LazyNettyServerVirtualRouteDTO.java b/wu-lazy-cloud-heartbeat-server/src/main/java/org/framework/lazy/cloud/network/heartbeat/server/standalone/application/dto/LazyNettyServerVirtualRouteDTO.java new file mode 100644 index 0000000..bfaf166 --- /dev/null +++ b/wu-lazy-cloud-heartbeat-server/src/main/java/org/framework/lazy/cloud/network/heartbeat/server/standalone/application/dto/LazyNettyServerVirtualRouteDTO.java @@ -0,0 +1,86 @@ +package org.framework.lazy.cloud.network.heartbeat.server.standalone.application.dto; + +import lombok.Data; +import lombok.experimental.Accessors; +import io.swagger.v3.oas.annotations.media.Schema; +import java.time.LocalDateTime; +import java.lang.String; +import java.lang.Long; +import java.lang.Boolean; +/** + * describe 服务端虚拟路由管理 + * + * @author Jia wei Wu + * @date 2025/05/06 05:00 下午 + * @see org.wu.framework.lazy.orm.core.persistence.reverse.lazy.ddd.DefaultDDDLazyDTO + **/ +@Data +@Accessors(chain = true) +@Schema(title = "lazy_netty_server_virtual_route_command_dto",description = "服务端虚拟路由管理") +public class LazyNettyServerVirtualRouteDTO { + + + /** + * + * 创建时间 + */ + @Schema(description ="创建时间",name ="createTime",example = "") + private LocalDateTime createTime; + + /** + * + * 规则描述 + */ + @Schema(description ="规则描述",name ="describe",example = "") + private String describe; + + /** + * + * 主键ID + */ + @Schema(description ="主键ID",name ="id",example = "") + private Long id; + + /** + * + * 是否删除 + */ + @Schema(description ="是否删除",name ="isDeleted",example = "") + private Boolean isDeleted; + + /** + * + * 目标路由IP + */ + @Schema(description ="目标路由IP",name ="targetIp",example = "") + private String targetIp; + + /** + * + * 目标路由端口:默认ALL + */ + @Schema(description ="目标路由端口:默认ALL",name ="targetPort",example = "") + private String targetPort; + + /** + * + * 更新时间 + */ + @Schema(description ="更新时间",name ="updateTime",example = "") + private LocalDateTime updateTime; + + /** + * + * 虚拟服务端路由IP + */ + @Schema(description ="虚拟服务端路由IP",name ="virtualIp",example = "") + private String virtualIp; + + /** + * + * 虚拟服务端路由端口:默认ALL + */ + @Schema(description ="虚拟服务端路由端口:默认ALL",name ="virtualPort",example = "") + private String virtualPort; + +} \ No newline at end of file diff --git a/wu-lazy-cloud-heartbeat-server/src/main/java/org/framework/lazy/cloud/network/heartbeat/server/standalone/application/impl/LazyNettyClientVirtualRouteApplicationImpl.java b/wu-lazy-cloud-heartbeat-server/src/main/java/org/framework/lazy/cloud/network/heartbeat/server/standalone/application/impl/LazyNettyClientVirtualRouteApplicationImpl.java new file mode 100644 index 0000000..7034cb2 --- /dev/null +++ b/wu-lazy-cloud-heartbeat-server/src/main/java/org/framework/lazy/cloud/network/heartbeat/server/standalone/application/impl/LazyNettyClientVirtualRouteApplicationImpl.java @@ -0,0 +1,144 @@ +package org.framework.lazy.cloud.network.heartbeat.server.standalone.application.impl; + +import org.wu.framework.database.lazy.web.plus.stereotype.LazyApplication; +import org.framework.lazy.cloud.network.heartbeat.server.standalone.application.LazyNettyClientVirtualRouteApplication; +import org.springframework.web.bind.annotation.*; +import org.wu.framework.web.response.Result; +import org.wu.framework.web.response.ResultFactory; +import org.springframework.beans.factory.annotation.Autowired; +import org.framework.lazy.cloud.network.heartbeat.server.standalone.domain.model.lazy.netty.client.virtual.route.LazyNettyClientVirtualRoute; +import org.framework.lazy.cloud.network.heartbeat.server.standalone.application.command.lazy.netty.client.virtual.route.LazyNettyClientVirtualRouteRemoveCommand; +import org.framework.lazy.cloud.network.heartbeat.server.standalone.application.command.lazy.netty.client.virtual.route.LazyNettyClientVirtualRouteStoryCommand; +import org.framework.lazy.cloud.network.heartbeat.server.standalone.application.command.lazy.netty.client.virtual.route.LazyNettyClientVirtualRouteUpdateCommand; +import org.framework.lazy.cloud.network.heartbeat.server.standalone.application.command.lazy.netty.client.virtual.route.LazyNettyClientVirtualRouteQueryListCommand; +import org.framework.lazy.cloud.network.heartbeat.server.standalone.application.command.lazy.netty.client.virtual.route.LazyNettyClientVirtualRouteQueryOneCommand; +import org.framework.lazy.cloud.network.heartbeat.server.standalone.application.assembler.LazyNettyClientVirtualRouteDTOAssembler; +import org.framework.lazy.cloud.network.heartbeat.server.standalone.application.dto.LazyNettyClientVirtualRouteDTO; +import java.util.stream.Collectors; +import jakarta.annotation.Resource; +import org.framework.lazy.cloud.network.heartbeat.server.standalone.domain.model.lazy.netty.client.virtual.route.LazyNettyClientVirtualRouteRepository; +import java.util.List; +import org.wu.framework.lazy.orm.database.lambda.domain.LazyPage; +/** + * describe 客户端虚拟路由管理 + * + * @author Jia wei Wu + * @date 2025/05/06 05:00 下午 + * @see org.wu.framework.lazy.orm.core.persistence.reverse.lazy.ddd.DefaultDDDLazyApplicationImpl + **/ +@LazyApplication +public class LazyNettyClientVirtualRouteApplicationImpl implements LazyNettyClientVirtualRouteApplication { + + @Resource + LazyNettyClientVirtualRouteRepository lazyNettyClientVirtualRouteRepository; + /** + * describe 新增客户端虚拟路由管理 + * + * @param lazyNettyClientVirtualRouteStoryCommand 新增客户端虚拟路由管理 + * @return {@link Result} 客户端虚拟路由管理新增后领域对象 + + * @author Jia wei Wu + * @date 2025/05/06 05:00 下午 + **/ + + @Override + public Result story(LazyNettyClientVirtualRouteStoryCommand lazyNettyClientVirtualRouteStoryCommand) { + LazyNettyClientVirtualRoute lazyNettyClientVirtualRoute = LazyNettyClientVirtualRouteDTOAssembler.INSTANCE.toLazyNettyClientVirtualRoute(lazyNettyClientVirtualRouteStoryCommand); + return lazyNettyClientVirtualRouteRepository.story(lazyNettyClientVirtualRoute); + } + /** + * describe 批量新增客户端虚拟路由管理 + * + * @param lazyNettyClientVirtualRouteStoryCommandList 批量新增客户端虚拟路由管理 + * @return {@link Result>} 客户端虚拟路由管理新增后领域对象集合 + + * @author Jia wei Wu + * @date 2025/05/06 05:00 下午 + **/ + + @Override + public Result> batchStory(List lazyNettyClientVirtualRouteStoryCommandList) { + List lazyNettyClientVirtualRouteList = lazyNettyClientVirtualRouteStoryCommandList.stream().map( LazyNettyClientVirtualRouteDTOAssembler.INSTANCE::toLazyNettyClientVirtualRoute).collect(Collectors.toList()); + return lazyNettyClientVirtualRouteRepository.batchStory(lazyNettyClientVirtualRouteList); + } + /** + * describe 更新客户端虚拟路由管理 + * + * @param lazyNettyClientVirtualRouteUpdateCommand 更新客户端虚拟路由管理 + * @return {@link Result} 客户端虚拟路由管理领域对象 + + * @author Jia wei Wu + * @date 2025/05/06 05:00 下午 + **/ + + @Override + public Result updateOne(LazyNettyClientVirtualRouteUpdateCommand lazyNettyClientVirtualRouteUpdateCommand) { + LazyNettyClientVirtualRoute lazyNettyClientVirtualRoute = LazyNettyClientVirtualRouteDTOAssembler.INSTANCE.toLazyNettyClientVirtualRoute(lazyNettyClientVirtualRouteUpdateCommand); + return lazyNettyClientVirtualRouteRepository.story(lazyNettyClientVirtualRoute); + } + + /** + * describe 查询单个客户端虚拟路由管理 + * + * @param lazyNettyClientVirtualRouteQueryOneCommand 查询单个客户端虚拟路由管理 + * @return {@link Result} 客户端虚拟路由管理DTO对象 + + * @author Jia wei Wu + * @date 2025/05/06 05:00 下午 + **/ + + @Override + public Result findOne(LazyNettyClientVirtualRouteQueryOneCommand lazyNettyClientVirtualRouteQueryOneCommand) { + LazyNettyClientVirtualRoute lazyNettyClientVirtualRoute = LazyNettyClientVirtualRouteDTOAssembler.INSTANCE.toLazyNettyClientVirtualRoute(lazyNettyClientVirtualRouteQueryOneCommand); + return lazyNettyClientVirtualRouteRepository.findOne(lazyNettyClientVirtualRoute).convert(LazyNettyClientVirtualRouteDTOAssembler.INSTANCE::fromLazyNettyClientVirtualRoute); + } + + /** + * describe 查询多个客户端虚拟路由管理 + * + * @param lazyNettyClientVirtualRouteQueryListCommand 查询多个客户端虚拟路由管理 + * @return {@link Result>} 客户端虚拟路由管理DTO对象 + + * @author Jia wei Wu + * @date 2025/05/06 05:00 下午 + **/ + + @Override + public Result> findList(LazyNettyClientVirtualRouteQueryListCommand lazyNettyClientVirtualRouteQueryListCommand) { + LazyNettyClientVirtualRoute lazyNettyClientVirtualRoute = LazyNettyClientVirtualRouteDTOAssembler.INSTANCE.toLazyNettyClientVirtualRoute(lazyNettyClientVirtualRouteQueryListCommand); + return lazyNettyClientVirtualRouteRepository.findList(lazyNettyClientVirtualRoute) .convert(lazyNettyClientVirtualRoutes -> lazyNettyClientVirtualRoutes.stream().map(LazyNettyClientVirtualRouteDTOAssembler.INSTANCE::fromLazyNettyClientVirtualRoute).collect(Collectors.toList())) ; + } + + /** + * describe 分页查询多个客户端虚拟路由管理 + * + * @param lazyNettyClientVirtualRouteQueryListCommand 分页查询多个客户端虚拟路由管理 + * @return {@link Result>} 分页客户端虚拟路由管理DTO对象 + + * @author Jia wei Wu + * @date 2025/05/06 05:00 下午 + **/ + + @Override + public Result> findPage(int size,int current,LazyNettyClientVirtualRouteQueryListCommand lazyNettyClientVirtualRouteQueryListCommand) { + LazyNettyClientVirtualRoute lazyNettyClientVirtualRoute = LazyNettyClientVirtualRouteDTOAssembler.INSTANCE.toLazyNettyClientVirtualRoute(lazyNettyClientVirtualRouteQueryListCommand); + return lazyNettyClientVirtualRouteRepository.findPage(size,current,lazyNettyClientVirtualRoute) .convert(page -> page.convert(LazyNettyClientVirtualRouteDTOAssembler.INSTANCE::fromLazyNettyClientVirtualRoute)) ; + } + + /** + * describe 删除客户端虚拟路由管理 + * + * @param lazyNettyClientVirtualRouteRemoveCommand 删除客户端虚拟路由管理 + * @return {@link Result} 客户端虚拟路由管理 + + * @author Jia wei Wu + * @date 2025/05/06 05:00 下午 + **/ + + @Override + public Result remove(LazyNettyClientVirtualRouteRemoveCommand lazyNettyClientVirtualRouteRemoveCommand) { + LazyNettyClientVirtualRoute lazyNettyClientVirtualRoute = LazyNettyClientVirtualRouteDTOAssembler.INSTANCE.toLazyNettyClientVirtualRoute(lazyNettyClientVirtualRouteRemoveCommand); + return lazyNettyClientVirtualRouteRepository.remove(lazyNettyClientVirtualRoute); + } + +} \ No newline at end of file diff --git a/wu-lazy-cloud-heartbeat-server/src/main/java/org/framework/lazy/cloud/network/heartbeat/server/standalone/application/impl/LazyNettyServerVirtualRouteApplicationImpl.java b/wu-lazy-cloud-heartbeat-server/src/main/java/org/framework/lazy/cloud/network/heartbeat/server/standalone/application/impl/LazyNettyServerVirtualRouteApplicationImpl.java new file mode 100644 index 0000000..f2fae3f --- /dev/null +++ b/wu-lazy-cloud-heartbeat-server/src/main/java/org/framework/lazy/cloud/network/heartbeat/server/standalone/application/impl/LazyNettyServerVirtualRouteApplicationImpl.java @@ -0,0 +1,144 @@ +package org.framework.lazy.cloud.network.heartbeat.server.standalone.application.impl; + +import org.wu.framework.database.lazy.web.plus.stereotype.LazyApplication; +import org.framework.lazy.cloud.network.heartbeat.server.standalone.application.LazyNettyServerVirtualRouteApplication; +import org.springframework.web.bind.annotation.*; +import org.wu.framework.web.response.Result; +import org.wu.framework.web.response.ResultFactory; +import org.springframework.beans.factory.annotation.Autowired; +import org.framework.lazy.cloud.network.heartbeat.server.standalone.domain.model.lazy.netty.server.virtual.route.LazyNettyServerVirtualRoute; +import org.framework.lazy.cloud.network.heartbeat.server.standalone.application.command.lazy.netty.server.virtual.route.LazyNettyServerVirtualRouteRemoveCommand; +import org.framework.lazy.cloud.network.heartbeat.server.standalone.application.command.lazy.netty.server.virtual.route.LazyNettyServerVirtualRouteStoryCommand; +import org.framework.lazy.cloud.network.heartbeat.server.standalone.application.command.lazy.netty.server.virtual.route.LazyNettyServerVirtualRouteUpdateCommand; +import org.framework.lazy.cloud.network.heartbeat.server.standalone.application.command.lazy.netty.server.virtual.route.LazyNettyServerVirtualRouteQueryListCommand; +import org.framework.lazy.cloud.network.heartbeat.server.standalone.application.command.lazy.netty.server.virtual.route.LazyNettyServerVirtualRouteQueryOneCommand; +import org.framework.lazy.cloud.network.heartbeat.server.standalone.application.assembler.LazyNettyServerVirtualRouteDTOAssembler; +import org.framework.lazy.cloud.network.heartbeat.server.standalone.application.dto.LazyNettyServerVirtualRouteDTO; +import java.util.stream.Collectors; +import jakarta.annotation.Resource; +import org.framework.lazy.cloud.network.heartbeat.server.standalone.domain.model.lazy.netty.server.virtual.route.LazyNettyServerVirtualRouteRepository; +import java.util.List; +import org.wu.framework.lazy.orm.database.lambda.domain.LazyPage; +/** + * describe 服务端虚拟路由管理 + * + * @author Jia wei Wu + * @date 2025/05/06 05:00 下午 + * @see org.wu.framework.lazy.orm.core.persistence.reverse.lazy.ddd.DefaultDDDLazyApplicationImpl + **/ +@LazyApplication +public class LazyNettyServerVirtualRouteApplicationImpl implements LazyNettyServerVirtualRouteApplication { + + @Resource + LazyNettyServerVirtualRouteRepository lazyNettyServerVirtualRouteRepository; + /** + * describe 新增服务端虚拟路由管理 + * + * @param lazyNettyServerVirtualRouteStoryCommand 新增服务端虚拟路由管理 + * @return {@link Result} 服务端虚拟路由管理新增后领域对象 + + * @author Jia wei Wu + * @date 2025/05/06 05:00 下午 + **/ + + @Override + public Result story(LazyNettyServerVirtualRouteStoryCommand lazyNettyServerVirtualRouteStoryCommand) { + LazyNettyServerVirtualRoute lazyNettyServerVirtualRoute = LazyNettyServerVirtualRouteDTOAssembler.INSTANCE.toLazyNettyServerVirtualRoute(lazyNettyServerVirtualRouteStoryCommand); + return lazyNettyServerVirtualRouteRepository.story(lazyNettyServerVirtualRoute); + } + /** + * describe 批量新增服务端虚拟路由管理 + * + * @param lazyNettyServerVirtualRouteStoryCommandList 批量新增服务端虚拟路由管理 + * @return {@link Result>} 服务端虚拟路由管理新增后领域对象集合 + + * @author Jia wei Wu + * @date 2025/05/06 05:00 下午 + **/ + + @Override + public Result> batchStory(List lazyNettyServerVirtualRouteStoryCommandList) { + List lazyNettyServerVirtualRouteList = lazyNettyServerVirtualRouteStoryCommandList.stream().map( LazyNettyServerVirtualRouteDTOAssembler.INSTANCE::toLazyNettyServerVirtualRoute).collect(Collectors.toList()); + return lazyNettyServerVirtualRouteRepository.batchStory(lazyNettyServerVirtualRouteList); + } + /** + * describe 更新服务端虚拟路由管理 + * + * @param lazyNettyServerVirtualRouteUpdateCommand 更新服务端虚拟路由管理 + * @return {@link Result} 服务端虚拟路由管理领域对象 + + * @author Jia wei Wu + * @date 2025/05/06 05:00 下午 + **/ + + @Override + public Result updateOne(LazyNettyServerVirtualRouteUpdateCommand lazyNettyServerVirtualRouteUpdateCommand) { + LazyNettyServerVirtualRoute lazyNettyServerVirtualRoute = LazyNettyServerVirtualRouteDTOAssembler.INSTANCE.toLazyNettyServerVirtualRoute(lazyNettyServerVirtualRouteUpdateCommand); + return lazyNettyServerVirtualRouteRepository.story(lazyNettyServerVirtualRoute); + } + + /** + * describe 查询单个服务端虚拟路由管理 + * + * @param lazyNettyServerVirtualRouteQueryOneCommand 查询单个服务端虚拟路由管理 + * @return {@link Result} 服务端虚拟路由管理DTO对象 + + * @author Jia wei Wu + * @date 2025/05/06 05:00 下午 + **/ + + @Override + public Result findOne(LazyNettyServerVirtualRouteQueryOneCommand lazyNettyServerVirtualRouteQueryOneCommand) { + LazyNettyServerVirtualRoute lazyNettyServerVirtualRoute = LazyNettyServerVirtualRouteDTOAssembler.INSTANCE.toLazyNettyServerVirtualRoute(lazyNettyServerVirtualRouteQueryOneCommand); + return lazyNettyServerVirtualRouteRepository.findOne(lazyNettyServerVirtualRoute).convert(LazyNettyServerVirtualRouteDTOAssembler.INSTANCE::fromLazyNettyServerVirtualRoute); + } + + /** + * describe 查询多个服务端虚拟路由管理 + * + * @param lazyNettyServerVirtualRouteQueryListCommand 查询多个服务端虚拟路由管理 + * @return {@link Result>} 服务端虚拟路由管理DTO对象 + + * @author Jia wei Wu + * @date 2025/05/06 05:00 下午 + **/ + + @Override + public Result> findList(LazyNettyServerVirtualRouteQueryListCommand lazyNettyServerVirtualRouteQueryListCommand) { + LazyNettyServerVirtualRoute lazyNettyServerVirtualRoute = LazyNettyServerVirtualRouteDTOAssembler.INSTANCE.toLazyNettyServerVirtualRoute(lazyNettyServerVirtualRouteQueryListCommand); + return lazyNettyServerVirtualRouteRepository.findList(lazyNettyServerVirtualRoute) .convert(lazyNettyServerVirtualRoutes -> lazyNettyServerVirtualRoutes.stream().map(LazyNettyServerVirtualRouteDTOAssembler.INSTANCE::fromLazyNettyServerVirtualRoute).collect(Collectors.toList())) ; + } + + /** + * describe 分页查询多个服务端虚拟路由管理 + * + * @param lazyNettyServerVirtualRouteQueryListCommand 分页查询多个服务端虚拟路由管理 + * @return {@link Result>} 分页服务端虚拟路由管理DTO对象 + + * @author Jia wei Wu + * @date 2025/05/06 05:00 下午 + **/ + + @Override + public Result> findPage(int size,int current,LazyNettyServerVirtualRouteQueryListCommand lazyNettyServerVirtualRouteQueryListCommand) { + LazyNettyServerVirtualRoute lazyNettyServerVirtualRoute = LazyNettyServerVirtualRouteDTOAssembler.INSTANCE.toLazyNettyServerVirtualRoute(lazyNettyServerVirtualRouteQueryListCommand); + return lazyNettyServerVirtualRouteRepository.findPage(size,current,lazyNettyServerVirtualRoute) .convert(page -> page.convert(LazyNettyServerVirtualRouteDTOAssembler.INSTANCE::fromLazyNettyServerVirtualRoute)) ; + } + + /** + * describe 删除服务端虚拟路由管理 + * + * @param lazyNettyServerVirtualRouteRemoveCommand 删除服务端虚拟路由管理 + * @return {@link Result} 服务端虚拟路由管理 + + * @author Jia wei Wu + * @date 2025/05/06 05:00 下午 + **/ + + @Override + public Result remove(LazyNettyServerVirtualRouteRemoveCommand lazyNettyServerVirtualRouteRemoveCommand) { + LazyNettyServerVirtualRoute lazyNettyServerVirtualRoute = LazyNettyServerVirtualRouteDTOAssembler.INSTANCE.toLazyNettyServerVirtualRoute(lazyNettyServerVirtualRouteRemoveCommand); + return lazyNettyServerVirtualRouteRepository.remove(lazyNettyServerVirtualRoute); + } + +} \ No newline at end of file diff --git a/wu-lazy-cloud-heartbeat-server/src/main/java/org/framework/lazy/cloud/network/heartbeat/server/standalone/controller/LazyNettyClientVirtualRouteProvider.java b/wu-lazy-cloud-heartbeat-server/src/main/java/org/framework/lazy/cloud/network/heartbeat/server/standalone/controller/LazyNettyClientVirtualRouteProvider.java new file mode 100644 index 0000000..63efae5 --- /dev/null +++ b/wu-lazy-cloud-heartbeat-server/src/main/java/org/framework/lazy/cloud/network/heartbeat/server/standalone/controller/LazyNettyClientVirtualRouteProvider.java @@ -0,0 +1,142 @@ +package org.framework.lazy.cloud.network.heartbeat.server.standalone.controller; + +import io.swagger.v3.oas.annotations.tags.Tag; +import io.swagger.v3.oas.annotations.Operation; +import io.swagger.v3.oas.annotations.Parameter; +import org.wu.framework.web.spring.EasyController; +import org.springframework.web.bind.annotation.*; +import org.wu.framework.web.response.Result; +import org.wu.framework.web.response.ResultFactory; +import org.springframework.beans.factory.annotation.Autowired; +import jakarta.annotation.Resource; +import org.framework.lazy.cloud.network.heartbeat.server.standalone.domain.model.lazy.netty.client.virtual.route.LazyNettyClientVirtualRoute; +import org.framework.lazy.cloud.network.heartbeat.server.standalone.application.command.lazy.netty.client.virtual.route.LazyNettyClientVirtualRouteRemoveCommand; +import org.framework.lazy.cloud.network.heartbeat.server.standalone.application.command.lazy.netty.client.virtual.route.LazyNettyClientVirtualRouteStoryCommand; +import org.framework.lazy.cloud.network.heartbeat.server.standalone.application.command.lazy.netty.client.virtual.route.LazyNettyClientVirtualRouteUpdateCommand; +import org.framework.lazy.cloud.network.heartbeat.server.standalone.application.command.lazy.netty.client.virtual.route.LazyNettyClientVirtualRouteQueryListCommand; +import org.framework.lazy.cloud.network.heartbeat.server.standalone.application.command.lazy.netty.client.virtual.route.LazyNettyClientVirtualRouteQueryOneCommand; +import org.framework.lazy.cloud.network.heartbeat.server.standalone.application.LazyNettyClientVirtualRouteApplication; +import org.framework.lazy.cloud.network.heartbeat.server.standalone.application.dto.LazyNettyClientVirtualRouteDTO; +import java.util.List; +import org.wu.framework.lazy.orm.database.lambda.domain.LazyPage; +/** + * describe 客户端虚拟路由管理 + * + * @author Jia wei Wu + * @date 2025/05/06 05:00 下午 + * @see org.wu.framework.lazy.orm.core.persistence.reverse.lazy.ddd.DefaultDDDLazyController + **/ +@Tag(name = "客户端虚拟路由管理提供者") +@EasyController("/lazy/netty/client/virtual/route") +public class LazyNettyClientVirtualRouteProvider { + + @Resource + private LazyNettyClientVirtualRouteApplication lazyNettyClientVirtualRouteApplication; + + /** + * describe 新增客户端虚拟路由管理 + * + * @param lazyNettyClientVirtualRouteStoryCommand 新增客户端虚拟路由管理 + * @return {@link Result} 客户端虚拟路由管理新增后领域对象 + + * @author Jia wei Wu + * @date 2025/05/06 05:00 下午 + **/ + + @Operation(summary = "新增客户端虚拟路由管理") + @PostMapping("/story") + public Result story(@RequestBody LazyNettyClientVirtualRouteStoryCommand lazyNettyClientVirtualRouteStoryCommand){ + return lazyNettyClientVirtualRouteApplication.story(lazyNettyClientVirtualRouteStoryCommand); + } + /** + * describe 批量新增客户端虚拟路由管理 + * + * @param lazyNettyClientVirtualRouteStoryCommandList 批量新增客户端虚拟路由管理 + * @return {@link Result>} 客户端虚拟路由管理新增后领域对象集合 + + * @author Jia wei Wu + * @date 2025/05/06 05:00 下午 + **/ + + @Operation(summary = "批量新增客户端虚拟路由管理") + @PostMapping("/batchStory") + public Result> batchStory(@RequestBody List lazyNettyClientVirtualRouteStoryCommandList){ + return lazyNettyClientVirtualRouteApplication.batchStory(lazyNettyClientVirtualRouteStoryCommandList); + } + /** + * describe 更新客户端虚拟路由管理 + * + * @param lazyNettyClientVirtualRouteUpdateCommand 更新客户端虚拟路由管理 + * @return {@link Result} 客户端虚拟路由管理领域对象 + + * @author Jia wei Wu + * @date 2025/05/06 05:00 下午 + **/ + + @Operation(summary = "更新客户端虚拟路由管理") + @PutMapping("/updateOne") + public Result updateOne(@RequestBody LazyNettyClientVirtualRouteUpdateCommand lazyNettyClientVirtualRouteUpdateCommand){ + return lazyNettyClientVirtualRouteApplication.updateOne(lazyNettyClientVirtualRouteUpdateCommand); + } + /** + * describe 查询单个客户端虚拟路由管理 + * + * @param lazyNettyClientVirtualRouteQueryOneCommand 查询单个客户端虚拟路由管理 + * @return {@link Result} 客户端虚拟路由管理DTO对象 + + * @author Jia wei Wu + * @date 2025/05/06 05:00 下午 + **/ + + @Operation(summary = "查询单个客户端虚拟路由管理") + @GetMapping("/findOne") + public Result findOne(@ModelAttribute LazyNettyClientVirtualRouteQueryOneCommand lazyNettyClientVirtualRouteQueryOneCommand){ + return lazyNettyClientVirtualRouteApplication.findOne(lazyNettyClientVirtualRouteQueryOneCommand); + } + /** + * describe 查询多个客户端虚拟路由管理 + * + * @param lazyNettyClientVirtualRouteQueryListCommand 查询多个客户端虚拟路由管理 + * @return {@link Result>} 客户端虚拟路由管理DTO对象 + + * @author Jia wei Wu + * @date 2025/05/06 05:00 下午 + **/ + + @Operation(summary = "查询多个客户端虚拟路由管理") + @GetMapping("/findList") + public Result> findList(@ModelAttribute LazyNettyClientVirtualRouteQueryListCommand lazyNettyClientVirtualRouteQueryListCommand){ + return lazyNettyClientVirtualRouteApplication.findList(lazyNettyClientVirtualRouteQueryListCommand); + } + /** + * describe 分页查询多个客户端虚拟路由管理 + * + * @param lazyNettyClientVirtualRouteQueryListCommand 分页查询多个客户端虚拟路由管理 + * @return {@link Result>} 分页客户端虚拟路由管理DTO对象 + + * @author Jia wei Wu + * @date 2025/05/06 05:00 下午 + **/ + + @Operation(summary = "分页查询多个客户端虚拟路由管理") + @GetMapping("/findPage") + public Result> findPage(@Parameter(description ="分页大小") @RequestParam(defaultValue = "10", value = "size") int size, + @Parameter(description ="当前页数") @RequestParam(defaultValue = "1", value = "current") int current,@ModelAttribute LazyNettyClientVirtualRouteQueryListCommand lazyNettyClientVirtualRouteQueryListCommand){ + return lazyNettyClientVirtualRouteApplication.findPage(size,current,lazyNettyClientVirtualRouteQueryListCommand); + } + /** + * describe 删除客户端虚拟路由管理 + * + * @param lazyNettyClientVirtualRouteRemoveCommand 删除客户端虚拟路由管理 + * @return {@link Result} 客户端虚拟路由管理 + + * @author Jia wei Wu + * @date 2025/05/06 05:00 下午 + **/ + + @Operation(summary = "删除客户端虚拟路由管理") + @DeleteMapping("/remove") + public Result remove(@ModelAttribute LazyNettyClientVirtualRouteRemoveCommand lazyNettyClientVirtualRouteRemoveCommand){ + return lazyNettyClientVirtualRouteApplication.remove(lazyNettyClientVirtualRouteRemoveCommand); + } +} \ No newline at end of file diff --git a/wu-lazy-cloud-heartbeat-server/src/main/java/org/framework/lazy/cloud/network/heartbeat/server/standalone/controller/LazyNettyServerVirtualRouteProvider.java b/wu-lazy-cloud-heartbeat-server/src/main/java/org/framework/lazy/cloud/network/heartbeat/server/standalone/controller/LazyNettyServerVirtualRouteProvider.java new file mode 100644 index 0000000..db136d3 --- /dev/null +++ b/wu-lazy-cloud-heartbeat-server/src/main/java/org/framework/lazy/cloud/network/heartbeat/server/standalone/controller/LazyNettyServerVirtualRouteProvider.java @@ -0,0 +1,142 @@ +package org.framework.lazy.cloud.network.heartbeat.server.standalone.controller; + +import io.swagger.v3.oas.annotations.tags.Tag; +import io.swagger.v3.oas.annotations.Operation; +import io.swagger.v3.oas.annotations.Parameter; +import org.wu.framework.web.spring.EasyController; +import org.springframework.web.bind.annotation.*; +import org.wu.framework.web.response.Result; +import org.wu.framework.web.response.ResultFactory; +import org.springframework.beans.factory.annotation.Autowired; +import jakarta.annotation.Resource; +import org.framework.lazy.cloud.network.heartbeat.server.standalone.domain.model.lazy.netty.server.virtual.route.LazyNettyServerVirtualRoute; +import org.framework.lazy.cloud.network.heartbeat.server.standalone.application.command.lazy.netty.server.virtual.route.LazyNettyServerVirtualRouteRemoveCommand; +import org.framework.lazy.cloud.network.heartbeat.server.standalone.application.command.lazy.netty.server.virtual.route.LazyNettyServerVirtualRouteStoryCommand; +import org.framework.lazy.cloud.network.heartbeat.server.standalone.application.command.lazy.netty.server.virtual.route.LazyNettyServerVirtualRouteUpdateCommand; +import org.framework.lazy.cloud.network.heartbeat.server.standalone.application.command.lazy.netty.server.virtual.route.LazyNettyServerVirtualRouteQueryListCommand; +import org.framework.lazy.cloud.network.heartbeat.server.standalone.application.command.lazy.netty.server.virtual.route.LazyNettyServerVirtualRouteQueryOneCommand; +import org.framework.lazy.cloud.network.heartbeat.server.standalone.application.LazyNettyServerVirtualRouteApplication; +import org.framework.lazy.cloud.network.heartbeat.server.standalone.application.dto.LazyNettyServerVirtualRouteDTO; +import java.util.List; +import org.wu.framework.lazy.orm.database.lambda.domain.LazyPage; +/** + * describe 服务端虚拟路由管理 + * + * @author Jia wei Wu + * @date 2025/05/06 05:00 下午 + * @see org.wu.framework.lazy.orm.core.persistence.reverse.lazy.ddd.DefaultDDDLazyController + **/ +@Tag(name = "服务端虚拟路由管理提供者") +@EasyController("/lazy/netty/server/virtual/route") +public class LazyNettyServerVirtualRouteProvider { + + @Resource + private LazyNettyServerVirtualRouteApplication lazyNettyServerVirtualRouteApplication; + + /** + * describe 新增服务端虚拟路由管理 + * + * @param lazyNettyServerVirtualRouteStoryCommand 新增服务端虚拟路由管理 + * @return {@link Result} 服务端虚拟路由管理新增后领域对象 + + * @author Jia wei Wu + * @date 2025/05/06 05:00 下午 + **/ + + @Operation(summary = "新增服务端虚拟路由管理") + @PostMapping("/story") + public Result story(@RequestBody LazyNettyServerVirtualRouteStoryCommand lazyNettyServerVirtualRouteStoryCommand){ + return lazyNettyServerVirtualRouteApplication.story(lazyNettyServerVirtualRouteStoryCommand); + } + /** + * describe 批量新增服务端虚拟路由管理 + * + * @param lazyNettyServerVirtualRouteStoryCommandList 批量新增服务端虚拟路由管理 + * @return {@link Result>} 服务端虚拟路由管理新增后领域对象集合 + + * @author Jia wei Wu + * @date 2025/05/06 05:00 下午 + **/ + + @Operation(summary = "批量新增服务端虚拟路由管理") + @PostMapping("/batchStory") + public Result> batchStory(@RequestBody List lazyNettyServerVirtualRouteStoryCommandList){ + return lazyNettyServerVirtualRouteApplication.batchStory(lazyNettyServerVirtualRouteStoryCommandList); + } + /** + * describe 更新服务端虚拟路由管理 + * + * @param lazyNettyServerVirtualRouteUpdateCommand 更新服务端虚拟路由管理 + * @return {@link Result} 服务端虚拟路由管理领域对象 + + * @author Jia wei Wu + * @date 2025/05/06 05:00 下午 + **/ + + @Operation(summary = "更新服务端虚拟路由管理") + @PutMapping("/updateOne") + public Result updateOne(@RequestBody LazyNettyServerVirtualRouteUpdateCommand lazyNettyServerVirtualRouteUpdateCommand){ + return lazyNettyServerVirtualRouteApplication.updateOne(lazyNettyServerVirtualRouteUpdateCommand); + } + /** + * describe 查询单个服务端虚拟路由管理 + * + * @param lazyNettyServerVirtualRouteQueryOneCommand 查询单个服务端虚拟路由管理 + * @return {@link Result} 服务端虚拟路由管理DTO对象 + + * @author Jia wei Wu + * @date 2025/05/06 05:00 下午 + **/ + + @Operation(summary = "查询单个服务端虚拟路由管理") + @GetMapping("/findOne") + public Result findOne(@ModelAttribute LazyNettyServerVirtualRouteQueryOneCommand lazyNettyServerVirtualRouteQueryOneCommand){ + return lazyNettyServerVirtualRouteApplication.findOne(lazyNettyServerVirtualRouteQueryOneCommand); + } + /** + * describe 查询多个服务端虚拟路由管理 + * + * @param lazyNettyServerVirtualRouteQueryListCommand 查询多个服务端虚拟路由管理 + * @return {@link Result>} 服务端虚拟路由管理DTO对象 + + * @author Jia wei Wu + * @date 2025/05/06 05:00 下午 + **/ + + @Operation(summary = "查询多个服务端虚拟路由管理") + @GetMapping("/findList") + public Result> findList(@ModelAttribute LazyNettyServerVirtualRouteQueryListCommand lazyNettyServerVirtualRouteQueryListCommand){ + return lazyNettyServerVirtualRouteApplication.findList(lazyNettyServerVirtualRouteQueryListCommand); + } + /** + * describe 分页查询多个服务端虚拟路由管理 + * + * @param lazyNettyServerVirtualRouteQueryListCommand 分页查询多个服务端虚拟路由管理 + * @return {@link Result>} 分页服务端虚拟路由管理DTO对象 + + * @author Jia wei Wu + * @date 2025/05/06 05:00 下午 + **/ + + @Operation(summary = "分页查询多个服务端虚拟路由管理") + @GetMapping("/findPage") + public Result> findPage(@Parameter(description ="分页大小") @RequestParam(defaultValue = "10", value = "size") int size, + @Parameter(description ="当前页数") @RequestParam(defaultValue = "1", value = "current") int current,@ModelAttribute LazyNettyServerVirtualRouteQueryListCommand lazyNettyServerVirtualRouteQueryListCommand){ + return lazyNettyServerVirtualRouteApplication.findPage(size,current,lazyNettyServerVirtualRouteQueryListCommand); + } + /** + * describe 删除服务端虚拟路由管理 + * + * @param lazyNettyServerVirtualRouteRemoveCommand 删除服务端虚拟路由管理 + * @return {@link Result} 服务端虚拟路由管理 + + * @author Jia wei Wu + * @date 2025/05/06 05:00 下午 + **/ + + @Operation(summary = "删除服务端虚拟路由管理") + @DeleteMapping("/remove") + public Result remove(@ModelAttribute LazyNettyServerVirtualRouteRemoveCommand lazyNettyServerVirtualRouteRemoveCommand){ + return lazyNettyServerVirtualRouteApplication.remove(lazyNettyServerVirtualRouteRemoveCommand); + } +} \ No newline at end of file diff --git a/wu-lazy-cloud-heartbeat-server/src/main/java/org/framework/lazy/cloud/network/heartbeat/server/standalone/domain/model/lazy/netty/client/virtual/route/LazyNettyClientVirtualRoute.java b/wu-lazy-cloud-heartbeat-server/src/main/java/org/framework/lazy/cloud/network/heartbeat/server/standalone/domain/model/lazy/netty/client/virtual/route/LazyNettyClientVirtualRoute.java new file mode 100644 index 0000000..78e8094 --- /dev/null +++ b/wu-lazy-cloud-heartbeat-server/src/main/java/org/framework/lazy/cloud/network/heartbeat/server/standalone/domain/model/lazy/netty/client/virtual/route/LazyNettyClientVirtualRoute.java @@ -0,0 +1,93 @@ +package org.framework.lazy.cloud.network.heartbeat.server.standalone.domain.model.lazy.netty.client.virtual.route; + +import lombok.Data; +import lombok.experimental.Accessors; +import io.swagger.v3.oas.annotations.media.Schema; +import java.time.LocalDateTime; +import java.lang.String; +import java.lang.Long; +import java.lang.Boolean; +/** + * describe 客户端虚拟路由管理 + * + * @author Jia wei Wu + * @date 2025/05/06 05:00 下午 + * @see org.wu.framework.lazy.orm.core.persistence.reverse.lazy.ddd.DefaultDDDLazyDomain + **/ +@Data +@Accessors(chain = true) +@Schema(title = "lazy_netty_client_virtual_route",description = "客户端虚拟路由管理") +public class LazyNettyClientVirtualRoute { + + + /** + * + * 创建时间 + */ + @Schema(description ="创建时间",name ="createTime",example = "") + private LocalDateTime createTime; + + /** + * + * 规则描述 + */ + @Schema(description ="规则描述",name ="describe",example = "") + private String describe; + + /** + * + * 主键ID + */ + @Schema(description ="主键ID",name ="id",example = "") + private Long id; + + /** + * + * 是否删除 + */ + @Schema(description ="是否删除",name ="isDeleted",example = "") + private Boolean isDeleted; + + /** + * + * 目标客户端ID + */ + @Schema(description ="目标客户端ID",name ="targetClientId",example = "") + private String targetClientId; + + /** + * + * 目标路由IP + */ + @Schema(description ="目标路由IP",name ="targetIp",example = "") + private String targetIp; + + /** + * + * 目标路由端口:默认ALL + */ + @Schema(description ="目标路由端口:默认ALL",name ="targetPort",example = "") + private String targetPort; + + /** + * + * 更新时间 + */ + @Schema(description ="更新时间",name ="updateTime",example = "") + private LocalDateTime updateTime; + + /** + * + * 客户端虚拟路由IP + */ + @Schema(description ="客户端虚拟路由IP",name ="virtualIp",example = "") + private String virtualIp; + + /** + * + * 客户端虚拟路由端口:默认ALL + */ + @Schema(description ="客户端虚拟路由端口:默认ALL",name ="virtualPort",example = "") + private String virtualPort; + +} \ No newline at end of file diff --git a/wu-lazy-cloud-heartbeat-server/src/main/java/org/framework/lazy/cloud/network/heartbeat/server/standalone/domain/model/lazy/netty/client/virtual/route/LazyNettyClientVirtualRouteRepository.java b/wu-lazy-cloud-heartbeat-server/src/main/java/org/framework/lazy/cloud/network/heartbeat/server/standalone/domain/model/lazy/netty/client/virtual/route/LazyNettyClientVirtualRouteRepository.java new file mode 100644 index 0000000..5fc0a65 --- /dev/null +++ b/wu-lazy-cloud-heartbeat-server/src/main/java/org/framework/lazy/cloud/network/heartbeat/server/standalone/domain/model/lazy/netty/client/virtual/route/LazyNettyClientVirtualRouteRepository.java @@ -0,0 +1,106 @@ +package org.framework.lazy.cloud.network.heartbeat.server.standalone.domain.model.lazy.netty.client.virtual.route; + +import org.wu.framework.web.response.Result; +import org.wu.framework.web.response.ResultFactory; +import org.springframework.beans.factory.annotation.Autowired; +import org.framework.lazy.cloud.network.heartbeat.server.standalone.domain.model.lazy.netty.client.virtual.route.LazyNettyClientVirtualRoute; +import java.util.List; +import org.wu.framework.lazy.orm.database.lambda.domain.LazyPage; +/** + * describe 客户端虚拟路由管理 + * + * @author Jia wei Wu + * @date 2025/05/06 05:00 下午 + * @see org.wu.framework.lazy.orm.core.persistence.reverse.lazy.ddd.DefaultDDDLazyDomainRepository + **/ + +public interface LazyNettyClientVirtualRouteRepository { + + + /** + * describe 新增客户端虚拟路由管理 + * + * @param lazyNettyClientVirtualRoute 新增客户端虚拟路由管理 + * @return {@link Result} 客户端虚拟路由管理新增后领域对象 + + * @author Jia wei Wu + * @date 2025/05/06 05:00 下午 + **/ + + Result story(LazyNettyClientVirtualRoute lazyNettyClientVirtualRoute); + + /** + * describe 批量新增客户端虚拟路由管理 + * + * @param lazyNettyClientVirtualRouteList 批量新增客户端虚拟路由管理 + * @return {@link Result>} 客户端虚拟路由管理新增后领域对象集合 + + * @author Jia wei Wu + * @date 2025/05/06 05:00 下午 + **/ + + Result> batchStory(List lazyNettyClientVirtualRouteList); + + /** + * describe 查询单个客户端虚拟路由管理 + * + * @param lazyNettyClientVirtualRoute 查询单个客户端虚拟路由管理 + * @return {@link Result} 客户端虚拟路由管理DTO对象 + + * @author Jia wei Wu + * @date 2025/05/06 05:00 下午 + **/ + + Result findOne(LazyNettyClientVirtualRoute lazyNettyClientVirtualRoute); + + /** + * describe 查询多个客户端虚拟路由管理 + * + * @param lazyNettyClientVirtualRoute 查询多个客户端虚拟路由管理 + * @return {@link Result>} 客户端虚拟路由管理DTO对象 + + * @author Jia wei Wu + * @date 2025/05/06 05:00 下午 + **/ + + Result> findList(LazyNettyClientVirtualRoute lazyNettyClientVirtualRoute); + + /** + * describe 分页查询多个客户端虚拟路由管理 + * + * @param size 当前页数 + * @param current 当前页 + * @param lazyNettyClientVirtualRoute 分页查询多个客户端虚拟路由管理 + * @return {@link Result>} 分页客户端虚拟路由管理领域对象 + + * @author Jia wei Wu + * @date 2025/05/06 05:00 下午 + **/ + + Result> findPage(int size,int current,LazyNettyClientVirtualRoute lazyNettyClientVirtualRoute); + + /** + * describe 删除客户端虚拟路由管理 + * + * @param lazyNettyClientVirtualRoute 删除客户端虚拟路由管理 + * @return {@link Result} 客户端虚拟路由管理 + + * @author Jia wei Wu + * @date 2025/05/06 05:00 下午 + **/ + + Result remove(LazyNettyClientVirtualRoute lazyNettyClientVirtualRoute); + + /** + * describe 是否存在客户端虚拟路由管理 + * + * @param lazyNettyClientVirtualRoute 是否存在客户端虚拟路由管理 + * @return {@link Result} 客户端虚拟路由管理是否存在 + + * @author Jia wei Wu + * @date 2025/05/06 05:00 下午 + **/ + + Result exists(LazyNettyClientVirtualRoute lazyNettyClientVirtualRoute); + +} \ No newline at end of file diff --git a/wu-lazy-cloud-heartbeat-server/src/main/java/org/framework/lazy/cloud/network/heartbeat/server/standalone/domain/model/lazy/netty/server/virtual/route/LazyNettyServerVirtualRoute.java b/wu-lazy-cloud-heartbeat-server/src/main/java/org/framework/lazy/cloud/network/heartbeat/server/standalone/domain/model/lazy/netty/server/virtual/route/LazyNettyServerVirtualRoute.java new file mode 100644 index 0000000..7d73a83 --- /dev/null +++ b/wu-lazy-cloud-heartbeat-server/src/main/java/org/framework/lazy/cloud/network/heartbeat/server/standalone/domain/model/lazy/netty/server/virtual/route/LazyNettyServerVirtualRoute.java @@ -0,0 +1,86 @@ +package org.framework.lazy.cloud.network.heartbeat.server.standalone.domain.model.lazy.netty.server.virtual.route; + +import lombok.Data; +import lombok.experimental.Accessors; +import io.swagger.v3.oas.annotations.media.Schema; +import java.time.LocalDateTime; +import java.lang.String; +import java.lang.Long; +import java.lang.Boolean; +/** + * describe 服务端虚拟路由管理 + * + * @author Jia wei Wu + * @date 2025/05/06 05:00 下午 + * @see org.wu.framework.lazy.orm.core.persistence.reverse.lazy.ddd.DefaultDDDLazyDomain + **/ +@Data +@Accessors(chain = true) +@Schema(title = "lazy_netty_server_virtual_route",description = "服务端虚拟路由管理") +public class LazyNettyServerVirtualRoute { + + + /** + * + * 创建时间 + */ + @Schema(description ="创建时间",name ="createTime",example = "") + private LocalDateTime createTime; + + /** + * + * 规则描述 + */ + @Schema(description ="规则描述",name ="describe",example = "") + private String describe; + + /** + * + * 主键ID + */ + @Schema(description ="主键ID",name ="id",example = "") + private Long id; + + /** + * + * 是否删除 + */ + @Schema(description ="是否删除",name ="isDeleted",example = "") + private Boolean isDeleted; + + /** + * + * 目标路由IP + */ + @Schema(description ="目标路由IP",name ="targetIp",example = "") + private String targetIp; + + /** + * + * 目标路由端口:默认ALL + */ + @Schema(description ="目标路由端口:默认ALL",name ="targetPort",example = "") + private String targetPort; + + /** + * + * 更新时间 + */ + @Schema(description ="更新时间",name ="updateTime",example = "") + private LocalDateTime updateTime; + + /** + * + * 虚拟服务端路由IP + */ + @Schema(description ="虚拟服务端路由IP",name ="virtualIp",example = "") + private String virtualIp; + + /** + * + * 虚拟服务端路由端口:默认ALL + */ + @Schema(description ="虚拟服务端路由端口:默认ALL",name ="virtualPort",example = "") + private String virtualPort; + +} \ No newline at end of file diff --git a/wu-lazy-cloud-heartbeat-server/src/main/java/org/framework/lazy/cloud/network/heartbeat/server/standalone/domain/model/lazy/netty/server/virtual/route/LazyNettyServerVirtualRouteRepository.java b/wu-lazy-cloud-heartbeat-server/src/main/java/org/framework/lazy/cloud/network/heartbeat/server/standalone/domain/model/lazy/netty/server/virtual/route/LazyNettyServerVirtualRouteRepository.java new file mode 100644 index 0000000..7fd896d --- /dev/null +++ b/wu-lazy-cloud-heartbeat-server/src/main/java/org/framework/lazy/cloud/network/heartbeat/server/standalone/domain/model/lazy/netty/server/virtual/route/LazyNettyServerVirtualRouteRepository.java @@ -0,0 +1,106 @@ +package org.framework.lazy.cloud.network.heartbeat.server.standalone.domain.model.lazy.netty.server.virtual.route; + +import org.wu.framework.web.response.Result; +import org.wu.framework.web.response.ResultFactory; +import org.springframework.beans.factory.annotation.Autowired; +import org.framework.lazy.cloud.network.heartbeat.server.standalone.domain.model.lazy.netty.server.virtual.route.LazyNettyServerVirtualRoute; +import java.util.List; +import org.wu.framework.lazy.orm.database.lambda.domain.LazyPage; +/** + * describe 服务端虚拟路由管理 + * + * @author Jia wei Wu + * @date 2025/05/06 05:00 下午 + * @see org.wu.framework.lazy.orm.core.persistence.reverse.lazy.ddd.DefaultDDDLazyDomainRepository + **/ + +public interface LazyNettyServerVirtualRouteRepository { + + + /** + * describe 新增服务端虚拟路由管理 + * + * @param lazyNettyServerVirtualRoute 新增服务端虚拟路由管理 + * @return {@link Result} 服务端虚拟路由管理新增后领域对象 + + * @author Jia wei Wu + * @date 2025/05/06 05:00 下午 + **/ + + Result story(LazyNettyServerVirtualRoute lazyNettyServerVirtualRoute); + + /** + * describe 批量新增服务端虚拟路由管理 + * + * @param lazyNettyServerVirtualRouteList 批量新增服务端虚拟路由管理 + * @return {@link Result>} 服务端虚拟路由管理新增后领域对象集合 + + * @author Jia wei Wu + * @date 2025/05/06 05:00 下午 + **/ + + Result> batchStory(List lazyNettyServerVirtualRouteList); + + /** + * describe 查询单个服务端虚拟路由管理 + * + * @param lazyNettyServerVirtualRoute 查询单个服务端虚拟路由管理 + * @return {@link Result} 服务端虚拟路由管理DTO对象 + + * @author Jia wei Wu + * @date 2025/05/06 05:00 下午 + **/ + + Result findOne(LazyNettyServerVirtualRoute lazyNettyServerVirtualRoute); + + /** + * describe 查询多个服务端虚拟路由管理 + * + * @param lazyNettyServerVirtualRoute 查询多个服务端虚拟路由管理 + * @return {@link Result>} 服务端虚拟路由管理DTO对象 + + * @author Jia wei Wu + * @date 2025/05/06 05:00 下午 + **/ + + Result> findList(LazyNettyServerVirtualRoute lazyNettyServerVirtualRoute); + + /** + * describe 分页查询多个服务端虚拟路由管理 + * + * @param size 当前页数 + * @param current 当前页 + * @param lazyNettyServerVirtualRoute 分页查询多个服务端虚拟路由管理 + * @return {@link Result>} 分页服务端虚拟路由管理领域对象 + + * @author Jia wei Wu + * @date 2025/05/06 05:00 下午 + **/ + + Result> findPage(int size,int current,LazyNettyServerVirtualRoute lazyNettyServerVirtualRoute); + + /** + * describe 删除服务端虚拟路由管理 + * + * @param lazyNettyServerVirtualRoute 删除服务端虚拟路由管理 + * @return {@link Result} 服务端虚拟路由管理 + + * @author Jia wei Wu + * @date 2025/05/06 05:00 下午 + **/ + + Result remove(LazyNettyServerVirtualRoute lazyNettyServerVirtualRoute); + + /** + * describe 是否存在服务端虚拟路由管理 + * + * @param lazyNettyServerVirtualRoute 是否存在服务端虚拟路由管理 + * @return {@link Result} 服务端虚拟路由管理是否存在 + + * @author Jia wei Wu + * @date 2025/05/06 05:00 下午 + **/ + + Result exists(LazyNettyServerVirtualRoute lazyNettyServerVirtualRoute); + +} \ No newline at end of file diff --git a/wu-lazy-cloud-heartbeat-server/src/main/java/org/framework/lazy/cloud/network/heartbeat/server/standalone/infrastructure/converter/LazyNettyClientVirtualRouteConverter.java b/wu-lazy-cloud-heartbeat-server/src/main/java/org/framework/lazy/cloud/network/heartbeat/server/standalone/infrastructure/converter/LazyNettyClientVirtualRouteConverter.java new file mode 100644 index 0000000..f131876 --- /dev/null +++ b/wu-lazy-cloud-heartbeat-server/src/main/java/org/framework/lazy/cloud/network/heartbeat/server/standalone/infrastructure/converter/LazyNettyClientVirtualRouteConverter.java @@ -0,0 +1,48 @@ +package org.framework.lazy.cloud.network.heartbeat.server.standalone.infrastructure.converter; + +import org.framework.lazy.cloud.network.heartbeat.server.standalone.domain.model.lazy.netty.client.virtual.route.LazyNettyClientVirtualRoute; +import org.framework.lazy.cloud.network.heartbeat.server.standalone.infrastructure.entity.LazyNettyClientVirtualRouteDO; +import org.mapstruct.factory.Mappers; +import org.mapstruct.Mapper; +/** + * describe 客户端虚拟路由管理 + * + * @author Jia wei Wu + * @date 2025/05/06 05:00 下午 + * @see org.wu.framework.lazy.orm.core.persistence.reverse.lazy.ddd.DefaultDDDLazyInfrastructureConverter + **/ +@Mapper +public interface LazyNettyClientVirtualRouteConverter { + + + /** + * describe MapStruct 创建的代理对象 + * + + + + * @author Jia wei Wu + * @date 2025/05/06 05:00 下午 + **/ + LazyNettyClientVirtualRouteConverter INSTANCE = Mappers.getMapper(LazyNettyClientVirtualRouteConverter.class); + /** + * describe 实体对象 转换成领域对象 + * + * @param lazyNettyClientVirtualRouteDO 客户端虚拟路由管理实体对象 + * @return {@link LazyNettyClientVirtualRoute} 客户端虚拟路由管理领域对象 + + * @author Jia wei Wu + * @date 2025/05/06 05:00 下午 + **/ + LazyNettyClientVirtualRoute toLazyNettyClientVirtualRoute(LazyNettyClientVirtualRouteDO lazyNettyClientVirtualRouteDO); + /** + * describe 领域对象 转换成实体对象 + * + * @param lazyNettyClientVirtualRoute 客户端虚拟路由管理领域对象 + * @return {@link LazyNettyClientVirtualRouteDO} 客户端虚拟路由管理实体对象 + + * @author Jia wei Wu + * @date 2025/05/06 05:00 下午 + **/ + LazyNettyClientVirtualRouteDO fromLazyNettyClientVirtualRoute(LazyNettyClientVirtualRoute lazyNettyClientVirtualRoute); +} \ No newline at end of file diff --git a/wu-lazy-cloud-heartbeat-server/src/main/java/org/framework/lazy/cloud/network/heartbeat/server/standalone/infrastructure/converter/LazyNettyServerVirtualRouteConverter.java b/wu-lazy-cloud-heartbeat-server/src/main/java/org/framework/lazy/cloud/network/heartbeat/server/standalone/infrastructure/converter/LazyNettyServerVirtualRouteConverter.java new file mode 100644 index 0000000..22b0c6c --- /dev/null +++ b/wu-lazy-cloud-heartbeat-server/src/main/java/org/framework/lazy/cloud/network/heartbeat/server/standalone/infrastructure/converter/LazyNettyServerVirtualRouteConverter.java @@ -0,0 +1,48 @@ +package org.framework.lazy.cloud.network.heartbeat.server.standalone.infrastructure.converter; + +import org.framework.lazy.cloud.network.heartbeat.server.standalone.domain.model.lazy.netty.server.virtual.route.LazyNettyServerVirtualRoute; +import org.framework.lazy.cloud.network.heartbeat.server.standalone.infrastructure.entity.LazyNettyServerVirtualRouteDO; +import org.mapstruct.factory.Mappers; +import org.mapstruct.Mapper; +/** + * describe 服务端虚拟路由管理 + * + * @author Jia wei Wu + * @date 2025/05/06 05:00 下午 + * @see org.wu.framework.lazy.orm.core.persistence.reverse.lazy.ddd.DefaultDDDLazyInfrastructureConverter + **/ +@Mapper +public interface LazyNettyServerVirtualRouteConverter { + + + /** + * describe MapStruct 创建的代理对象 + * + + + + * @author Jia wei Wu + * @date 2025/05/06 05:00 下午 + **/ + LazyNettyServerVirtualRouteConverter INSTANCE = Mappers.getMapper(LazyNettyServerVirtualRouteConverter.class); + /** + * describe 实体对象 转换成领域对象 + * + * @param lazyNettyServerVirtualRouteDO 服务端虚拟路由管理实体对象 + * @return {@link LazyNettyServerVirtualRoute} 服务端虚拟路由管理领域对象 + + * @author Jia wei Wu + * @date 2025/05/06 05:00 下午 + **/ + LazyNettyServerVirtualRoute toLazyNettyServerVirtualRoute(LazyNettyServerVirtualRouteDO lazyNettyServerVirtualRouteDO); + /** + * describe 领域对象 转换成实体对象 + * + * @param lazyNettyServerVirtualRoute 服务端虚拟路由管理领域对象 + * @return {@link LazyNettyServerVirtualRouteDO} 服务端虚拟路由管理实体对象 + + * @author Jia wei Wu + * @date 2025/05/06 05:00 下午 + **/ + LazyNettyServerVirtualRouteDO fromLazyNettyServerVirtualRoute(LazyNettyServerVirtualRoute lazyNettyServerVirtualRoute); +} \ No newline at end of file diff --git a/wu-lazy-cloud-heartbeat-server/src/main/java/org/framework/lazy/cloud/network/heartbeat/server/standalone/infrastructure/entity/LazyNettyClientVirtualRouteDO.java b/wu-lazy-cloud-heartbeat-server/src/main/java/org/framework/lazy/cloud/network/heartbeat/server/standalone/infrastructure/entity/LazyNettyClientVirtualRouteDO.java new file mode 100644 index 0000000..9e87af5 --- /dev/null +++ b/wu-lazy-cloud-heartbeat-server/src/main/java/org/framework/lazy/cloud/network/heartbeat/server/standalone/infrastructure/entity/LazyNettyClientVirtualRouteDO.java @@ -0,0 +1,112 @@ +package org.framework.lazy.cloud.network.heartbeat.server.standalone.infrastructure.entity; + +import lombok.Data; +import lombok.experimental.Accessors; +import org.wu.framework.lazy.orm.core.stereotype.LazyTableIndex; +import org.wu.framework.core.stereotype.LayerField; +import org.wu.framework.core.stereotype.LayerField.LayerFieldType; +import org.wu.framework.lazy.orm.core.stereotype.LazyTable; +import org.wu.framework.lazy.orm.core.stereotype.LazyTableField; +import org.wu.framework.lazy.orm.core.stereotype.*; +import io.swagger.v3.oas.annotations.media.Schema; +import io.swagger.v3.oas.annotations.media.Schema; +import java.time.LocalDateTime; +import java.lang.String; +import org.wu.framework.lazy.orm.core.stereotype.LazyTableFieldId; +import java.lang.Long; +import java.lang.Boolean; +/** + * describe 客户端虚拟路由管理 + * + * @author Jia wei Wu + * @date 2025/05/06 05:00 下午 + * @see org.wu.framework.lazy.orm.core.persistence.reverse.lazy.ddd.DefaultDDDLazyInfrastructureEntity + **/ +@Data +@Accessors(chain = true) +@LazyTable(tableName = "lazy_netty_client_virtual_route",comment = "客户端虚拟路由管理") +@Schema(title = "lazy_netty_client_virtual_route",description = "客户端虚拟路由管理") +public class LazyNettyClientVirtualRouteDO { + + + /** + * + * 创建时间 + */ + @Schema(description ="创建时间",name ="createTime",example = "") + @LazyTableField(name="create_time",comment="创建时间",defaultValue="CURRENT_TIMESTAMP",upsertStrategy = LazyFieldStrategy.NEVER,columnType="datetime",extra=" on update CURRENT_TIMESTAMP") + private LocalDateTime createTime; + + /** + * + * 规则描述 + */ + @Schema(description ="规则描述",name ="describe",example = "") + @LazyTableField(name="describe",comment="规则描述",columnType="varchar(255)") + private String describe; + + /** + * + * 主键ID + */ + @Schema(description ="主键ID",name ="id",example = "") + @LazyTableFieldId(name = "id", comment = "主键ID") + private Long id; + + /** + * + * 是否删除 + */ + @Schema(description ="是否删除",name ="isDeleted",example = "") + @LazyTableField(name="is_deleted",comment="是否删除",notNull=true,defaultValue="'0'",upsertStrategy = LazyFieldStrategy.NEVER,columnType="tinyint(1)") + private Boolean isDeleted; + + /** + * + * 目标客户端ID + */ + @Schema(description ="目标客户端ID",name ="targetClientId",example = "") + @LazyTableField(name="target_client_id",comment="目标客户端ID",notNull=true,columnType="varchar(255)") + private String targetClientId; + + /** + * + * 目标路由IP + */ + @Schema(description ="目标路由IP",name ="targetIp",example = "") + @LazyTableField(name="target_ip",comment="目标路由IP",notNull=true,columnType="varchar(255)") + private String targetIp; + + /** + * + * 目标路由端口:默认ALL + */ + @Schema(description ="目标路由端口:默认ALL",name ="targetPort",example = "") + @LazyTableField(name="target_port",comment="目标路由端口:默认ALL",notNull=true,defaultValue="'ALL'",upsertStrategy = LazyFieldStrategy.NEVER,columnType="varchar(255)") + private String targetPort; + + /** + * + * 更新时间 + */ + @Schema(description ="更新时间",name ="updateTime",example = "") + @LazyTableField(name="update_time",comment="更新时间",defaultValue="CURRENT_TIMESTAMP",upsertStrategy = LazyFieldStrategy.NEVER,columnType="datetime",extra=" on update CURRENT_TIMESTAMP") + private LocalDateTime updateTime; + + /** + * + * 客户端虚拟路由IP + */ + @Schema(description ="客户端虚拟路由IP",name ="virtualIp",example = "") + @LazyTableField(name="virtual_ip",comment="客户端虚拟路由IP",notNull=true,columnType="varchar(255)") + private String virtualIp; + + /** + * + * 客户端虚拟路由端口:默认ALL + */ + @Schema(description ="客户端虚拟路由端口:默认ALL",name ="virtualPort",example = "") + @LazyTableField(name="virtual_port",comment="客户端虚拟路由端口:默认ALL",notNull=true,defaultValue="'ALL'",upsertStrategy = LazyFieldStrategy.NEVER,columnType="varchar(255)") + private String virtualPort; + +} \ No newline at end of file diff --git a/wu-lazy-cloud-heartbeat-server/src/main/java/org/framework/lazy/cloud/network/heartbeat/server/standalone/infrastructure/entity/LazyNettyServerVirtualRouteDO.java b/wu-lazy-cloud-heartbeat-server/src/main/java/org/framework/lazy/cloud/network/heartbeat/server/standalone/infrastructure/entity/LazyNettyServerVirtualRouteDO.java new file mode 100644 index 0000000..5bea1aa --- /dev/null +++ b/wu-lazy-cloud-heartbeat-server/src/main/java/org/framework/lazy/cloud/network/heartbeat/server/standalone/infrastructure/entity/LazyNettyServerVirtualRouteDO.java @@ -0,0 +1,104 @@ +package org.framework.lazy.cloud.network.heartbeat.server.standalone.infrastructure.entity; + +import lombok.Data; +import lombok.experimental.Accessors; +import org.wu.framework.lazy.orm.core.stereotype.LazyTableIndex; +import org.wu.framework.core.stereotype.LayerField; +import org.wu.framework.core.stereotype.LayerField.LayerFieldType; +import org.wu.framework.lazy.orm.core.stereotype.LazyTable; +import org.wu.framework.lazy.orm.core.stereotype.LazyTableField; +import org.wu.framework.lazy.orm.core.stereotype.*; +import io.swagger.v3.oas.annotations.media.Schema; +import io.swagger.v3.oas.annotations.media.Schema; +import java.time.LocalDateTime; +import java.lang.String; +import org.wu.framework.lazy.orm.core.stereotype.LazyTableFieldId; +import java.lang.Long; +import java.lang.Boolean; +/** + * describe 服务端虚拟路由管理 + * + * @author Jia wei Wu + * @date 2025/05/06 05:00 下午 + * @see org.wu.framework.lazy.orm.core.persistence.reverse.lazy.ddd.DefaultDDDLazyInfrastructureEntity + **/ +@Data +@Accessors(chain = true) +@LazyTable(tableName = "lazy_netty_server_virtual_route",comment = "服务端虚拟路由管理") +@Schema(title = "lazy_netty_server_virtual_route",description = "服务端虚拟路由管理") +public class LazyNettyServerVirtualRouteDO { + + + /** + * + * 创建时间 + */ + @Schema(description ="创建时间",name ="createTime",example = "") + @LazyTableField(name="create_time",comment="创建时间",defaultValue="CURRENT_TIMESTAMP",upsertStrategy = LazyFieldStrategy.NEVER,columnType="datetime",extra=" on update CURRENT_TIMESTAMP") + private LocalDateTime createTime; + + /** + * + * 规则描述 + */ + @Schema(description ="规则描述",name ="describe",example = "") + @LazyTableField(name="describe",comment="规则描述",columnType="varchar(255)") + private String describe; + + /** + * + * 主键ID + */ + @Schema(description ="主键ID",name ="id",example = "") + @LazyTableFieldId(name = "id", comment = "主键ID") + private Long id; + + /** + * + * 是否删除 + */ + @Schema(description ="是否删除",name ="isDeleted",example = "") + @LazyTableField(name="is_deleted",comment="是否删除",notNull=true,defaultValue="'0'",upsertStrategy = LazyFieldStrategy.NEVER,columnType="tinyint(1)") + private Boolean isDeleted; + + /** + * + * 目标路由IP + */ + @Schema(description ="目标路由IP",name ="targetIp",example = "") + @LazyTableField(name="target_ip",comment="目标路由IP",notNull=true,columnType="varchar(255)") + private String targetIp; + + /** + * + * 目标路由端口:默认ALL + */ + @Schema(description ="目标路由端口:默认ALL",name ="targetPort",example = "") + @LazyTableField(name="target_port",comment="目标路由端口:默认ALL",notNull=true,defaultValue="'ALL'",upsertStrategy = LazyFieldStrategy.NEVER,columnType="varchar(255)") + private String targetPort; + + /** + * + * 更新时间 + */ + @Schema(description ="更新时间",name ="updateTime",example = "") + @LazyTableField(name="update_time",comment="更新时间",defaultValue="CURRENT_TIMESTAMP",upsertStrategy = LazyFieldStrategy.NEVER,columnType="datetime",extra=" on update CURRENT_TIMESTAMP") + private LocalDateTime updateTime; + + /** + * + * 虚拟服务端路由IP + */ + @Schema(description ="虚拟服务端路由IP",name ="virtualIp",example = "") + @LazyTableField(name="virtual_ip",comment="虚拟服务端路由IP",notNull=true,columnType="varchar(255)") + private String virtualIp; + + /** + * + * 虚拟服务端路由端口:默认ALL + */ + @Schema(description ="虚拟服务端路由端口:默认ALL",name ="virtualPort",example = "") + @LazyTableField(name="virtual_port",comment="虚拟服务端路由端口:默认ALL",notNull=true,defaultValue="'ALL'",upsertStrategy = LazyFieldStrategy.NEVER,columnType="varchar(255)") + private String virtualPort; + +} \ No newline at end of file diff --git a/wu-lazy-cloud-heartbeat-server/src/main/java/org/framework/lazy/cloud/network/heartbeat/server/standalone/infrastructure/jpa/lazy/LazyNettyClientVirtualRouteLazyJpaRepository.java b/wu-lazy-cloud-heartbeat-server/src/main/java/org/framework/lazy/cloud/network/heartbeat/server/standalone/infrastructure/jpa/lazy/LazyNettyClientVirtualRouteLazyJpaRepository.java new file mode 100644 index 0000000..5eefef3 --- /dev/null +++ b/wu-lazy-cloud-heartbeat-server/src/main/java/org/framework/lazy/cloud/network/heartbeat/server/standalone/infrastructure/jpa/lazy/LazyNettyClientVirtualRouteLazyJpaRepository.java @@ -0,0 +1,18 @@ +package org.framework.lazy.cloud.network.heartbeat.server.standalone.infrastructure.jpa.lazy; + +import org.wu.framework.lazy.orm.database.jpa.repository.LazyJpaRepository; +import org.wu.framework.lazy.orm.database.jpa.repository.annotation.*; +import org.framework.lazy.cloud.network.heartbeat.server.standalone.infrastructure.entity.LazyNettyClientVirtualRouteDO; +/** + * describe 客户端虚拟路由管理 + * + * @author Jia wei Wu + * @date 2025/05/06 05:00 下午 + * @see org.wu.framework.lazy.orm.core.persistence.reverse.lazy.ddd.DefaultDDDLazyInfrastructureLazyJpa + **/ +@LazyRepository +public interface LazyNettyClientVirtualRouteLazyJpaRepository extends LazyJpaRepository { + + + +} \ No newline at end of file diff --git a/wu-lazy-cloud-heartbeat-server/src/main/java/org/framework/lazy/cloud/network/heartbeat/server/standalone/infrastructure/jpa/lazy/LazyNettyServerVirtualRouteLazyJpaRepository.java b/wu-lazy-cloud-heartbeat-server/src/main/java/org/framework/lazy/cloud/network/heartbeat/server/standalone/infrastructure/jpa/lazy/LazyNettyServerVirtualRouteLazyJpaRepository.java new file mode 100644 index 0000000..97877c9 --- /dev/null +++ b/wu-lazy-cloud-heartbeat-server/src/main/java/org/framework/lazy/cloud/network/heartbeat/server/standalone/infrastructure/jpa/lazy/LazyNettyServerVirtualRouteLazyJpaRepository.java @@ -0,0 +1,18 @@ +package org.framework.lazy.cloud.network.heartbeat.server.standalone.infrastructure.jpa.lazy; + +import org.wu.framework.lazy.orm.database.jpa.repository.LazyJpaRepository; +import org.wu.framework.lazy.orm.database.jpa.repository.annotation.*; +import org.framework.lazy.cloud.network.heartbeat.server.standalone.infrastructure.entity.LazyNettyServerVirtualRouteDO; +/** + * describe 服务端虚拟路由管理 + * + * @author Jia wei Wu + * @date 2025/05/06 05:00 下午 + * @see org.wu.framework.lazy.orm.core.persistence.reverse.lazy.ddd.DefaultDDDLazyInfrastructureLazyJpa + **/ +@LazyRepository +public interface LazyNettyServerVirtualRouteLazyJpaRepository extends LazyJpaRepository { + + + +} \ No newline at end of file diff --git a/wu-lazy-cloud-heartbeat-server/src/main/java/org/framework/lazy/cloud/network/heartbeat/server/standalone/infrastructure/mapper/LazyNettyClientVirtualRouteMapper.java b/wu-lazy-cloud-heartbeat-server/src/main/java/org/framework/lazy/cloud/network/heartbeat/server/standalone/infrastructure/mapper/LazyNettyClientVirtualRouteMapper.java new file mode 100644 index 0000000..2224728 --- /dev/null +++ b/wu-lazy-cloud-heartbeat-server/src/main/java/org/framework/lazy/cloud/network/heartbeat/server/standalone/infrastructure/mapper/LazyNettyClientVirtualRouteMapper.java @@ -0,0 +1,15 @@ +package org.framework.lazy.cloud.network.heartbeat.server.standalone.infrastructure.mapper; + +/** + * describe 客户端虚拟路由管理 + * + * @author Jia wei Wu + * @date 2025/05/06 05:00 下午 + * @see org.wu.framework.lazy.orm.core.persistence.reverse.lazy.ddd.DefaultDDDLazyInfrastructureMapper + **/ + +public interface LazyNettyClientVirtualRouteMapper { + + + +} \ No newline at end of file diff --git a/wu-lazy-cloud-heartbeat-server/src/main/java/org/framework/lazy/cloud/network/heartbeat/server/standalone/infrastructure/mapper/LazyNettyServerVirtualRouteMapper.java b/wu-lazy-cloud-heartbeat-server/src/main/java/org/framework/lazy/cloud/network/heartbeat/server/standalone/infrastructure/mapper/LazyNettyServerVirtualRouteMapper.java new file mode 100644 index 0000000..2142fca --- /dev/null +++ b/wu-lazy-cloud-heartbeat-server/src/main/java/org/framework/lazy/cloud/network/heartbeat/server/standalone/infrastructure/mapper/LazyNettyServerVirtualRouteMapper.java @@ -0,0 +1,15 @@ +package org.framework.lazy.cloud.network.heartbeat.server.standalone.infrastructure.mapper; + +/** + * describe 服务端虚拟路由管理 + * + * @author Jia wei Wu + * @date 2025/05/06 05:00 下午 + * @see org.wu.framework.lazy.orm.core.persistence.reverse.lazy.ddd.DefaultDDDLazyInfrastructureMapper + **/ + +public interface LazyNettyServerVirtualRouteMapper { + + + +} \ No newline at end of file diff --git a/wu-lazy-cloud-heartbeat-server/src/main/java/org/framework/lazy/cloud/network/heartbeat/server/standalone/infrastructure/persistence/LazyNettyClientVirtualRouteRepositoryImpl.java b/wu-lazy-cloud-heartbeat-server/src/main/java/org/framework/lazy/cloud/network/heartbeat/server/standalone/infrastructure/persistence/LazyNettyClientVirtualRouteRepositoryImpl.java new file mode 100644 index 0000000..9d7d451 --- /dev/null +++ b/wu-lazy-cloud-heartbeat-server/src/main/java/org/framework/lazy/cloud/network/heartbeat/server/standalone/infrastructure/persistence/LazyNettyClientVirtualRouteRepositoryImpl.java @@ -0,0 +1,155 @@ +package org.framework.lazy.cloud.network.heartbeat.server.standalone.infrastructure.persistence; + +import jakarta.annotation.Resource; +import org.framework.lazy.cloud.network.heartbeat.server.standalone.domain.model.lazy.netty.client.virtual.route.LazyNettyClientVirtualRoute; +import org.framework.lazy.cloud.network.heartbeat.server.standalone.domain.model.lazy.netty.client.virtual.route.LazyNettyClientVirtualRouteRepository; +import org.framework.lazy.cloud.network.heartbeat.server.standalone.infrastructure.converter.LazyNettyClientVirtualRouteConverter; +import org.framework.lazy.cloud.network.heartbeat.server.standalone.infrastructure.entity.LazyNettyClientVirtualRouteDO; +import org.springframework.stereotype.Repository; +import org.wu.framework.lazy.orm.database.lambda.domain.LazyPage; +import org.wu.framework.lazy.orm.database.lambda.stream.lambda.LazyLambdaStream; +import org.wu.framework.lazy.orm.database.lambda.stream.wrapper.LazyUpdateSetValueWrappers; +import org.wu.framework.lazy.orm.database.lambda.stream.wrapper.LazyWrappers; +import org.wu.framework.web.response.Result; +import org.wu.framework.web.response.ResultFactory; + +import java.util.List; +import java.util.stream.Collectors; + +/** + * describe 客户端虚拟路由管理 + * + * @author Jia wei Wu + * @date 2025/05/06 05:00 下午 + * @see org.wu.framework.lazy.orm.core.persistence.reverse.lazy.ddd.DefaultDDDLazyInfrastructurePersistence + **/ +@Repository +public class LazyNettyClientVirtualRouteRepositoryImpl implements LazyNettyClientVirtualRouteRepository { + + @Resource + LazyLambdaStream lazyLambdaStream; + + /** + * describe 新增客户端虚拟路由管理 + * + * @param lazyNettyClientVirtualRoute 新增客户端虚拟路由管理 + * @return {@link Result} 客户端虚拟路由管理新增后领域对象 + * @author Jia wei Wu + * @date 2025/05/06 05:00 下午 + **/ + + @Override + public Result story(LazyNettyClientVirtualRoute lazyNettyClientVirtualRoute) { + LazyNettyClientVirtualRouteDO lazyNettyClientVirtualRouteDO = LazyNettyClientVirtualRouteConverter.INSTANCE.fromLazyNettyClientVirtualRoute(lazyNettyClientVirtualRoute); + lazyLambdaStream.upsert(lazyNettyClientVirtualRouteDO); + return ResultFactory.successOf(); + } + + /** + * describe 批量新增客户端虚拟路由管理 + * + * @param lazyNettyClientVirtualRouteList 批量新增客户端虚拟路由管理 + * @return {@link Result>} 客户端虚拟路由管理新增后领域对象集合 + * @author Jia wei Wu + * @date 2025/05/06 05:00 下午 + **/ + + @Override + public Result> batchStory(List lazyNettyClientVirtualRouteList) { + List lazyNettyClientVirtualRouteDOList = lazyNettyClientVirtualRouteList.stream().map(LazyNettyClientVirtualRouteConverter.INSTANCE::fromLazyNettyClientVirtualRoute).collect(Collectors.toList()); + lazyLambdaStream.upsert(lazyNettyClientVirtualRouteDOList); + return ResultFactory.successOf(); + } + + /** + * describe 查询单个客户端虚拟路由管理 + * + * @param lazyNettyClientVirtualRoute 查询单个客户端虚拟路由管理 + * @return {@link Result} 客户端虚拟路由管理领域对象 + * @author Jia wei Wu + * @date 2025/05/06 05:00 下午 + **/ + + @Override + public Result findOne(LazyNettyClientVirtualRoute lazyNettyClientVirtualRoute) { + LazyNettyClientVirtualRouteDO lazyNettyClientVirtualRouteDO = LazyNettyClientVirtualRouteConverter.INSTANCE.fromLazyNettyClientVirtualRoute(lazyNettyClientVirtualRoute); + lazyNettyClientVirtualRouteDO.setIsDeleted(false); + LazyNettyClientVirtualRoute lazyNettyClientVirtualRouteOne = lazyLambdaStream.selectOne(LazyWrappers.lambdaWrapperBean(lazyNettyClientVirtualRouteDO), LazyNettyClientVirtualRoute.class); + return ResultFactory.successOf(lazyNettyClientVirtualRouteOne); + } + + /** + * describe 查询多个客户端虚拟路由管理 + * + * @param lazyNettyClientVirtualRoute 查询多个客户端虚拟路由管理 + * @return {@link Result>} 客户端虚拟路由管理领域对象 + * @author Jia wei Wu + * @date 2025/05/06 05:00 下午 + **/ + + @Override + public Result> findList(LazyNettyClientVirtualRoute lazyNettyClientVirtualRoute) { + LazyNettyClientVirtualRouteDO lazyNettyClientVirtualRouteDO = LazyNettyClientVirtualRouteConverter.INSTANCE.fromLazyNettyClientVirtualRoute(lazyNettyClientVirtualRoute); + lazyNettyClientVirtualRouteDO.setIsDeleted(false); + List lazyNettyClientVirtualRouteList = lazyLambdaStream.selectList(LazyWrappers.lambdaWrapperBean(lazyNettyClientVirtualRouteDO), LazyNettyClientVirtualRoute.class); + return ResultFactory.successOf(lazyNettyClientVirtualRouteList); + } + + /** + * describe 分页查询多个客户端虚拟路由管理 + * + * @param size 当前页数 + * @param current 当前页 + * @param lazyNettyClientVirtualRoute 分页查询多个客户端虚拟路由管理 + * @return {@link Result>} 分页客户端虚拟路由管理领域对象 + * @author Jia wei Wu + * @date 2025/05/06 05:00 下午 + **/ + + @Override + public Result> findPage(int size, int current, LazyNettyClientVirtualRoute lazyNettyClientVirtualRoute) { + LazyNettyClientVirtualRouteDO lazyNettyClientVirtualRouteDO = LazyNettyClientVirtualRouteConverter.INSTANCE.fromLazyNettyClientVirtualRoute(lazyNettyClientVirtualRoute); + LazyPage lazyPage = new LazyPage<>(current, size); + LazyPage lazyNettyClientVirtualRouteLazyPage = lazyLambdaStream.selectPage(LazyWrappers.lambdaWrapperBean(lazyNettyClientVirtualRouteDO), lazyPage, LazyNettyClientVirtualRoute.class); + return ResultFactory.successOf(lazyNettyClientVirtualRouteLazyPage); + } + + /** + * describe 删除客户端虚拟路由管理 + * + * @param lazyNettyClientVirtualRoute 删除客户端虚拟路由管理 + * @return {@link Result} 客户端虚拟路由管理 + * @author Jia wei Wu + * @date 2025/05/06 05:00 下午 + **/ + + @Override + public Result remove(LazyNettyClientVirtualRoute lazyNettyClientVirtualRoute) { + LazyNettyClientVirtualRouteDO lazyNettyClientVirtualRouteDO = LazyNettyClientVirtualRouteConverter.INSTANCE.fromLazyNettyClientVirtualRoute(lazyNettyClientVirtualRoute); + lazyLambdaStream.update(LazyUpdateSetValueWrappers.lambdaWrapper() + .set(LazyNettyClientVirtualRouteDO::getIsDeleted, true), + LazyWrappers + .lambdaWrapper() + .eq(LazyNettyClientVirtualRouteDO::getId, lazyNettyClientVirtualRouteDO.getId()) + + ); + return ResultFactory.successOf(); + } + + /** + * describe 是否存在客户端虚拟路由管理 + * + * @param lazyNettyClientVirtualRoute 客户端虚拟路由管理领域对象 + * @return {@link Result} 是否存在 true 存在,false 不存在 + * @author Jia wei Wu + * @date 2025/05/06 05:00 下午 + **/ + + @Override + public Result exists(LazyNettyClientVirtualRoute lazyNettyClientVirtualRoute) { + LazyNettyClientVirtualRouteDO lazyNettyClientVirtualRouteDO = LazyNettyClientVirtualRouteConverter.INSTANCE.fromLazyNettyClientVirtualRoute(lazyNettyClientVirtualRoute); + Boolean exists = lazyLambdaStream.exists(LazyWrappers.lambdaWrapperBean(lazyNettyClientVirtualRouteDO)); + return ResultFactory.successOf(exists); + } + +} \ No newline at end of file diff --git a/wu-lazy-cloud-heartbeat-server/src/main/java/org/framework/lazy/cloud/network/heartbeat/server/standalone/infrastructure/persistence/LazyNettyServerVirtualRouteRepositoryImpl.java b/wu-lazy-cloud-heartbeat-server/src/main/java/org/framework/lazy/cloud/network/heartbeat/server/standalone/infrastructure/persistence/LazyNettyServerVirtualRouteRepositoryImpl.java new file mode 100644 index 0000000..c9f5239 --- /dev/null +++ b/wu-lazy-cloud-heartbeat-server/src/main/java/org/framework/lazy/cloud/network/heartbeat/server/standalone/infrastructure/persistence/LazyNettyServerVirtualRouteRepositoryImpl.java @@ -0,0 +1,155 @@ +package org.framework.lazy.cloud.network.heartbeat.server.standalone.infrastructure.persistence; + +import jakarta.annotation.Resource; +import org.framework.lazy.cloud.network.heartbeat.server.standalone.domain.model.lazy.netty.server.virtual.route.LazyNettyServerVirtualRoute; +import org.framework.lazy.cloud.network.heartbeat.server.standalone.domain.model.lazy.netty.server.virtual.route.LazyNettyServerVirtualRouteRepository; +import org.framework.lazy.cloud.network.heartbeat.server.standalone.infrastructure.converter.LazyNettyServerVirtualRouteConverter; +import org.framework.lazy.cloud.network.heartbeat.server.standalone.infrastructure.entity.LazyNettyServerVirtualRouteDO; +import org.springframework.stereotype.Repository; +import org.wu.framework.lazy.orm.database.lambda.domain.LazyPage; +import org.wu.framework.lazy.orm.database.lambda.stream.lambda.LazyLambdaStream; +import org.wu.framework.lazy.orm.database.lambda.stream.wrapper.LazyUpdateSetValueWrappers; +import org.wu.framework.lazy.orm.database.lambda.stream.wrapper.LazyWrappers; +import org.wu.framework.web.response.Result; +import org.wu.framework.web.response.ResultFactory; + +import java.util.List; +import java.util.stream.Collectors; + +/** + * describe 服务端虚拟路由管理 + * + * @author Jia wei Wu + * @date 2025/05/06 05:00 下午 + * @see org.wu.framework.lazy.orm.core.persistence.reverse.lazy.ddd.DefaultDDDLazyInfrastructurePersistence + **/ +@Repository +public class LazyNettyServerVirtualRouteRepositoryImpl implements LazyNettyServerVirtualRouteRepository { + + @Resource + LazyLambdaStream lazyLambdaStream; + + /** + * describe 新增服务端虚拟路由管理 + * + * @param lazyNettyServerVirtualRoute 新增服务端虚拟路由管理 + * @return {@link Result} 服务端虚拟路由管理新增后领域对象 + * @author Jia wei Wu + * @date 2025/05/06 05:00 下午 + **/ + + @Override + public Result story(LazyNettyServerVirtualRoute lazyNettyServerVirtualRoute) { + LazyNettyServerVirtualRouteDO lazyNettyServerVirtualRouteDO = LazyNettyServerVirtualRouteConverter.INSTANCE.fromLazyNettyServerVirtualRoute(lazyNettyServerVirtualRoute); + lazyLambdaStream.upsert(lazyNettyServerVirtualRouteDO); + return ResultFactory.successOf(); + } + + /** + * describe 批量新增服务端虚拟路由管理 + * + * @param lazyNettyServerVirtualRouteList 批量新增服务端虚拟路由管理 + * @return {@link Result>} 服务端虚拟路由管理新增后领域对象集合 + * @author Jia wei Wu + * @date 2025/05/06 05:00 下午 + **/ + + @Override + public Result> batchStory(List lazyNettyServerVirtualRouteList) { + List lazyNettyServerVirtualRouteDOList = lazyNettyServerVirtualRouteList.stream().map(LazyNettyServerVirtualRouteConverter.INSTANCE::fromLazyNettyServerVirtualRoute).collect(Collectors.toList()); + lazyLambdaStream.upsert(lazyNettyServerVirtualRouteDOList); + return ResultFactory.successOf(); + } + + /** + * describe 查询单个服务端虚拟路由管理 + * + * @param lazyNettyServerVirtualRoute 查询单个服务端虚拟路由管理 + * @return {@link Result} 服务端虚拟路由管理领域对象 + * @author Jia wei Wu + * @date 2025/05/06 05:00 下午 + **/ + + @Override + public Result findOne(LazyNettyServerVirtualRoute lazyNettyServerVirtualRoute) { + LazyNettyServerVirtualRouteDO lazyNettyServerVirtualRouteDO = LazyNettyServerVirtualRouteConverter.INSTANCE.fromLazyNettyServerVirtualRoute(lazyNettyServerVirtualRoute); + lazyNettyServerVirtualRouteDO.setIsDeleted(false); + LazyNettyServerVirtualRoute lazyNettyServerVirtualRouteOne = lazyLambdaStream.selectOne(LazyWrappers.lambdaWrapperBean(lazyNettyServerVirtualRouteDO), LazyNettyServerVirtualRoute.class); + return ResultFactory.successOf(lazyNettyServerVirtualRouteOne); + } + + /** + * describe 查询多个服务端虚拟路由管理 + * + * @param lazyNettyServerVirtualRoute 查询多个服务端虚拟路由管理 + * @return {@link Result>} 服务端虚拟路由管理领域对象 + * @author Jia wei Wu + * @date 2025/05/06 05:00 下午 + **/ + + @Override + public Result> findList(LazyNettyServerVirtualRoute lazyNettyServerVirtualRoute) { + LazyNettyServerVirtualRouteDO lazyNettyServerVirtualRouteDO = LazyNettyServerVirtualRouteConverter.INSTANCE.fromLazyNettyServerVirtualRoute(lazyNettyServerVirtualRoute); + lazyNettyServerVirtualRouteDO.setIsDeleted(false); + List lazyNettyServerVirtualRouteList = lazyLambdaStream.selectList(LazyWrappers.lambdaWrapperBean(lazyNettyServerVirtualRouteDO), LazyNettyServerVirtualRoute.class); + return ResultFactory.successOf(lazyNettyServerVirtualRouteList); + } + + /** + * describe 分页查询多个服务端虚拟路由管理 + * + * @param size 当前页数 + * @param current 当前页 + * @param lazyNettyServerVirtualRoute 分页查询多个服务端虚拟路由管理 + * @return {@link Result>} 分页服务端虚拟路由管理领域对象 + * @author Jia wei Wu + * @date 2025/05/06 05:00 下午 + **/ + + @Override + public Result> findPage(int size, int current, LazyNettyServerVirtualRoute lazyNettyServerVirtualRoute) { + LazyNettyServerVirtualRouteDO lazyNettyServerVirtualRouteDO = LazyNettyServerVirtualRouteConverter.INSTANCE.fromLazyNettyServerVirtualRoute(lazyNettyServerVirtualRoute); + LazyPage lazyPage = new LazyPage<>(current, size); + LazyPage lazyNettyServerVirtualRouteLazyPage = lazyLambdaStream.selectPage(LazyWrappers.lambdaWrapperBean(lazyNettyServerVirtualRouteDO), lazyPage, LazyNettyServerVirtualRoute.class); + return ResultFactory.successOf(lazyNettyServerVirtualRouteLazyPage); + } + + /** + * describe 删除服务端虚拟路由管理 + * + * @param lazyNettyServerVirtualRoute 删除服务端虚拟路由管理 + * @return {@link Result} 服务端虚拟路由管理 + * @author Jia wei Wu + * @date 2025/05/06 05:00 下午 + **/ + + @Override + public Result remove(LazyNettyServerVirtualRoute lazyNettyServerVirtualRoute) { + LazyNettyServerVirtualRouteDO lazyNettyServerVirtualRouteDO = LazyNettyServerVirtualRouteConverter.INSTANCE.fromLazyNettyServerVirtualRoute(lazyNettyServerVirtualRoute); + lazyLambdaStream.update(LazyUpdateSetValueWrappers.lambdaWrapper() + .set(LazyNettyServerVirtualRouteDO::getIsDeleted, true), + LazyWrappers + .lambdaWrapper() + .eq(LazyNettyServerVirtualRouteDO::getId, lazyNettyServerVirtualRouteDO.getId()) + + ); + return ResultFactory.successOf(); + } + + /** + * describe 是否存在服务端虚拟路由管理 + * + * @param lazyNettyServerVirtualRoute 服务端虚拟路由管理领域对象 + * @return {@link Result} 是否存在 true 存在,false 不存在 + * @author Jia wei Wu + * @date 2025/05/06 05:00 下午 + **/ + + @Override + public Result exists(LazyNettyServerVirtualRoute lazyNettyServerVirtualRoute) { + LazyNettyServerVirtualRouteDO lazyNettyServerVirtualRouteDO = LazyNettyServerVirtualRouteConverter.INSTANCE.fromLazyNettyServerVirtualRoute(lazyNettyServerVirtualRoute); + Boolean exists = lazyLambdaStream.exists(LazyWrappers.lambdaWrapperBean(lazyNettyServerVirtualRouteDO)); + return ResultFactory.successOf(exists); + } + +} \ No newline at end of file diff --git a/wu-lazy-cloud-heartbeat-server/src/main/java/org/framework/lazy/cloud/network/heartbeat/server/standalone/infrastructure/xml/LazyNettyClientVirtualRouteMapper.xml b/wu-lazy-cloud-heartbeat-server/src/main/java/org/framework/lazy/cloud/network/heartbeat/server/standalone/infrastructure/xml/LazyNettyClientVirtualRouteMapper.xml new file mode 100644 index 0000000..63b0c89 --- /dev/null +++ b/wu-lazy-cloud-heartbeat-server/src/main/java/org/framework/lazy/cloud/network/heartbeat/server/standalone/infrastructure/xml/LazyNettyClientVirtualRouteMapper.xml @@ -0,0 +1,18 @@ + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/wu-lazy-cloud-heartbeat-server/src/main/java/org/framework/lazy/cloud/network/heartbeat/server/standalone/infrastructure/xml/LazyNettyServerVirtualRouteMapper.xml b/wu-lazy-cloud-heartbeat-server/src/main/java/org/framework/lazy/cloud/network/heartbeat/server/standalone/infrastructure/xml/LazyNettyServerVirtualRouteMapper.xml new file mode 100644 index 0000000..d30080e --- /dev/null +++ b/wu-lazy-cloud-heartbeat-server/src/main/java/org/framework/lazy/cloud/network/heartbeat/server/standalone/infrastructure/xml/LazyNettyServerVirtualRouteMapper.xml @@ -0,0 +1,17 @@ + + + + + + + + + + + + + + + + + \ No newline at end of file