未验证 提交 468e4540 编写于 作者: L Liang Zhang 提交者: GitHub

Rename sharding-jdbc to shardingsphere-jdbc (#5641)

* Rename sharding-jdbc to shardingsphere-jdbc

* rename org.apache.shardingsphere.shardingjdbc to org.apache.shardingsphere.driver

* rename org.apache.shardingsphere.shardingjdbc to org.apache.shardingsphere.driver
上级 60b82df2
......@@ -59,5 +59,5 @@ ShardingRuleConfiguration是分库分表配置的核心和入口,它可以包
#### 使用约定
`org.apache.shardingsphere.api``org.apache.shardingsphere.shardingjdbc.api` 包中的类是面向用户的API,每次修改都会在release notes中明确声明。
`org.apache.shardingsphere.api``org.apache.shardingsphere.driver.api` 包中的类是面向用户的API,每次修改都会在release notes中明确声明。
其他包中的类属于内部实现,可能随时进行调整,`请勿直接使用`
......@@ -55,5 +55,5 @@ The red part in the diagram indicates internal objects, which are used in Shardi
#### Use Convention
Classes in `org.apache.shardingsphere.api` and `org.apache.shardingsphere.shardingjdbc.api` packages are API open to users, the modifications of which will be declared in release notes. As internal implementations, classes in other packages can adjust any time, `please not use them directly`.
Classes in `org.apache.shardingsphere.api` and `org.apache.shardingsphere.driver.api` packages are API open to users, the modifications of which will be declared in release notes. As internal implementations, classes in other packages can adjust any time, `please not use them directly`.
......@@ -301,7 +301,7 @@ example: [shardingsphere-example](https://github.com/apache/shardingsphere-examp
<sharding:inline-strategy id="orderTableStrategy" sharding-column="order_id" algorithm-expression="t_order$->{order_id % 2}" />
<sharding:inline-strategy id="orderItemTableStrategy" sharding-column="order_id" algorithm-expression="t_order_item$->{order_id % 2}" />
<bean id="snowflakeAlgorithm" class="org.apache.shardingsphere.shardingjdbc.spring.namespace.factorybean.KeyGenerateAlgorithmFactoryBean">
<bean id="snowflakeAlgorithm" class="org.apache.shardingsphere.jdbc.spring.namespace.factorybean.KeyGenerateAlgorithmFactoryBean">
<property name="type" value="SNOWFLAKE" />
</bean>
......
......@@ -33,4 +33,4 @@ weight = 3
- 不支持JDBC 4.1接口新功能
查询所有未支持方法,请阅读org.apache.shardingsphere.shardingjdbc.jdbc.unsupported包。
查询所有未支持方法,请阅读`org.apache.shardingsphere.driver.jdbc.unsupported`包。
......@@ -33,4 +33,4 @@ weight = 3
- Do not support new functions of JDBC 4.1 interface
For all the unsupported methods, please read `org.apache.shardingsphere.shardingjdbc.jdbc.unsupported` package.
\ No newline at end of file
For all the unsupported methods, please read `org.apache.shardingsphere.driver.jdbc.unsupported` package.
\ No newline at end of file
......@@ -85,12 +85,12 @@
</dependency>
<dependency>
<groupId>org.apache.shardingsphere</groupId>
<artifactId>sharding-jdbc-core</artifactId>
<artifactId>shardingsphere-jdbc-core</artifactId>
<version>${shardingsphere.version}</version>
</dependency>
<dependency>
<groupId>org.apache.shardingsphere</groupId>
<artifactId>sharding-jdbc-orchestration</artifactId>
<artifactId>shardingsphere-jdbc-orchestration</artifactId>
<version>${shardingsphere.version}</version>
</dependency>
<dependency>
......
......@@ -42,7 +42,7 @@
<dependency>
<groupId>org.apache.shardingsphere</groupId>
<artifactId>sharding-jdbc-orchestration</artifactId>
<artifactId>shardingsphere-jdbc-orchestration</artifactId>
</dependency>
<dependency>
<groupId>org.apache.shardingsphere</groupId>
......
......@@ -33,7 +33,7 @@ import org.apache.shardingsphere.example.orchestration.raw.jdbc.config.local.Loc
import org.apache.shardingsphere.example.type.RegistryCenterType;
import org.apache.shardingsphere.example.type.ShardingType;
import org.apache.shardingsphere.orchestration.center.config.CenterConfiguration;
import org.apache.shardingsphere.shardingjdbc.jdbc.core.datasource.ShardingSphereDataSource;
import org.apache.shardingsphere.driver.jdbc.core.datasource.ShardingSphereDataSource;
import javax.sql.DataSource;
import java.sql.SQLException;
......
......@@ -22,8 +22,8 @@ import org.apache.shardingsphere.example.core.api.service.ExampleService;
import org.apache.shardingsphere.example.core.jdbc.service.OrderServiceImpl;
import org.apache.shardingsphere.example.type.RegistryCenterType;
import org.apache.shardingsphere.example.type.ShardingType;
import org.apache.shardingsphere.shardingjdbc.jdbc.core.datasource.ShardingSphereDataSource;
import org.apache.shardingsphere.shardingjdbc.orchestration.api.yaml.YamlOrchestrationShardingSphereDataSourceFactory;
import org.apache.shardingsphere.driver.jdbc.core.datasource.ShardingSphereDataSource;
import org.apache.shardingsphere.driver.orchestration.api.yaml.YamlOrchestrationShardingSphereDataSourceFactory;
import javax.sql.DataSource;
import java.io.File;
......
......@@ -20,7 +20,7 @@ package org.apache.shardingsphere.example.orchestration.raw.jdbc.config.cloud;
import org.apache.shardingsphere.example.config.ExampleConfiguration;
import org.apache.shardingsphere.orchestration.center.config.CenterConfiguration;
import org.apache.shardingsphere.orchestration.center.config.OrchestrationConfiguration;
import org.apache.shardingsphere.shardingjdbc.orchestration.api.OrchestrationShardingSphereDataSourceFactory;
import org.apache.shardingsphere.driver.orchestration.api.OrchestrationShardingSphereDataSourceFactory;
import javax.sql.DataSource;
import java.sql.SQLException;
......
......@@ -20,7 +20,7 @@ package org.apache.shardingsphere.example.orchestration.raw.jdbc.config.cloud;
import org.apache.shardingsphere.example.config.ExampleConfiguration;
import org.apache.shardingsphere.orchestration.center.config.CenterConfiguration;
import org.apache.shardingsphere.orchestration.center.config.OrchestrationConfiguration;
import org.apache.shardingsphere.shardingjdbc.orchestration.api.OrchestrationShardingSphereDataSourceFactory;
import org.apache.shardingsphere.driver.orchestration.api.OrchestrationShardingSphereDataSourceFactory;
import javax.sql.DataSource;
import java.sql.SQLException;
......
......@@ -20,7 +20,7 @@ package org.apache.shardingsphere.example.orchestration.raw.jdbc.config.cloud;
import org.apache.shardingsphere.example.config.ExampleConfiguration;
import org.apache.shardingsphere.orchestration.center.config.CenterConfiguration;
import org.apache.shardingsphere.orchestration.center.config.OrchestrationConfiguration;
import org.apache.shardingsphere.shardingjdbc.orchestration.api.OrchestrationShardingSphereDataSourceFactory;
import org.apache.shardingsphere.driver.orchestration.api.OrchestrationShardingSphereDataSourceFactory;
import javax.sql.DataSource;
import java.sql.SQLException;
......
......@@ -20,7 +20,7 @@ package org.apache.shardingsphere.example.orchestration.raw.jdbc.config.cloud;
import org.apache.shardingsphere.example.config.ExampleConfiguration;
import org.apache.shardingsphere.orchestration.center.config.CenterConfiguration;
import org.apache.shardingsphere.orchestration.center.config.OrchestrationConfiguration;
import org.apache.shardingsphere.shardingjdbc.orchestration.api.OrchestrationShardingSphereDataSourceFactory;
import org.apache.shardingsphere.driver.orchestration.api.OrchestrationShardingSphereDataSourceFactory;
import javax.sql.DataSource;
import java.sql.SQLException;
......
......@@ -25,7 +25,7 @@ import org.apache.shardingsphere.example.config.ExampleConfiguration;
import org.apache.shardingsphere.example.core.api.DataSourceUtil;
import org.apache.shardingsphere.orchestration.center.config.CenterConfiguration;
import org.apache.shardingsphere.orchestration.center.config.OrchestrationConfiguration;
import org.apache.shardingsphere.shardingjdbc.orchestration.api.OrchestrationShardingSphereDataSourceFactory;
import org.apache.shardingsphere.driver.orchestration.api.OrchestrationShardingSphereDataSourceFactory;
import javax.sql.DataSource;
import java.sql.SQLException;
......
......@@ -23,7 +23,7 @@ import org.apache.shardingsphere.example.config.ExampleConfiguration;
import org.apache.shardingsphere.example.core.api.DataSourceUtil;
import org.apache.shardingsphere.orchestration.center.config.CenterConfiguration;
import org.apache.shardingsphere.orchestration.center.config.OrchestrationConfiguration;
import org.apache.shardingsphere.shardingjdbc.orchestration.api.OrchestrationShardingSphereDataSourceFactory;
import org.apache.shardingsphere.driver.orchestration.api.OrchestrationShardingSphereDataSourceFactory;
import javax.sql.DataSource;
import java.sql.SQLException;
......
......@@ -22,7 +22,7 @@ import org.apache.shardingsphere.example.core.api.DataSourceUtil;
import org.apache.shardingsphere.orchestration.center.config.CenterConfiguration;
import org.apache.shardingsphere.orchestration.center.config.OrchestrationConfiguration;
import org.apache.shardingsphere.shadow.api.config.ShadowRuleConfiguration;
import org.apache.shardingsphere.shardingjdbc.orchestration.api.OrchestrationShardingSphereDataSourceFactory;
import org.apache.shardingsphere.driver.orchestration.api.OrchestrationShardingSphereDataSourceFactory;
import javax.sql.DataSource;
import java.sql.SQLException;
......@@ -41,7 +41,8 @@ public class LocalShadowConfiguration implements ExampleConfiguration {
@Override
public DataSource getDataSource() throws SQLException {
return OrchestrationShardingSphereDataSourceFactory.createDataSource(createDataSourceMap(), Collections.singleton(getShadowRuleConfiguration()), new Properties(), getOrchestrationConfiguration());
return OrchestrationShardingSphereDataSourceFactory.createDataSource(
createDataSourceMap(), Collections.singleton(getShadowRuleConfiguration()), new Properties(), getOrchestrationConfiguration());
}
private Map<String, DataSource> createDataSourceMap() {
......
......@@ -29,7 +29,7 @@ import org.apache.shardingsphere.sharding.api.config.strategy.StandardShardingSt
import org.apache.shardingsphere.sharding.strategy.algorithm.keygen.SnowflakeKeyGenerateAlgorithm;
import org.apache.shardingsphere.sharding.strategy.algorithm.sharding.inline.InlineShardingAlgorithm;
import org.apache.shardingsphere.sharding.spi.keygen.KeyGenerateAlgorithm;
import org.apache.shardingsphere.shardingjdbc.orchestration.api.OrchestrationShardingSphereDataSourceFactory;
import org.apache.shardingsphere.driver.orchestration.api.OrchestrationShardingSphereDataSourceFactory;
import org.apache.shardingsphere.infra.config.RuleConfiguration;
import javax.sql.DataSource;
......
......@@ -28,7 +28,7 @@ import org.apache.shardingsphere.sharding.api.config.strategy.StandardShardingSt
import org.apache.shardingsphere.sharding.strategy.algorithm.keygen.SnowflakeKeyGenerateAlgorithm;
import org.apache.shardingsphere.sharding.strategy.algorithm.sharding.inline.InlineShardingAlgorithm;
import org.apache.shardingsphere.sharding.spi.keygen.KeyGenerateAlgorithm;
import org.apache.shardingsphere.shardingjdbc.orchestration.api.OrchestrationShardingSphereDataSourceFactory;
import org.apache.shardingsphere.driver.orchestration.api.OrchestrationShardingSphereDataSourceFactory;
import org.apache.shardingsphere.infra.config.RuleConfiguration;
import javax.sql.DataSource;
......
......@@ -17,10 +17,12 @@
package org.apache.shardingsphere.example.orchestration.raw.jdbc.config.local;
import org.apache.shardingsphere.driver.orchestration.api.OrchestrationShardingSphereDataSourceFactory;
import org.apache.shardingsphere.example.algorithm.StandardModuloShardingDatabaseAlgorithm;
import org.apache.shardingsphere.example.algorithm.StandardModuloShardingTableAlgorithm;
import org.apache.shardingsphere.example.config.ExampleConfiguration;
import org.apache.shardingsphere.example.core.api.DataSourceUtil;
import org.apache.shardingsphere.infra.config.RuleConfiguration;
import org.apache.shardingsphere.masterslave.api.config.MasterSlaveDataSourceConfiguration;
import org.apache.shardingsphere.masterslave.api.config.MasterSlaveRuleConfiguration;
import org.apache.shardingsphere.orchestration.center.config.CenterConfiguration;
......@@ -29,10 +31,8 @@ import org.apache.shardingsphere.sharding.api.config.KeyGeneratorConfiguration;
import org.apache.shardingsphere.sharding.api.config.ShardingRuleConfiguration;
import org.apache.shardingsphere.sharding.api.config.TableRuleConfiguration;
import org.apache.shardingsphere.sharding.api.config.strategy.StandardShardingStrategyConfiguration;
import org.apache.shardingsphere.sharding.strategy.algorithm.keygen.SnowflakeKeyGenerateAlgorithm;
import org.apache.shardingsphere.sharding.spi.keygen.KeyGenerateAlgorithm;
import org.apache.shardingsphere.shardingjdbc.orchestration.api.OrchestrationShardingSphereDataSourceFactory;
import org.apache.shardingsphere.infra.config.RuleConfiguration;
import org.apache.shardingsphere.sharding.strategy.algorithm.keygen.SnowflakeKeyGenerateAlgorithm;
import javax.sql.DataSource;
import java.sql.SQLException;
......
......@@ -28,7 +28,7 @@ import org.apache.shardingsphere.sharding.api.config.TableRuleConfiguration;
import org.apache.shardingsphere.sharding.api.config.strategy.StandardShardingStrategyConfiguration;
import org.apache.shardingsphere.sharding.strategy.algorithm.keygen.SnowflakeKeyGenerateAlgorithm;
import org.apache.shardingsphere.sharding.spi.keygen.KeyGenerateAlgorithm;
import org.apache.shardingsphere.shardingjdbc.orchestration.api.OrchestrationShardingSphereDataSourceFactory;
import org.apache.shardingsphere.driver.orchestration.api.OrchestrationShardingSphereDataSourceFactory;
import org.apache.shardingsphere.infra.config.RuleConfiguration;
import javax.sql.DataSource;
......
......@@ -36,7 +36,7 @@
</dependency>
<dependency>
<groupId>org.apache.shardingsphere</groupId>
<artifactId>sharding-jdbc-core</artifactId>
<artifactId>shardingsphere-jdbc-core</artifactId>
</dependency>
</dependencies>
</project>
......@@ -21,7 +21,7 @@ import org.apache.shardingsphere.example.core.api.ExampleExecuteTemplate;
import org.apache.shardingsphere.example.core.api.service.ExampleService;
import org.apache.shardingsphere.example.core.jdbc.repository.UserRepositoryImpl;
import org.apache.shardingsphere.example.core.jdbc.service.UserServiceImpl;
import org.apache.shardingsphere.shardingjdbc.api.yaml.YamlShardingSphereDataSourceFactory;
import org.apache.shardingsphere.driver.api.yaml.YamlShardingSphereDataSourceFactory;
import javax.sql.DataSource;
import java.io.File;
......
......@@ -23,7 +23,7 @@ import org.apache.shardingsphere.encrypt.api.config.EncryptTableRuleConfiguratio
import org.apache.shardingsphere.encrypt.api.config.EncryptorRuleConfiguration;
import org.apache.shardingsphere.example.config.ExampleConfiguration;
import org.apache.shardingsphere.example.core.api.DataSourceUtil;
import org.apache.shardingsphere.shardingjdbc.api.ShardingSphereDataSourceFactory;
import org.apache.shardingsphere.driver.api.ShardingSphereDataSourceFactory;
import javax.sql.DataSource;
import java.sql.SQLException;
......
......@@ -36,7 +36,7 @@
</dependency>
<dependency>
<groupId>org.apache.shardingsphere</groupId>
<artifactId>sharding-jdbc-core</artifactId>
<artifactId>shardingsphere-jdbc-core</artifactId>
</dependency>
</dependencies>
</project>
......
......@@ -20,7 +20,7 @@ package org.apache.shardingsphere.example.hint.raw.jdbc;
import org.apache.shardingsphere.infra.hint.HintManager;
import org.apache.shardingsphere.example.core.api.service.ExampleService;
import org.apache.shardingsphere.example.core.jdbc.service.OrderServiceImpl;
import org.apache.shardingsphere.shardingjdbc.api.yaml.YamlShardingSphereDataSourceFactory;
import org.apache.shardingsphere.driver.api.yaml.YamlShardingSphereDataSourceFactory;
import javax.sql.DataSource;
import java.io.File;
......
......@@ -37,7 +37,7 @@
</dependency>
<dependency>
<groupId>org.apache.shardingsphere</groupId>
<artifactId>sharding-jdbc-core</artifactId>
<artifactId>shardingsphere-jdbc-core</artifactId>
</dependency>
</dependencies>
......
......@@ -21,7 +21,7 @@ import org.apache.shardingsphere.example.core.api.ExampleExecuteTemplate;
import org.apache.shardingsphere.example.core.api.service.ExampleService;
import org.apache.shardingsphere.example.core.jdbc.repository.ShadowUserRepositoryImpl;
import org.apache.shardingsphere.example.core.jdbc.service.ShadowUserServiceImpl;
import org.apache.shardingsphere.shardingjdbc.api.yaml.YamlShardingSphereDataSourceFactory;
import org.apache.shardingsphere.driver.api.yaml.YamlShardingSphereDataSourceFactory;
import javax.sql.DataSource;
import java.io.File;
......
......@@ -20,7 +20,7 @@ package org.apache.shardingsphere.example.shadow.table.raw.jdbc.config;
import org.apache.shardingsphere.example.config.ExampleConfiguration;
import org.apache.shardingsphere.example.core.api.DataSourceUtil;
import org.apache.shardingsphere.shadow.api.config.ShadowRuleConfiguration;
import org.apache.shardingsphere.shardingjdbc.api.ShardingSphereDataSourceFactory;
import org.apache.shardingsphere.driver.api.ShardingSphereDataSourceFactory;
import javax.sql.DataSource;
import java.sql.SQLException;
......
......@@ -36,7 +36,7 @@
</dependency>
<dependency>
<groupId>org.apache.shardingsphere</groupId>
<artifactId>sharding-jdbc-core</artifactId>
<artifactId>shardingsphere-jdbc-core</artifactId>
</dependency>
</dependencies>
</project>
......@@ -21,7 +21,7 @@ import org.apache.shardingsphere.masterslave.api.config.MasterSlaveDataSourceCon
import org.apache.shardingsphere.masterslave.api.config.MasterSlaveRuleConfiguration;
import org.apache.shardingsphere.example.config.ExampleConfiguration;
import org.apache.shardingsphere.example.core.api.DataSourceUtil;
import org.apache.shardingsphere.shardingjdbc.api.ShardingSphereDataSourceFactory;
import org.apache.shardingsphere.driver.api.ShardingSphereDataSourceFactory;
import javax.sql.DataSource;
import java.sql.SQLException;
......
......@@ -27,7 +27,7 @@ import org.apache.shardingsphere.sharding.api.config.strategy.StandardShardingSt
import org.apache.shardingsphere.sharding.strategy.algorithm.keygen.SnowflakeKeyGenerateAlgorithm;
import org.apache.shardingsphere.sharding.strategy.algorithm.sharding.inline.InlineShardingAlgorithm;
import org.apache.shardingsphere.sharding.spi.keygen.KeyGenerateAlgorithm;
import org.apache.shardingsphere.shardingjdbc.api.ShardingSphereDataSourceFactory;
import org.apache.shardingsphere.driver.api.ShardingSphereDataSourceFactory;
import org.apache.shardingsphere.infra.config.RuleConfiguration;
import javax.sql.DataSource;
......
......@@ -27,7 +27,7 @@ import org.apache.shardingsphere.sharding.api.config.TableRuleConfiguration;
import org.apache.shardingsphere.sharding.api.config.strategy.StandardShardingStrategyConfiguration;
import org.apache.shardingsphere.sharding.strategy.algorithm.keygen.SnowflakeKeyGenerateAlgorithm;
import org.apache.shardingsphere.sharding.spi.keygen.KeyGenerateAlgorithm;
import org.apache.shardingsphere.shardingjdbc.api.ShardingSphereDataSourceFactory;
import org.apache.shardingsphere.driver.api.ShardingSphereDataSourceFactory;
import org.apache.shardingsphere.infra.config.RuleConfiguration;
import javax.sql.DataSource;
......
......@@ -26,7 +26,7 @@ import org.apache.shardingsphere.sharding.api.config.strategy.StandardShardingSt
import org.apache.shardingsphere.sharding.strategy.algorithm.keygen.SnowflakeKeyGenerateAlgorithm;
import org.apache.shardingsphere.sharding.strategy.algorithm.sharding.inline.InlineShardingAlgorithm;
import org.apache.shardingsphere.sharding.spi.keygen.KeyGenerateAlgorithm;
import org.apache.shardingsphere.shardingjdbc.api.ShardingSphereDataSourceFactory;
import org.apache.shardingsphere.driver.api.ShardingSphereDataSourceFactory;
import org.apache.shardingsphere.infra.config.RuleConfiguration;
import javax.sql.DataSource;
......
......@@ -26,7 +26,7 @@ import org.apache.shardingsphere.sharding.api.config.TableRuleConfiguration;
import org.apache.shardingsphere.sharding.api.config.strategy.StandardShardingStrategyConfiguration;
import org.apache.shardingsphere.sharding.strategy.algorithm.keygen.SnowflakeKeyGenerateAlgorithm;
import org.apache.shardingsphere.sharding.spi.keygen.KeyGenerateAlgorithm;
import org.apache.shardingsphere.shardingjdbc.api.ShardingSphereDataSourceFactory;
import org.apache.shardingsphere.driver.api.ShardingSphereDataSourceFactory;
import org.apache.shardingsphere.infra.config.RuleConfiguration;
import javax.sql.DataSource;
......
......@@ -29,7 +29,7 @@ import org.apache.shardingsphere.sharding.api.config.TableRuleConfiguration;
import org.apache.shardingsphere.sharding.api.config.strategy.StandardShardingStrategyConfiguration;
import org.apache.shardingsphere.sharding.strategy.algorithm.keygen.SnowflakeKeyGenerateAlgorithm;
import org.apache.shardingsphere.sharding.spi.keygen.KeyGenerateAlgorithm;
import org.apache.shardingsphere.shardingjdbc.api.ShardingSphereDataSourceFactory;
import org.apache.shardingsphere.driver.api.ShardingSphereDataSourceFactory;
import javax.sql.DataSource;
import java.sql.SQLException;
......
......@@ -29,7 +29,7 @@ import org.apache.shardingsphere.sharding.api.config.TableRuleConfiguration;
import org.apache.shardingsphere.sharding.api.config.strategy.StandardShardingStrategyConfiguration;
import org.apache.shardingsphere.sharding.strategy.algorithm.keygen.SnowflakeKeyGenerateAlgorithm;
import org.apache.shardingsphere.sharding.spi.keygen.KeyGenerateAlgorithm;
import org.apache.shardingsphere.shardingjdbc.api.ShardingSphereDataSourceFactory;
import org.apache.shardingsphere.driver.api.ShardingSphereDataSourceFactory;
import javax.sql.DataSource;
import java.sql.SQLException;
......
......@@ -26,7 +26,7 @@ import org.apache.shardingsphere.sharding.api.config.TableRuleConfiguration;
import org.apache.shardingsphere.sharding.api.config.strategy.StandardShardingStrategyConfiguration;
import org.apache.shardingsphere.sharding.strategy.algorithm.keygen.SnowflakeKeyGenerateAlgorithm;
import org.apache.shardingsphere.sharding.spi.keygen.KeyGenerateAlgorithm;
import org.apache.shardingsphere.shardingjdbc.api.ShardingSphereDataSourceFactory;
import org.apache.shardingsphere.driver.api.ShardingSphereDataSourceFactory;
import org.apache.shardingsphere.infra.config.RuleConfiguration;
import javax.sql.DataSource;
......
......@@ -26,7 +26,7 @@ import org.apache.shardingsphere.sharding.api.config.TableRuleConfiguration;
import org.apache.shardingsphere.sharding.api.config.strategy.StandardShardingStrategyConfiguration;
import org.apache.shardingsphere.sharding.strategy.algorithm.keygen.SnowflakeKeyGenerateAlgorithm;
import org.apache.shardingsphere.sharding.spi.keygen.KeyGenerateAlgorithm;
import org.apache.shardingsphere.shardingjdbc.api.ShardingSphereDataSourceFactory;
import org.apache.shardingsphere.driver.api.ShardingSphereDataSourceFactory;
import org.apache.shardingsphere.infra.config.RuleConfiguration;
import javax.sql.DataSource;
......
......@@ -18,7 +18,7 @@
package org.apache.shardingsphere.example.sharding.raw.jdbc.factory;
import org.apache.shardingsphere.example.type.ShardingType;
import org.apache.shardingsphere.shardingjdbc.api.yaml.YamlShardingSphereDataSourceFactory;
import org.apache.shardingsphere.driver.api.yaml.YamlShardingSphereDataSourceFactory;
import javax.sql.DataSource;
import java.io.File;
......
......@@ -18,7 +18,7 @@
package org.apache.shardingsphere.example.sharding.raw.jdbc.factory;
import org.apache.shardingsphere.example.type.ShardingType;
import org.apache.shardingsphere.shardingjdbc.api.yaml.YamlShardingSphereDataSourceFactory;
import org.apache.shardingsphere.driver.api.yaml.YamlShardingSphereDataSourceFactory;
import javax.sql.DataSource;
import java.io.File;
......
......@@ -31,7 +31,7 @@
<dependencies>
<dependency>
<groupId>org.apache.shardingsphere</groupId>
<artifactId>sharding-jdbc-core</artifactId>
<artifactId>shardingsphere-jdbc-core</artifactId>
</dependency>
<dependency>
<groupId>org.apache.shardingsphere</groupId>
......
......@@ -17,7 +17,7 @@
package org.apache.shardingsphere.example.transaction.xa.raw.jdbc;
import org.apache.shardingsphere.shardingjdbc.api.yaml.YamlShardingSphereDataSourceFactory;
import org.apache.shardingsphere.driver.api.yaml.YamlShardingSphereDataSourceFactory;
import org.apache.shardingsphere.transaction.core.TransactionType;
import org.apache.shardingsphere.transaction.core.TransactionTypeHolder;
......
......@@ -32,7 +32,7 @@
<dependencies>
<dependency>
<groupId>org.apache.shardingsphere</groupId>
<artifactId>sharding-jdbc-core</artifactId>
<artifactId>shardingsphere-jdbc-core</artifactId>
</dependency>
<dependency>
<groupId>org.apache.shardingsphere</groupId>
......
......@@ -17,7 +17,7 @@
package org.apache.shardingsphere.example.transaction.base.seata.raw.jdbc;
import org.apache.shardingsphere.shardingjdbc.api.yaml.YamlShardingSphereDataSourceFactory;
import org.apache.shardingsphere.driver.api.yaml.YamlShardingSphereDataSourceFactory;
import org.apache.shardingsphere.transaction.core.TransactionType;
import org.apache.shardingsphere.transaction.core.TransactionTypeHolder;
......
......@@ -36,7 +36,7 @@
</dependency>
<dependency>
<groupId>org.apache.shardingsphere</groupId>
<artifactId>sharding-jdbc-core</artifactId>
<artifactId>shardingsphere-jdbc-core</artifactId>
</dependency>
<dependency>
<groupId>org.apache.shardingsphere</groupId>
......
......@@ -39,7 +39,7 @@
<module>shadow-core</module>
<module>master-slave-core</module>
<module>sharding-jdbc</module>
<module>shardingsphere-jdbc</module>
<module>sharding-proxy</module>
<module>sharding-spring</module>
......
......@@ -100,12 +100,12 @@
</dependency>
<dependency>
<groupId>org.apache.shardingsphere</groupId>
<artifactId>sharding-jdbc-core</artifactId>
<artifactId>shardingsphere-jdbc-core</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>org.apache.shardingsphere</groupId>
<artifactId>sharding-jdbc-orchestration</artifactId>
<artifactId>shardingsphere-jdbc-orchestration</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
......
......@@ -100,12 +100,12 @@
</dependency>
<dependency>
<groupId>org.apache.shardingsphere</groupId>
<artifactId>sharding-jdbc-core</artifactId>
<artifactId>shardingsphere-jdbc-core</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>org.apache.shardingsphere</groupId>
<artifactId>sharding-jdbc-orchestration</artifactId>
<artifactId>shardingsphere-jdbc-orchestration</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
......
#
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership.
# The ASF licenses this file to You under the Apache License, Version 2.0
# (the "License"); you may not use this file except in compliance with
# the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
org.apache.shardingsphere.shardingjdbc.orchestration.fixture.FirstTestConfigCenterRepository
org.apache.shardingsphere.shardingjdbc.orchestration.fixture.SecondTestConfigCenterRepository
org.apache.shardingsphere.shardingjdbc.orchestration.fixture.ThirdTestConfigCenterRepository
org.apache.shardingsphere.shardingjdbc.orchestration.fixture.FourthTestConfigCenterRepository
org.apache.shardingsphere.shardingjdbc.orchestration.fixture.FirstTestMetaDataCenterRepository
#
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership.
# The ASF licenses this file to You under the Apache License, Version 2.0
# (the "License"); you may not use this file except in compliance with
# the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
org.apache.shardingsphere.shardingjdbc.orchestration.fixture.FirstTestRegistryCenterRepository
org.apache.shardingsphere.shardingjdbc.orchestration.fixture.SecondTestRegistryCenterRepository
org.apache.shardingsphere.shardingjdbc.orchestration.fixture.ThirdTestRegistryCenterRepository
org.apache.shardingsphere.shardingjdbc.orchestration.fixture.FourthTestRegistryCenterRepository
#
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership.
# The ASF licenses this file to You under the Apache License, Version 2.0
# (the "License"); you may not use this file except in compliance with
# the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
org.apache.shardingsphere.shardingjdbc.orchestration.api.yaml.fixture.MultiAlgorithm
org.apache.shardingsphere.shardingjdbc.orchestration.api.yaml.fixture.StandardAlgorithm
......@@ -35,7 +35,7 @@
<dependencies>
<dependency>
<groupId>org.apache.shardingsphere</groupId>
<artifactId>sharding-jdbc-orchestration</artifactId>
<artifactId>shardingsphere-jdbc-orchestration</artifactId>
<version>${project.version}</version>
</dependency>
......
......@@ -15,25 +15,25 @@
* limitations under the License.
*/
package org.apache.shardingsphere.shardingjdbc.orchestration.spring.boot;
package org.apache.shardingsphere.driver.orchestration.spring.boot;
import com.google.common.base.Preconditions;
import lombok.RequiredArgsConstructor;
import org.apache.shardingsphere.driver.jdbc.core.datasource.ShardingSphereDataSource;
import org.apache.shardingsphere.driver.orchestration.internal.datasource.OrchestrationShardingSphereDataSource;
import org.apache.shardingsphere.driver.orchestration.spring.boot.common.SpringBootRootConfigurationProperties;
import org.apache.shardingsphere.driver.orchestration.spring.boot.rule.LocalRulesCondition;
import org.apache.shardingsphere.driver.orchestration.spring.boot.rule.OrchestrationSpringBootRulesConfigurationProperties;
import org.apache.shardingsphere.driver.orchestration.spring.boot.rule.OrchestrationSpringBootRulesConfigurationYamlSwapper;
import org.apache.shardingsphere.infra.exception.ShardingSphereException;
import org.apache.shardingsphere.orchestration.center.config.CenterConfiguration;
import org.apache.shardingsphere.orchestration.center.config.OrchestrationConfiguration;
import org.apache.shardingsphere.orchestration.center.yaml.config.YamlCenterRepositoryConfiguration;
import org.apache.shardingsphere.orchestration.center.yaml.swapper.CenterRepositoryConfigurationYamlSwapper;
import org.apache.shardingsphere.sharding.strategy.algorithm.sharding.inline.InlineExpressionParser;
import org.apache.shardingsphere.shardingjdbc.jdbc.core.datasource.ShardingSphereDataSource;
import org.apache.shardingsphere.shardingjdbc.orchestration.internal.datasource.OrchestrationShardingSphereDataSource;
import org.apache.shardingsphere.shardingjdbc.orchestration.spring.boot.common.SpringBootRootConfigurationProperties;
import org.apache.shardingsphere.shardingjdbc.orchestration.spring.boot.rule.LocalRulesCondition;
import org.apache.shardingsphere.shardingjdbc.orchestration.spring.boot.rule.OrchestrationSpringBootRulesConfigurationProperties;
import org.apache.shardingsphere.shardingjdbc.orchestration.spring.boot.rule.OrchestrationSpringBootRulesConfigurationYamlSwapper;
import org.apache.shardingsphere.spring.boot.datasource.DataSourcePropertiesSetterHolder;
import org.apache.shardingsphere.spring.boot.util.DataSourceUtil;
import org.apache.shardingsphere.spring.boot.util.PropertyUtil;
import org.apache.shardingsphere.infra.exception.ShardingSphereException;
import org.springframework.boot.autoconfigure.AutoConfigureBefore;
import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty;
......
......@@ -15,7 +15,7 @@
* limitations under the License.
*/
package org.apache.shardingsphere.shardingjdbc.orchestration.spring.boot.rule;
package org.apache.shardingsphere.driver.orchestration.spring.boot.rule;
import org.apache.shardingsphere.spring.boot.util.PropertyUtil;
import org.springframework.boot.autoconfigure.condition.ConditionOutcome;
......
......@@ -15,7 +15,7 @@
* limitations under the License.
*/
package org.apache.shardingsphere.shardingjdbc.orchestration.spring.boot.rule;
package org.apache.shardingsphere.driver.orchestration.spring.boot.rule;
import org.apache.shardingsphere.encrypt.api.config.EncryptRuleConfiguration;
import org.apache.shardingsphere.encrypt.yaml.swapper.EncryptRuleConfigurationYamlSwapper;
......
......@@ -19,47 +19,47 @@
"groups": [
{
"name": "spring.shardingsphere.datasource",
"type": "org.apache.shardingsphere.shardingjdbc.orchestration.spring.boot.OrchestrationSpringBootConfiguration"
"type": "org.apache.shardingsphere.driver.orchestration.spring.boot.OrchestrationSpringBootConfiguration"
},
{
"sourceType": "org.apache.shardingsphere.core.yaml.config.sharding.YamlShardingStrategyConfiguration",
"sourceType": "org.apache.shardingsphere.sharding.yaml.config.YamlShardingStrategyConfiguration",
"name": "spring.shardingsphere.sharding.default-table-strategy",
"type": "org.apache.shardingsphere.core.yaml.config.sharding.YamlShardingStrategyConfiguration"
"type": "org.apache.shardingsphere.sharding.yaml.config.YamlShardingStrategyConfiguration"
},
{
"sourceType": "org.apache.shardingsphere.core.yaml.config.sharding.strategy.YamlComplexShardingStrategyConfiguration",
"sourceType": "org.apache.shardingsphere.sharding.yaml.config.strategy.YamlComplexShardingStrategyConfiguration",
"name": "spring.shardingsphere.sharding.default-table-strategy.complex",
"type": "org.apache.shardingsphere.core.yaml.config.sharding.strategy.YamlComplexShardingStrategyConfiguration"
"type": "org.apache.shardingsphere.sharding.yaml.config.strategy.YamlComplexShardingStrategyConfiguration"
},
{
"sourceType": "org.apache.shardingsphere.core.yaml.config.sharding.strategy.YamlHintShardingStrategyConfiguration",
"sourceType": "org.apache.shardingsphere.sharding.yaml.config.strategy.YamlHintShardingStrategyConfiguration",
"name": "spring.shardingsphere.sharding.default-table-strategy.hint",
"type": "org.apache.shardingsphere.core.yaml.config.sharding.strategy.YamlHintShardingStrategyConfiguration"
"type": "org.apache.shardingsphere.sharding.yaml.config.strategy.YamlHintShardingStrategyConfiguration"
},
{
"sourceType": "org.apache.shardingsphere.core.yaml.config.sharding.strategy.YamlStandardShardingStrategyConfiguration",
"sourceType": "org.apache.shardingsphere.sharding.yaml.config.strategy.YamlStandardShardingStrategyConfiguration",
"name": "spring.shardingsphere.sharding.default-table-strategy.standard",
"type": "org.apache.shardingsphere.core.yaml.config.sharding.strategy.YamlStandardShardingStrategyConfiguration"
"type": "org.apache.shardingsphere.sharding.yaml.config.strategy.YamlStandardShardingStrategyConfiguration"
},
{
"sourceType": "org.apache.shardingsphere.core.yaml.config.sharding.YamlShardingStrategyConfiguration",
"sourceType": "org.apache.shardingsphere.sharding.yaml.config.YamlShardingStrategyConfiguration",
"name": "spring.shardingsphere.sharding.default-database-strategy",
"type": "org.apache.shardingsphere.core.yaml.config.sharding.YamlShardingStrategyConfiguration"
"type": "org.apache.shardingsphere.sharding.yaml.config.YamlShardingStrategyConfiguration"
},
{
"sourceType": "org.apache.shardingsphere.core.yaml.config.sharding.strategy.YamlComplexShardingStrategyConfiguration",
"sourceType": "org.apache.shardingsphere.sharding.yaml.config.strategy.YamlComplexShardingStrategyConfiguration",
"name": "spring.shardingsphere.sharding.default-database-strategy.complex",
"type": "org.apache.shardingsphere.core.yaml.config.sharding.strategy.YamlComplexShardingStrategyConfiguration"
"type": "org.apache.shardingsphere.sharding.yaml.config.strategy.YamlComplexShardingStrategyConfiguration"
},
{
"sourceType": "org.apache.shardingsphere.core.yaml.config.sharding.strategy.YamlHintShardingStrategyConfiguration",
"sourceType": "org.apache.shardingsphere.sharding.yaml.config.strategy.YamlHintShardingStrategyConfiguration",
"name": "spring.shardingsphere.sharding.default-database-strategy.hint",
"type": "org.apache.shardingsphere.core.yaml.config.sharding.strategy.YamlHintShardingStrategyConfiguration"
"type": "org.apache.shardingsphere.sharding.yaml.config.strategy.YamlHintShardingStrategyConfiguration"
},
{
"sourceType": "org.apache.shardingsphere.core.yaml.config.sharding.strategy.YamlStandardShardingStrategyConfiguration",
"sourceType": "org.apache.shardingsphere.sharding.yaml.config.strategy.YamlStandardShardingStrategyConfiguration",
"name": "spring.shardingsphere.sharding.default-database-strategy.standard",
"type": "org.apache.shardingsphere.core.yaml.config.sharding.strategy.YamlStandardShardingStrategyConfiguration"
"type": "org.apache.shardingsphere.sharding.yaml.config.strategy.YamlStandardShardingStrategyConfiguration"
}
],
"properties": [
......@@ -72,19 +72,19 @@
{
"name": "spring.shardingsphere.props",
"type": "java.util.Properties",
"sourceType": "org.apache.shardingsphere.shardingjdbc.orchestration.spring.boot.common.SpringBootRootConfigurationProperties",
"sourceType": "org.apache.shardingsphere.driver.orchestration.spring.boot.common.SpringBootRootConfigurationProperties",
"description": "Customize shardingsphere properties."
},
{
"name": "spring.shardingsphere.orchestration",
"type": "java.util.Map<java.lang.String,org.apache.shardingsphere.orchestration.center.yaml.config.YamlInstanceConfiguration>",
"sourceType": "org.apache.shardingsphere.shardingjdbc.orchestration.spring.boot.common.SpringBootRootConfigurationProperties",
"type": "java.util.Map<java.lang.String,org.apache.shardingsphere.orchestration.center.yaml.config.YamlCenterRepositoryConfiguration>",
"sourceType": "org.apache.shardingsphere.driver.orchestration.spring.boot.common.SpringBootRootConfigurationProperties",
"description": "Customize ShardingSphere orchestration instance."
},
{
"name": "spring.shardingsphere.datasource.names",
"type": "java.lang.String",
"sourceType": "org.apache.shardingsphere.shardingjdbc.orchestration.spring.boot.OrchestrationSpringBootConfiguration"
"sourceType": "org.apache.shardingsphere.driver.orchestration.spring.boot.OrchestrationSpringBootConfiguration"
},
{
"name": "spring.shardingsphere.datasource",
......@@ -92,102 +92,102 @@
"sourceType": "org.apache.shardingsphere.spring.boot.util.DataSourceUtil"
},
{
"sourceType": "org.apache.shardingsphere.core.yaml.config.sharding.YamlShardingStrategyConfiguration",
"sourceType": "org.apache.shardingsphere.sharding.yaml.config.YamlShardingStrategyConfiguration",
"name": "spring.shardingsphere.sharding.default-database-strategy.complex",
"type": "org.apache.shardingsphere.core.yaml.config.sharding.strategy.YamlComplexShardingStrategyConfiguration"
"type": "org.apache.shardingsphere.sharding.yaml.config.strategy.YamlComplexShardingStrategyConfiguration"
},
{
"sourceType": "org.apache.shardingsphere.core.yaml.config.sharding.strategy.YamlComplexShardingStrategyConfiguration",
"sourceType": "org.apache.shardingsphere.sharding.yaml.config.strategy.YamlComplexShardingStrategyConfiguration",
"name": "spring.shardingsphere.sharding.default-database-strategy.complex.algorithm-class-name",
"type": "java.lang.String"
},
{
"sourceType": "org.apache.shardingsphere.core.yaml.config.sharding.strategy.YamlComplexShardingStrategyConfiguration",
"sourceType": "org.apache.shardingsphere.sharding.yaml.config.strategy.YamlComplexShardingStrategyConfiguration",
"name": "spring.shardingsphere.sharding.default-database-strategy.complex.sharding-columns",
"type": "java.lang.String"
},
{
"sourceType": "org.apache.shardingsphere.core.yaml.config.sharding.YamlShardingStrategyConfiguration",
"sourceType": "org.apache.shardingsphere.sharding.yaml.config.YamlShardingStrategyConfiguration",
"name": "spring.shardingsphere.sharding.default-database-strategy.hint",
"type": "org.apache.shardingsphere.core.yaml.config.sharding.strategy.YamlHintShardingStrategyConfiguration"
"type": "org.apache.shardingsphere.sharding.yaml.config.strategy.YamlHintShardingStrategyConfiguration"
},
{
"sourceType": "org.apache.shardingsphere.core.yaml.config.sharding.strategy.YamlHintShardingStrategyConfiguration",
"sourceType": "org.apache.shardingsphere.sharding.yaml.config.strategy.YamlHintShardingStrategyConfiguration",
"name": "spring.shardingsphere.sharding.default-database-strategy.hint.algorithm-class-name",
"type": "java.lang.String"
},
{
"sourceType": "org.apache.shardingsphere.core.yaml.config.sharding.YamlShardingStrategyConfiguration",
"sourceType": "org.apache.shardingsphere.sharding.yaml.config.YamlShardingStrategyConfiguration",
"name": "spring.shardingsphere.sharding.default-database-strategy.none",
"type": "org.apache.shardingsphere.core.yaml.config.sharding.strategy.YamlNoneShardingStrategyConfiguration"
"type": "org.apache.shardingsphere.sharding.yaml.config.strategy.YamlNoneShardingStrategyConfiguration"
},
{
"sourceType": "org.apache.shardingsphere.core.yaml.config.sharding.YamlShardingStrategyConfiguration",
"sourceType": "org.apache.shardingsphere.sharding.yaml.config.YamlShardingStrategyConfiguration",
"name": "spring.shardingsphere.sharding.default-database-strategy.standard",
"type": "org.apache.shardingsphere.core.yaml.config.sharding.strategy.YamlStandardShardingStrategyConfiguration"
"type": "org.apache.shardingsphere.sharding.yaml.config.strategy.YamlStandardShardingStrategyConfiguration"
},
{
"sourceType": "org.apache.shardingsphere.core.yaml.config.sharding.strategy.YamlStandardShardingStrategyConfiguration",
"sourceType": "org.apache.shardingsphere.sharding.yaml.config.strategy.YamlStandardShardingStrategyConfiguration",
"name": "spring.shardingsphere.sharding.default-database-strategy.standard.precise-algorithm-class-name",
"type": "java.lang.String"
},
{
"sourceType": "org.apache.shardingsphere.core.yaml.config.sharding.strategy.YamlStandardShardingStrategyConfiguration",
"sourceType": "org.apache.shardingsphere.sharding.yaml.config.strategy.YamlStandardShardingStrategyConfiguration",
"name": "spring.shardingsphere.sharding.default-database-strategy.standard.range-algorithm-class-name",
"type": "java.lang.String"
},
{
"sourceType": "org.apache.shardingsphere.core.yaml.config.sharding.strategy.YamlStandardShardingStrategyConfiguration",
"sourceType": "org.apache.shardingsphere.sharding.yaml.config.strategy.YamlStandardShardingStrategyConfiguration",
"name": "spring.shardingsphere.sharding.default-database-strategy.standard.sharding-column",
"type": "java.lang.String"
},
{
"sourceType": "org.apache.shardingsphere.core.yaml.config.sharding.YamlShardingStrategyConfiguration",
"sourceType": "org.apache.shardingsphere.sharding.yaml.config.YamlShardingStrategyConfiguration",
"name": "spring.shardingsphere.sharding.default-table-strategy.complex",
"type": "org.apache.shardingsphere.core.yaml.config.sharding.strategy.YamlComplexShardingStrategyConfiguration"
"type": "org.apache.shardingsphere.sharding.yaml.config.strategy.YamlComplexShardingStrategyConfiguration"
},
{
"sourceType": "org.apache.shardingsphere.core.yaml.config.sharding.strategy.YamlComplexShardingStrategyConfiguration",
"sourceType": "org.apache.shardingsphere.sharding.yaml.config.strategy.YamlComplexShardingStrategyConfiguration",
"name": "spring.shardingsphere.sharding.default-table-strategy.complex.algorithm-class-name",
"type": "java.lang.String"
},
{
"sourceType": "org.apache.shardingsphere.core.yaml.config.sharding.strategy.YamlComplexShardingStrategyConfiguration",
"sourceType": "org.apache.shardingsphere.sharding.yaml.config.strategy.YamlComplexShardingStrategyConfiguration",
"name": "spring.shardingsphere.sharding.default-table-strategy.complex.sharding-columns",
"type": "java.lang.String"
},
{
"sourceType": "org.apache.shardingsphere.core.yaml.config.sharding.YamlShardingStrategyConfiguration",
"sourceType": "org.apache.shardingsphere.sharding.yaml.config.YamlShardingStrategyConfiguration",
"name": "spring.shardingsphere.sharding.default-table-strategy.hint",
"type": "org.apache.shardingsphere.core.yaml.config.sharding.strategy.YamlHintShardingStrategyConfiguration"
"type": "org.apache.shardingsphere.sharding.yaml.config.strategy.YamlHintShardingStrategyConfiguration"
},
{
"sourceType": "org.apache.shardingsphere.core.yaml.config.sharding.strategy.YamlHintShardingStrategyConfiguration",
"sourceType": "org.apache.shardingsphere.sharding.yaml.config.strategy.YamlHintShardingStrategyConfiguration",
"name": "spring.shardingsphere.sharding.default-table-strategy.hint.algorithm-class-name",
"type": "java.lang.String"
},
{
"sourceType": "org.apache.shardingsphere.core.yaml.config.sharding.YamlShardingStrategyConfiguration",
"sourceType": "org.apache.shardingsphere.sharding.yaml.config.YamlShardingStrategyConfiguration",
"name": "spring.shardingsphere.sharding.default-table-strategy.none",
"type": "org.apache.shardingsphere.core.yaml.config.sharding.strategy.YamlNoneShardingStrategyConfiguration"
"type": "org.apache.shardingsphere.sharding.yaml.config.strategy.YamlNoneShardingStrategyConfiguration"
},
{
"sourceType": "org.apache.shardingsphere.core.yaml.config.sharding.YamlShardingStrategyConfiguration",
"sourceType": "org.apache.shardingsphere.sharding.yaml.config.YamlShardingStrategyConfiguration",
"name": "spring.shardingsphere.sharding.default-table-strategy.standard",
"type": "org.apache.shardingsphere.core.yaml.config.sharding.strategy.YamlStandardShardingStrategyConfiguration"
"type": "org.apache.shardingsphere.sharding.yaml.config.strategy.YamlStandardShardingStrategyConfiguration"
},
{
"sourceType": "org.apache.shardingsphere.core.yaml.config.sharding.strategy.YamlStandardShardingStrategyConfiguration",
"sourceType": "org.apache.shardingsphere.sharding.yaml.config.strategy.YamlStandardShardingStrategyConfiguration",
"name": "spring.shardingsphere.sharding.default-table-strategy.standard.precise-algorithm-class-name",
"type": "java.lang.String"
},
{
"sourceType": "org.apache.shardingsphere.core.yaml.config.sharding.strategy.YamlStandardShardingStrategyConfiguration",
"sourceType": "org.apache.shardingsphere.sharding.yaml.config.strategy.YamlStandardShardingStrategyConfiguration",
"name": "spring.shardingsphere.sharding.default-table-strategy.standard.range-algorithm-class-name",
"type": "java.lang.String"
},
{
"sourceType": "org.apache.shardingsphere.core.yaml.config.sharding.strategy.YamlStandardShardingStrategyConfiguration",
"sourceType": "org.apache.shardingsphere.sharding.yaml.config.strategy.YamlStandardShardingStrategyConfiguration",
"name": "spring.shardingsphere.sharding.default-table-strategy.standard.sharding-column",
"type": "java.lang.String"
}
......
......@@ -16,4 +16,4 @@
#
org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
org.apache.shardingsphere.shardingjdbc.orchestration.spring.boot.OrchestrationSpringBootConfiguration
org.apache.shardingsphere.driver.orchestration.spring.boot.OrchestrationSpringBootConfiguration
......@@ -15,14 +15,14 @@
* limitations under the License.
*/
package org.apache.shardingsphere.shardingjdbc.orchestration.spring.boot.type;
package org.apache.shardingsphere.driver.orchestration.spring.boot.type;
import lombok.SneakyThrows;
import org.apache.commons.dbcp2.BasicDataSource;
import org.apache.shardingsphere.driver.jdbc.core.datasource.ShardingSphereDataSource;
import org.apache.shardingsphere.driver.orchestration.internal.datasource.OrchestrationShardingSphereDataSource;
import org.apache.shardingsphere.driver.orchestration.spring.boot.util.EmbedTestingServer;
import org.apache.shardingsphere.encrypt.api.config.EncryptRuleConfiguration;
import org.apache.shardingsphere.shardingjdbc.jdbc.core.datasource.ShardingSphereDataSource;
import org.apache.shardingsphere.shardingjdbc.orchestration.internal.datasource.OrchestrationShardingSphereDataSource;
import org.apache.shardingsphere.shardingjdbc.orchestration.spring.boot.util.EmbedTestingServer;
import org.junit.BeforeClass;
import org.junit.Test;
import org.junit.runner.RunWith;
......
......@@ -15,16 +15,16 @@
* limitations under the License.
*/
package org.apache.shardingsphere.shardingjdbc.orchestration.spring.boot.type;
package org.apache.shardingsphere.driver.orchestration.spring.boot.type;
import lombok.SneakyThrows;
import org.apache.commons.dbcp2.BasicDataSource;
import org.apache.shardingsphere.driver.jdbc.core.datasource.ShardingSphereDataSource;
import org.apache.shardingsphere.driver.orchestration.internal.datasource.OrchestrationShardingSphereDataSource;
import org.apache.shardingsphere.driver.orchestration.spring.boot.util.EmbedTestingServer;
import org.apache.shardingsphere.infra.rule.ShardingSphereRule;
import org.apache.shardingsphere.masterslave.rule.MasterSlaveDataSourceRule;
import org.apache.shardingsphere.masterslave.rule.MasterSlaveRule;
import org.apache.shardingsphere.shardingjdbc.jdbc.core.datasource.ShardingSphereDataSource;
import org.apache.shardingsphere.shardingjdbc.orchestration.internal.datasource.OrchestrationShardingSphereDataSource;
import org.apache.shardingsphere.shardingjdbc.orchestration.spring.boot.util.EmbedTestingServer;
import org.apache.shardingsphere.infra.rule.ShardingSphereRule;
import org.junit.BeforeClass;
import org.junit.Test;
import org.junit.runner.RunWith;
......
......@@ -15,14 +15,14 @@
* limitations under the License.
*/
package org.apache.shardingsphere.shardingjdbc.orchestration.spring.boot.type;
package org.apache.shardingsphere.driver.orchestration.spring.boot.type;
import org.apache.commons.dbcp2.BasicDataSource;
import org.apache.shardingsphere.driver.jdbc.core.datasource.ShardingSphereDataSource;
import org.apache.shardingsphere.driver.orchestration.internal.datasource.OrchestrationShardingSphereDataSource;
import org.apache.shardingsphere.driver.orchestration.spring.boot.registry.TestCenterRepository;
import org.apache.shardingsphere.driver.orchestration.spring.boot.util.EmbedTestingServer;
import org.apache.shardingsphere.encrypt.api.config.EncryptRuleConfiguration;
import org.apache.shardingsphere.shardingjdbc.jdbc.core.datasource.ShardingSphereDataSource;
import org.apache.shardingsphere.shardingjdbc.orchestration.internal.datasource.OrchestrationShardingSphereDataSource;
import org.apache.shardingsphere.shardingjdbc.orchestration.spring.boot.registry.TestCenterRepository;
import org.apache.shardingsphere.shardingjdbc.orchestration.spring.boot.util.EmbedTestingServer;
import org.junit.BeforeClass;
import org.junit.Test;
import org.junit.runner.RunWith;
......
......@@ -15,14 +15,14 @@
* limitations under the License.
*/
package org.apache.shardingsphere.shardingjdbc.orchestration.spring.boot.type;
package org.apache.shardingsphere.driver.orchestration.spring.boot.type;
import lombok.SneakyThrows;
import org.apache.commons.dbcp2.BasicDataSource;
import org.apache.shardingsphere.shardingjdbc.jdbc.core.datasource.ShardingSphereDataSource;
import org.apache.shardingsphere.shardingjdbc.orchestration.internal.datasource.OrchestrationShardingSphereDataSource;
import org.apache.shardingsphere.shardingjdbc.orchestration.spring.boot.registry.TestCenterRepository;
import org.apache.shardingsphere.shardingjdbc.orchestration.spring.boot.util.EmbedTestingServer;
import org.apache.shardingsphere.driver.jdbc.core.datasource.ShardingSphereDataSource;
import org.apache.shardingsphere.driver.orchestration.internal.datasource.OrchestrationShardingSphereDataSource;
import org.apache.shardingsphere.driver.orchestration.spring.boot.registry.TestCenterRepository;
import org.apache.shardingsphere.driver.orchestration.spring.boot.util.EmbedTestingServer;
import org.junit.BeforeClass;
import org.junit.Test;
import org.junit.runner.RunWith;
......
......@@ -15,21 +15,21 @@
* limitations under the License.
*/
package org.apache.shardingsphere.shardingjdbc.orchestration.spring.boot.type;
package org.apache.shardingsphere.driver.orchestration.spring.boot.type;
import lombok.SneakyThrows;
import org.apache.commons.dbcp2.BasicDataSource;
import org.apache.shardingsphere.sharding.rule.ShardingRule;
import org.apache.shardingsphere.sharding.rule.TableRule;
import org.apache.shardingsphere.sharding.strategy.route.standard.StandardShardingStrategy;
import org.apache.shardingsphere.shardingjdbc.jdbc.core.context.RuntimeContext;
import org.apache.shardingsphere.shardingjdbc.jdbc.core.datasource.ShardingSphereDataSource;
import org.apache.shardingsphere.shardingjdbc.orchestration.internal.datasource.OrchestrationShardingSphereDataSource;
import org.apache.shardingsphere.shardingjdbc.orchestration.spring.boot.registry.TestCenterRepository;
import org.apache.shardingsphere.shardingjdbc.orchestration.spring.boot.util.EmbedTestingServer;
import org.apache.shardingsphere.driver.jdbc.core.context.RuntimeContext;
import org.apache.shardingsphere.driver.jdbc.core.datasource.ShardingSphereDataSource;
import org.apache.shardingsphere.driver.orchestration.internal.datasource.OrchestrationShardingSphereDataSource;
import org.apache.shardingsphere.driver.orchestration.spring.boot.registry.TestCenterRepository;
import org.apache.shardingsphere.driver.orchestration.spring.boot.util.EmbedTestingServer;
import org.apache.shardingsphere.infra.config.properties.ConfigurationProperties;
import org.apache.shardingsphere.infra.config.properties.ConfigurationPropertyKey;
import org.apache.shardingsphere.infra.datanode.DataNode;
import org.apache.shardingsphere.sharding.rule.ShardingRule;
import org.apache.shardingsphere.sharding.rule.TableRule;
import org.apache.shardingsphere.sharding.strategy.route.standard.StandardShardingStrategy;
import org.junit.BeforeClass;
import org.junit.Test;
import org.junit.runner.RunWith;
......
......@@ -15,20 +15,20 @@
* limitations under the License.
*/
package org.apache.shardingsphere.shardingjdbc.orchestration.spring.boot.type;
package org.apache.shardingsphere.driver.orchestration.spring.boot.type;
import lombok.SneakyThrows;
import org.apache.commons.dbcp2.BasicDataSource;
import org.apache.shardingsphere.sharding.rule.ShardingRule;
import org.apache.shardingsphere.sharding.rule.TableRule;
import org.apache.shardingsphere.sharding.strategy.route.standard.StandardShardingStrategy;
import org.apache.shardingsphere.shardingjdbc.jdbc.core.context.RuntimeContext;
import org.apache.shardingsphere.shardingjdbc.jdbc.core.datasource.ShardingSphereDataSource;
import org.apache.shardingsphere.shardingjdbc.orchestration.internal.datasource.OrchestrationShardingSphereDataSource;
import org.apache.shardingsphere.shardingjdbc.orchestration.spring.boot.util.EmbedTestingServer;
import org.apache.shardingsphere.driver.jdbc.core.context.RuntimeContext;
import org.apache.shardingsphere.driver.jdbc.core.datasource.ShardingSphereDataSource;
import org.apache.shardingsphere.driver.orchestration.internal.datasource.OrchestrationShardingSphereDataSource;
import org.apache.shardingsphere.driver.orchestration.spring.boot.util.EmbedTestingServer;
import org.apache.shardingsphere.infra.config.properties.ConfigurationProperties;
import org.apache.shardingsphere.infra.config.properties.ConfigurationPropertyKey;
import org.apache.shardingsphere.infra.datanode.DataNode;
import org.apache.shardingsphere.sharding.rule.ShardingRule;
import org.apache.shardingsphere.sharding.rule.TableRule;
import org.apache.shardingsphere.sharding.strategy.route.standard.StandardShardingStrategy;
import org.junit.BeforeClass;
import org.junit.Test;
import org.junit.runner.RunWith;
......
......@@ -15,4 +15,4 @@
# limitations under the License.
#
org.apache.shardingsphere.shardingjdbc.orchestration.spring.boot.registry.TestCenterRepository
org.apache.shardingsphere.driver.orchestration.spring.boot.registry.TestCenterRepository
......@@ -15,4 +15,4 @@
# limitations under the License.
#
org.apache.shardingsphere.shardingjdbc.orchestration.spring.boot.registry.TestCenterRepository
org.apache.shardingsphere.driver.orchestration.spring.boot.registry.TestCenterRepository
......@@ -15,11 +15,11 @@
* limitations under the License.
*/
package org.apache.shardingsphere.shardingjdbc.orchestration.spring.datasource;
package org.apache.shardingsphere.driver.orchestration.spring.datasource;
import org.apache.shardingsphere.driver.jdbc.core.datasource.ShardingSphereDataSource;
import org.apache.shardingsphere.driver.orchestration.internal.datasource.OrchestrationShardingSphereDataSource;
import org.apache.shardingsphere.orchestration.center.config.OrchestrationConfiguration;
import org.apache.shardingsphere.shardingjdbc.jdbc.core.datasource.ShardingSphereDataSource;
import org.apache.shardingsphere.shardingjdbc.orchestration.internal.datasource.OrchestrationShardingSphereDataSource;
import javax.sql.DataSource;
import java.sql.SQLException;
......
......@@ -15,14 +15,14 @@
* limitations under the License.
*/
package org.apache.shardingsphere.shardingjdbc.orchestration.spring.namespace.handler;
package org.apache.shardingsphere.driver.orchestration.spring.namespace.handler;
import org.apache.shardingsphere.shardingjdbc.orchestration.spring.namespace.constants.EncryptDataSourceBeanDefinitionParserTag;
import org.apache.shardingsphere.shardingjdbc.orchestration.spring.namespace.constants.InstanceBeanDefinitionParserTag;
import org.apache.shardingsphere.shardingjdbc.orchestration.spring.namespace.constants.MasterSlaveDataSourceBeanDefinitionParserTag;
import org.apache.shardingsphere.shardingjdbc.orchestration.spring.namespace.constants.ShardingDataSourceBeanDefinitionParserTag;
import org.apache.shardingsphere.shardingjdbc.orchestration.spring.namespace.parser.DataSourceBeanDefinitionParser;
import org.apache.shardingsphere.shardingjdbc.orchestration.spring.namespace.parser.InstanceBeanDefinitionParser;
import org.apache.shardingsphere.driver.orchestration.spring.namespace.constants.EncryptDataSourceBeanDefinitionParserTag;
import org.apache.shardingsphere.driver.orchestration.spring.namespace.constants.InstanceBeanDefinitionParserTag;
import org.apache.shardingsphere.driver.orchestration.spring.namespace.constants.MasterSlaveDataSourceBeanDefinitionParserTag;
import org.apache.shardingsphere.driver.orchestration.spring.namespace.constants.ShardingDataSourceBeanDefinitionParserTag;
import org.apache.shardingsphere.driver.orchestration.spring.namespace.parser.DataSourceBeanDefinitionParser;
import org.apache.shardingsphere.driver.orchestration.spring.namespace.parser.InstanceBeanDefinitionParser;
import org.springframework.beans.factory.xml.NamespaceHandlerSupport;
/**
......
......@@ -15,13 +15,13 @@
* limitations under the License.
*/
package org.apache.shardingsphere.shardingjdbc.orchestration.spring.namespace.parser;
package org.apache.shardingsphere.driver.orchestration.spring.namespace.parser;
import com.google.common.base.Splitter;
import com.google.common.base.Strings;
import org.apache.shardingsphere.driver.orchestration.spring.datasource.OrchestrationSpringShardingSphereDataSource;
import org.apache.shardingsphere.driver.orchestration.spring.namespace.constants.ShardingDataSourceBeanDefinitionParserTag;
import org.apache.shardingsphere.orchestration.center.config.OrchestrationConfiguration;
import org.apache.shardingsphere.shardingjdbc.orchestration.spring.datasource.OrchestrationSpringShardingSphereDataSource;
import org.apache.shardingsphere.shardingjdbc.orchestration.spring.namespace.constants.ShardingDataSourceBeanDefinitionParserTag;
import org.springframework.beans.factory.config.BeanDefinition;
import org.springframework.beans.factory.config.RuntimeBeanReference;
import org.springframework.beans.factory.support.AbstractBeanDefinition;
......
......@@ -15,10 +15,10 @@
* limitations under the License.
*/
package org.apache.shardingsphere.shardingjdbc.orchestration.spring.namespace.parser;
package org.apache.shardingsphere.driver.orchestration.spring.namespace.parser;
import com.google.common.base.Strings;
import org.apache.shardingsphere.shardingjdbc.orchestration.spring.namespace.constants.InstanceBeanDefinitionParserTag;
import org.apache.shardingsphere.driver.orchestration.spring.namespace.constants.InstanceBeanDefinitionParserTag;
import org.apache.shardingsphere.orchestration.center.config.CenterConfiguration;
import org.springframework.beans.factory.support.AbstractBeanDefinition;
import org.springframework.beans.factory.support.BeanDefinitionBuilder;
......
......@@ -15,4 +15,4 @@
# limitations under the License.
#
http\://shardingsphere.apache.org/schema/shardingsphere/orchestration=org.apache.shardingsphere.shardingjdbc.orchestration.spring.namespace.handler.OrchestrationNamespaceHandler
http\://shardingsphere.apache.org/schema/shardingsphere/orchestration=org.apache.shardingsphere.driver.orchestration.spring.namespace.handler.OrchestrationNamespaceHandler
......@@ -15,14 +15,14 @@
* limitations under the License.
*/
package org.apache.shardingsphere.shardingjdbc.orchestration.spring;
package org.apache.shardingsphere.driver.orchestration.spring;
import org.apache.shardingsphere.driver.jdbc.core.datasource.ShardingSphereDataSource;
import org.apache.shardingsphere.driver.orchestration.spring.datasource.OrchestrationSpringShardingSphereDataSource;
import org.apache.shardingsphere.driver.orchestration.spring.util.EmbedTestingServer;
import org.apache.shardingsphere.driver.orchestration.spring.util.FieldValueUtil;
import org.apache.shardingsphere.encrypt.api.config.EncryptRuleConfiguration;
import org.apache.shardingsphere.encrypt.api.config.EncryptorRuleConfiguration;
import org.apache.shardingsphere.shardingjdbc.jdbc.core.datasource.ShardingSphereDataSource;
import org.apache.shardingsphere.shardingjdbc.orchestration.spring.datasource.OrchestrationSpringShardingSphereDataSource;
import org.apache.shardingsphere.shardingjdbc.orchestration.spring.util.EmbedTestingServer;
import org.apache.shardingsphere.shardingjdbc.orchestration.spring.util.FieldValueUtil;
import org.apache.shardingsphere.infra.config.properties.ConfigurationProperties;
import org.apache.shardingsphere.infra.config.properties.ConfigurationPropertyKey;
import org.junit.BeforeClass;
......
......@@ -15,19 +15,19 @@
* limitations under the License.
*/
package org.apache.shardingsphere.shardingjdbc.orchestration.spring;
package org.apache.shardingsphere.driver.orchestration.spring;
import org.apache.shardingsphere.driver.jdbc.core.datasource.ShardingSphereDataSource;
import org.apache.shardingsphere.driver.orchestration.spring.datasource.OrchestrationSpringShardingSphereDataSource;
import org.apache.shardingsphere.driver.orchestration.spring.util.EmbedTestingServer;
import org.apache.shardingsphere.driver.orchestration.spring.util.FieldValueUtil;
import org.apache.shardingsphere.infra.config.properties.ConfigurationProperties;
import org.apache.shardingsphere.infra.config.properties.ConfigurationPropertyKey;
import org.apache.shardingsphere.masterslave.rule.MasterSlaveDataSourceRule;
import org.apache.shardingsphere.masterslave.rule.MasterSlaveRule;
import org.apache.shardingsphere.masterslave.spi.MasterSlaveLoadBalanceAlgorithm;
import org.apache.shardingsphere.masterslave.strategy.RandomMasterSlaveLoadBalanceAlgorithm;
import org.apache.shardingsphere.masterslave.strategy.RoundRobinMasterSlaveLoadBalanceAlgorithm;
import org.apache.shardingsphere.shardingjdbc.jdbc.core.datasource.ShardingSphereDataSource;
import org.apache.shardingsphere.shardingjdbc.orchestration.spring.datasource.OrchestrationSpringShardingSphereDataSource;
import org.apache.shardingsphere.shardingjdbc.orchestration.spring.util.EmbedTestingServer;
import org.apache.shardingsphere.shardingjdbc.orchestration.spring.util.FieldValueUtil;
import org.apache.shardingsphere.infra.config.properties.ConfigurationProperties;
import org.apache.shardingsphere.infra.config.properties.ConfigurationPropertyKey;
import org.junit.BeforeClass;
import org.junit.Ignore;
import org.junit.Test;
......
......@@ -15,13 +15,13 @@
* limitations under the License.
*/
package org.apache.shardingsphere.shardingjdbc.orchestration.spring;
package org.apache.shardingsphere.driver.orchestration.spring;
import org.apache.shardingsphere.driver.jdbc.core.datasource.ShardingSphereDataSource;
import org.apache.shardingsphere.driver.orchestration.spring.datasource.OrchestrationSpringShardingSphereDataSource;
import org.apache.shardingsphere.driver.orchestration.spring.util.EmbedTestingServer;
import org.apache.shardingsphere.driver.orchestration.spring.util.FieldValueUtil;
import org.apache.shardingsphere.sharding.rule.ShardingRule;
import org.apache.shardingsphere.shardingjdbc.jdbc.core.datasource.ShardingSphereDataSource;
import org.apache.shardingsphere.shardingjdbc.orchestration.spring.datasource.OrchestrationSpringShardingSphereDataSource;
import org.apache.shardingsphere.shardingjdbc.orchestration.spring.util.EmbedTestingServer;
import org.apache.shardingsphere.shardingjdbc.orchestration.spring.util.FieldValueUtil;
import org.junit.BeforeClass;
import org.junit.Test;
import org.springframework.test.context.ContextConfiguration;
......
......@@ -15,20 +15,20 @@
* limitations under the License.
*/
package org.apache.shardingsphere.shardingjdbc.orchestration.spring;
package org.apache.shardingsphere.driver.orchestration.spring;
import org.apache.shardingsphere.driver.jdbc.core.datasource.ShardingSphereDataSource;
import org.apache.shardingsphere.driver.orchestration.spring.datasource.OrchestrationSpringShardingSphereDataSource;
import org.apache.shardingsphere.driver.orchestration.spring.fixture.IncrementKeyGenerateAlgorithm;
import org.apache.shardingsphere.driver.orchestration.spring.util.EmbedTestingServer;
import org.apache.shardingsphere.driver.orchestration.spring.util.FieldValueUtil;
import org.apache.shardingsphere.infra.config.properties.ConfigurationProperties;
import org.apache.shardingsphere.infra.config.properties.ConfigurationPropertyKey;
import org.apache.shardingsphere.infra.datanode.DataNode;
import org.apache.shardingsphere.sharding.api.config.strategy.StandardShardingStrategyConfiguration;
import org.apache.shardingsphere.sharding.rule.BindingTableRule;
import org.apache.shardingsphere.sharding.rule.ShardingRule;
import org.apache.shardingsphere.sharding.rule.TableRule;
import org.apache.shardingsphere.shardingjdbc.jdbc.core.datasource.ShardingSphereDataSource;
import org.apache.shardingsphere.shardingjdbc.orchestration.spring.datasource.OrchestrationSpringShardingSphereDataSource;
import org.apache.shardingsphere.shardingjdbc.orchestration.spring.fixture.IncrementKeyGenerateAlgorithm;
import org.apache.shardingsphere.shardingjdbc.orchestration.spring.util.EmbedTestingServer;
import org.apache.shardingsphere.shardingjdbc.orchestration.spring.util.FieldValueUtil;
import org.apache.shardingsphere.infra.config.properties.ConfigurationProperties;
import org.apache.shardingsphere.infra.config.properties.ConfigurationPropertyKey;
import org.apache.shardingsphere.infra.datanode.DataNode;
import org.junit.BeforeClass;
import org.junit.Test;
import org.springframework.test.context.ContextConfiguration;
......
......@@ -15,7 +15,7 @@
* limitations under the License.
*/
package org.apache.shardingsphere.shardingjdbc.orchestration.spring.algorithm;
package org.apache.shardingsphere.driver.orchestration.spring.algorithm;
import org.apache.shardingsphere.sharding.api.sharding.complex.ComplexKeysShardingAlgorithm;
import org.apache.shardingsphere.sharding.api.sharding.complex.ComplexKeysShardingValue;
......
......@@ -15,7 +15,7 @@
* limitations under the License.
*/
package org.apache.shardingsphere.shardingjdbc.orchestration.spring.algorithm;
package org.apache.shardingsphere.driver.orchestration.spring.algorithm;
import org.apache.shardingsphere.sharding.api.sharding.hint.HintShardingAlgorithm;
import org.apache.shardingsphere.sharding.api.sharding.hint.HintShardingValue;
......
......@@ -15,7 +15,7 @@
* limitations under the License.
*/
package org.apache.shardingsphere.shardingjdbc.orchestration.spring.algorithm;
package org.apache.shardingsphere.driver.orchestration.spring.algorithm;
import org.apache.shardingsphere.sharding.api.sharding.standard.PreciseShardingValue;
import org.apache.shardingsphere.sharding.api.sharding.standard.RangeShardingValue;
......
......@@ -15,7 +15,7 @@
* limitations under the License.
*/
package org.apache.shardingsphere.shardingjdbc.orchestration.spring.algorithm;
package org.apache.shardingsphere.driver.orchestration.spring.algorithm;
import org.apache.shardingsphere.sharding.api.sharding.standard.PreciseShardingValue;
import org.apache.shardingsphere.sharding.api.sharding.standard.RangeShardingValue;
......
......@@ -15,17 +15,18 @@
* limitations under the License.
*/
package org.apache.shardingsphere.shardingjdbc.orchestration.spring.registry;
package org.apache.shardingsphere.driver.orchestration.spring.registry;
import java.util.Collections;
import java.util.List;
import java.util.Properties;
import lombok.Getter;
import lombok.Setter;
import org.apache.shardingsphere.orchestration.center.ConfigCenterRepository;
import org.apache.shardingsphere.orchestration.center.RegistryCenterRepository;
import org.apache.shardingsphere.orchestration.center.listener.DataChangedEventListener;
import org.apache.shardingsphere.orchestration.center.config.CenterConfiguration;
import org.apache.shardingsphere.orchestration.center.listener.DataChangedEventListener;
import java.util.Collections;
import java.util.List;
import java.util.Properties;
public final class TestRegistryCenterRepositoryRepository implements RegistryCenterRepository, ConfigCenterRepository {
......
......@@ -15,4 +15,4 @@
# limitations under the License.
#
org.apache.shardingsphere.shardingjdbc.orchestration.spring.registry.TestRegistryCenterRepositoryRepository
org.apache.shardingsphere.driver.orchestration.spring.registry.TestRegistryCenterRepositoryRepository
......@@ -15,4 +15,4 @@
# limitations under the License.
#
org.apache.shardingsphere.shardingjdbc.orchestration.spring.registry.TestRegistryCenterRepositoryRepository
org.apache.shardingsphere.driver.orchestration.spring.registry.TestRegistryCenterRepositoryRepository
......@@ -15,7 +15,7 @@
# limitations under the License.
#
org.apache.shardingsphere.shardingjdbc.orchestration.spring.algorithm.DefaultComplexKeysShardingAlgorithm
org.apache.shardingsphere.shardingjdbc.orchestration.spring.algorithm.DefaultHintShardingAlgorithm
org.apache.shardingsphere.shardingjdbc.orchestration.spring.algorithm.StandardModuloDatabaseShardingAlgorithm
org.apache.shardingsphere.shardingjdbc.orchestration.spring.algorithm.StandardModuloTableShardingAlgorithm
org.apache.shardingsphere.driver.orchestration.spring.algorithm.DefaultComplexKeysShardingAlgorithm
org.apache.shardingsphere.driver.orchestration.spring.algorithm.DefaultHintShardingAlgorithm
org.apache.shardingsphere.driver.orchestration.spring.algorithm.StandardModuloDatabaseShardingAlgorithm
org.apache.shardingsphere.driver.orchestration.spring.algorithm.StandardModuloTableShardingAlgorithm
......@@ -15,5 +15,5 @@
# limitations under the License.
#
org.apache.shardingsphere.shardingjdbc.orchestration.spring.fixture.DecrementKeyGenerateAlgorithm
org.apache.shardingsphere.shardingjdbc.orchestration.spring.fixture.IncrementKeyGenerateAlgorithm
org.apache.shardingsphere.driver.orchestration.spring.fixture.DecrementKeyGenerateAlgorithm
org.apache.shardingsphere.driver.orchestration.spring.fixture.IncrementKeyGenerateAlgorithm
......@@ -35,7 +35,7 @@
<dependencies>
<dependency>
<groupId>org.apache.shardingsphere</groupId>
<artifactId>sharding-jdbc-core</artifactId>
<artifactId>shardingsphere-jdbc-core</artifactId>
<version>${project.version}</version>
</dependency>
</dependencies>
......
......@@ -15,20 +15,20 @@
* limitations under the License.
*/
package org.apache.shardingsphere.shardingjdbc.spring.boot;
package org.apache.shardingsphere.jdbc.spring.boot;
import com.google.common.base.Preconditions;
import lombok.RequiredArgsConstructor;
import org.apache.shardingsphere.driver.api.ShardingSphereDataSourceFactory;
import org.apache.shardingsphere.infra.exception.ShardingSphereException;
import org.apache.shardingsphere.jdbc.spring.boot.prop.SpringBootPropertiesConfigurationProperties;
import org.apache.shardingsphere.jdbc.spring.boot.rule.SpringBootRulesConfigurationProperties;
import org.apache.shardingsphere.jdbc.spring.boot.rule.SpringBootRulesConfigurationYamlSwapper;
import org.apache.shardingsphere.sharding.strategy.algorithm.sharding.inline.InlineExpressionParser;
import org.apache.shardingsphere.shardingjdbc.api.ShardingSphereDataSourceFactory;
import org.apache.shardingsphere.shardingjdbc.spring.boot.prop.SpringBootPropertiesConfigurationProperties;
import org.apache.shardingsphere.shardingjdbc.spring.boot.rule.SpringBootRulesConfigurationProperties;
import org.apache.shardingsphere.shardingjdbc.spring.boot.rule.SpringBootRulesConfigurationYamlSwapper;
import org.apache.shardingsphere.spring.boot.datasource.DataSourcePropertiesSetterHolder;
import org.apache.shardingsphere.spring.boot.util.DataSourceUtil;
import org.apache.shardingsphere.spring.boot.util.PropertyUtil;
import org.apache.shardingsphere.transaction.spring.ShardingTransactionTypeScanner;
import org.apache.shardingsphere.infra.exception.ShardingSphereException;
import org.springframework.boot.autoconfigure.AutoConfigureBefore;
import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册