mirror of
https://github.com/CodePhiliaX/Chat2DB.git
synced 2026-03-13 09:02:05 +08:00
Modify remarks
This commit is contained in:
1
chat2db-server/.gitignore
vendored
1
chat2db-server/.gitignore
vendored
@@ -1,5 +1,4 @@
|
||||
target/
|
||||
!.mvn/com.alibaba.grow.common.wrapper/maven-com.alibaba.grow.common.wrapper.jar
|
||||
rebel.xml
|
||||
rebel-remote.xml
|
||||
.gradle
|
||||
|
||||
@@ -1,7 +1,4 @@
|
||||
/**
|
||||
* alibaba.com Inc.
|
||||
* Copyright (c) 2004-2023 All Rights Reserved.
|
||||
*/
|
||||
|
||||
package ai.chat2db.server.domain.api.model;
|
||||
|
||||
import java.io.Serial;
|
||||
@@ -9,8 +6,6 @@ import java.io.Serializable;
|
||||
import java.time.LocalDateTime;
|
||||
|
||||
import lombok.Data;
|
||||
import lombok.Getter;
|
||||
import lombok.Setter;
|
||||
|
||||
/**
|
||||
* @author jipengfei
|
||||
|
||||
@@ -1,7 +1,4 @@
|
||||
/**
|
||||
* alibaba.com Inc.
|
||||
* Copyright (c) 2004-2023 All Rights Reserved.
|
||||
*/
|
||||
|
||||
package ai.chat2db.server.domain.api.param;
|
||||
|
||||
import lombok.AllArgsConstructor;
|
||||
|
||||
@@ -1,7 +1,4 @@
|
||||
/**
|
||||
* alibaba.com Inc.
|
||||
* Copyright (c) 2004-2023 All Rights Reserved.
|
||||
*/
|
||||
|
||||
package ai.chat2db.server.domain.api.param;
|
||||
|
||||
import lombok.AllArgsConstructor;
|
||||
|
||||
@@ -1,7 +1,4 @@
|
||||
/**
|
||||
* alibaba.com Inc.
|
||||
* Copyright (c) 2004-2023 All Rights Reserved.
|
||||
*/
|
||||
|
||||
package ai.chat2db.server.domain.api.param;
|
||||
|
||||
import jakarta.validation.constraints.NotNull;
|
||||
|
||||
@@ -1,7 +1,4 @@
|
||||
/**
|
||||
* alibaba.com Inc.
|
||||
* Copyright (c) 2004-2023 All Rights Reserved.
|
||||
*/
|
||||
|
||||
package ai.chat2db.server.domain.api.param;
|
||||
|
||||
import java.io.Serial;
|
||||
|
||||
@@ -1,7 +1,4 @@
|
||||
/**
|
||||
* alibaba.com Inc.
|
||||
* Copyright (c) 2004-2023 All Rights Reserved.
|
||||
*/
|
||||
|
||||
package ai.chat2db.server.domain.api.service;
|
||||
|
||||
import jakarta.validation.constraints.NotNull;
|
||||
|
||||
@@ -1,7 +1,4 @@
|
||||
/**
|
||||
* alibaba.com Inc.
|
||||
* Copyright (c) 2004-2023 All Rights Reserved.
|
||||
*/
|
||||
|
||||
package ai.chat2db.server.domain.core.converter;
|
||||
|
||||
import ai.chat2db.server.domain.api.model.Config;
|
||||
|
||||
@@ -1,7 +1,4 @@
|
||||
/**
|
||||
* alibaba.com Inc.
|
||||
* Copyright (c) 2004-2023 All Rights Reserved.
|
||||
*/
|
||||
|
||||
package ai.chat2db.server.domain.core.impl;
|
||||
|
||||
import java.time.LocalDateTime;
|
||||
|
||||
@@ -1,7 +1,4 @@
|
||||
/**
|
||||
* alibaba.com Inc.
|
||||
* Copyright (c) 2004-2023 All Rights Reserved.
|
||||
*/
|
||||
|
||||
package ai.chat2db.server.domain.repository.entity;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
@@ -1,7 +1,4 @@
|
||||
/**
|
||||
* alibaba.com Inc.
|
||||
* Copyright (c) 2004-2023 All Rights Reserved.
|
||||
*/
|
||||
|
||||
package ai.chat2db.server.domain.repository.mapper;
|
||||
|
||||
import ai.chat2db.server.domain.repository.entity.SystemConfigDO;
|
||||
|
||||
@@ -1,7 +1,4 @@
|
||||
/**
|
||||
* alibaba.com Inc.
|
||||
* Copyright (c) 2004-2023 All Rights Reserved.
|
||||
*/
|
||||
|
||||
package ai.chat2db.server.start.config.config;
|
||||
|
||||
import ai.chat2db.spi.sql.Chat2DBContext;
|
||||
|
||||
@@ -1,7 +1,4 @@
|
||||
/**
|
||||
* alibaba.com Inc.
|
||||
* Copyright (c) 2004-2023 All Rights Reserved.
|
||||
*/
|
||||
|
||||
package ai.chat2db.server.test.domain.data.service;
|
||||
|
||||
import ai.chat2db.server.domain.api.param.SystemConfigParam;
|
||||
|
||||
@@ -1,7 +1,4 @@
|
||||
/**
|
||||
* alibaba.com Inc.
|
||||
* Copyright (c) 2004-2023 All Rights Reserved.
|
||||
*/
|
||||
|
||||
package ai.chat2db.server.test.domain.data.service.dialect;
|
||||
|
||||
import cn.hutool.core.date.DatePattern;
|
||||
|
||||
@@ -1,7 +1,4 @@
|
||||
/**
|
||||
* alibaba.com Inc.
|
||||
* Copyright (c) 2004-2023 All Rights Reserved.
|
||||
*/
|
||||
|
||||
package ai.chat2db.server.test.domain.data.service.dialect;
|
||||
|
||||
import cn.hutool.core.date.DatePattern;
|
||||
|
||||
@@ -1,37 +1,9 @@
|
||||
package ai.chat2db.server.test.temp;
|
||||
|
||||
import com.alibaba.fastjson2.JSON;
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
import okhttp3.ConnectionSpec;
|
||||
import okhttp3.OkHttpClient;
|
||||
import okhttp3.Request;
|
||||
import org.junit.jupiter.api.Test;
|
||||
|
||||
import javax.net.ssl.SSLContext;
|
||||
import java.util.Arrays;
|
||||
|
||||
@Slf4j
|
||||
public class TempTest {
|
||||
|
||||
|
||||
@Test
|
||||
public void test() throws Exception {
|
||||
System.setProperty("jdk.tls.disabledAlgorithms","SLv3");
|
||||
log.info("pp:{}", JSON.toJSONString(SSLContext.getDefault().getSupportedSSLParameters().getProtocols()));
|
||||
|
||||
OkHttpClient client = new OkHttpClient.Builder()
|
||||
//添加TLSv1、TLSv1.1、TLSv1.2、TLSv1.3支持
|
||||
.connectionSpecs(Arrays.asList(ConnectionSpec.COMPATIBLE_TLS))
|
||||
.build();
|
||||
Request request = new Request.Builder()
|
||||
.url("https://test-oss-grow2.alibaba.com/latest-mac.yml")
|
||||
.build();
|
||||
|
||||
String re = client.newCall(request).execute().body().string();
|
||||
|
||||
log.info("re:{}", re);
|
||||
//
|
||||
// String str = Forest.get("https://test-oss-grow2.alibaba.com/latest-mac.yml").executeAsString();
|
||||
// log.info("re:{}", str);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,7 +1,4 @@
|
||||
/**
|
||||
* alibaba.com Inc.
|
||||
* Copyright (c) 2004-2022 All Rights Reserved.
|
||||
*/
|
||||
|
||||
package ai.chat2db.server.web.api.aspect;
|
||||
|
||||
import java.lang.annotation.Documented;
|
||||
|
||||
@@ -1,7 +1,4 @@
|
||||
/**
|
||||
* alibaba.com Inc.
|
||||
* Copyright (c) 2004-2022 All Rights Reserved.
|
||||
*/
|
||||
|
||||
package ai.chat2db.server.web.api.aspect;
|
||||
|
||||
import ai.chat2db.server.domain.api.model.DataSource;
|
||||
|
||||
@@ -1,7 +1,4 @@
|
||||
/**
|
||||
* alibaba.com Inc.
|
||||
* Copyright (c) 2004-2023 All Rights Reserved.
|
||||
*/
|
||||
|
||||
package ai.chat2db.server.web.api.controller;
|
||||
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
|
||||
@@ -1,7 +1,4 @@
|
||||
/**
|
||||
* alibaba.com Inc.
|
||||
* Copyright (c) 2004-2023 All Rights Reserved.
|
||||
*/
|
||||
|
||||
package ai.chat2db.server.web.api.controller.ai.azure.client;
|
||||
|
||||
import ai.chat2db.server.domain.api.model.Config;
|
||||
|
||||
@@ -1,7 +1,4 @@
|
||||
/**
|
||||
* alibaba.com Inc.
|
||||
* Copyright (c) 2004-2023 All Rights Reserved.
|
||||
*/
|
||||
|
||||
package ai.chat2db.server.web.api.controller.ai.response;
|
||||
|
||||
import java.io.Serial;
|
||||
|
||||
@@ -1,7 +1,4 @@
|
||||
/**
|
||||
* alibaba.com Inc.
|
||||
* Copyright (c) 2004-2023 All Rights Reserved.
|
||||
*/
|
||||
|
||||
package ai.chat2db.server.web.api.controller.ai.response;
|
||||
|
||||
import java.io.Serial;
|
||||
|
||||
@@ -1,7 +1,4 @@
|
||||
/**
|
||||
* alibaba.com Inc.
|
||||
* Copyright (c) 2004-2023 All Rights Reserved.
|
||||
*/
|
||||
|
||||
package ai.chat2db.server.web.api.controller.ai.rest.client;
|
||||
|
||||
import ai.chat2db.server.domain.api.model.Config;
|
||||
|
||||
@@ -1,7 +1,4 @@
|
||||
/**
|
||||
* alibaba.com Inc.
|
||||
* Copyright (c) 2004-2023 All Rights Reserved.
|
||||
*/
|
||||
|
||||
package ai.chat2db.server.web.api.controller.config;
|
||||
|
||||
import java.util.Objects;
|
||||
|
||||
@@ -1,7 +1,4 @@
|
||||
/**
|
||||
* alibaba.com Inc.
|
||||
* Copyright (c) 2004-2023 All Rights Reserved.
|
||||
*/
|
||||
|
||||
package ai.chat2db.server.web.api.controller.config.request;
|
||||
|
||||
import ai.chat2db.server.domain.api.enums.AiSqlSourceEnum;
|
||||
|
||||
@@ -1,7 +1,4 @@
|
||||
/**
|
||||
* alibaba.com Inc.
|
||||
* Copyright (c) 2004-2023 All Rights Reserved.
|
||||
*/
|
||||
|
||||
package ai.chat2db.server.web.api.controller.config.request;
|
||||
|
||||
import lombok.Data;
|
||||
|
||||
@@ -1,7 +1,4 @@
|
||||
/**
|
||||
* alibaba.com Inc.
|
||||
* Copyright (c) 2004-2023 All Rights Reserved.
|
||||
*/
|
||||
|
||||
package ai.chat2db.server.web.api.controller.data.source.converter;
|
||||
|
||||
import ai.chat2db.spi.model.SSHInfo;
|
||||
|
||||
@@ -1,7 +1,4 @@
|
||||
/**
|
||||
* alibaba.com Inc.
|
||||
* Copyright (c) 2004-2022 All Rights Reserved.
|
||||
*/
|
||||
|
||||
package ai.chat2db.server.web.api.controller.data.source.request;
|
||||
|
||||
/**
|
||||
|
||||
@@ -1,7 +1,4 @@
|
||||
/**
|
||||
* alibaba.com Inc.
|
||||
* Copyright (c) 2004-2022 All Rights Reserved.
|
||||
*/
|
||||
|
||||
package ai.chat2db.server.web.api.controller.data.source.request;
|
||||
|
||||
/**
|
||||
|
||||
@@ -1,7 +1,4 @@
|
||||
/**
|
||||
* alibaba.com Inc.
|
||||
* Copyright (c) 2004-2023 All Rights Reserved.
|
||||
*/
|
||||
|
||||
package ai.chat2db.server.web.api.controller.data.source.request;
|
||||
|
||||
import lombok.Data;
|
||||
|
||||
@@ -1,7 +1,4 @@
|
||||
/**
|
||||
* alibaba.com Inc.
|
||||
* Copyright (c) 2004-2023 All Rights Reserved.
|
||||
*/
|
||||
|
||||
package ai.chat2db.server.web.api.controller.rdb.request;
|
||||
|
||||
import ai.chat2db.server.web.api.controller.data.source.request.DataSourceBaseRequest;
|
||||
|
||||
@@ -1,7 +1,4 @@
|
||||
/**
|
||||
* alibaba.com Inc.
|
||||
* Copyright (c) 2004-2023 All Rights Reserved.
|
||||
*/
|
||||
|
||||
package ai.chat2db.server.web.api.controller.rdb.request;
|
||||
|
||||
import java.io.Serial;
|
||||
|
||||
@@ -1,7 +1,4 @@
|
||||
/**
|
||||
* alibaba.com Inc.
|
||||
* Copyright (c) 2004-2023 All Rights Reserved.
|
||||
*/
|
||||
|
||||
package ai.chat2db.server.web.api.controller.rdb.request;
|
||||
|
||||
import ai.chat2db.server.web.api.controller.data.source.request.DataSourceBaseRequest;
|
||||
|
||||
@@ -1,7 +1,4 @@
|
||||
/**
|
||||
* alibaba.com Inc.
|
||||
* Copyright (c) 2004-2023 All Rights Reserved.
|
||||
*/
|
||||
|
||||
package ai.chat2db.server.web.api.controller.rdb.request;
|
||||
|
||||
import ai.chat2db.server.web.api.controller.data.source.request.DataSourceBaseRequest;
|
||||
|
||||
@@ -1,7 +1,4 @@
|
||||
/**
|
||||
* alibaba.com Inc.
|
||||
* Copyright (c) 2004-2023 All Rights Reserved.
|
||||
*/
|
||||
|
||||
package ai.chat2db.server.web.api.controller.rdb.vo;
|
||||
|
||||
import lombok.Data;
|
||||
|
||||
@@ -1,7 +1,4 @@
|
||||
/**
|
||||
* alibaba.com Inc.
|
||||
* Copyright (c) 2004-2023 All Rights Reserved.
|
||||
*/
|
||||
|
||||
package ai.chat2db.server.web.api.controller.user;
|
||||
|
||||
import ai.chat2db.server.domain.api.model.User;
|
||||
|
||||
@@ -1,7 +1,4 @@
|
||||
/**
|
||||
* alibaba.com Inc.
|
||||
* Copyright (c) 2004-2023 All Rights Reserved.
|
||||
*/
|
||||
|
||||
package ai.chat2db.server.web.api.controller.user.converter;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
@@ -1,7 +1,4 @@
|
||||
/**
|
||||
* alibaba.com Inc.
|
||||
* Copyright (c) 2004-2023 All Rights Reserved.
|
||||
*/
|
||||
|
||||
package ai.chat2db.server.web.api.controller.user.request;
|
||||
|
||||
import java.io.Serial;
|
||||
|
||||
@@ -1,7 +1,4 @@
|
||||
/**
|
||||
* alibaba.com Inc.
|
||||
* Copyright (c) 2004-2023 All Rights Reserved.
|
||||
*/
|
||||
|
||||
package ai.chat2db.server.web.api.controller.user.request;
|
||||
|
||||
import java.io.Serial;
|
||||
|
||||
@@ -1,7 +1,4 @@
|
||||
/**
|
||||
* alibaba.com Inc.
|
||||
* Copyright (c) 2004-2023 All Rights Reserved.
|
||||
*/
|
||||
|
||||
package ai.chat2db.server.web.api.controller.user.request;
|
||||
|
||||
import lombok.AllArgsConstructor;
|
||||
|
||||
@@ -1,7 +1,4 @@
|
||||
/**
|
||||
* alibaba.com Inc.
|
||||
* Copyright (c) 2004-2023 All Rights Reserved.
|
||||
*/
|
||||
|
||||
package ai.chat2db.server.web.api.controller.user.vo;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
@@ -1,7 +1,4 @@
|
||||
/**
|
||||
* alibaba.com Inc.
|
||||
* Copyright (c) 2004-2023 All Rights Reserved.
|
||||
*/
|
||||
|
||||
package ai.chat2db.server.web.api.util;
|
||||
|
||||
import org.springframework.beans.BeansException;
|
||||
|
||||
@@ -1,7 +1,4 @@
|
||||
/**
|
||||
* alibaba.com Inc.
|
||||
* Copyright (c) 2004-2023 All Rights Reserved.
|
||||
*/
|
||||
|
||||
package ai.chat2db.server.web.api.util;
|
||||
|
||||
import java.net.InetSocketAddress;
|
||||
|
||||
@@ -1,7 +1,4 @@
|
||||
/**
|
||||
* alibaba.com Inc.
|
||||
* Copyright (c) 2004-2023 All Rights Reserved.
|
||||
*/
|
||||
|
||||
package ai.chat2db.spi;
|
||||
|
||||
import jakarta.validation.constraints.NotEmpty;
|
||||
|
||||
@@ -1,7 +1,4 @@
|
||||
/**
|
||||
* alibaba.com Inc.
|
||||
* Copyright (c) 2004-2023 All Rights Reserved.
|
||||
*/
|
||||
|
||||
package ai.chat2db.spi;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
@@ -1,7 +1,4 @@
|
||||
/**
|
||||
* alibaba.com Inc.
|
||||
* Copyright (c) 2004-2023 All Rights Reserved.
|
||||
*/
|
||||
|
||||
package ai.chat2db.spi;
|
||||
|
||||
import ai.chat2db.spi.config.DBConfig;
|
||||
|
||||
@@ -1,7 +1,4 @@
|
||||
/**
|
||||
* alibaba.com Inc.
|
||||
* Copyright (c) 2004-2023 All Rights Reserved.
|
||||
*/
|
||||
|
||||
package ai.chat2db.spi.config;
|
||||
|
||||
import lombok.Data;
|
||||
|
||||
@@ -1,7 +1,4 @@
|
||||
/**
|
||||
* alibaba.com Inc.
|
||||
* Copyright (c) 2004-2023 All Rights Reserved.
|
||||
*/
|
||||
|
||||
package ai.chat2db.spi.config;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
@@ -1,7 +1,4 @@
|
||||
/**
|
||||
* alibaba.com Inc.
|
||||
* Copyright (c) 2004-2023 All Rights Reserved.
|
||||
*/
|
||||
|
||||
package ai.chat2db.spi.jdbc;
|
||||
|
||||
import java.sql.SQLException;
|
||||
|
||||
@@ -1,7 +1,4 @@
|
||||
/**
|
||||
* alibaba.com Inc.
|
||||
* Copyright (c) 2004-2023 All Rights Reserved.
|
||||
*/
|
||||
|
||||
package ai.chat2db.spi.jdbc;
|
||||
|
||||
import java.lang.reflect.InvocationTargetException;
|
||||
|
||||
@@ -1,7 +1,4 @@
|
||||
/**
|
||||
* alibaba.com Inc.
|
||||
* Copyright (c) 2004-2022 All Rights Reserved.
|
||||
*/
|
||||
|
||||
package ai.chat2db.spi.model;
|
||||
|
||||
import lombok.AllArgsConstructor;
|
||||
|
||||
@@ -1,7 +1,4 @@
|
||||
/**
|
||||
* alibaba.com Inc.
|
||||
* Copyright (c) 2004-2023 All Rights Reserved.
|
||||
*/
|
||||
|
||||
package ai.chat2db.spi.model;
|
||||
|
||||
import java.sql.Driver;
|
||||
|
||||
@@ -1,7 +1,4 @@
|
||||
/**
|
||||
* alibaba.com Inc.
|
||||
* Copyright (c) 2004-2023 All Rights Reserved.
|
||||
*/
|
||||
|
||||
package ai.chat2db.spi.model;
|
||||
|
||||
import lombok.AllArgsConstructor;
|
||||
|
||||
@@ -1,7 +1,4 @@
|
||||
/**
|
||||
* alibaba.com Inc.
|
||||
* Copyright (c) 2004-2023 All Rights Reserved.
|
||||
*/
|
||||
|
||||
package ai.chat2db.spi.model;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
@@ -1,7 +1,4 @@
|
||||
/**
|
||||
* alibaba.com Inc.
|
||||
* Copyright (c) 2004-2023 All Rights Reserved.
|
||||
*/
|
||||
|
||||
package ai.chat2db.spi.model;
|
||||
|
||||
import lombok.AllArgsConstructor;
|
||||
|
||||
@@ -1,7 +1,4 @@
|
||||
/**
|
||||
* alibaba.com Inc.
|
||||
* Copyright (c) 2004-2023 All Rights Reserved.
|
||||
*/
|
||||
|
||||
package ai.chat2db.spi.model;
|
||||
|
||||
import java.util.Objects;
|
||||
|
||||
@@ -1,7 +1,4 @@
|
||||
/**
|
||||
* alibaba.com Inc.
|
||||
* Copyright (c) 2004-2023 All Rights Reserved.
|
||||
*/
|
||||
|
||||
package ai.chat2db.spi.model;
|
||||
|
||||
/**
|
||||
|
||||
@@ -1,7 +1,4 @@
|
||||
/**
|
||||
* alibaba.com Inc.
|
||||
* Copyright (c) 2004-2023 All Rights Reserved.
|
||||
*/
|
||||
|
||||
package ai.chat2db.spi.model;
|
||||
|
||||
import lombok.AllArgsConstructor;
|
||||
|
||||
@@ -1,7 +1,4 @@
|
||||
/**
|
||||
* alibaba.com Inc.
|
||||
* Copyright (c) 2004-2022 All Rights Reserved.
|
||||
*/
|
||||
|
||||
package ai.chat2db.spi.model;
|
||||
|
||||
import lombok.AllArgsConstructor;
|
||||
|
||||
@@ -1,7 +1,4 @@
|
||||
/**
|
||||
* alibaba.com Inc.
|
||||
* Copyright (c) 2004-2023 All Rights Reserved.
|
||||
*/
|
||||
|
||||
package ai.chat2db.spi.model;
|
||||
|
||||
/**
|
||||
|
||||
@@ -1,7 +1,4 @@
|
||||
/**
|
||||
* alibaba.com Inc.
|
||||
* Copyright (c) 2004-2022 All Rights Reserved.
|
||||
*/
|
||||
|
||||
package ai.chat2db.spi.sql;
|
||||
|
||||
import java.sql.Connection;
|
||||
|
||||
@@ -1,7 +1,4 @@
|
||||
/**
|
||||
* alibaba.com Inc.
|
||||
* Copyright (c) 2004-2023 All Rights Reserved.
|
||||
*/
|
||||
|
||||
package ai.chat2db.spi.sql;
|
||||
|
||||
import java.sql.Connection;
|
||||
|
||||
@@ -1,9 +1,5 @@
|
||||
/**
|
||||
* alibaba.com Inc.
|
||||
* Copyright (c) 2004-2023 All Rights Reserved.
|
||||
*/
|
||||
package ai.chat2db.spi.sql;
|
||||
|
||||
package ai.chat2db.spi.sql;
|
||||
import java.io.File;
|
||||
import java.net.MalformedURLException;
|
||||
import java.net.URL;
|
||||
|
||||
@@ -1,7 +1,3 @@
|
||||
/**
|
||||
* alibaba.com Inc.
|
||||
* Copyright (c) 2004-2022 All Rights Reserved.
|
||||
*/
|
||||
package ai.chat2db.spi.sql;
|
||||
|
||||
import java.sql.Connection;
|
||||
|
||||
@@ -1,7 +1,4 @@
|
||||
/**
|
||||
* alibaba.com Inc.
|
||||
* Copyright (c) 2004-2023 All Rights Reserved.
|
||||
*/
|
||||
|
||||
package ai.chat2db.spi.sql;
|
||||
|
||||
import java.util.concurrent.ConcurrentHashMap;
|
||||
|
||||
@@ -1,7 +1,4 @@
|
||||
/**
|
||||
* alibaba.com Inc.
|
||||
* Copyright (c) 2004-2023 All Rights Reserved.
|
||||
*/
|
||||
|
||||
package ai.chat2db.spi.util;
|
||||
|
||||
import java.io.File;
|
||||
|
||||
@@ -1,7 +1,4 @@
|
||||
/**
|
||||
* alibaba.com Inc.
|
||||
* Copyright (c) 2004-2023 All Rights Reserved.
|
||||
*/
|
||||
|
||||
package ai.chat2db.spi.util;
|
||||
|
||||
import java.sql.ResultSet;
|
||||
|
||||
@@ -1,7 +1,4 @@
|
||||
/**
|
||||
* alibaba.com Inc.
|
||||
* Copyright (c) 2004-2023 All Rights Reserved.
|
||||
*/
|
||||
|
||||
package ai.chat2db.spi.util;
|
||||
|
||||
import java.util.ArrayList;
|
||||
@@ -11,12 +8,6 @@ import java.util.Objects;
|
||||
import java.util.Set;
|
||||
import java.util.stream.Collectors;
|
||||
|
||||
import ai.chat2db.server.tools.common.util.EasyBooleanUtils;
|
||||
import ai.chat2db.server.tools.common.util.EasyCollectionUtils;
|
||||
import ai.chat2db.server.tools.common.util.EasyEnumUtils;
|
||||
import ai.chat2db.spi.enums.CollationEnum;
|
||||
import ai.chat2db.spi.enums.IndexTypeEnum;
|
||||
import ai.chat2db.spi.model.*;
|
||||
import com.alibaba.druid.DbType;
|
||||
import com.alibaba.druid.sql.ast.SQLDataTypeImpl;
|
||||
import com.alibaba.druid.sql.ast.expr.SQLCharExpr;
|
||||
@@ -45,6 +36,16 @@ import com.alibaba.druid.sql.dialect.mysql.ast.statement.MySqlRenameTableStateme
|
||||
import com.alibaba.druid.sql.dialect.mysql.ast.statement.MySqlRenameTableStatement.Item;
|
||||
import com.alibaba.druid.sql.dialect.mysql.ast.statement.MySqlTableIndex;
|
||||
|
||||
import ai.chat2db.server.tools.common.util.EasyBooleanUtils;
|
||||
import ai.chat2db.server.tools.common.util.EasyCollectionUtils;
|
||||
import ai.chat2db.server.tools.common.util.EasyEnumUtils;
|
||||
import ai.chat2db.spi.enums.CollationEnum;
|
||||
import ai.chat2db.spi.enums.IndexTypeEnum;
|
||||
import ai.chat2db.spi.model.Sql;
|
||||
import ai.chat2db.spi.model.Table;
|
||||
import ai.chat2db.spi.model.TableColumn;
|
||||
import ai.chat2db.spi.model.TableIndex;
|
||||
import ai.chat2db.spi.model.TableIndexColumn;
|
||||
import org.apache.commons.collections4.CollectionUtils;
|
||||
import org.apache.commons.lang3.BooleanUtils;
|
||||
import org.apache.commons.lang3.StringUtils;
|
||||
|
||||
@@ -326,10 +326,10 @@
|
||||
<version>3.1.2</version>
|
||||
<configuration>
|
||||
<includes>
|
||||
<include>/com/alibaba/dbhub/server/test/**/*.java</include>
|
||||
<include>/ai/chat2db/server/test/**/*.java</include>
|
||||
</includes>
|
||||
<excludes>
|
||||
<include>/com/alibaba/dbhub/server/test/temp/**/*.java</include>
|
||||
<include>/ai/chat2db/server/test/temp/**/*.java</include>
|
||||
</excludes>
|
||||
<testFailureIgnore>true</testFailureIgnore>
|
||||
</configuration>
|
||||
|
||||
Reference in New Issue
Block a user