Move QueryType to persistence module.
This commit is contained in:
parent
6acabeca67
commit
8dfd31a87d
@ -18,7 +18,7 @@ package com.alibaba.nacos.config.server.service.repository.embedded;
|
||||
|
||||
import com.alibaba.nacos.common.utils.ExceptionUtil;
|
||||
import com.alibaba.nacos.common.utils.LoggerUtils;
|
||||
import com.alibaba.nacos.persistence.repository.embedded.ModifyRequest;
|
||||
import com.alibaba.nacos.persistence.repository.embedded.sql.ModifyRequest;
|
||||
import com.alibaba.nacos.config.server.utils.DerbyUtils;
|
||||
import com.alibaba.nacos.config.server.utils.LogUtil;
|
||||
import org.springframework.dao.DataAccessException;
|
||||
|
@ -18,7 +18,7 @@ package com.alibaba.nacos.config.server.service.repository.embedded;
|
||||
|
||||
import com.alibaba.nacos.common.model.RestResult;
|
||||
import com.alibaba.nacos.persistence.repository.embedded.EmbeddedStorageContextHolder;
|
||||
import com.alibaba.nacos.persistence.repository.embedded.ModifyRequest;
|
||||
import com.alibaba.nacos.persistence.repository.embedded.sql.ModifyRequest;
|
||||
import org.springframework.jdbc.core.RowMapper;
|
||||
|
||||
import java.io.File;
|
||||
|
@ -41,9 +41,9 @@ import com.alibaba.nacos.persistence.datasource.LocalDataSourceServiceImpl;
|
||||
import com.alibaba.nacos.config.server.service.dump.DumpConfigHandler;
|
||||
import com.alibaba.nacos.config.server.service.repository.RowMapperManager;
|
||||
import com.alibaba.nacos.persistence.repository.embedded.EmbeddedStorageContextHolder;
|
||||
import com.alibaba.nacos.persistence.repository.embedded.ModifyRequest;
|
||||
import com.alibaba.nacos.config.server.service.sql.QueryType;
|
||||
import com.alibaba.nacos.persistence.repository.embedded.SelectRequest;
|
||||
import com.alibaba.nacos.persistence.repository.embedded.sql.ModifyRequest;
|
||||
import com.alibaba.nacos.persistence.repository.embedded.sql.QueryType;
|
||||
import com.alibaba.nacos.persistence.repository.embedded.sql.SelectRequest;
|
||||
import com.alibaba.nacos.config.server.utils.ConfigExecutor;
|
||||
import com.alibaba.nacos.config.server.utils.LogUtil;
|
||||
import com.alibaba.nacos.consistency.SerializeFactory;
|
||||
|
@ -23,7 +23,7 @@ import com.alibaba.nacos.common.utils.StringUtils;
|
||||
import com.alibaba.nacos.config.server.configuration.ConditionStandaloneEmbedStorage;
|
||||
import com.alibaba.nacos.persistence.datasource.DataSourceService;
|
||||
import com.alibaba.nacos.persistence.datasource.DynamicDataSource;
|
||||
import com.alibaba.nacos.persistence.repository.embedded.ModifyRequest;
|
||||
import com.alibaba.nacos.persistence.repository.embedded.sql.ModifyRequest;
|
||||
import com.alibaba.nacos.config.server.utils.LogUtil;
|
||||
import com.alibaba.nacos.sys.utils.DiskUtils;
|
||||
import org.springframework.context.annotation.Conditional;
|
||||
|
@ -19,7 +19,7 @@ package com.alibaba.nacos.config.server.service.repository.embedded;
|
||||
import com.alibaba.nacos.common.model.RestResult;
|
||||
import com.alibaba.nacos.config.server.model.ConfigInfo;
|
||||
import com.alibaba.nacos.persistence.repository.embedded.EmbeddedStorageContextHolder;
|
||||
import com.alibaba.nacos.persistence.repository.embedded.ModifyRequest;
|
||||
import com.alibaba.nacos.persistence.repository.embedded.sql.ModifyRequest;
|
||||
import org.junit.Assert;
|
||||
import org.junit.Before;
|
||||
import org.junit.Test;
|
||||
|
@ -16,6 +16,8 @@
|
||||
|
||||
package com.alibaba.nacos.persistence.repository.embedded;
|
||||
|
||||
import com.alibaba.nacos.persistence.repository.embedded.sql.ModifyRequest;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.HashMap;
|
||||
import java.util.List;
|
||||
|
@ -14,7 +14,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package com.alibaba.nacos.persistence.repository.embedded;
|
||||
package com.alibaba.nacos.persistence.repository.embedded.sql;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.Arrays;
|
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 1999-2018 Alibaba Group Holding Ltd.
|
||||
* Copyright 1999-2023 Alibaba Group Holding Ltd.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@ -14,7 +14,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package com.alibaba.nacos.config.server.service.sql;
|
||||
package com.alibaba.nacos.persistence.repository.embedded.sql;
|
||||
|
||||
import org.springframework.jdbc.core.RowMapper;
|
||||
|
@ -14,7 +14,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package com.alibaba.nacos.persistence.repository.embedded;
|
||||
package com.alibaba.nacos.persistence.repository.embedded.sql;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.Arrays;
|
@ -21,7 +21,7 @@ import com.alibaba.nacos.persistence.repository.PaginationHelper;
|
||||
import com.alibaba.nacos.config.server.service.repository.embedded.DatabaseOperate;
|
||||
import com.alibaba.nacos.config.server.service.repository.embedded.EmbeddedStoragePersistServiceImpl;
|
||||
import com.alibaba.nacos.persistence.repository.embedded.EmbeddedStorageContextHolder;
|
||||
import com.alibaba.nacos.persistence.repository.embedded.ModifyRequest;
|
||||
import com.alibaba.nacos.persistence.repository.embedded.sql.ModifyRequest;
|
||||
import org.junit.Assert;
|
||||
import org.junit.Before;
|
||||
import org.junit.Test;
|
||||
|
@ -21,7 +21,7 @@ import com.alibaba.nacos.persistence.repository.PaginationHelper;
|
||||
import com.alibaba.nacos.config.server.service.repository.embedded.DatabaseOperate;
|
||||
import com.alibaba.nacos.config.server.service.repository.embedded.EmbeddedStoragePersistServiceImpl;
|
||||
import com.alibaba.nacos.persistence.repository.embedded.EmbeddedStorageContextHolder;
|
||||
import com.alibaba.nacos.persistence.repository.embedded.ModifyRequest;
|
||||
import com.alibaba.nacos.persistence.repository.embedded.sql.ModifyRequest;
|
||||
import org.junit.Assert;
|
||||
import org.junit.Before;
|
||||
import org.junit.Test;
|
||||
|
@ -17,7 +17,7 @@
|
||||
package com.alibaba.nacos.test.config;
|
||||
|
||||
import com.alibaba.nacos.persistence.repository.embedded.EmbeddedStorageContextHolder;
|
||||
import com.alibaba.nacos.persistence.repository.embedded.ModifyRequest;
|
||||
import com.alibaba.nacos.persistence.repository.embedded.sql.ModifyRequest;
|
||||
import com.alibaba.nacos.test.base.ConfigCleanUtils;
|
||||
import org.junit.AfterClass;
|
||||
import org.junit.Assert;
|
||||
|
Loading…
Reference in New Issue
Block a user