This commit is contained in:
六如
2024-10-04 21:48:38 +08:00
parent 00da3cc0a9
commit c08fec74c9
987 changed files with 24735 additions and 22137 deletions

View File

@@ -11,7 +11,7 @@ import java.util.Date;
* 表名config_gray
* 备注:服务灰度配置
*
* @author tanghc
* @author 六如
*/
@Table(name = "config_gray",pk = @Pk(name = "id"))
@Data

View File

@@ -10,7 +10,7 @@ import java.util.Date;
/**
* 表名config_gray_instance
*
* @author tanghc
* @author 六如
*/
@Table(name = "config_gray_instance",pk = @Pk(name = "id"))
@Data

View File

@@ -11,7 +11,7 @@ import java.util.Date;
* 表名config_limit
* 备注:限流配置
*
* @author tanghc
* @author 六如
*/
@Table(name = "config_limit",pk = @Pk(name = "id"))
@Data

View File

@@ -10,7 +10,7 @@ import com.gitee.fastmybatis.annotation.Table;
* 表名config_route_base
* 备注:路由配置表
*
* @author tanghc
* @author 六如
*/
@Table(name = "config_route_base",pk = @Pk(name = "id"))
@Data

View File

@@ -11,7 +11,7 @@ import java.util.Date;
* 表名config_service_route
* 备注:路由配置
*
* @author tanghc
* @author 六如
*/
@Table(name = "config_service_route",pk = @Pk(name = "id"))
@Data

View File

