diff --git a/auth/authentication/src/main/java/com/tencent/supersonic/auth/authentication/persistence/repository/Impl/UserRepositoryImpl.java b/auth/authentication/src/main/java/com/tencent/supersonic/auth/authentication/persistence/repository/impl/UserRepositoryImpl.java similarity index 99% rename from auth/authentication/src/main/java/com/tencent/supersonic/auth/authentication/persistence/repository/Impl/UserRepositoryImpl.java rename to auth/authentication/src/main/java/com/tencent/supersonic/auth/authentication/persistence/repository/impl/UserRepositoryImpl.java index be8ccf539..60f8ea67c 100644 --- a/auth/authentication/src/main/java/com/tencent/supersonic/auth/authentication/persistence/repository/Impl/UserRepositoryImpl.java +++ b/auth/authentication/src/main/java/com/tencent/supersonic/auth/authentication/persistence/repository/impl/UserRepositoryImpl.java @@ -3,11 +3,12 @@ package com.tencent.supersonic.auth.authentication.persistence.repository.impl; import com.tencent.supersonic.auth.authentication.persistence.dataobject.UserDO; import com.tencent.supersonic.auth.authentication.persistence.dataobject.UserDOExample; -import com.tencent.supersonic.auth.authentication.persistence.repository.UserRepository; import com.tencent.supersonic.auth.authentication.persistence.mapper.UserDOMapper; +import com.tencent.supersonic.auth.authentication.persistence.repository.UserRepository; +import org.springframework.stereotype.Component; + import java.util.List; import java.util.Optional; -import org.springframework.stereotype.Component; @Component public class UserRepositoryImpl implements UserRepository { diff --git a/headless/server/src/main/java/com/tencent/supersonic/headless/server/pojo/ClickHouseParametersBuilder.java b/headless/server/src/main/java/com/tencent/supersonic/headless/server/pojo/ClickHouseParametersBuilder.java index f77600374..80eda83e1 100644 --- a/headless/server/src/main/java/com/tencent/supersonic/headless/server/pojo/ClickHouseParametersBuilder.java +++ b/headless/server/src/main/java/com/tencent/supersonic/headless/server/pojo/ClickHouseParametersBuilder.java @@ -1,11 +1,12 @@ package com.tencent.supersonic.headless.server.pojo; -import java.util.ArrayList; -import java.util.List; import lombok.extern.slf4j.Slf4j; import org.springframework.stereotype.Service; +import java.util.ArrayList; +import java.util.List; + @Service @Slf4j public class ClickHouseParametersBuilder implements DbParametersBuilder { @@ -14,17 +15,11 @@ public class ClickHouseParametersBuilder implements DbParametersBuilder { public List build() { List databaseParameters = new ArrayList<>(); DatabaseParameter host = new DatabaseParameter(); - host.setComment("host"); - host.setName("host"); - host.setPlaceholder("请输入host"); + host.setComment("链接"); + host.setName("url"); + host.setPlaceholder("请输入链接"); databaseParameters.add(host); - DatabaseParameter port = new DatabaseParameter(); - port.setComment("port"); - port.setName("port"); - port.setPlaceholder("请输入端口号"); - databaseParameters.add(port); - DatabaseParameter userName = new DatabaseParameter(); userName.setComment("用户名"); userName.setName("username");