@@ -3,7 +3,7 @@ package com.gitee.sop.gateway.entity;
import lombok.Data;
/**
* @author tanghc
* @author 六如
*/
@Data
public class IsvDetailDTO {

View File

@@ -11,7 +11,7 @@ import java.util.Date;
* 表名isv_info
* 备注isv信息表
*
* @author tanghc
* @author 六如
*/
@Table(name = "isv_info",pk = @Pk(name = "id"))
@Data

View File

@@ -12,7 +12,7 @@ import java.util.Date;
* 表名monitor_info
* 备注:接口监控信息
*
* @author tanghc
* @author 六如
*/
@Table(name = "monitor_info",pk = @Pk(name = "id"))
@Data

View File

@@ -11,7 +11,7 @@ import java.util.Date;
/**
* 表名monitor_info_error
*
* @author tanghc
* @author 六如
*/
@Table(name = "monitor_info_error",pk = @Pk(name = "id"))
@Data

View File

@@ -11,7 +11,7 @@ import java.util.Date;
* 表名perm_isv_role
* 备注isv角色
*
* @author tanghc
* @author 六如
*/
@Table(name = "perm_isv_role",pk = @Pk(name = "id"))
@Data

View File

@@ -11,7 +11,7 @@ import java.util.Date;
* 表名perm_role_permission
* 备注:角色权限表
*
* @author tanghc
* @author 六如
*/
@Table(name = "perm_role_permission",pk = @Pk(name = "id"))
@Data

View File

@@ -11,7 +11,7 @@ import org.springframework.stereotype.Component;
/**
* 用于收集监控数据
*
* @author tanghc
* @author 六如
*/
@Component
@Slf4j

View File

@@ -25,7 +25,7 @@ import java.util.concurrent.TimeUnit;
import java.util.concurrent.atomic.AtomicInteger;
/**
* @author tanghc
* @author 六如
*/
@Service
@Slf4j

View File

@@ -13,7 +13,7 @@ import java.net.URI;
/**
* 演示拦截器
*
* @author tanghc
* @author 六如
*/
@Slf4j
@Component

View File

@@ -28,7 +28,7 @@ import java.util.stream.Stream;
/**
* 存放用户key这里放在本机内容如果灰度发布保存的用户id数量偏多可放在redis中
*
* @author tanghc
* @author 六如
*/
@Slf4j
@Service

View File

@@ -13,7 +13,7 @@ import java.util.List;
/**
* 限流配置管理
*
* @author tanghc
* @author 六如
*/
@Slf4j
@Service

View File

@@ -14,7 +14,7 @@ import org.springframework.stereotype.Service;
import java.util.List;
/**
* @author tanghc
* @author 六如
*/
@Slf4j
@Service

View File

@@ -31,7 +31,7 @@ import static java.util.stream.Collectors.toList;
/**
* 从数据库中读取路由权限信息
*
* @author tanghc
* @author 六如
*/
@Slf4j
@Service

View File

@@ -14,7 +14,7 @@ import org.springframework.stereotype.Service;
/**
* 限流配置管理
* @author tanghc
* @author 六如
*/
@Slf4j
@Service

View File

@@ -16,7 +16,7 @@ import java.util.Objects;
import java.util.stream.Collectors;
/**
* @author tanghc
* @author 六如
*/
@Service
public class DbMonitorInfoManager {

View File

@@ -13,7 +13,7 @@ import org.springframework.stereotype.Service;
import java.util.List;
/**
* @author tanghc
* @author 六如
*/
@Slf4j
@Service

View File

@@ -20,7 +20,7 @@ import java.util.List;
import java.util.stream.Collectors;
/**
* @author tanghc
* @author 六如
*/
@Slf4j
@Component

View File

@@ -5,7 +5,7 @@ import com.gitee.sop.gateway.entity.ConfigGrayInstance;
/**
* @author tanghc
* @author 六如
*/
public interface ConfigGrayInstanceMapper extends CrudMapper<ConfigGrayInstance, Long> {
}

View File

@@ -5,7 +5,7 @@ import com.gitee.sop.gateway.entity.ConfigGray;
/**
* @author tanghc
* @author 六如
*/
public interface ConfigGrayMapper extends CrudMapper<ConfigGray, Long> {
}

View File

@@ -5,7 +5,7 @@ import com.gitee.sop.gateway.entity.ConfigLimit;
/**
* @author tanghc
* @author 六如
*/
public interface ConfigLimitMapper extends CrudMapper<ConfigLimit, Long> {
}

View File

@@ -5,7 +5,7 @@ import com.gitee.sop.gateway.entity.ConfigRouteBase;
/**
* @author tanghc
* @author 六如
*/
public interface ConfigRouteBaseMapper extends CrudMapper<ConfigRouteBase, Long> {

View File

@@ -8,7 +8,7 @@ import org.apache.ibatis.annotations.Select;
import java.util.List;
/**
* @author tanghc
* @author 六如
*/
@Mapper
public interface ConfigRouteMapper {

View File

@@ -5,7 +5,7 @@ import com.gitee.sop.gateway.entity.ConfigServiceRoute;
/**
* @author tanghc
* @author 六如
*/
public interface ConfigServiceRouteMapper extends CrudMapper<ConfigServiceRoute, String> {
}

View File

@@ -7,7 +7,7 @@ import java.util.List;
/**
* IP黑名单
* @author tanghc
* @author 六如
*/
@Mapper
public interface IPBlacklistMapper {

View File

@@ -9,7 +9,7 @@ import java.util.List;
/**
* @author tanghc
* @author 六如
*/
public interface IsvInfoMapper extends CrudMapper<IsvInfo, Long> {

View File

@@ -12,7 +12,7 @@ import java.util.List;
/**
* @author tanghc
* @author 六如
*/
public interface MonitorInfoErrorMapper extends CrudMapper<MonitorInfoError, Long> {

View File

@@ -10,7 +10,7 @@ import java.util.List;
/**
* @author tanghc
* @author 六如
*/
public interface MonitorInfoMapper extends CrudMapper<MonitorInfo, Long> {

View File

@@ -5,7 +5,7 @@ import com.gitee.sop.gateway.entity.PermIsvRole;
/**
* @author tanghc
* @author 六如
*/
public interface PermIsvRoleMapper extends CrudMapper<PermIsvRole, Long> {
}

View File

@@ -5,7 +5,7 @@ import com.gitee.sop.gateway.entity.PermRolePermission;
/**
* @author tanghc
* @author 六如
*/
public interface PermRolePermissionMapper extends CrudMapper<PermRolePermission, Long> {
}

View File

@@ -7,7 +7,7 @@ import org.apache.ibatis.annotations.ResultType;
import org.apache.ibatis.annotations.Select;
/**
* @author tanghc
* @author 六如
*/
@Mapper
public interface SystemLockMapper {

View File

@@ -4,7 +4,7 @@
//import org.apache.commons.lang3.StringUtils;
//
///**
// * @author tanghc
// * @author 六如
// */
//public class ExcludeTest extends TestCase {
// public void testRegex() {

View File

@@ -10,7 +10,7 @@ import java.util.List;
/**
* 轮询选择一台机器。
*
* @author tanghc
* @author 六如
*/
public class RoundRobinTest extends TestCase {

View File

@@ -6,7 +6,7 @@ import org.springframework.util.AntPathMatcher;
import org.springframework.util.PathMatcher;
/**
* @author tanghc
* @author 六如
*/
public class UrlPatternTest extends TestCase {