diff --git a/examples/README.md b/examples/README.md index 488b850573552136388f5d30da7dbf90a91a32e9..89f612837a34e9e03b9020b0da3b4c45ae8ac27c 100644 --- a/examples/README.md +++ b/examples/README.md @@ -55,7 +55,7 @@ shardingsphere-example │   ├── example-raw-jdbc │   ├── example-spring-jpa │   └── example-spring-mybatis - ├── sharding-jdbc-example + ├── shardingsphere-jdbc-example │   ├── sharding-example │   │   ├── sharding-raw-jdbc-example │   │   ├── sharding-spring-boot-jpa-example @@ -72,8 +72,9 @@ shardingsphere-example │   ├── other-feature-example │   │   ├── hint-example │   │   └── encrypt-example - ├── sharding-proxy-example - │   └── sharding-proxy-boot-mybatis-example + ├── shardingsphere-proxy-example + │   ├── shardingsphere-proxy-boot-mybatis-example + │   └── shardingsphere-proxy-hint-example └── src/resources   └── manual_schema.sql ``` @@ -86,29 +87,29 @@ shardingsphere-example * master-slave * sharding & master-slave -You can get more detail from **[sharding-example](./sharding-jdbc-example/sharding-example)** +You can get more detail from **[sharding-example](sharding-jdbc-example/sharding-example)** ### Best practice for sharding + orchestration * using local configuration file for zookeeper/etcd & sharding * using register center(zookeeper/etcd)'s configuration for sharding -You can get more detail from **[orchestration-example](./sharding-jdbc-example/orchestration-example)** +You can get more detail from **[orchestration-example](sharding-jdbc-example/orchestration-example)** ### Best Practice for sharding + distribution-transaction * 2pc-xa transaction * base-seata transaction -You can get more detail from **[transaction-example](./sharding-jdbc-example/transaction-example)** +You can get more detail from **[transaction-example](sharding-jdbc-example/transaction-example)** ### Best Practice for hint routing -You can get more detail from **[hint-example](./sharding-jdbc-example/other-feature-example/hint-example)** +You can get more detail from **[hint-example](sharding-jdbc-example/other-feature-example/hint-example)** ### Best Practice for data encrypt -You can get more detail from **[encrypt-example](./sharding-jdbc-example/other-feature-example/encrypt-example)** +You can get more detail from **[encrypt-example](sharding-jdbc-example/other-feature-example/encrypt-example)** ### Best Practice for APM Integration diff --git a/examples/README_ZH.md b/examples/README_ZH.md index 2957c8b91830c23038e014ded33de8f28470dbe8..e142111b11eeeb8fb414ab1516ca1fb931fcdde2 100644 --- a/examples/README_ZH.md +++ b/examples/README_ZH.md @@ -54,7 +54,7 @@ shardingsphere-example │   ├── example-raw-jdbc │   ├── example-spring-jpa │   └── example-spring-mybatis - ├── sharding-jdbc-example + ├── shardingsphere-jdbc-example │   ├── sharding-example │   │   ├── sharding-raw-jdbc-example │   │   ├── sharding-spring-boot-jpa-example @@ -71,8 +71,9 @@ shardingsphere-example │   ├── other-feature-example │   │   ├── hint-example │   │   └── encrypt-example - ├── sharding-proxy-example - │   └── sharding-proxy-boot-mybatis-example + ├── shardingsphere-proxy-example + │   ├── shardingsphere-proxy-boot-mybatis-example + │   └── shardingsphere-proxy-hint-example └── src/resources   └── manual_schema.sql ``` @@ -85,29 +86,29 @@ shardingsphere-example * 主从 * 分片和主从 -您可以从[sharding-example](./sharding-jdbc-example/sharding-example)中获取更多详细信息 +您可以从[sharding-example](sharding-jdbc-example/sharding-example)中获取更多详细信息 ### 分片与编排的最佳实践 * 使用本地配置文件和zookeeper/etcd配置分片 * 使用注册中心(zookeeper/etcd)的配置进行分片 -您可以从业务[orchestration-example](./sharding-jdbc-example/orchestration-example)中获取更多细节 +您可以从业务[orchestration-example](sharding-jdbc-example/orchestration-example)中获取更多细节 ### 分片+分布式事务的最佳实践 * 2pc-xa事务 * base-seata事务 -您可以从[transaction-example](./sharding-jdbc-example/transaction-example)中获取更多详细信息 +您可以从[transaction-example](sharding-jdbc-example/transaction-example)中获取更多详细信息 ### 提示路由的最佳实践 -您可以从[hint-example](./sharding-jdbc-example/other-feature-example/hint-example)中获取更多细节 +您可以从[hint-example](sharding-jdbc-example/other-feature-example/hint-example)中获取更多细节 ### 数据加密的最佳实践 -您可以从[encrypt-example](./sharding-jdbc-example/other-feature-example/encrypt-example)中获取更多详细信息 +您可以从[encrypt-example](sharding-jdbc-example/other-feature-example/encrypt-example)中获取更多详细信息 ### APM集成的最佳实践 diff --git a/examples/example-core/config-utility/pom.xml b/examples/example-core/config-utility/pom.xml index ee15d7cfa6b44f5d34158767bcad011305365f73..215541c71972060863657fb9ee0b9dff01fd5939 100644 --- a/examples/example-core/config-utility/pom.xml +++ b/examples/example-core/config-utility/pom.xml @@ -25,9 +25,8 @@ example-core 5.0.0-RC1-SNAPSHOT - config-utility - common::config-utility + ${project.artifactId} diff --git a/examples/example-core/example-api/pom.xml b/examples/example-core/example-api/pom.xml index 396db2515442e7a2c3599c0c55c5e8267baf28fd..eea33f4094fe887a8a1f950259269cdeacf161c9 100644 --- a/examples/example-core/example-api/pom.xml +++ b/examples/example-core/example-api/pom.xml @@ -26,5 +26,5 @@ 5.0.0-RC1-SNAPSHOT example-api - common::example-core::example-api + ${project.artifactId} diff --git a/examples/example-core/example-raw-jdbc/pom.xml b/examples/example-core/example-raw-jdbc/pom.xml index 83182e09a6d46a129cc662a0a5a16b47eef3c6a5..1448337e7a161761df832cd15433710df5d3a6d8 100644 --- a/examples/example-core/example-raw-jdbc/pom.xml +++ b/examples/example-core/example-raw-jdbc/pom.xml @@ -26,7 +26,7 @@ 5.0.0-RC1-SNAPSHOT example-raw-jdbc - common::example-raw-jdbc + ${project.artifactId} diff --git a/examples/example-core/example-spring-jpa/pom.xml b/examples/example-core/example-spring-jpa/pom.xml index 6ee42b9864f5072adcd67cfa90d2f0098b60f04f..8682aada9407d5c224867cf5b55c53a3d2b74070 100644 --- a/examples/example-core/example-spring-jpa/pom.xml +++ b/examples/example-core/example-spring-jpa/pom.xml @@ -26,7 +26,7 @@ 5.0.0-RC1-SNAPSHOT example-spring-jpa - common::example-spring-jpa + ${project.artifactId} @@ -39,6 +39,7 @@ example-api ${project.version} + org.hibernate.javax.persistence hibernate-jpa-2.1-api diff --git a/examples/example-core/pom.xml b/examples/example-core/pom.xml index 415a3f39ff9f687c83bac87683f5dfb20693791b..26adb3dd2fd87fdbde94e9a8ebdcc57e64635b19 100644 --- a/examples/example-core/pom.xml +++ b/examples/example-core/pom.xml @@ -26,8 +26,7 @@ 5.0.0-RC1-SNAPSHOT example-core - common::root - + ${project.artifactId} pom diff --git a/examples/pom.xml b/examples/pom.xml index 9a704b5d1c91c8ff75d904d593433dfc720b8e21..1c6e42e84a44f98d1d86254b6b02838c8a47db13 100644 --- a/examples/pom.xml +++ b/examples/pom.xml @@ -23,17 +23,15 @@ org.apache.shardingsphere.example shardingsphere-example 5.0.0-RC1-SNAPSHOT + ${project.artifactId} + pom example-core - sharding-jdbc-example - sharding-proxy-example + shardingsphere-jdbc-example + shardingsphere-proxy-example - Example::root - - pom - 1.8 [3.0.4,) @@ -55,13 +53,13 @@ 1.3.0 1.0.0.Final 4.3.11.Final - + 1.0.0 - + 4.12 1.3 2.7.21 - + 0.12 3.3 2.7 diff --git a/examples/sharding-jdbc-example/sharding-example/sharding-spring-boot-mybatis-example/src/main/resources/logback.xml b/examples/sharding-jdbc-example/sharding-example/sharding-spring-boot-mybatis-example/src/main/resources/logback.xml deleted file mode 100644 index 0813ab920d984548777b2ebbc5b9fabe1559c7ff..0000000000000000000000000000000000000000 --- a/examples/sharding-jdbc-example/sharding-example/sharding-spring-boot-mybatis-example/src/main/resources/logback.xml +++ /dev/null @@ -1,34 +0,0 @@ - - - - - - - - ${log.context.name} - - - - ${log.pattern} - - - - - - - diff --git a/examples/sharding-jdbc-example/sharding-example/sharding-spring-namespace-jpa-example/src/main/resources/logback.xml b/examples/sharding-jdbc-example/sharding-example/sharding-spring-namespace-jpa-example/src/main/resources/logback.xml deleted file mode 100644 index 55fe7dda0ac9611d4a71a07478378b421de30264..0000000000000000000000000000000000000000 --- a/examples/sharding-jdbc-example/sharding-example/sharding-spring-namespace-jpa-example/src/main/resources/logback.xml +++ /dev/null @@ -1,34 +0,0 @@ - - - - - - - - ${log.context.name} - - - - ${log.pattern} - - - - - - - diff --git a/examples/sharding-jdbc-example/sharding-example/sharding-spring-namespace-mybatis-example/src/main/resources/logback.xml b/examples/sharding-jdbc-example/sharding-example/sharding-spring-namespace-mybatis-example/src/main/resources/logback.xml deleted file mode 100644 index 40a835db7f52b71d8e4fcd19419364e4f727c274..0000000000000000000000000000000000000000 --- a/examples/sharding-jdbc-example/sharding-example/sharding-spring-namespace-mybatis-example/src/main/resources/logback.xml +++ /dev/null @@ -1,34 +0,0 @@ - - - - - - - - ${log.context.name} - - - - ${log.pattern} - - - - - - - diff --git a/examples/sharding-proxy-example/sharding-proxy-hint-example/src/main/resources/logback.xml b/examples/sharding-proxy-example/sharding-proxy-hint-example/src/main/resources/logback.xml deleted file mode 100644 index 9e490291393f6f52a84515e382dee0fce581d346..0000000000000000000000000000000000000000 --- a/examples/sharding-proxy-example/sharding-proxy-hint-example/src/main/resources/logback.xml +++ /dev/null @@ -1,34 +0,0 @@ - - - - - - - - ${log.context.name} - - - - ${log.pattern} - - - - - - - diff --git a/examples/sharding-jdbc-example/orchestration-example/orchestration-raw-jdbc-example/pom.xml b/examples/shardingsphere-jdbc-example/orchestration-example/orchestration-raw-jdbc-example/pom.xml similarity index 98% rename from examples/sharding-jdbc-example/orchestration-example/orchestration-raw-jdbc-example/pom.xml rename to examples/shardingsphere-jdbc-example/orchestration-example/orchestration-raw-jdbc-example/pom.xml index e29f111aa7f9d505e4aec1e9c66705387704e654..a748b9f5f4a8a4dfebcacc6f29bf6029d9b799c2 100644 --- a/examples/sharding-jdbc-example/orchestration-example/orchestration-raw-jdbc-example/pom.xml +++ b/examples/shardingsphere-jdbc-example/orchestration-example/orchestration-raw-jdbc-example/pom.xml @@ -26,7 +26,7 @@ 5.0.0-RC1-SNAPSHOT orchestration-raw-jdbc-example - Example::orchestration::raw-jdbc + ${project.artifactId} diff --git a/examples/sharding-jdbc-example/orchestration-example/orchestration-raw-jdbc-example/src/main/java/org/apache/shardingsphere/example/orchestration/raw/jdbc/JavaConfigurationExampleMain.java b/examples/shardingsphere-jdbc-example/orchestration-example/orchestration-raw-jdbc-example/src/main/java/org/apache/shardingsphere/example/orchestration/raw/jdbc/JavaConfigurationExampleMain.java similarity index 100% rename from examples/sharding-jdbc-example/orchestration-example/orchestration-raw-jdbc-example/src/main/java/org/apache/shardingsphere/example/orchestration/raw/jdbc/JavaConfigurationExampleMain.java rename to examples/shardingsphere-jdbc-example/orchestration-example/orchestration-raw-jdbc-example/src/main/java/org/apache/shardingsphere/example/orchestration/raw/jdbc/JavaConfigurationExampleMain.java diff --git a/examples/sharding-jdbc-example/orchestration-example/orchestration-raw-jdbc-example/src/main/java/org/apache/shardingsphere/example/orchestration/raw/jdbc/YamlConfigurationExampleMain.java b/examples/shardingsphere-jdbc-example/orchestration-example/orchestration-raw-jdbc-example/src/main/java/org/apache/shardingsphere/example/orchestration/raw/jdbc/YamlConfigurationExampleMain.java similarity index 100% rename from examples/sharding-jdbc-example/orchestration-example/orchestration-raw-jdbc-example/src/main/java/org/apache/shardingsphere/example/orchestration/raw/jdbc/YamlConfigurationExampleMain.java rename to examples/shardingsphere-jdbc-example/orchestration-example/orchestration-raw-jdbc-example/src/main/java/org/apache/shardingsphere/example/orchestration/raw/jdbc/YamlConfigurationExampleMain.java diff --git a/examples/sharding-jdbc-example/orchestration-example/orchestration-raw-jdbc-example/src/main/java/org/apache/shardingsphere/example/orchestration/raw/jdbc/config/RegistryCenterConfigurationUtil.java b/examples/shardingsphere-jdbc-example/orchestration-example/orchestration-raw-jdbc-example/src/main/java/org/apache/shardingsphere/example/orchestration/raw/jdbc/config/RegistryCenterConfigurationUtil.java similarity index 100% rename from examples/sharding-jdbc-example/orchestration-example/orchestration-raw-jdbc-example/src/main/java/org/apache/shardingsphere/example/orchestration/raw/jdbc/config/RegistryCenterConfigurationUtil.java rename to examples/shardingsphere-jdbc-example/orchestration-example/orchestration-raw-jdbc-example/src/main/java/org/apache/shardingsphere/example/orchestration/raw/jdbc/config/RegistryCenterConfigurationUtil.java diff --git a/examples/sharding-jdbc-example/orchestration-example/orchestration-raw-jdbc-example/src/main/java/org/apache/shardingsphere/example/orchestration/raw/jdbc/config/cloud/CloudEncryptConfiguration.java b/examples/shardingsphere-jdbc-example/orchestration-example/orchestration-raw-jdbc-example/src/main/java/org/apache/shardingsphere/example/orchestration/raw/jdbc/config/cloud/CloudEncryptConfiguration.java similarity index 100% rename from examples/sharding-jdbc-example/orchestration-example/orchestration-raw-jdbc-example/src/main/java/org/apache/shardingsphere/example/orchestration/raw/jdbc/config/cloud/CloudEncryptConfiguration.java rename to examples/shardingsphere-jdbc-example/orchestration-example/orchestration-raw-jdbc-example/src/main/java/org/apache/shardingsphere/example/orchestration/raw/jdbc/config/cloud/CloudEncryptConfiguration.java diff --git a/examples/sharding-jdbc-example/orchestration-example/orchestration-raw-jdbc-example/src/main/java/org/apache/shardingsphere/example/orchestration/raw/jdbc/config/cloud/CloudMasterSlaveConfiguration.java b/examples/shardingsphere-jdbc-example/orchestration-example/orchestration-raw-jdbc-example/src/main/java/org/apache/shardingsphere/example/orchestration/raw/jdbc/config/cloud/CloudMasterSlaveConfiguration.java similarity index 100% rename from examples/sharding-jdbc-example/orchestration-example/orchestration-raw-jdbc-example/src/main/java/org/apache/shardingsphere/example/orchestration/raw/jdbc/config/cloud/CloudMasterSlaveConfiguration.java rename to examples/shardingsphere-jdbc-example/orchestration-example/orchestration-raw-jdbc-example/src/main/java/org/apache/shardingsphere/example/orchestration/raw/jdbc/config/cloud/CloudMasterSlaveConfiguration.java diff --git a/examples/sharding-jdbc-example/orchestration-example/orchestration-raw-jdbc-example/src/main/java/org/apache/shardingsphere/example/orchestration/raw/jdbc/config/cloud/CloudShadowConfiguration.java b/examples/shardingsphere-jdbc-example/orchestration-example/orchestration-raw-jdbc-example/src/main/java/org/apache/shardingsphere/example/orchestration/raw/jdbc/config/cloud/CloudShadowConfiguration.java similarity index 100% rename from examples/sharding-jdbc-example/orchestration-example/orchestration-raw-jdbc-example/src/main/java/org/apache/shardingsphere/example/orchestration/raw/jdbc/config/cloud/CloudShadowConfiguration.java rename to examples/shardingsphere-jdbc-example/orchestration-example/orchestration-raw-jdbc-example/src/main/java/org/apache/shardingsphere/example/orchestration/raw/jdbc/config/cloud/CloudShadowConfiguration.java diff --git a/examples/sharding-jdbc-example/orchestration-example/orchestration-raw-jdbc-example/src/main/java/org/apache/shardingsphere/example/orchestration/raw/jdbc/config/cloud/CloudShardingDatabasesAndTablesConfiguration.java b/examples/shardingsphere-jdbc-example/orchestration-example/orchestration-raw-jdbc-example/src/main/java/org/apache/shardingsphere/example/orchestration/raw/jdbc/config/cloud/CloudShardingDatabasesAndTablesConfiguration.java similarity index 100% rename from examples/sharding-jdbc-example/orchestration-example/orchestration-raw-jdbc-example/src/main/java/org/apache/shardingsphere/example/orchestration/raw/jdbc/config/cloud/CloudShardingDatabasesAndTablesConfiguration.java rename to examples/shardingsphere-jdbc-example/orchestration-example/orchestration-raw-jdbc-example/src/main/java/org/apache/shardingsphere/example/orchestration/raw/jdbc/config/cloud/CloudShardingDatabasesAndTablesConfiguration.java diff --git a/examples/sharding-jdbc-example/orchestration-example/orchestration-raw-jdbc-example/src/main/java/org/apache/shardingsphere/example/orchestration/raw/jdbc/config/local/LocalEncryptConfiguration.java b/examples/shardingsphere-jdbc-example/orchestration-example/orchestration-raw-jdbc-example/src/main/java/org/apache/shardingsphere/example/orchestration/raw/jdbc/config/local/LocalEncryptConfiguration.java similarity index 100% rename from examples/sharding-jdbc-example/orchestration-example/orchestration-raw-jdbc-example/src/main/java/org/apache/shardingsphere/example/orchestration/raw/jdbc/config/local/LocalEncryptConfiguration.java rename to examples/shardingsphere-jdbc-example/orchestration-example/orchestration-raw-jdbc-example/src/main/java/org/apache/shardingsphere/example/orchestration/raw/jdbc/config/local/LocalEncryptConfiguration.java diff --git a/examples/sharding-jdbc-example/orchestration-example/orchestration-raw-jdbc-example/src/main/java/org/apache/shardingsphere/example/orchestration/raw/jdbc/config/local/LocalMasterSlaveConfiguration.java b/examples/shardingsphere-jdbc-example/orchestration-example/orchestration-raw-jdbc-example/src/main/java/org/apache/shardingsphere/example/orchestration/raw/jdbc/config/local/LocalMasterSlaveConfiguration.java similarity index 100% rename from examples/sharding-jdbc-example/orchestration-example/orchestration-raw-jdbc-example/src/main/java/org/apache/shardingsphere/example/orchestration/raw/jdbc/config/local/LocalMasterSlaveConfiguration.java rename to examples/shardingsphere-jdbc-example/orchestration-example/orchestration-raw-jdbc-example/src/main/java/org/apache/shardingsphere/example/orchestration/raw/jdbc/config/local/LocalMasterSlaveConfiguration.java diff --git a/examples/sharding-jdbc-example/orchestration-example/orchestration-raw-jdbc-example/src/main/java/org/apache/shardingsphere/example/orchestration/raw/jdbc/config/local/LocalShadowConfiguration.java b/examples/shardingsphere-jdbc-example/orchestration-example/orchestration-raw-jdbc-example/src/main/java/org/apache/shardingsphere/example/orchestration/raw/jdbc/config/local/LocalShadowConfiguration.java similarity index 100% rename from examples/sharding-jdbc-example/orchestration-example/orchestration-raw-jdbc-example/src/main/java/org/apache/shardingsphere/example/orchestration/raw/jdbc/config/local/LocalShadowConfiguration.java rename to examples/shardingsphere-jdbc-example/orchestration-example/orchestration-raw-jdbc-example/src/main/java/org/apache/shardingsphere/example/orchestration/raw/jdbc/config/local/LocalShadowConfiguration.java diff --git a/examples/sharding-jdbc-example/orchestration-example/orchestration-raw-jdbc-example/src/main/java/org/apache/shardingsphere/example/orchestration/raw/jdbc/config/local/LocalShardingDatabasesAndTablesConfiguration.java b/examples/shardingsphere-jdbc-example/orchestration-example/orchestration-raw-jdbc-example/src/main/java/org/apache/shardingsphere/example/orchestration/raw/jdbc/config/local/LocalShardingDatabasesAndTablesConfiguration.java similarity index 100% rename from examples/sharding-jdbc-example/orchestration-example/orchestration-raw-jdbc-example/src/main/java/org/apache/shardingsphere/example/orchestration/raw/jdbc/config/local/LocalShardingDatabasesAndTablesConfiguration.java rename to examples/shardingsphere-jdbc-example/orchestration-example/orchestration-raw-jdbc-example/src/main/java/org/apache/shardingsphere/example/orchestration/raw/jdbc/config/local/LocalShardingDatabasesAndTablesConfiguration.java diff --git a/examples/sharding-jdbc-example/orchestration-example/orchestration-raw-jdbc-example/src/main/java/org/apache/shardingsphere/example/orchestration/raw/jdbc/config/local/LocalShardingDatabasesConfiguration.java b/examples/shardingsphere-jdbc-example/orchestration-example/orchestration-raw-jdbc-example/src/main/java/org/apache/shardingsphere/example/orchestration/raw/jdbc/config/local/LocalShardingDatabasesConfiguration.java similarity index 100% rename from examples/sharding-jdbc-example/orchestration-example/orchestration-raw-jdbc-example/src/main/java/org/apache/shardingsphere/example/orchestration/raw/jdbc/config/local/LocalShardingDatabasesConfiguration.java rename to examples/shardingsphere-jdbc-example/orchestration-example/orchestration-raw-jdbc-example/src/main/java/org/apache/shardingsphere/example/orchestration/raw/jdbc/config/local/LocalShardingDatabasesConfiguration.java diff --git a/examples/sharding-jdbc-example/orchestration-example/orchestration-raw-jdbc-example/src/main/java/org/apache/shardingsphere/example/orchestration/raw/jdbc/config/local/LocalShardingMasterSlaveConfiguration.java b/examples/shardingsphere-jdbc-example/orchestration-example/orchestration-raw-jdbc-example/src/main/java/org/apache/shardingsphere/example/orchestration/raw/jdbc/config/local/LocalShardingMasterSlaveConfiguration.java similarity index 100% rename from examples/sharding-jdbc-example/orchestration-example/orchestration-raw-jdbc-example/src/main/java/org/apache/shardingsphere/example/orchestration/raw/jdbc/config/local/LocalShardingMasterSlaveConfiguration.java rename to examples/shardingsphere-jdbc-example/orchestration-example/orchestration-raw-jdbc-example/src/main/java/org/apache/shardingsphere/example/orchestration/raw/jdbc/config/local/LocalShardingMasterSlaveConfiguration.java diff --git a/examples/sharding-jdbc-example/orchestration-example/orchestration-raw-jdbc-example/src/main/java/org/apache/shardingsphere/example/orchestration/raw/jdbc/config/local/LocalShardingTablesConfiguration.java b/examples/shardingsphere-jdbc-example/orchestration-example/orchestration-raw-jdbc-example/src/main/java/org/apache/shardingsphere/example/orchestration/raw/jdbc/config/local/LocalShardingTablesConfiguration.java similarity index 100% rename from examples/sharding-jdbc-example/orchestration-example/orchestration-raw-jdbc-example/src/main/java/org/apache/shardingsphere/example/orchestration/raw/jdbc/config/local/LocalShardingTablesConfiguration.java rename to examples/shardingsphere-jdbc-example/orchestration-example/orchestration-raw-jdbc-example/src/main/java/org/apache/shardingsphere/example/orchestration/raw/jdbc/config/local/LocalShardingTablesConfiguration.java diff --git a/examples/sharding-jdbc-example/orchestration-example/orchestration-raw-jdbc-example/src/main/resources/META-INF/nacos/cloud/encrypt.yaml b/examples/shardingsphere-jdbc-example/orchestration-example/orchestration-raw-jdbc-example/src/main/resources/META-INF/nacos/cloud/encrypt.yaml similarity index 100% rename from examples/sharding-jdbc-example/orchestration-example/orchestration-raw-jdbc-example/src/main/resources/META-INF/nacos/cloud/encrypt.yaml rename to examples/shardingsphere-jdbc-example/orchestration-example/orchestration-raw-jdbc-example/src/main/resources/META-INF/nacos/cloud/encrypt.yaml diff --git a/examples/sharding-jdbc-example/orchestration-example/orchestration-raw-jdbc-example/src/main/resources/META-INF/nacos/cloud/master-slave.yaml b/examples/shardingsphere-jdbc-example/orchestration-example/orchestration-raw-jdbc-example/src/main/resources/META-INF/nacos/cloud/master-slave.yaml similarity index 100% rename from examples/sharding-jdbc-example/orchestration-example/orchestration-raw-jdbc-example/src/main/resources/META-INF/nacos/cloud/master-slave.yaml rename to examples/shardingsphere-jdbc-example/orchestration-example/orchestration-raw-jdbc-example/src/main/resources/META-INF/nacos/cloud/master-slave.yaml diff --git a/examples/sharding-jdbc-example/orchestration-example/orchestration-raw-jdbc-example/src/main/resources/META-INF/nacos/cloud/shadow.yaml b/examples/shardingsphere-jdbc-example/orchestration-example/orchestration-raw-jdbc-example/src/main/resources/META-INF/nacos/cloud/shadow.yaml similarity index 100% rename from examples/sharding-jdbc-example/orchestration-example/orchestration-raw-jdbc-example/src/main/resources/META-INF/nacos/cloud/shadow.yaml rename to examples/shardingsphere-jdbc-example/orchestration-example/orchestration-raw-jdbc-example/src/main/resources/META-INF/nacos/cloud/shadow.yaml diff --git a/examples/sharding-jdbc-example/orchestration-example/orchestration-raw-jdbc-example/src/main/resources/META-INF/nacos/cloud/sharding-databases-tables.yaml b/examples/shardingsphere-jdbc-example/orchestration-example/orchestration-raw-jdbc-example/src/main/resources/META-INF/nacos/cloud/sharding-databases-tables.yaml similarity index 100% rename from examples/sharding-jdbc-example/orchestration-example/orchestration-raw-jdbc-example/src/main/resources/META-INF/nacos/cloud/sharding-databases-tables.yaml rename to examples/shardingsphere-jdbc-example/orchestration-example/orchestration-raw-jdbc-example/src/main/resources/META-INF/nacos/cloud/sharding-databases-tables.yaml diff --git a/examples/sharding-jdbc-example/orchestration-example/orchestration-raw-jdbc-example/src/main/resources/META-INF/nacos/local/encrypt.yaml b/examples/shardingsphere-jdbc-example/orchestration-example/orchestration-raw-jdbc-example/src/main/resources/META-INF/nacos/local/encrypt.yaml similarity index 100% rename from examples/sharding-jdbc-example/orchestration-example/orchestration-raw-jdbc-example/src/main/resources/META-INF/nacos/local/encrypt.yaml rename to examples/shardingsphere-jdbc-example/orchestration-example/orchestration-raw-jdbc-example/src/main/resources/META-INF/nacos/local/encrypt.yaml diff --git a/examples/sharding-jdbc-example/orchestration-example/orchestration-raw-jdbc-example/src/main/resources/META-INF/nacos/local/master-slave.yaml b/examples/shardingsphere-jdbc-example/orchestration-example/orchestration-raw-jdbc-example/src/main/resources/META-INF/nacos/local/master-slave.yaml similarity index 100% rename from examples/sharding-jdbc-example/orchestration-example/orchestration-raw-jdbc-example/src/main/resources/META-INF/nacos/local/master-slave.yaml rename to examples/shardingsphere-jdbc-example/orchestration-example/orchestration-raw-jdbc-example/src/main/resources/META-INF/nacos/local/master-slave.yaml diff --git a/examples/sharding-jdbc-example/orchestration-example/orchestration-raw-jdbc-example/src/main/resources/META-INF/nacos/local/shadow.yaml b/examples/shardingsphere-jdbc-example/orchestration-example/orchestration-raw-jdbc-example/src/main/resources/META-INF/nacos/local/shadow.yaml similarity index 100% rename from examples/sharding-jdbc-example/orchestration-example/orchestration-raw-jdbc-example/src/main/resources/META-INF/nacos/local/shadow.yaml rename to examples/shardingsphere-jdbc-example/orchestration-example/orchestration-raw-jdbc-example/src/main/resources/META-INF/nacos/local/shadow.yaml diff --git a/examples/sharding-jdbc-example/orchestration-example/orchestration-raw-jdbc-example/src/main/resources/META-INF/nacos/local/sharding-databases-tables.yaml b/examples/shardingsphere-jdbc-example/orchestration-example/orchestration-raw-jdbc-example/src/main/resources/META-INF/nacos/local/sharding-databases-tables.yaml similarity index 100% rename from examples/sharding-jdbc-example/orchestration-example/orchestration-raw-jdbc-example/src/main/resources/META-INF/nacos/local/sharding-databases-tables.yaml rename to examples/shardingsphere-jdbc-example/orchestration-example/orchestration-raw-jdbc-example/src/main/resources/META-INF/nacos/local/sharding-databases-tables.yaml diff --git a/examples/sharding-jdbc-example/orchestration-example/orchestration-raw-jdbc-example/src/main/resources/META-INF/zookeeper/cloud/encrypt.yaml b/examples/shardingsphere-jdbc-example/orchestration-example/orchestration-raw-jdbc-example/src/main/resources/META-INF/zookeeper/cloud/encrypt.yaml similarity index 100% rename from examples/sharding-jdbc-example/orchestration-example/orchestration-raw-jdbc-example/src/main/resources/META-INF/zookeeper/cloud/encrypt.yaml rename to examples/shardingsphere-jdbc-example/orchestration-example/orchestration-raw-jdbc-example/src/main/resources/META-INF/zookeeper/cloud/encrypt.yaml diff --git a/examples/sharding-jdbc-example/orchestration-example/orchestration-raw-jdbc-example/src/main/resources/META-INF/zookeeper/cloud/master-slave.yaml b/examples/shardingsphere-jdbc-example/orchestration-example/orchestration-raw-jdbc-example/src/main/resources/META-INF/zookeeper/cloud/master-slave.yaml similarity index 100% rename from examples/sharding-jdbc-example/orchestration-example/orchestration-raw-jdbc-example/src/main/resources/META-INF/zookeeper/cloud/master-slave.yaml rename to examples/shardingsphere-jdbc-example/orchestration-example/orchestration-raw-jdbc-example/src/main/resources/META-INF/zookeeper/cloud/master-slave.yaml diff --git a/examples/sharding-jdbc-example/orchestration-example/orchestration-raw-jdbc-example/src/main/resources/META-INF/zookeeper/cloud/shadow.yaml b/examples/shardingsphere-jdbc-example/orchestration-example/orchestration-raw-jdbc-example/src/main/resources/META-INF/zookeeper/cloud/shadow.yaml similarity index 100% rename from examples/sharding-jdbc-example/orchestration-example/orchestration-raw-jdbc-example/src/main/resources/META-INF/zookeeper/cloud/shadow.yaml rename to examples/shardingsphere-jdbc-example/orchestration-example/orchestration-raw-jdbc-example/src/main/resources/META-INF/zookeeper/cloud/shadow.yaml diff --git a/examples/sharding-jdbc-example/orchestration-example/orchestration-raw-jdbc-example/src/main/resources/META-INF/zookeeper/cloud/sharding-databases-tables.yaml b/examples/shardingsphere-jdbc-example/orchestration-example/orchestration-raw-jdbc-example/src/main/resources/META-INF/zookeeper/cloud/sharding-databases-tables.yaml similarity index 100% rename from examples/sharding-jdbc-example/orchestration-example/orchestration-raw-jdbc-example/src/main/resources/META-INF/zookeeper/cloud/sharding-databases-tables.yaml rename to examples/shardingsphere-jdbc-example/orchestration-example/orchestration-raw-jdbc-example/src/main/resources/META-INF/zookeeper/cloud/sharding-databases-tables.yaml diff --git a/examples/sharding-jdbc-example/orchestration-example/orchestration-raw-jdbc-example/src/main/resources/META-INF/zookeeper/local/encrypt.yaml b/examples/shardingsphere-jdbc-example/orchestration-example/orchestration-raw-jdbc-example/src/main/resources/META-INF/zookeeper/local/encrypt.yaml similarity index 100% rename from examples/sharding-jdbc-example/orchestration-example/orchestration-raw-jdbc-example/src/main/resources/META-INF/zookeeper/local/encrypt.yaml rename to examples/shardingsphere-jdbc-example/orchestration-example/orchestration-raw-jdbc-example/src/main/resources/META-INF/zookeeper/local/encrypt.yaml diff --git a/examples/sharding-jdbc-example/orchestration-example/orchestration-raw-jdbc-example/src/main/resources/META-INF/zookeeper/local/master-slave.yaml b/examples/shardingsphere-jdbc-example/orchestration-example/orchestration-raw-jdbc-example/src/main/resources/META-INF/zookeeper/local/master-slave.yaml similarity index 100% rename from examples/sharding-jdbc-example/orchestration-example/orchestration-raw-jdbc-example/src/main/resources/META-INF/zookeeper/local/master-slave.yaml rename to examples/shardingsphere-jdbc-example/orchestration-example/orchestration-raw-jdbc-example/src/main/resources/META-INF/zookeeper/local/master-slave.yaml diff --git a/examples/sharding-jdbc-example/orchestration-example/orchestration-raw-jdbc-example/src/main/resources/META-INF/zookeeper/local/shadow.yaml b/examples/shardingsphere-jdbc-example/orchestration-example/orchestration-raw-jdbc-example/src/main/resources/META-INF/zookeeper/local/shadow.yaml similarity index 100% rename from examples/sharding-jdbc-example/orchestration-example/orchestration-raw-jdbc-example/src/main/resources/META-INF/zookeeper/local/shadow.yaml rename to examples/shardingsphere-jdbc-example/orchestration-example/orchestration-raw-jdbc-example/src/main/resources/META-INF/zookeeper/local/shadow.yaml diff --git a/examples/sharding-jdbc-example/orchestration-example/orchestration-raw-jdbc-example/src/main/resources/META-INF/zookeeper/local/sharding-databases-tables.yaml b/examples/shardingsphere-jdbc-example/orchestration-example/orchestration-raw-jdbc-example/src/main/resources/META-INF/zookeeper/local/sharding-databases-tables.yaml similarity index 100% rename from examples/sharding-jdbc-example/orchestration-example/orchestration-raw-jdbc-example/src/main/resources/META-INF/zookeeper/local/sharding-databases-tables.yaml rename to examples/shardingsphere-jdbc-example/orchestration-example/orchestration-raw-jdbc-example/src/main/resources/META-INF/zookeeper/local/sharding-databases-tables.yaml diff --git a/examples/sharding-jdbc-example/orchestration-example/orchestration-raw-jdbc-example/src/main/resources/logback.xml b/examples/shardingsphere-jdbc-example/orchestration-example/orchestration-raw-jdbc-example/src/main/resources/logback.xml similarity index 100% rename from examples/sharding-jdbc-example/orchestration-example/orchestration-raw-jdbc-example/src/main/resources/logback.xml rename to examples/shardingsphere-jdbc-example/orchestration-example/orchestration-raw-jdbc-example/src/main/resources/logback.xml diff --git a/examples/sharding-jdbc-example/orchestration-example/orchestration-spring-boot-example/pom.xml b/examples/shardingsphere-jdbc-example/orchestration-example/orchestration-spring-boot-example/pom.xml similarity index 97% rename from examples/sharding-jdbc-example/orchestration-example/orchestration-spring-boot-example/pom.xml rename to examples/shardingsphere-jdbc-example/orchestration-example/orchestration-spring-boot-example/pom.xml index 9f4d3ce93527e2f54a4b2f49bec46df6b1a8268f..84982ded7ba2ed559cd628060012ab54dc2a867d 100644 --- a/examples/sharding-jdbc-example/orchestration-example/orchestration-spring-boot-example/pom.xml +++ b/examples/shardingsphere-jdbc-example/orchestration-example/orchestration-spring-boot-example/pom.xml @@ -26,7 +26,7 @@ 5.0.0-RC1-SNAPSHOT orchestration-spring-boot-example - Example::orchestration::spring-boot + ${project.artifactId} diff --git a/examples/sharding-jdbc-example/orchestration-example/orchestration-spring-boot-example/src/main/java/org/apache/shardingsphere/example/orchestration/spring/boot/ExampleMain.java b/examples/shardingsphere-jdbc-example/orchestration-example/orchestration-spring-boot-example/src/main/java/org/apache/shardingsphere/example/orchestration/spring/boot/ExampleMain.java similarity index 100% rename from examples/sharding-jdbc-example/orchestration-example/orchestration-spring-boot-example/src/main/java/org/apache/shardingsphere/example/orchestration/spring/boot/ExampleMain.java rename to examples/shardingsphere-jdbc-example/orchestration-example/orchestration-spring-boot-example/src/main/java/org/apache/shardingsphere/example/orchestration/spring/boot/ExampleMain.java diff --git a/examples/sharding-jdbc-example/orchestration-example/orchestration-spring-boot-example/src/main/resources/application-cloud-nacos-encrypt.properties b/examples/shardingsphere-jdbc-example/orchestration-example/orchestration-spring-boot-example/src/main/resources/application-cloud-nacos-encrypt.properties similarity index 100% rename from examples/sharding-jdbc-example/orchestration-example/orchestration-spring-boot-example/src/main/resources/application-cloud-nacos-encrypt.properties rename to examples/shardingsphere-jdbc-example/orchestration-example/orchestration-spring-boot-example/src/main/resources/application-cloud-nacos-encrypt.properties diff --git a/examples/sharding-jdbc-example/orchestration-example/orchestration-spring-boot-example/src/main/resources/application-cloud-nacos-master-slave.properties b/examples/shardingsphere-jdbc-example/orchestration-example/orchestration-spring-boot-example/src/main/resources/application-cloud-nacos-master-slave.properties similarity index 100% rename from examples/sharding-jdbc-example/orchestration-example/orchestration-spring-boot-example/src/main/resources/application-cloud-nacos-master-slave.properties rename to examples/shardingsphere-jdbc-example/orchestration-example/orchestration-spring-boot-example/src/main/resources/application-cloud-nacos-master-slave.properties diff --git a/examples/sharding-jdbc-example/orchestration-example/orchestration-spring-boot-example/src/main/resources/application-cloud-nacos-sharding-databases-tables.properties b/examples/shardingsphere-jdbc-example/orchestration-example/orchestration-spring-boot-example/src/main/resources/application-cloud-nacos-sharding-databases-tables.properties similarity index 100% rename from examples/sharding-jdbc-example/orchestration-example/orchestration-spring-boot-example/src/main/resources/application-cloud-nacos-sharding-databases-tables.properties rename to examples/shardingsphere-jdbc-example/orchestration-example/orchestration-spring-boot-example/src/main/resources/application-cloud-nacos-sharding-databases-tables.properties diff --git a/examples/sharding-jdbc-example/orchestration-example/orchestration-spring-boot-example/src/main/resources/application-cloud-zookeeper-encrypt.properties b/examples/shardingsphere-jdbc-example/orchestration-example/orchestration-spring-boot-example/src/main/resources/application-cloud-zookeeper-encrypt.properties similarity index 100% rename from examples/sharding-jdbc-example/orchestration-example/orchestration-spring-boot-example/src/main/resources/application-cloud-zookeeper-encrypt.properties rename to examples/shardingsphere-jdbc-example/orchestration-example/orchestration-spring-boot-example/src/main/resources/application-cloud-zookeeper-encrypt.properties diff --git a/examples/sharding-jdbc-example/orchestration-example/orchestration-spring-boot-example/src/main/resources/application-cloud-zookeeper-master-slave.properties b/examples/shardingsphere-jdbc-example/orchestration-example/orchestration-spring-boot-example/src/main/resources/application-cloud-zookeeper-master-slave.properties similarity index 100% rename from examples/sharding-jdbc-example/orchestration-example/orchestration-spring-boot-example/src/main/resources/application-cloud-zookeeper-master-slave.properties rename to examples/shardingsphere-jdbc-example/orchestration-example/orchestration-spring-boot-example/src/main/resources/application-cloud-zookeeper-master-slave.properties diff --git a/examples/sharding-jdbc-example/orchestration-example/orchestration-spring-boot-example/src/main/resources/application-cloud-zookeeper-sharding-databases-tables.properties b/examples/shardingsphere-jdbc-example/orchestration-example/orchestration-spring-boot-example/src/main/resources/application-cloud-zookeeper-sharding-databases-tables.properties similarity index 100% rename from examples/sharding-jdbc-example/orchestration-example/orchestration-spring-boot-example/src/main/resources/application-cloud-zookeeper-sharding-databases-tables.properties rename to examples/shardingsphere-jdbc-example/orchestration-example/orchestration-spring-boot-example/src/main/resources/application-cloud-zookeeper-sharding-databases-tables.properties diff --git a/examples/sharding-jdbc-example/orchestration-example/orchestration-spring-boot-example/src/main/resources/application-local-nacos-encrypt.properties b/examples/shardingsphere-jdbc-example/orchestration-example/orchestration-spring-boot-example/src/main/resources/application-local-nacos-encrypt.properties similarity index 100% rename from examples/sharding-jdbc-example/orchestration-example/orchestration-spring-boot-example/src/main/resources/application-local-nacos-encrypt.properties rename to examples/shardingsphere-jdbc-example/orchestration-example/orchestration-spring-boot-example/src/main/resources/application-local-nacos-encrypt.properties diff --git a/examples/sharding-jdbc-example/orchestration-example/orchestration-spring-boot-example/src/main/resources/application-local-nacos-master-slave.properties b/examples/shardingsphere-jdbc-example/orchestration-example/orchestration-spring-boot-example/src/main/resources/application-local-nacos-master-slave.properties similarity index 100% rename from examples/sharding-jdbc-example/orchestration-example/orchestration-spring-boot-example/src/main/resources/application-local-nacos-master-slave.properties rename to examples/shardingsphere-jdbc-example/orchestration-example/orchestration-spring-boot-example/src/main/resources/application-local-nacos-master-slave.properties diff --git a/examples/sharding-jdbc-example/orchestration-example/orchestration-spring-boot-example/src/main/resources/application-local-nacos-sharding-databases-tables.properties b/examples/shardingsphere-jdbc-example/orchestration-example/orchestration-spring-boot-example/src/main/resources/application-local-nacos-sharding-databases-tables.properties similarity index 100% rename from examples/sharding-jdbc-example/orchestration-example/orchestration-spring-boot-example/src/main/resources/application-local-nacos-sharding-databases-tables.properties rename to examples/shardingsphere-jdbc-example/orchestration-example/orchestration-spring-boot-example/src/main/resources/application-local-nacos-sharding-databases-tables.properties diff --git a/examples/sharding-jdbc-example/orchestration-example/orchestration-spring-boot-example/src/main/resources/application-local-zookeeper-encrypt.properties b/examples/shardingsphere-jdbc-example/orchestration-example/orchestration-spring-boot-example/src/main/resources/application-local-zookeeper-encrypt.properties similarity index 100% rename from examples/sharding-jdbc-example/orchestration-example/orchestration-spring-boot-example/src/main/resources/application-local-zookeeper-encrypt.properties rename to examples/shardingsphere-jdbc-example/orchestration-example/orchestration-spring-boot-example/src/main/resources/application-local-zookeeper-encrypt.properties diff --git a/examples/sharding-jdbc-example/orchestration-example/orchestration-spring-boot-example/src/main/resources/application-local-zookeeper-master-slave.properties b/examples/shardingsphere-jdbc-example/orchestration-example/orchestration-spring-boot-example/src/main/resources/application-local-zookeeper-master-slave.properties similarity index 100% rename from examples/sharding-jdbc-example/orchestration-example/orchestration-spring-boot-example/src/main/resources/application-local-zookeeper-master-slave.properties rename to examples/shardingsphere-jdbc-example/orchestration-example/orchestration-spring-boot-example/src/main/resources/application-local-zookeeper-master-slave.properties diff --git a/examples/sharding-jdbc-example/orchestration-example/orchestration-spring-boot-example/src/main/resources/application-local-zookeeper-sharding-databases-tables.properties b/examples/shardingsphere-jdbc-example/orchestration-example/orchestration-spring-boot-example/src/main/resources/application-local-zookeeper-sharding-databases-tables.properties similarity index 100% rename from examples/sharding-jdbc-example/orchestration-example/orchestration-spring-boot-example/src/main/resources/application-local-zookeeper-sharding-databases-tables.properties rename to examples/shardingsphere-jdbc-example/orchestration-example/orchestration-spring-boot-example/src/main/resources/application-local-zookeeper-sharding-databases-tables.properties diff --git a/examples/sharding-jdbc-example/orchestration-example/orchestration-spring-boot-example/src/main/resources/application.properties b/examples/shardingsphere-jdbc-example/orchestration-example/orchestration-spring-boot-example/src/main/resources/application.properties similarity index 100% rename from examples/sharding-jdbc-example/orchestration-example/orchestration-spring-boot-example/src/main/resources/application.properties rename to examples/shardingsphere-jdbc-example/orchestration-example/orchestration-spring-boot-example/src/main/resources/application.properties diff --git a/examples/sharding-jdbc-example/orchestration-example/orchestration-spring-namespace-example/pom.xml b/examples/shardingsphere-jdbc-example/orchestration-example/orchestration-spring-namespace-example/pom.xml similarity index 97% rename from examples/sharding-jdbc-example/orchestration-example/orchestration-spring-namespace-example/pom.xml rename to examples/shardingsphere-jdbc-example/orchestration-example/orchestration-spring-namespace-example/pom.xml index e255a2041d6684b2d2a1135540043cf30d91ee1b..63bd5722bf877c73f01d597fbded0733e12d368a 100644 --- a/examples/sharding-jdbc-example/orchestration-example/orchestration-spring-namespace-example/pom.xml +++ b/examples/shardingsphere-jdbc-example/orchestration-example/orchestration-spring-namespace-example/pom.xml @@ -26,7 +26,7 @@ 5.0.0-RC1-SNAPSHOT orchestration-spring-namespace-example - Example::orchestration::spring-namespace + ${project.artifactId} diff --git a/examples/sharding-jdbc-example/orchestration-example/orchestration-spring-namespace-example/src/main/java/org/apache/shardingsphere/example/orchestration/spring/namespace/ExampleMain.java b/examples/shardingsphere-jdbc-example/orchestration-example/orchestration-spring-namespace-example/src/main/java/org/apache/shardingsphere/example/orchestration/spring/namespace/ExampleMain.java similarity index 100% rename from examples/sharding-jdbc-example/orchestration-example/orchestration-spring-namespace-example/src/main/java/org/apache/shardingsphere/example/orchestration/spring/namespace/ExampleMain.java rename to examples/shardingsphere-jdbc-example/orchestration-example/orchestration-spring-namespace-example/src/main/java/org/apache/shardingsphere/example/orchestration/spring/namespace/ExampleMain.java diff --git a/examples/sharding-jdbc-example/orchestration-example/orchestration-spring-namespace-example/src/main/resources/META-INF/nacos/cloud/application-encrypt.xml b/examples/shardingsphere-jdbc-example/orchestration-example/orchestration-spring-namespace-example/src/main/resources/META-INF/nacos/cloud/application-encrypt.xml similarity index 100% rename from examples/sharding-jdbc-example/orchestration-example/orchestration-spring-namespace-example/src/main/resources/META-INF/nacos/cloud/application-encrypt.xml rename to examples/shardingsphere-jdbc-example/orchestration-example/orchestration-spring-namespace-example/src/main/resources/META-INF/nacos/cloud/application-encrypt.xml diff --git a/examples/sharding-jdbc-example/orchestration-example/orchestration-spring-namespace-example/src/main/resources/META-INF/nacos/cloud/application-master-slave.xml b/examples/shardingsphere-jdbc-example/orchestration-example/orchestration-spring-namespace-example/src/main/resources/META-INF/nacos/cloud/application-master-slave.xml similarity index 100% rename from examples/sharding-jdbc-example/orchestration-example/orchestration-spring-namespace-example/src/main/resources/META-INF/nacos/cloud/application-master-slave.xml rename to examples/shardingsphere-jdbc-example/orchestration-example/orchestration-spring-namespace-example/src/main/resources/META-INF/nacos/cloud/application-master-slave.xml diff --git a/examples/sharding-jdbc-example/orchestration-example/orchestration-spring-namespace-example/src/main/resources/META-INF/nacos/cloud/application-sharding-databases-tables.xml b/examples/shardingsphere-jdbc-example/orchestration-example/orchestration-spring-namespace-example/src/main/resources/META-INF/nacos/cloud/application-sharding-databases-tables.xml similarity index 100% rename from examples/sharding-jdbc-example/orchestration-example/orchestration-spring-namespace-example/src/main/resources/META-INF/nacos/cloud/application-sharding-databases-tables.xml rename to examples/shardingsphere-jdbc-example/orchestration-example/orchestration-spring-namespace-example/src/main/resources/META-INF/nacos/cloud/application-sharding-databases-tables.xml diff --git a/examples/sharding-jdbc-example/orchestration-example/orchestration-spring-namespace-example/src/main/resources/META-INF/nacos/local/application-encrypt.xml b/examples/shardingsphere-jdbc-example/orchestration-example/orchestration-spring-namespace-example/src/main/resources/META-INF/nacos/local/application-encrypt.xml similarity index 100% rename from examples/sharding-jdbc-example/orchestration-example/orchestration-spring-namespace-example/src/main/resources/META-INF/nacos/local/application-encrypt.xml rename to examples/shardingsphere-jdbc-example/orchestration-example/orchestration-spring-namespace-example/src/main/resources/META-INF/nacos/local/application-encrypt.xml diff --git a/examples/sharding-jdbc-example/orchestration-example/orchestration-spring-namespace-example/src/main/resources/META-INF/nacos/local/application-master-slave.xml b/examples/shardingsphere-jdbc-example/orchestration-example/orchestration-spring-namespace-example/src/main/resources/META-INF/nacos/local/application-master-slave.xml similarity index 100% rename from examples/sharding-jdbc-example/orchestration-example/orchestration-spring-namespace-example/src/main/resources/META-INF/nacos/local/application-master-slave.xml rename to examples/shardingsphere-jdbc-example/orchestration-example/orchestration-spring-namespace-example/src/main/resources/META-INF/nacos/local/application-master-slave.xml diff --git a/examples/sharding-jdbc-example/orchestration-example/orchestration-spring-namespace-example/src/main/resources/META-INF/nacos/local/application-sharding-databases-tables.xml b/examples/shardingsphere-jdbc-example/orchestration-example/orchestration-spring-namespace-example/src/main/resources/META-INF/nacos/local/application-sharding-databases-tables.xml similarity index 100% rename from examples/sharding-jdbc-example/orchestration-example/orchestration-spring-namespace-example/src/main/resources/META-INF/nacos/local/application-sharding-databases-tables.xml rename to examples/shardingsphere-jdbc-example/orchestration-example/orchestration-spring-namespace-example/src/main/resources/META-INF/nacos/local/application-sharding-databases-tables.xml diff --git a/examples/sharding-jdbc-example/orchestration-example/orchestration-spring-namespace-example/src/main/resources/META-INF/nacos/registry-center.xml b/examples/shardingsphere-jdbc-example/orchestration-example/orchestration-spring-namespace-example/src/main/resources/META-INF/nacos/registry-center.xml similarity index 100% rename from examples/sharding-jdbc-example/orchestration-example/orchestration-spring-namespace-example/src/main/resources/META-INF/nacos/registry-center.xml rename to examples/shardingsphere-jdbc-example/orchestration-example/orchestration-spring-namespace-example/src/main/resources/META-INF/nacos/registry-center.xml diff --git a/examples/sharding-jdbc-example/orchestration-example/orchestration-spring-namespace-example/src/main/resources/META-INF/zookeeper/cloud/application-encrypt.xml b/examples/shardingsphere-jdbc-example/orchestration-example/orchestration-spring-namespace-example/src/main/resources/META-INF/zookeeper/cloud/application-encrypt.xml similarity index 100% rename from examples/sharding-jdbc-example/orchestration-example/orchestration-spring-namespace-example/src/main/resources/META-INF/zookeeper/cloud/application-encrypt.xml rename to examples/shardingsphere-jdbc-example/orchestration-example/orchestration-spring-namespace-example/src/main/resources/META-INF/zookeeper/cloud/application-encrypt.xml diff --git a/examples/sharding-jdbc-example/orchestration-example/orchestration-spring-namespace-example/src/main/resources/META-INF/zookeeper/cloud/application-master-slave.xml b/examples/shardingsphere-jdbc-example/orchestration-example/orchestration-spring-namespace-example/src/main/resources/META-INF/zookeeper/cloud/application-master-slave.xml similarity index 100% rename from examples/sharding-jdbc-example/orchestration-example/orchestration-spring-namespace-example/src/main/resources/META-INF/zookeeper/cloud/application-master-slave.xml rename to examples/shardingsphere-jdbc-example/orchestration-example/orchestration-spring-namespace-example/src/main/resources/META-INF/zookeeper/cloud/application-master-slave.xml diff --git a/examples/sharding-jdbc-example/orchestration-example/orchestration-spring-namespace-example/src/main/resources/META-INF/zookeeper/cloud/application-sharding-databases-tables.xml b/examples/shardingsphere-jdbc-example/orchestration-example/orchestration-spring-namespace-example/src/main/resources/META-INF/zookeeper/cloud/application-sharding-databases-tables.xml similarity index 100% rename from examples/sharding-jdbc-example/orchestration-example/orchestration-spring-namespace-example/src/main/resources/META-INF/zookeeper/cloud/application-sharding-databases-tables.xml rename to examples/shardingsphere-jdbc-example/orchestration-example/orchestration-spring-namespace-example/src/main/resources/META-INF/zookeeper/cloud/application-sharding-databases-tables.xml diff --git a/examples/sharding-jdbc-example/orchestration-example/orchestration-spring-namespace-example/src/main/resources/META-INF/zookeeper/local/application-encrypt.xml b/examples/shardingsphere-jdbc-example/orchestration-example/orchestration-spring-namespace-example/src/main/resources/META-INF/zookeeper/local/application-encrypt.xml similarity index 100% rename from examples/sharding-jdbc-example/orchestration-example/orchestration-spring-namespace-example/src/main/resources/META-INF/zookeeper/local/application-encrypt.xml rename to examples/shardingsphere-jdbc-example/orchestration-example/orchestration-spring-namespace-example/src/main/resources/META-INF/zookeeper/local/application-encrypt.xml diff --git a/examples/sharding-jdbc-example/orchestration-example/orchestration-spring-namespace-example/src/main/resources/META-INF/zookeeper/local/application-master-slave.xml b/examples/shardingsphere-jdbc-example/orchestration-example/orchestration-spring-namespace-example/src/main/resources/META-INF/zookeeper/local/application-master-slave.xml similarity index 100% rename from examples/sharding-jdbc-example/orchestration-example/orchestration-spring-namespace-example/src/main/resources/META-INF/zookeeper/local/application-master-slave.xml rename to examples/shardingsphere-jdbc-example/orchestration-example/orchestration-spring-namespace-example/src/main/resources/META-INF/zookeeper/local/application-master-slave.xml diff --git a/examples/sharding-jdbc-example/orchestration-example/orchestration-spring-namespace-example/src/main/resources/META-INF/zookeeper/local/application-sharding-databases-tables.xml b/examples/shardingsphere-jdbc-example/orchestration-example/orchestration-spring-namespace-example/src/main/resources/META-INF/zookeeper/local/application-sharding-databases-tables.xml similarity index 100% rename from examples/sharding-jdbc-example/orchestration-example/orchestration-spring-namespace-example/src/main/resources/META-INF/zookeeper/local/application-sharding-databases-tables.xml rename to examples/shardingsphere-jdbc-example/orchestration-example/orchestration-spring-namespace-example/src/main/resources/META-INF/zookeeper/local/application-sharding-databases-tables.xml diff --git a/examples/sharding-jdbc-example/orchestration-example/orchestration-spring-namespace-example/src/main/resources/META-INF/zookeeper/registry-center.xml b/examples/shardingsphere-jdbc-example/orchestration-example/orchestration-spring-namespace-example/src/main/resources/META-INF/zookeeper/registry-center.xml similarity index 100% rename from examples/sharding-jdbc-example/orchestration-example/orchestration-spring-namespace-example/src/main/resources/META-INF/zookeeper/registry-center.xml rename to examples/shardingsphere-jdbc-example/orchestration-example/orchestration-spring-namespace-example/src/main/resources/META-INF/zookeeper/registry-center.xml diff --git a/examples/sharding-jdbc-example/orchestration-example/orchestration-spring-namespace-example/src/main/resources/logback.xml b/examples/shardingsphere-jdbc-example/orchestration-example/orchestration-spring-namespace-example/src/main/resources/logback.xml similarity index 100% rename from examples/sharding-jdbc-example/orchestration-example/orchestration-spring-namespace-example/src/main/resources/logback.xml rename to examples/shardingsphere-jdbc-example/orchestration-example/orchestration-spring-namespace-example/src/main/resources/logback.xml diff --git a/examples/sharding-jdbc-example/orchestration-example/pom.xml b/examples/shardingsphere-jdbc-example/orchestration-example/pom.xml similarity index 93% rename from examples/sharding-jdbc-example/orchestration-example/pom.xml rename to examples/shardingsphere-jdbc-example/orchestration-example/pom.xml index e6bce73accf8567172ed62d96fa4f574b73e26e7..3be91871d7a3f405c850632d701e730cd08ce102 100644 --- a/examples/sharding-jdbc-example/orchestration-example/pom.xml +++ b/examples/shardingsphere-jdbc-example/orchestration-example/pom.xml @@ -22,11 +22,11 @@ 4.0.0 org.apache.shardingsphere.example - sharding-jdbc-example + shardingsphere-jdbc-example 5.0.0-RC1-SNAPSHOT orchestration-example - Example::orchestration + ${project.artifactId} pom diff --git a/examples/sharding-jdbc-example/other-feature-example/encrypt-example/encrypt-raw-jdbc-example/pom.xml b/examples/shardingsphere-jdbc-example/other-feature-example/encrypt-example/encrypt-raw-jdbc-example/pom.xml similarity index 97% rename from examples/sharding-jdbc-example/other-feature-example/encrypt-example/encrypt-raw-jdbc-example/pom.xml rename to examples/shardingsphere-jdbc-example/other-feature-example/encrypt-example/encrypt-raw-jdbc-example/pom.xml index 9ea823acbc39801c76252c9241c39529f179ab34..c2466692c8b020be8d3df82b78e8574b40b35097 100644 --- a/examples/sharding-jdbc-example/other-feature-example/encrypt-example/encrypt-raw-jdbc-example/pom.xml +++ b/examples/shardingsphere-jdbc-example/other-feature-example/encrypt-example/encrypt-raw-jdbc-example/pom.xml @@ -26,7 +26,7 @@ 5.0.0-RC1-SNAPSHOT encrypt-raw-jdbc-example - Example::encrypt::raw-jdbc + ${project.artifactId} diff --git a/examples/sharding-jdbc-example/other-feature-example/encrypt-example/encrypt-raw-jdbc-example/src/main/java/org/apache/shardingsphere/example/encrypt/table/raw/jdbc/JavaConfigurationExampleMain.java b/examples/shardingsphere-jdbc-example/other-feature-example/encrypt-example/encrypt-raw-jdbc-example/src/main/java/org/apache/shardingsphere/example/encrypt/table/raw/jdbc/JavaConfigurationExampleMain.java similarity index 100% rename from examples/sharding-jdbc-example/other-feature-example/encrypt-example/encrypt-raw-jdbc-example/src/main/java/org/apache/shardingsphere/example/encrypt/table/raw/jdbc/JavaConfigurationExampleMain.java rename to examples/shardingsphere-jdbc-example/other-feature-example/encrypt-example/encrypt-raw-jdbc-example/src/main/java/org/apache/shardingsphere/example/encrypt/table/raw/jdbc/JavaConfigurationExampleMain.java diff --git a/examples/sharding-jdbc-example/other-feature-example/encrypt-example/encrypt-raw-jdbc-example/src/main/java/org/apache/shardingsphere/example/encrypt/table/raw/jdbc/YamlConfigurationExampleMain.java b/examples/shardingsphere-jdbc-example/other-feature-example/encrypt-example/encrypt-raw-jdbc-example/src/main/java/org/apache/shardingsphere/example/encrypt/table/raw/jdbc/YamlConfigurationExampleMain.java similarity index 100% rename from examples/sharding-jdbc-example/other-feature-example/encrypt-example/encrypt-raw-jdbc-example/src/main/java/org/apache/shardingsphere/example/encrypt/table/raw/jdbc/YamlConfigurationExampleMain.java rename to examples/shardingsphere-jdbc-example/other-feature-example/encrypt-example/encrypt-raw-jdbc-example/src/main/java/org/apache/shardingsphere/example/encrypt/table/raw/jdbc/YamlConfigurationExampleMain.java diff --git a/examples/sharding-jdbc-example/other-feature-example/encrypt-example/encrypt-raw-jdbc-example/src/main/java/org/apache/shardingsphere/example/encrypt/table/raw/jdbc/config/EncryptDatabasesConfiguration.java b/examples/shardingsphere-jdbc-example/other-feature-example/encrypt-example/encrypt-raw-jdbc-example/src/main/java/org/apache/shardingsphere/example/encrypt/table/raw/jdbc/config/EncryptDatabasesConfiguration.java similarity index 100% rename from examples/sharding-jdbc-example/other-feature-example/encrypt-example/encrypt-raw-jdbc-example/src/main/java/org/apache/shardingsphere/example/encrypt/table/raw/jdbc/config/EncryptDatabasesConfiguration.java rename to examples/shardingsphere-jdbc-example/other-feature-example/encrypt-example/encrypt-raw-jdbc-example/src/main/java/org/apache/shardingsphere/example/encrypt/table/raw/jdbc/config/EncryptDatabasesConfiguration.java diff --git a/examples/sharding-jdbc-example/other-feature-example/encrypt-example/encrypt-raw-jdbc-example/src/main/resources/META-INF/encrypt-databases.yaml b/examples/shardingsphere-jdbc-example/other-feature-example/encrypt-example/encrypt-raw-jdbc-example/src/main/resources/META-INF/encrypt-databases.yaml similarity index 100% rename from examples/sharding-jdbc-example/other-feature-example/encrypt-example/encrypt-raw-jdbc-example/src/main/resources/META-INF/encrypt-databases.yaml rename to examples/shardingsphere-jdbc-example/other-feature-example/encrypt-example/encrypt-raw-jdbc-example/src/main/resources/META-INF/encrypt-databases.yaml diff --git a/examples/sharding-jdbc-example/other-feature-example/encrypt-example/encrypt-raw-jdbc-example/src/main/resources/logback.xml b/examples/shardingsphere-jdbc-example/other-feature-example/encrypt-example/encrypt-raw-jdbc-example/src/main/resources/logback.xml similarity index 100% rename from examples/sharding-jdbc-example/other-feature-example/encrypt-example/encrypt-raw-jdbc-example/src/main/resources/logback.xml rename to examples/shardingsphere-jdbc-example/other-feature-example/encrypt-example/encrypt-raw-jdbc-example/src/main/resources/logback.xml diff --git a/examples/sharding-jdbc-example/other-feature-example/encrypt-example/encrypt-spring-boot-example/pom.xml b/examples/shardingsphere-jdbc-example/other-feature-example/encrypt-example/encrypt-spring-boot-example/pom.xml similarity index 97% rename from examples/sharding-jdbc-example/other-feature-example/encrypt-example/encrypt-spring-boot-example/pom.xml rename to examples/shardingsphere-jdbc-example/other-feature-example/encrypt-example/encrypt-spring-boot-example/pom.xml index e7fb40144e6e80704d032f9c1a3df4a4b90a8af1..20d78f0bd10c2d42075d42efdd2541ceaf354eba 100644 --- a/examples/sharding-jdbc-example/other-feature-example/encrypt-example/encrypt-spring-boot-example/pom.xml +++ b/examples/shardingsphere-jdbc-example/other-feature-example/encrypt-example/encrypt-spring-boot-example/pom.xml @@ -26,7 +26,7 @@ 5.0.0-RC1-SNAPSHOT encrypt-spring-boot-example - Example::encrypt::spring-boot + ${project.artifactId} diff --git a/examples/sharding-jdbc-example/other-feature-example/encrypt-example/encrypt-spring-boot-example/src/main/java/org/apache/shardingsphere/example/encrypt/table/spring/boot/ExampleMain.java b/examples/shardingsphere-jdbc-example/other-feature-example/encrypt-example/encrypt-spring-boot-example/src/main/java/org/apache/shardingsphere/example/encrypt/table/spring/boot/ExampleMain.java similarity index 100% rename from examples/sharding-jdbc-example/other-feature-example/encrypt-example/encrypt-spring-boot-example/src/main/java/org/apache/shardingsphere/example/encrypt/table/spring/boot/ExampleMain.java rename to examples/shardingsphere-jdbc-example/other-feature-example/encrypt-example/encrypt-spring-boot-example/src/main/java/org/apache/shardingsphere/example/encrypt/table/spring/boot/ExampleMain.java diff --git a/examples/sharding-jdbc-example/other-feature-example/encrypt-example/encrypt-spring-boot-example/src/main/resources/application-encrypt-databases.properties b/examples/shardingsphere-jdbc-example/other-feature-example/encrypt-example/encrypt-spring-boot-example/src/main/resources/application-encrypt-databases.properties similarity index 100% rename from examples/sharding-jdbc-example/other-feature-example/encrypt-example/encrypt-spring-boot-example/src/main/resources/application-encrypt-databases.properties rename to examples/shardingsphere-jdbc-example/other-feature-example/encrypt-example/encrypt-spring-boot-example/src/main/resources/application-encrypt-databases.properties diff --git a/examples/sharding-jdbc-example/other-feature-example/encrypt-example/encrypt-spring-boot-example/src/main/resources/application.properties b/examples/shardingsphere-jdbc-example/other-feature-example/encrypt-example/encrypt-spring-boot-example/src/main/resources/application.properties similarity index 100% rename from examples/sharding-jdbc-example/other-feature-example/encrypt-example/encrypt-spring-boot-example/src/main/resources/application.properties rename to examples/shardingsphere-jdbc-example/other-feature-example/encrypt-example/encrypt-spring-boot-example/src/main/resources/application.properties diff --git a/examples/sharding-jdbc-example/other-feature-example/encrypt-example/encrypt-spring-boot-example/src/main/resources/logback.xml b/examples/shardingsphere-jdbc-example/other-feature-example/encrypt-example/encrypt-spring-boot-example/src/main/resources/logback.xml similarity index 100% rename from examples/sharding-jdbc-example/other-feature-example/encrypt-example/encrypt-spring-boot-example/src/main/resources/logback.xml rename to examples/shardingsphere-jdbc-example/other-feature-example/encrypt-example/encrypt-spring-boot-example/src/main/resources/logback.xml diff --git a/examples/sharding-jdbc-example/other-feature-example/encrypt-example/encrypt-spring-namespace-example/pom.xml b/examples/shardingsphere-jdbc-example/other-feature-example/encrypt-example/encrypt-spring-namespace-example/pom.xml similarity index 97% rename from examples/sharding-jdbc-example/other-feature-example/encrypt-example/encrypt-spring-namespace-example/pom.xml rename to examples/shardingsphere-jdbc-example/other-feature-example/encrypt-example/encrypt-spring-namespace-example/pom.xml index dac58f6029d5c827b63e256d3177164ba29be2f2..005f9a3b80d4217fa24da8d869c7330d077f5034 100644 --- a/examples/sharding-jdbc-example/other-feature-example/encrypt-example/encrypt-spring-namespace-example/pom.xml +++ b/examples/shardingsphere-jdbc-example/other-feature-example/encrypt-example/encrypt-spring-namespace-example/pom.xml @@ -26,7 +26,7 @@ 5.0.0-RC1-SNAPSHOT encrypt-spring-namespace-example - Example::encrypt::spring-namespace + ${project.artifactId} diff --git a/examples/sharding-jdbc-example/other-feature-example/encrypt-example/encrypt-spring-namespace-example/src/main/java/org/apache/shardingsphere/example/encrypt/table/spring/namespace/ExampleMain.java b/examples/shardingsphere-jdbc-example/other-feature-example/encrypt-example/encrypt-spring-namespace-example/src/main/java/org/apache/shardingsphere/example/encrypt/table/spring/namespace/ExampleMain.java similarity index 100% rename from examples/sharding-jdbc-example/other-feature-example/encrypt-example/encrypt-spring-namespace-example/src/main/java/org/apache/shardingsphere/example/encrypt/table/spring/namespace/ExampleMain.java rename to examples/shardingsphere-jdbc-example/other-feature-example/encrypt-example/encrypt-spring-namespace-example/src/main/java/org/apache/shardingsphere/example/encrypt/table/spring/namespace/ExampleMain.java diff --git a/examples/sharding-jdbc-example/other-feature-example/encrypt-example/encrypt-spring-namespace-example/src/main/resources/META-INF/application-encrypt-databases.xml b/examples/shardingsphere-jdbc-example/other-feature-example/encrypt-example/encrypt-spring-namespace-example/src/main/resources/META-INF/application-encrypt-databases.xml similarity index 100% rename from examples/sharding-jdbc-example/other-feature-example/encrypt-example/encrypt-spring-namespace-example/src/main/resources/META-INF/application-encrypt-databases.xml rename to examples/shardingsphere-jdbc-example/other-feature-example/encrypt-example/encrypt-spring-namespace-example/src/main/resources/META-INF/application-encrypt-databases.xml diff --git a/examples/sharding-jdbc-example/other-feature-example/encrypt-example/encrypt-spring-namespace-example/src/main/resources/logback.xml b/examples/shardingsphere-jdbc-example/other-feature-example/encrypt-example/encrypt-spring-namespace-example/src/main/resources/logback.xml similarity index 100% rename from examples/sharding-jdbc-example/other-feature-example/encrypt-example/encrypt-spring-namespace-example/src/main/resources/logback.xml rename to examples/shardingsphere-jdbc-example/other-feature-example/encrypt-example/encrypt-spring-namespace-example/src/main/resources/logback.xml diff --git a/examples/sharding-jdbc-example/other-feature-example/encrypt-example/pom.xml b/examples/shardingsphere-jdbc-example/other-feature-example/encrypt-example/pom.xml similarity index 97% rename from examples/sharding-jdbc-example/other-feature-example/encrypt-example/pom.xml rename to examples/shardingsphere-jdbc-example/other-feature-example/encrypt-example/pom.xml index 34b35ea39cb464b71cbe3399e687e28d9fcf7ee7..78d0c9f34faba36bd1b5521a805c66f44799ad8c 100644 --- a/examples/sharding-jdbc-example/other-feature-example/encrypt-example/pom.xml +++ b/examples/shardingsphere-jdbc-example/other-feature-example/encrypt-example/pom.xml @@ -26,7 +26,7 @@ 5.0.0-RC1-SNAPSHOT encrypt-example - Example::encrypt::root + ${project.artifactId} pom diff --git a/examples/sharding-jdbc-example/other-feature-example/hint-example/hint-raw-jdbc-example/pom.xml b/examples/shardingsphere-jdbc-example/other-feature-example/hint-example/hint-raw-jdbc-example/pom.xml similarity index 97% rename from examples/sharding-jdbc-example/other-feature-example/hint-example/hint-raw-jdbc-example/pom.xml rename to examples/shardingsphere-jdbc-example/other-feature-example/hint-example/hint-raw-jdbc-example/pom.xml index 03a0edb511d693a11d1e5c7b26c9b67ec28981a5..5d2f0b3f3a423d0e480dca843054f6d19946e278 100644 --- a/examples/sharding-jdbc-example/other-feature-example/hint-example/hint-raw-jdbc-example/pom.xml +++ b/examples/shardingsphere-jdbc-example/other-feature-example/hint-example/hint-raw-jdbc-example/pom.xml @@ -26,7 +26,7 @@ 5.0.0-RC1-SNAPSHOT hint-raw-jdbc-example - Example::hint::raw-jdbc + ${project.artifactId} diff --git a/examples/sharding-jdbc-example/other-feature-example/hint-example/hint-raw-jdbc-example/src/main/java/org/apache/shardingsphere/example/hint/raw/jdbc/ExampleMain.java b/examples/shardingsphere-jdbc-example/other-feature-example/hint-example/hint-raw-jdbc-example/src/main/java/org/apache/shardingsphere/example/hint/raw/jdbc/ExampleMain.java similarity index 100% rename from examples/sharding-jdbc-example/other-feature-example/hint-example/hint-raw-jdbc-example/src/main/java/org/apache/shardingsphere/example/hint/raw/jdbc/ExampleMain.java rename to examples/shardingsphere-jdbc-example/other-feature-example/hint-example/hint-raw-jdbc-example/src/main/java/org/apache/shardingsphere/example/hint/raw/jdbc/ExampleMain.java diff --git a/examples/sharding-jdbc-example/other-feature-example/hint-example/hint-raw-jdbc-example/src/main/java/org/apache/shardingsphere/example/hint/raw/jdbc/HintType.java b/examples/shardingsphere-jdbc-example/other-feature-example/hint-example/hint-raw-jdbc-example/src/main/java/org/apache/shardingsphere/example/hint/raw/jdbc/HintType.java similarity index 100% rename from examples/sharding-jdbc-example/other-feature-example/hint-example/hint-raw-jdbc-example/src/main/java/org/apache/shardingsphere/example/hint/raw/jdbc/HintType.java rename to examples/shardingsphere-jdbc-example/other-feature-example/hint-example/hint-raw-jdbc-example/src/main/java/org/apache/shardingsphere/example/hint/raw/jdbc/HintType.java diff --git a/examples/sharding-jdbc-example/other-feature-example/hint-example/hint-raw-jdbc-example/src/main/java/org/apache/shardingsphere/example/hint/raw/jdbc/ModuloHintShardingAlgorithm.java b/examples/shardingsphere-jdbc-example/other-feature-example/hint-example/hint-raw-jdbc-example/src/main/java/org/apache/shardingsphere/example/hint/raw/jdbc/ModuloHintShardingAlgorithm.java similarity index 100% rename from examples/sharding-jdbc-example/other-feature-example/hint-example/hint-raw-jdbc-example/src/main/java/org/apache/shardingsphere/example/hint/raw/jdbc/ModuloHintShardingAlgorithm.java rename to examples/shardingsphere-jdbc-example/other-feature-example/hint-example/hint-raw-jdbc-example/src/main/java/org/apache/shardingsphere/example/hint/raw/jdbc/ModuloHintShardingAlgorithm.java diff --git a/examples/sharding-jdbc-example/other-feature-example/hint-example/hint-raw-jdbc-example/src/main/resources/META-INF/hint-databases-only.yaml b/examples/shardingsphere-jdbc-example/other-feature-example/hint-example/hint-raw-jdbc-example/src/main/resources/META-INF/hint-databases-only.yaml similarity index 100% rename from examples/sharding-jdbc-example/other-feature-example/hint-example/hint-raw-jdbc-example/src/main/resources/META-INF/hint-databases-only.yaml rename to examples/shardingsphere-jdbc-example/other-feature-example/hint-example/hint-raw-jdbc-example/src/main/resources/META-INF/hint-databases-only.yaml diff --git a/examples/sharding-jdbc-example/other-feature-example/hint-example/hint-raw-jdbc-example/src/main/resources/META-INF/hint-databases-tables.yaml b/examples/shardingsphere-jdbc-example/other-feature-example/hint-example/hint-raw-jdbc-example/src/main/resources/META-INF/hint-databases-tables.yaml similarity index 100% rename from examples/sharding-jdbc-example/other-feature-example/hint-example/hint-raw-jdbc-example/src/main/resources/META-INF/hint-databases-tables.yaml rename to examples/shardingsphere-jdbc-example/other-feature-example/hint-example/hint-raw-jdbc-example/src/main/resources/META-INF/hint-databases-tables.yaml diff --git a/examples/sharding-jdbc-example/other-feature-example/hint-example/hint-raw-jdbc-example/src/main/resources/META-INF/hint-master-only.yaml b/examples/shardingsphere-jdbc-example/other-feature-example/hint-example/hint-raw-jdbc-example/src/main/resources/META-INF/hint-master-only.yaml similarity index 100% rename from examples/sharding-jdbc-example/other-feature-example/hint-example/hint-raw-jdbc-example/src/main/resources/META-INF/hint-master-only.yaml rename to examples/shardingsphere-jdbc-example/other-feature-example/hint-example/hint-raw-jdbc-example/src/main/resources/META-INF/hint-master-only.yaml diff --git a/examples/sharding-jdbc-example/other-feature-example/hint-example/hint-raw-jdbc-example/src/main/resources/META-INF/services/org.apache.shardingsphere.sharding.spi.algorithm.ShardingAlgorithm b/examples/shardingsphere-jdbc-example/other-feature-example/hint-example/hint-raw-jdbc-example/src/main/resources/META-INF/services/org.apache.shardingsphere.sharding.spi.algorithm.ShardingAlgorithm similarity index 100% rename from examples/sharding-jdbc-example/other-feature-example/hint-example/hint-raw-jdbc-example/src/main/resources/META-INF/services/org.apache.shardingsphere.sharding.spi.algorithm.ShardingAlgorithm rename to examples/shardingsphere-jdbc-example/other-feature-example/hint-example/hint-raw-jdbc-example/src/main/resources/META-INF/services/org.apache.shardingsphere.sharding.spi.algorithm.ShardingAlgorithm diff --git a/examples/sharding-jdbc-example/other-feature-example/hint-example/hint-raw-jdbc-example/src/main/resources/logback.xml b/examples/shardingsphere-jdbc-example/other-feature-example/hint-example/hint-raw-jdbc-example/src/main/resources/logback.xml similarity index 100% rename from examples/sharding-jdbc-example/other-feature-example/hint-example/hint-raw-jdbc-example/src/main/resources/logback.xml rename to examples/shardingsphere-jdbc-example/other-feature-example/hint-example/hint-raw-jdbc-example/src/main/resources/logback.xml diff --git a/examples/sharding-jdbc-example/other-feature-example/hint-example/pom.xml b/examples/shardingsphere-jdbc-example/other-feature-example/hint-example/pom.xml similarity index 97% rename from examples/sharding-jdbc-example/other-feature-example/hint-example/pom.xml rename to examples/shardingsphere-jdbc-example/other-feature-example/hint-example/pom.xml index 616a2dd3ceeb4e7df82296ce93ac4a93844471f4..c006fc575450da144e090305e1db5a49a057bf8a 100644 --- a/examples/sharding-jdbc-example/other-feature-example/hint-example/pom.xml +++ b/examples/shardingsphere-jdbc-example/other-feature-example/hint-example/pom.xml @@ -26,7 +26,7 @@ 5.0.0-RC1-SNAPSHOT hint-example - Example::hint::root + ${project.artifactId} pom diff --git a/examples/sharding-jdbc-example/other-feature-example/pom.xml b/examples/shardingsphere-jdbc-example/other-feature-example/pom.xml similarity index 93% rename from examples/sharding-jdbc-example/other-feature-example/pom.xml rename to examples/shardingsphere-jdbc-example/other-feature-example/pom.xml index 23eda7f2fab82f2f253f86f063e0e95d127b31e1..9013def495da8d91e409e5741710c3b9f003642f 100644 --- a/examples/sharding-jdbc-example/other-feature-example/pom.xml +++ b/examples/shardingsphere-jdbc-example/other-feature-example/pom.xml @@ -22,11 +22,11 @@ 4.0.0 org.apache.shardingsphere.example - sharding-jdbc-example + shardingsphere-jdbc-example 5.0.0-RC1-SNAPSHOT other-feature-example - Example::other-feature::root + ${project.artifactId} pom diff --git a/examples/sharding-jdbc-example/other-feature-example/shadow-example/pom.xml b/examples/shardingsphere-jdbc-example/other-feature-example/shadow-example/pom.xml similarity index 97% rename from examples/sharding-jdbc-example/other-feature-example/shadow-example/pom.xml rename to examples/shardingsphere-jdbc-example/other-feature-example/shadow-example/pom.xml index acd0d23783bc94eff41103d9c23f7df3925e2050..cebe220886e14c3c83d4f528dda8836040b4bd6b 100644 --- a/examples/sharding-jdbc-example/other-feature-example/shadow-example/pom.xml +++ b/examples/shardingsphere-jdbc-example/other-feature-example/shadow-example/pom.xml @@ -19,16 +19,16 @@ + 4.0.0 - other-feature-example org.apache.shardingsphere.example + other-feature-example 5.0.0-RC1-SNAPSHOT - 4.0.0 - Example::shadow::root shadow-example + ${project.artifactId} pom - + shadow-raw-jdbc-example shadow-spring-boot-example diff --git a/examples/sharding-jdbc-example/other-feature-example/shadow-example/shadow-raw-jdbc-example/pom.xml b/examples/shardingsphere-jdbc-example/other-feature-example/shadow-example/shadow-raw-jdbc-example/pom.xml similarity index 97% rename from examples/sharding-jdbc-example/other-feature-example/shadow-example/shadow-raw-jdbc-example/pom.xml rename to examples/shardingsphere-jdbc-example/other-feature-example/shadow-example/shadow-raw-jdbc-example/pom.xml index 4433afbc4fe6bcaa2f93bb83d02448b125c8d581..98ea985ec89b5fb54ae8577f5da1e51e4095ff7a 100644 --- a/examples/sharding-jdbc-example/other-feature-example/shadow-example/shadow-raw-jdbc-example/pom.xml +++ b/examples/shardingsphere-jdbc-example/other-feature-example/shadow-example/shadow-raw-jdbc-example/pom.xml @@ -19,26 +19,25 @@ + 4.0.0 - shadow-example org.apache.shardingsphere.example + shadow-example 5.0.0-RC1-SNAPSHOT - 4.0.0 - Example::shadow::raw-jdbc - shadow-raw-jdbc-example - + ${project.artifactId} + org.apache.shardingsphere.example example-raw-jdbc ${project.version} + org.apache.shardingsphere shardingsphere-jdbc-core - diff --git a/examples/sharding-jdbc-example/other-feature-example/shadow-example/shadow-raw-jdbc-example/src/main/java/org/apache/shardingsphere/example/shadow/table/raw/jdbc/JavaConfigurationExampleMain.java b/examples/shardingsphere-jdbc-example/other-feature-example/shadow-example/shadow-raw-jdbc-example/src/main/java/org/apache/shardingsphere/example/shadow/table/raw/jdbc/JavaConfigurationExampleMain.java similarity index 100% rename from examples/sharding-jdbc-example/other-feature-example/shadow-example/shadow-raw-jdbc-example/src/main/java/org/apache/shardingsphere/example/shadow/table/raw/jdbc/JavaConfigurationExampleMain.java rename to examples/shardingsphere-jdbc-example/other-feature-example/shadow-example/shadow-raw-jdbc-example/src/main/java/org/apache/shardingsphere/example/shadow/table/raw/jdbc/JavaConfigurationExampleMain.java diff --git a/examples/sharding-jdbc-example/other-feature-example/shadow-example/shadow-raw-jdbc-example/src/main/java/org/apache/shardingsphere/example/shadow/table/raw/jdbc/YamlConfigurationExampleMain.java b/examples/shardingsphere-jdbc-example/other-feature-example/shadow-example/shadow-raw-jdbc-example/src/main/java/org/apache/shardingsphere/example/shadow/table/raw/jdbc/YamlConfigurationExampleMain.java similarity index 100% rename from examples/sharding-jdbc-example/other-feature-example/shadow-example/shadow-raw-jdbc-example/src/main/java/org/apache/shardingsphere/example/shadow/table/raw/jdbc/YamlConfigurationExampleMain.java rename to examples/shardingsphere-jdbc-example/other-feature-example/shadow-example/shadow-raw-jdbc-example/src/main/java/org/apache/shardingsphere/example/shadow/table/raw/jdbc/YamlConfigurationExampleMain.java diff --git a/examples/sharding-jdbc-example/other-feature-example/shadow-example/shadow-raw-jdbc-example/src/main/java/org/apache/shardingsphere/example/shadow/table/raw/jdbc/config/ShadowDatabasesConfiguration.java b/examples/shardingsphere-jdbc-example/other-feature-example/shadow-example/shadow-raw-jdbc-example/src/main/java/org/apache/shardingsphere/example/shadow/table/raw/jdbc/config/ShadowDatabasesConfiguration.java similarity index 100% rename from examples/sharding-jdbc-example/other-feature-example/shadow-example/shadow-raw-jdbc-example/src/main/java/org/apache/shardingsphere/example/shadow/table/raw/jdbc/config/ShadowDatabasesConfiguration.java rename to examples/shardingsphere-jdbc-example/other-feature-example/shadow-example/shadow-raw-jdbc-example/src/main/java/org/apache/shardingsphere/example/shadow/table/raw/jdbc/config/ShadowDatabasesConfiguration.java diff --git a/examples/sharding-jdbc-example/other-feature-example/shadow-example/shadow-raw-jdbc-example/src/main/resources/META-INF/shadow-databases.yaml b/examples/shardingsphere-jdbc-example/other-feature-example/shadow-example/shadow-raw-jdbc-example/src/main/resources/META-INF/shadow-databases.yaml similarity index 100% rename from examples/sharding-jdbc-example/other-feature-example/shadow-example/shadow-raw-jdbc-example/src/main/resources/META-INF/shadow-databases.yaml rename to examples/shardingsphere-jdbc-example/other-feature-example/shadow-example/shadow-raw-jdbc-example/src/main/resources/META-INF/shadow-databases.yaml diff --git a/examples/sharding-jdbc-example/other-feature-example/shadow-example/shadow-raw-jdbc-example/src/main/resources/logback.xml b/examples/shardingsphere-jdbc-example/other-feature-example/shadow-example/shadow-raw-jdbc-example/src/main/resources/logback.xml similarity index 100% rename from examples/sharding-jdbc-example/other-feature-example/shadow-example/shadow-raw-jdbc-example/src/main/resources/logback.xml rename to examples/shardingsphere-jdbc-example/other-feature-example/shadow-example/shadow-raw-jdbc-example/src/main/resources/logback.xml diff --git a/examples/sharding-jdbc-example/other-feature-example/shadow-example/shadow-spring-boot-example/pom.xml b/examples/shardingsphere-jdbc-example/other-feature-example/shadow-example/shadow-spring-boot-example/pom.xml similarity index 97% rename from examples/sharding-jdbc-example/other-feature-example/shadow-example/shadow-spring-boot-example/pom.xml rename to examples/shardingsphere-jdbc-example/other-feature-example/shadow-example/shadow-spring-boot-example/pom.xml index d59df20f90f806deaafe0f0c5374333d983473de..78cc9e86c9dcb4645e6a3d3fd7f8b1c3910e01e4 100644 --- a/examples/sharding-jdbc-example/other-feature-example/shadow-example/shadow-spring-boot-example/pom.xml +++ b/examples/shardingsphere-jdbc-example/other-feature-example/shadow-example/shadow-spring-boot-example/pom.xml @@ -19,25 +19,27 @@ + 4.0.0 - shadow-example org.apache.shardingsphere.example + shadow-example 5.0.0-RC1-SNAPSHOT - 4.0.0 - Example::shadow::spring-boot shadow-spring-boot-example - + ${project.artifactId} + org.apache.shardingsphere.example example-spring-jpa ${project.version} + org.apache.shardingsphere shardingsphere-jdbc-core-spring-boot-starter + org.springframework.boot spring-boot-starter-data-jpa diff --git a/examples/sharding-jdbc-example/other-feature-example/shadow-example/shadow-spring-boot-example/src/main/java/org/apache/shardingsphere/example/shadow/table/spring/boot/ExampleMain.java b/examples/shardingsphere-jdbc-example/other-feature-example/shadow-example/shadow-spring-boot-example/src/main/java/org/apache/shardingsphere/example/shadow/table/spring/boot/ExampleMain.java similarity index 100% rename from examples/sharding-jdbc-example/other-feature-example/shadow-example/shadow-spring-boot-example/src/main/java/org/apache/shardingsphere/example/shadow/table/spring/boot/ExampleMain.java rename to examples/shardingsphere-jdbc-example/other-feature-example/shadow-example/shadow-spring-boot-example/src/main/java/org/apache/shardingsphere/example/shadow/table/spring/boot/ExampleMain.java diff --git a/examples/sharding-jdbc-example/other-feature-example/shadow-example/shadow-spring-boot-example/src/main/resources/application-shadow-databases.properties b/examples/shardingsphere-jdbc-example/other-feature-example/shadow-example/shadow-spring-boot-example/src/main/resources/application-shadow-databases.properties similarity index 100% rename from examples/sharding-jdbc-example/other-feature-example/shadow-example/shadow-spring-boot-example/src/main/resources/application-shadow-databases.properties rename to examples/shardingsphere-jdbc-example/other-feature-example/shadow-example/shadow-spring-boot-example/src/main/resources/application-shadow-databases.properties diff --git a/examples/sharding-jdbc-example/other-feature-example/shadow-example/shadow-spring-boot-example/src/main/resources/application.properties b/examples/shardingsphere-jdbc-example/other-feature-example/shadow-example/shadow-spring-boot-example/src/main/resources/application.properties similarity index 100% rename from examples/sharding-jdbc-example/other-feature-example/shadow-example/shadow-spring-boot-example/src/main/resources/application.properties rename to examples/shardingsphere-jdbc-example/other-feature-example/shadow-example/shadow-spring-boot-example/src/main/resources/application.properties diff --git a/examples/sharding-jdbc-example/other-feature-example/shadow-example/shadow-spring-boot-example/src/main/resources/logback.xml b/examples/shardingsphere-jdbc-example/other-feature-example/shadow-example/shadow-spring-boot-example/src/main/resources/logback.xml similarity index 100% rename from examples/sharding-jdbc-example/other-feature-example/shadow-example/shadow-spring-boot-example/src/main/resources/logback.xml rename to examples/shardingsphere-jdbc-example/other-feature-example/shadow-example/shadow-spring-boot-example/src/main/resources/logback.xml diff --git a/examples/sharding-jdbc-example/pom.xml b/examples/shardingsphere-jdbc-example/pom.xml similarity index 94% rename from examples/sharding-jdbc-example/pom.xml rename to examples/shardingsphere-jdbc-example/pom.xml index ed1ef83a4c379d918b8e1bedb49cd9921eb605e4..ec373fb3659e6c86a19082dfe02c9b19eb5c6657 100644 --- a/examples/sharding-jdbc-example/pom.xml +++ b/examples/shardingsphere-jdbc-example/pom.xml @@ -25,9 +25,8 @@ shardingsphere-example 5.0.0-RC1-SNAPSHOT - sharding-jdbc-example - Example::jdbc::root - + shardingsphere-jdbc-example + ${project.artifactId} pom diff --git a/examples/sharding-jdbc-example/sharding-example/pom.xml b/examples/shardingsphere-jdbc-example/sharding-example/pom.xml similarity index 94% rename from examples/sharding-jdbc-example/sharding-example/pom.xml rename to examples/shardingsphere-jdbc-example/sharding-example/pom.xml index 6153bbb96eb0fae7a8831f27f1041a47a83afc30..e8fd79c5b7dc8d808d39ea17800f088d8b915dfd 100644 --- a/examples/sharding-jdbc-example/sharding-example/pom.xml +++ b/examples/shardingsphere-jdbc-example/sharding-example/pom.xml @@ -22,12 +22,11 @@ 4.0.0 org.apache.shardingsphere.example - sharding-jdbc-example + shardingsphere-jdbc-example 5.0.0-RC1-SNAPSHOT sharding-example - Example::sharding::root - + ${project.artifactId} pom diff --git a/examples/sharding-jdbc-example/sharding-example/sharding-raw-jdbc-example/pom.xml b/examples/shardingsphere-jdbc-example/sharding-example/sharding-raw-jdbc-example/pom.xml similarity index 97% rename from examples/sharding-jdbc-example/sharding-example/sharding-raw-jdbc-example/pom.xml rename to examples/shardingsphere-jdbc-example/sharding-example/sharding-raw-jdbc-example/pom.xml index 6552e40281acffd1313a325e20946c18f84dd6b5..14f54179c93263e7c97182a57b0d3ff5c0dae6f8 100644 --- a/examples/sharding-jdbc-example/sharding-example/sharding-raw-jdbc-example/pom.xml +++ b/examples/shardingsphere-jdbc-example/sharding-example/sharding-raw-jdbc-example/pom.xml @@ -26,7 +26,7 @@ 5.0.0-RC1-SNAPSHOT sharding-raw-jdbc-example - Example::sharding::raw-jdbc + ${project.artifactId} diff --git a/examples/sharding-jdbc-example/sharding-example/sharding-raw-jdbc-example/src/main/java/org/apache/shardingsphere/example/sharding/raw/jdbc/JavaConfigurationExampleMain.java b/examples/shardingsphere-jdbc-example/sharding-example/sharding-raw-jdbc-example/src/main/java/org/apache/shardingsphere/example/sharding/raw/jdbc/JavaConfigurationExampleMain.java similarity index 100% rename from examples/sharding-jdbc-example/sharding-example/sharding-raw-jdbc-example/src/main/java/org/apache/shardingsphere/example/sharding/raw/jdbc/JavaConfigurationExampleMain.java rename to examples/shardingsphere-jdbc-example/sharding-example/sharding-raw-jdbc-example/src/main/java/org/apache/shardingsphere/example/sharding/raw/jdbc/JavaConfigurationExampleMain.java diff --git a/examples/sharding-jdbc-example/sharding-example/sharding-raw-jdbc-example/src/main/java/org/apache/shardingsphere/example/sharding/raw/jdbc/JavaRangeConfigurationExampleMain.java b/examples/shardingsphere-jdbc-example/sharding-example/sharding-raw-jdbc-example/src/main/java/org/apache/shardingsphere/example/sharding/raw/jdbc/JavaRangeConfigurationExampleMain.java similarity index 100% rename from examples/sharding-jdbc-example/sharding-example/sharding-raw-jdbc-example/src/main/java/org/apache/shardingsphere/example/sharding/raw/jdbc/JavaRangeConfigurationExampleMain.java rename to examples/shardingsphere-jdbc-example/sharding-example/sharding-raw-jdbc-example/src/main/java/org/apache/shardingsphere/example/sharding/raw/jdbc/JavaRangeConfigurationExampleMain.java diff --git a/examples/sharding-jdbc-example/sharding-example/sharding-raw-jdbc-example/src/main/java/org/apache/shardingsphere/example/sharding/raw/jdbc/YamlConfigurationExampleMain.java b/examples/shardingsphere-jdbc-example/sharding-example/sharding-raw-jdbc-example/src/main/java/org/apache/shardingsphere/example/sharding/raw/jdbc/YamlConfigurationExampleMain.java similarity index 100% rename from examples/sharding-jdbc-example/sharding-example/sharding-raw-jdbc-example/src/main/java/org/apache/shardingsphere/example/sharding/raw/jdbc/YamlConfigurationExampleMain.java rename to examples/shardingsphere-jdbc-example/sharding-example/sharding-raw-jdbc-example/src/main/java/org/apache/shardingsphere/example/sharding/raw/jdbc/YamlConfigurationExampleMain.java diff --git a/examples/sharding-jdbc-example/sharding-example/sharding-raw-jdbc-example/src/main/java/org/apache/shardingsphere/example/sharding/raw/jdbc/YamlRangeConfigurationExampleMain.java b/examples/shardingsphere-jdbc-example/sharding-example/sharding-raw-jdbc-example/src/main/java/org/apache/shardingsphere/example/sharding/raw/jdbc/YamlRangeConfigurationExampleMain.java similarity index 100% rename from examples/sharding-jdbc-example/sharding-example/sharding-raw-jdbc-example/src/main/java/org/apache/shardingsphere/example/sharding/raw/jdbc/YamlRangeConfigurationExampleMain.java rename to examples/shardingsphere-jdbc-example/sharding-example/sharding-raw-jdbc-example/src/main/java/org/apache/shardingsphere/example/sharding/raw/jdbc/YamlRangeConfigurationExampleMain.java diff --git a/examples/sharding-jdbc-example/sharding-example/sharding-raw-jdbc-example/src/main/java/org/apache/shardingsphere/example/sharding/raw/jdbc/config/MasterSlaveConfiguration.java b/examples/shardingsphere-jdbc-example/sharding-example/sharding-raw-jdbc-example/src/main/java/org/apache/shardingsphere/example/sharding/raw/jdbc/config/MasterSlaveConfiguration.java similarity index 100% rename from examples/sharding-jdbc-example/sharding-example/sharding-raw-jdbc-example/src/main/java/org/apache/shardingsphere/example/sharding/raw/jdbc/config/MasterSlaveConfiguration.java rename to examples/shardingsphere-jdbc-example/sharding-example/sharding-raw-jdbc-example/src/main/java/org/apache/shardingsphere/example/sharding/raw/jdbc/config/MasterSlaveConfiguration.java diff --git a/examples/sharding-jdbc-example/sharding-example/sharding-raw-jdbc-example/src/main/java/org/apache/shardingsphere/example/sharding/raw/jdbc/config/ShardingDatabasesAndTablesConfigurationPrecise.java b/examples/shardingsphere-jdbc-example/sharding-example/sharding-raw-jdbc-example/src/main/java/org/apache/shardingsphere/example/sharding/raw/jdbc/config/ShardingDatabasesAndTablesConfigurationPrecise.java similarity index 100% rename from examples/sharding-jdbc-example/sharding-example/sharding-raw-jdbc-example/src/main/java/org/apache/shardingsphere/example/sharding/raw/jdbc/config/ShardingDatabasesAndTablesConfigurationPrecise.java rename to examples/shardingsphere-jdbc-example/sharding-example/sharding-raw-jdbc-example/src/main/java/org/apache/shardingsphere/example/sharding/raw/jdbc/config/ShardingDatabasesAndTablesConfigurationPrecise.java diff --git a/examples/sharding-jdbc-example/sharding-example/sharding-raw-jdbc-example/src/main/java/org/apache/shardingsphere/example/sharding/raw/jdbc/config/ShardingDatabasesAndTablesConfigurationRange.java b/examples/shardingsphere-jdbc-example/sharding-example/sharding-raw-jdbc-example/src/main/java/org/apache/shardingsphere/example/sharding/raw/jdbc/config/ShardingDatabasesAndTablesConfigurationRange.java similarity index 100% rename from examples/sharding-jdbc-example/sharding-example/sharding-raw-jdbc-example/src/main/java/org/apache/shardingsphere/example/sharding/raw/jdbc/config/ShardingDatabasesAndTablesConfigurationRange.java rename to examples/shardingsphere-jdbc-example/sharding-example/sharding-raw-jdbc-example/src/main/java/org/apache/shardingsphere/example/sharding/raw/jdbc/config/ShardingDatabasesAndTablesConfigurationRange.java diff --git a/examples/sharding-jdbc-example/sharding-example/sharding-raw-jdbc-example/src/main/java/org/apache/shardingsphere/example/sharding/raw/jdbc/config/ShardingDatabasesConfigurationPrecise.java b/examples/shardingsphere-jdbc-example/sharding-example/sharding-raw-jdbc-example/src/main/java/org/apache/shardingsphere/example/sharding/raw/jdbc/config/ShardingDatabasesConfigurationPrecise.java similarity index 100% rename from examples/sharding-jdbc-example/sharding-example/sharding-raw-jdbc-example/src/main/java/org/apache/shardingsphere/example/sharding/raw/jdbc/config/ShardingDatabasesConfigurationPrecise.java rename to examples/shardingsphere-jdbc-example/sharding-example/sharding-raw-jdbc-example/src/main/java/org/apache/shardingsphere/example/sharding/raw/jdbc/config/ShardingDatabasesConfigurationPrecise.java diff --git a/examples/sharding-jdbc-example/sharding-example/sharding-raw-jdbc-example/src/main/java/org/apache/shardingsphere/example/sharding/raw/jdbc/config/ShardingDatabasesConfigurationRange.java b/examples/shardingsphere-jdbc-example/sharding-example/sharding-raw-jdbc-example/src/main/java/org/apache/shardingsphere/example/sharding/raw/jdbc/config/ShardingDatabasesConfigurationRange.java similarity index 100% rename from examples/sharding-jdbc-example/sharding-example/sharding-raw-jdbc-example/src/main/java/org/apache/shardingsphere/example/sharding/raw/jdbc/config/ShardingDatabasesConfigurationRange.java rename to examples/shardingsphere-jdbc-example/sharding-example/sharding-raw-jdbc-example/src/main/java/org/apache/shardingsphere/example/sharding/raw/jdbc/config/ShardingDatabasesConfigurationRange.java diff --git a/examples/sharding-jdbc-example/sharding-example/sharding-raw-jdbc-example/src/main/java/org/apache/shardingsphere/example/sharding/raw/jdbc/config/ShardingMasterSlaveConfigurationPrecise.java b/examples/shardingsphere-jdbc-example/sharding-example/sharding-raw-jdbc-example/src/main/java/org/apache/shardingsphere/example/sharding/raw/jdbc/config/ShardingMasterSlaveConfigurationPrecise.java similarity index 100% rename from examples/sharding-jdbc-example/sharding-example/sharding-raw-jdbc-example/src/main/java/org/apache/shardingsphere/example/sharding/raw/jdbc/config/ShardingMasterSlaveConfigurationPrecise.java rename to examples/shardingsphere-jdbc-example/sharding-example/sharding-raw-jdbc-example/src/main/java/org/apache/shardingsphere/example/sharding/raw/jdbc/config/ShardingMasterSlaveConfigurationPrecise.java diff --git a/examples/sharding-jdbc-example/sharding-example/sharding-raw-jdbc-example/src/main/java/org/apache/shardingsphere/example/sharding/raw/jdbc/config/ShardingMasterSlaveConfigurationRange.java b/examples/shardingsphere-jdbc-example/sharding-example/sharding-raw-jdbc-example/src/main/java/org/apache/shardingsphere/example/sharding/raw/jdbc/config/ShardingMasterSlaveConfigurationRange.java similarity index 100% rename from examples/sharding-jdbc-example/sharding-example/sharding-raw-jdbc-example/src/main/java/org/apache/shardingsphere/example/sharding/raw/jdbc/config/ShardingMasterSlaveConfigurationRange.java rename to examples/shardingsphere-jdbc-example/sharding-example/sharding-raw-jdbc-example/src/main/java/org/apache/shardingsphere/example/sharding/raw/jdbc/config/ShardingMasterSlaveConfigurationRange.java diff --git a/examples/sharding-jdbc-example/sharding-example/sharding-raw-jdbc-example/src/main/java/org/apache/shardingsphere/example/sharding/raw/jdbc/config/ShardingTablesConfigurationPrecise.java b/examples/shardingsphere-jdbc-example/sharding-example/sharding-raw-jdbc-example/src/main/java/org/apache/shardingsphere/example/sharding/raw/jdbc/config/ShardingTablesConfigurationPrecise.java similarity index 100% rename from examples/sharding-jdbc-example/sharding-example/sharding-raw-jdbc-example/src/main/java/org/apache/shardingsphere/example/sharding/raw/jdbc/config/ShardingTablesConfigurationPrecise.java rename to examples/shardingsphere-jdbc-example/sharding-example/sharding-raw-jdbc-example/src/main/java/org/apache/shardingsphere/example/sharding/raw/jdbc/config/ShardingTablesConfigurationPrecise.java diff --git a/examples/sharding-jdbc-example/sharding-example/sharding-raw-jdbc-example/src/main/java/org/apache/shardingsphere/example/sharding/raw/jdbc/config/ShardingTablesConfigurationRange.java b/examples/shardingsphere-jdbc-example/sharding-example/sharding-raw-jdbc-example/src/main/java/org/apache/shardingsphere/example/sharding/raw/jdbc/config/ShardingTablesConfigurationRange.java similarity index 100% rename from examples/sharding-jdbc-example/sharding-example/sharding-raw-jdbc-example/src/main/java/org/apache/shardingsphere/example/sharding/raw/jdbc/config/ShardingTablesConfigurationRange.java rename to examples/shardingsphere-jdbc-example/sharding-example/sharding-raw-jdbc-example/src/main/java/org/apache/shardingsphere/example/sharding/raw/jdbc/config/ShardingTablesConfigurationRange.java diff --git a/examples/sharding-jdbc-example/sharding-example/sharding-raw-jdbc-example/src/main/java/org/apache/shardingsphere/example/sharding/raw/jdbc/factory/DataSourceFactory.java b/examples/shardingsphere-jdbc-example/sharding-example/sharding-raw-jdbc-example/src/main/java/org/apache/shardingsphere/example/sharding/raw/jdbc/factory/DataSourceFactory.java similarity index 100% rename from examples/sharding-jdbc-example/sharding-example/sharding-raw-jdbc-example/src/main/java/org/apache/shardingsphere/example/sharding/raw/jdbc/factory/DataSourceFactory.java rename to examples/shardingsphere-jdbc-example/sharding-example/sharding-raw-jdbc-example/src/main/java/org/apache/shardingsphere/example/sharding/raw/jdbc/factory/DataSourceFactory.java diff --git a/examples/sharding-jdbc-example/sharding-example/sharding-raw-jdbc-example/src/main/java/org/apache/shardingsphere/example/sharding/raw/jdbc/factory/RangeDataSourceFactory.java b/examples/shardingsphere-jdbc-example/sharding-example/sharding-raw-jdbc-example/src/main/java/org/apache/shardingsphere/example/sharding/raw/jdbc/factory/RangeDataSourceFactory.java similarity index 100% rename from examples/sharding-jdbc-example/sharding-example/sharding-raw-jdbc-example/src/main/java/org/apache/shardingsphere/example/sharding/raw/jdbc/factory/RangeDataSourceFactory.java rename to examples/shardingsphere-jdbc-example/sharding-example/sharding-raw-jdbc-example/src/main/java/org/apache/shardingsphere/example/sharding/raw/jdbc/factory/RangeDataSourceFactory.java diff --git a/examples/sharding-jdbc-example/sharding-example/sharding-raw-jdbc-example/src/main/java/org/apache/shardingsphere/example/sharding/raw/jdbc/factory/YamlDataSourceFactory.java b/examples/shardingsphere-jdbc-example/sharding-example/sharding-raw-jdbc-example/src/main/java/org/apache/shardingsphere/example/sharding/raw/jdbc/factory/YamlDataSourceFactory.java similarity index 100% rename from examples/sharding-jdbc-example/sharding-example/sharding-raw-jdbc-example/src/main/java/org/apache/shardingsphere/example/sharding/raw/jdbc/factory/YamlDataSourceFactory.java rename to examples/shardingsphere-jdbc-example/sharding-example/sharding-raw-jdbc-example/src/main/java/org/apache/shardingsphere/example/sharding/raw/jdbc/factory/YamlDataSourceFactory.java diff --git a/examples/sharding-jdbc-example/sharding-example/sharding-raw-jdbc-example/src/main/java/org/apache/shardingsphere/example/sharding/raw/jdbc/factory/YamlRangeDataSourceFactory.java b/examples/shardingsphere-jdbc-example/sharding-example/sharding-raw-jdbc-example/src/main/java/org/apache/shardingsphere/example/sharding/raw/jdbc/factory/YamlRangeDataSourceFactory.java similarity index 100% rename from examples/sharding-jdbc-example/sharding-example/sharding-raw-jdbc-example/src/main/java/org/apache/shardingsphere/example/sharding/raw/jdbc/factory/YamlRangeDataSourceFactory.java rename to examples/shardingsphere-jdbc-example/sharding-example/sharding-raw-jdbc-example/src/main/java/org/apache/shardingsphere/example/sharding/raw/jdbc/factory/YamlRangeDataSourceFactory.java diff --git a/examples/sharding-jdbc-example/sharding-example/sharding-raw-jdbc-example/src/main/resources/META-INF/master-slave.yaml b/examples/shardingsphere-jdbc-example/sharding-example/sharding-raw-jdbc-example/src/main/resources/META-INF/master-slave.yaml similarity index 100% rename from examples/sharding-jdbc-example/sharding-example/sharding-raw-jdbc-example/src/main/resources/META-INF/master-slave.yaml rename to examples/shardingsphere-jdbc-example/sharding-example/sharding-raw-jdbc-example/src/main/resources/META-INF/master-slave.yaml diff --git a/examples/sharding-jdbc-example/sharding-example/sharding-raw-jdbc-example/src/main/resources/META-INF/sharding-databases-range.yaml b/examples/shardingsphere-jdbc-example/sharding-example/sharding-raw-jdbc-example/src/main/resources/META-INF/sharding-databases-range.yaml similarity index 100% rename from examples/sharding-jdbc-example/sharding-example/sharding-raw-jdbc-example/src/main/resources/META-INF/sharding-databases-range.yaml rename to examples/shardingsphere-jdbc-example/sharding-example/sharding-raw-jdbc-example/src/main/resources/META-INF/sharding-databases-range.yaml diff --git a/examples/sharding-jdbc-example/sharding-example/sharding-raw-jdbc-example/src/main/resources/META-INF/sharding-databases-tables-range.yaml b/examples/shardingsphere-jdbc-example/sharding-example/sharding-raw-jdbc-example/src/main/resources/META-INF/sharding-databases-tables-range.yaml similarity index 100% rename from examples/sharding-jdbc-example/sharding-example/sharding-raw-jdbc-example/src/main/resources/META-INF/sharding-databases-tables-range.yaml rename to examples/shardingsphere-jdbc-example/sharding-example/sharding-raw-jdbc-example/src/main/resources/META-INF/sharding-databases-tables-range.yaml diff --git a/examples/sharding-jdbc-example/sharding-example/sharding-raw-jdbc-example/src/main/resources/META-INF/sharding-databases-tables.yaml b/examples/shardingsphere-jdbc-example/sharding-example/sharding-raw-jdbc-example/src/main/resources/META-INF/sharding-databases-tables.yaml similarity index 100% rename from examples/sharding-jdbc-example/sharding-example/sharding-raw-jdbc-example/src/main/resources/META-INF/sharding-databases-tables.yaml rename to examples/shardingsphere-jdbc-example/sharding-example/sharding-raw-jdbc-example/src/main/resources/META-INF/sharding-databases-tables.yaml diff --git a/examples/sharding-jdbc-example/sharding-example/sharding-raw-jdbc-example/src/main/resources/META-INF/sharding-databases.yaml b/examples/shardingsphere-jdbc-example/sharding-example/sharding-raw-jdbc-example/src/main/resources/META-INF/sharding-databases.yaml similarity index 100% rename from examples/sharding-jdbc-example/sharding-example/sharding-raw-jdbc-example/src/main/resources/META-INF/sharding-databases.yaml rename to examples/shardingsphere-jdbc-example/sharding-example/sharding-raw-jdbc-example/src/main/resources/META-INF/sharding-databases.yaml diff --git a/examples/sharding-jdbc-example/sharding-example/sharding-raw-jdbc-example/src/main/resources/META-INF/sharding-master-slave-range.yaml b/examples/shardingsphere-jdbc-example/sharding-example/sharding-raw-jdbc-example/src/main/resources/META-INF/sharding-master-slave-range.yaml similarity index 100% rename from examples/sharding-jdbc-example/sharding-example/sharding-raw-jdbc-example/src/main/resources/META-INF/sharding-master-slave-range.yaml rename to examples/shardingsphere-jdbc-example/sharding-example/sharding-raw-jdbc-example/src/main/resources/META-INF/sharding-master-slave-range.yaml diff --git a/examples/sharding-jdbc-example/sharding-example/sharding-raw-jdbc-example/src/main/resources/META-INF/sharding-master-slave.yaml b/examples/shardingsphere-jdbc-example/sharding-example/sharding-raw-jdbc-example/src/main/resources/META-INF/sharding-master-slave.yaml similarity index 100% rename from examples/sharding-jdbc-example/sharding-example/sharding-raw-jdbc-example/src/main/resources/META-INF/sharding-master-slave.yaml rename to examples/shardingsphere-jdbc-example/sharding-example/sharding-raw-jdbc-example/src/main/resources/META-INF/sharding-master-slave.yaml diff --git a/examples/sharding-jdbc-example/sharding-example/sharding-raw-jdbc-example/src/main/resources/META-INF/sharding-tables-range.yaml b/examples/shardingsphere-jdbc-example/sharding-example/sharding-raw-jdbc-example/src/main/resources/META-INF/sharding-tables-range.yaml similarity index 100% rename from examples/sharding-jdbc-example/sharding-example/sharding-raw-jdbc-example/src/main/resources/META-INF/sharding-tables-range.yaml rename to examples/shardingsphere-jdbc-example/sharding-example/sharding-raw-jdbc-example/src/main/resources/META-INF/sharding-tables-range.yaml diff --git a/examples/sharding-jdbc-example/sharding-example/sharding-raw-jdbc-example/src/main/resources/META-INF/sharding-tables.yaml b/examples/shardingsphere-jdbc-example/sharding-example/sharding-raw-jdbc-example/src/main/resources/META-INF/sharding-tables.yaml similarity index 100% rename from examples/sharding-jdbc-example/sharding-example/sharding-raw-jdbc-example/src/main/resources/META-INF/sharding-tables.yaml rename to examples/shardingsphere-jdbc-example/sharding-example/sharding-raw-jdbc-example/src/main/resources/META-INF/sharding-tables.yaml diff --git a/examples/shardingsphere-jdbc-example/sharding-example/sharding-raw-jdbc-example/src/main/resources/logback.xml b/examples/shardingsphere-jdbc-example/sharding-example/sharding-raw-jdbc-example/src/main/resources/logback.xml new file mode 100644 index 0000000000000000000000000000000000000000..ff5d0277482d01bb69c25385288c9aa5b0ac8ff3 --- /dev/null +++ b/examples/shardingsphere-jdbc-example/sharding-example/sharding-raw-jdbc-example/src/main/resources/logback.xml @@ -0,0 +1,34 @@ + + + + + + + + ${log.context.name} + + + + ${log.pattern} + + + + + + + diff --git a/examples/sharding-jdbc-example/sharding-example/sharding-spring-boot-jpa-example/pom.xml b/examples/shardingsphere-jdbc-example/sharding-example/sharding-spring-boot-jpa-example/pom.xml similarity index 97% rename from examples/sharding-jdbc-example/sharding-example/sharding-spring-boot-jpa-example/pom.xml rename to examples/shardingsphere-jdbc-example/sharding-example/sharding-spring-boot-jpa-example/pom.xml index aee456725d3cbe18f72fd9bf09a3d1fe89aa9235..646140e5b3a16221aafdbd4c575222ddab0c1de1 100644 --- a/examples/sharding-jdbc-example/sharding-example/sharding-spring-boot-jpa-example/pom.xml +++ b/examples/shardingsphere-jdbc-example/sharding-example/sharding-spring-boot-jpa-example/pom.xml @@ -26,8 +26,8 @@ 5.0.0-RC1-SNAPSHOT sharding-spring-boot-jpa-example - Example::sharding::spring-boot-jpa - + ${project.artifactId} + org.apache.shardingsphere.example diff --git a/examples/sharding-jdbc-example/sharding-example/sharding-spring-boot-jpa-example/src/main/java/org/apache/shardingsphere/example/sharding/spring/boot/jpa/ExampleMain.java b/examples/shardingsphere-jdbc-example/sharding-example/sharding-spring-boot-jpa-example/src/main/java/org/apache/shardingsphere/example/sharding/spring/boot/jpa/ExampleMain.java similarity index 100% rename from examples/sharding-jdbc-example/sharding-example/sharding-spring-boot-jpa-example/src/main/java/org/apache/shardingsphere/example/sharding/spring/boot/jpa/ExampleMain.java rename to examples/shardingsphere-jdbc-example/sharding-example/sharding-spring-boot-jpa-example/src/main/java/org/apache/shardingsphere/example/sharding/spring/boot/jpa/ExampleMain.java diff --git a/examples/sharding-jdbc-example/sharding-example/sharding-spring-boot-jpa-example/src/main/resources/application-master-slave.properties b/examples/shardingsphere-jdbc-example/sharding-example/sharding-spring-boot-jpa-example/src/main/resources/application-master-slave.properties similarity index 100% rename from examples/sharding-jdbc-example/sharding-example/sharding-spring-boot-jpa-example/src/main/resources/application-master-slave.properties rename to examples/shardingsphere-jdbc-example/sharding-example/sharding-spring-boot-jpa-example/src/main/resources/application-master-slave.properties diff --git a/examples/sharding-jdbc-example/sharding-example/sharding-spring-boot-jpa-example/src/main/resources/application-sharding-databases-tables.properties b/examples/shardingsphere-jdbc-example/sharding-example/sharding-spring-boot-jpa-example/src/main/resources/application-sharding-databases-tables.properties similarity index 100% rename from examples/sharding-jdbc-example/sharding-example/sharding-spring-boot-jpa-example/src/main/resources/application-sharding-databases-tables.properties rename to examples/shardingsphere-jdbc-example/sharding-example/sharding-spring-boot-jpa-example/src/main/resources/application-sharding-databases-tables.properties diff --git a/examples/sharding-jdbc-example/sharding-example/sharding-spring-boot-jpa-example/src/main/resources/application-sharding-databases.properties b/examples/shardingsphere-jdbc-example/sharding-example/sharding-spring-boot-jpa-example/src/main/resources/application-sharding-databases.properties similarity index 100% rename from examples/sharding-jdbc-example/sharding-example/sharding-spring-boot-jpa-example/src/main/resources/application-sharding-databases.properties rename to examples/shardingsphere-jdbc-example/sharding-example/sharding-spring-boot-jpa-example/src/main/resources/application-sharding-databases.properties diff --git a/examples/sharding-jdbc-example/sharding-example/sharding-spring-boot-jpa-example/src/main/resources/application-sharding-master-slave.properties b/examples/shardingsphere-jdbc-example/sharding-example/sharding-spring-boot-jpa-example/src/main/resources/application-sharding-master-slave.properties similarity index 100% rename from examples/sharding-jdbc-example/sharding-example/sharding-spring-boot-jpa-example/src/main/resources/application-sharding-master-slave.properties rename to examples/shardingsphere-jdbc-example/sharding-example/sharding-spring-boot-jpa-example/src/main/resources/application-sharding-master-slave.properties diff --git a/examples/sharding-jdbc-example/sharding-example/sharding-spring-boot-jpa-example/src/main/resources/application-sharding-tables.properties b/examples/shardingsphere-jdbc-example/sharding-example/sharding-spring-boot-jpa-example/src/main/resources/application-sharding-tables.properties similarity index 100% rename from examples/sharding-jdbc-example/sharding-example/sharding-spring-boot-jpa-example/src/main/resources/application-sharding-tables.properties rename to examples/shardingsphere-jdbc-example/sharding-example/sharding-spring-boot-jpa-example/src/main/resources/application-sharding-tables.properties diff --git a/examples/sharding-jdbc-example/sharding-example/sharding-spring-boot-jpa-example/src/main/resources/application.properties b/examples/shardingsphere-jdbc-example/sharding-example/sharding-spring-boot-jpa-example/src/main/resources/application.properties similarity index 100% rename from examples/sharding-jdbc-example/sharding-example/sharding-spring-boot-jpa-example/src/main/resources/application.properties rename to examples/shardingsphere-jdbc-example/sharding-example/sharding-spring-boot-jpa-example/src/main/resources/application.properties diff --git a/examples/sharding-jdbc-example/sharding-example/sharding-spring-boot-jpa-example/src/main/resources/logback.xml b/examples/shardingsphere-jdbc-example/sharding-example/sharding-spring-boot-jpa-example/src/main/resources/logback.xml similarity index 100% rename from examples/sharding-jdbc-example/sharding-example/sharding-spring-boot-jpa-example/src/main/resources/logback.xml rename to examples/shardingsphere-jdbc-example/sharding-example/sharding-spring-boot-jpa-example/src/main/resources/logback.xml diff --git a/examples/sharding-jdbc-example/sharding-example/sharding-spring-boot-mybatis-example/pom.xml b/examples/shardingsphere-jdbc-example/sharding-example/sharding-spring-boot-mybatis-example/pom.xml similarity index 97% rename from examples/sharding-jdbc-example/sharding-example/sharding-spring-boot-mybatis-example/pom.xml rename to examples/shardingsphere-jdbc-example/sharding-example/sharding-spring-boot-mybatis-example/pom.xml index c2ca1cfe739a3de28cb580f2cc9288cf814a2521..97b272b1154a6900242c1ef050eb207cad754416 100644 --- a/examples/sharding-jdbc-example/sharding-example/sharding-spring-boot-mybatis-example/pom.xml +++ b/examples/shardingsphere-jdbc-example/sharding-example/sharding-spring-boot-mybatis-example/pom.xml @@ -26,7 +26,7 @@ 5.0.0-RC1-SNAPSHOT sharding-spring-boot-mybatis-example - Example::sharding::spring-boot-mybatis + ${project.artifactId} @@ -34,12 +34,12 @@ example-spring-mybatis ${project.version} - + org.apache.shardingsphere shardingsphere-jdbc-core-spring-boot-starter - + org.mybatis.spring.boot mybatis-spring-boot-starter diff --git a/examples/sharding-jdbc-example/sharding-example/sharding-spring-boot-mybatis-example/src/main/java/org/apache/shardingsphere/example/sharding/spring/boot/mybatis/ExampleMain.java b/examples/shardingsphere-jdbc-example/sharding-example/sharding-spring-boot-mybatis-example/src/main/java/org/apache/shardingsphere/example/sharding/spring/boot/mybatis/ExampleMain.java similarity index 100% rename from examples/sharding-jdbc-example/sharding-example/sharding-spring-boot-mybatis-example/src/main/java/org/apache/shardingsphere/example/sharding/spring/boot/mybatis/ExampleMain.java rename to examples/shardingsphere-jdbc-example/sharding-example/sharding-spring-boot-mybatis-example/src/main/java/org/apache/shardingsphere/example/sharding/spring/boot/mybatis/ExampleMain.java diff --git a/examples/sharding-jdbc-example/sharding-example/sharding-spring-boot-mybatis-example/src/main/resources/META-INF/mybatis-config.xml b/examples/shardingsphere-jdbc-example/sharding-example/sharding-spring-boot-mybatis-example/src/main/resources/META-INF/mybatis-config.xml similarity index 100% rename from examples/sharding-jdbc-example/sharding-example/sharding-spring-boot-mybatis-example/src/main/resources/META-INF/mybatis-config.xml rename to examples/shardingsphere-jdbc-example/sharding-example/sharding-spring-boot-mybatis-example/src/main/resources/META-INF/mybatis-config.xml diff --git a/examples/sharding-jdbc-example/sharding-example/sharding-spring-boot-mybatis-example/src/main/resources/application-master-slave.properties b/examples/shardingsphere-jdbc-example/sharding-example/sharding-spring-boot-mybatis-example/src/main/resources/application-master-slave.properties similarity index 100% rename from examples/sharding-jdbc-example/sharding-example/sharding-spring-boot-mybatis-example/src/main/resources/application-master-slave.properties rename to examples/shardingsphere-jdbc-example/sharding-example/sharding-spring-boot-mybatis-example/src/main/resources/application-master-slave.properties diff --git a/examples/sharding-jdbc-example/sharding-example/sharding-spring-boot-mybatis-example/src/main/resources/application-sharding-databases-tables.properties b/examples/shardingsphere-jdbc-example/sharding-example/sharding-spring-boot-mybatis-example/src/main/resources/application-sharding-databases-tables.properties similarity index 100% rename from examples/sharding-jdbc-example/sharding-example/sharding-spring-boot-mybatis-example/src/main/resources/application-sharding-databases-tables.properties rename to examples/shardingsphere-jdbc-example/sharding-example/sharding-spring-boot-mybatis-example/src/main/resources/application-sharding-databases-tables.properties diff --git a/examples/sharding-jdbc-example/sharding-example/sharding-spring-boot-mybatis-example/src/main/resources/application-sharding-databases.properties b/examples/shardingsphere-jdbc-example/sharding-example/sharding-spring-boot-mybatis-example/src/main/resources/application-sharding-databases.properties similarity index 100% rename from examples/sharding-jdbc-example/sharding-example/sharding-spring-boot-mybatis-example/src/main/resources/application-sharding-databases.properties rename to examples/shardingsphere-jdbc-example/sharding-example/sharding-spring-boot-mybatis-example/src/main/resources/application-sharding-databases.properties diff --git a/examples/sharding-jdbc-example/sharding-example/sharding-spring-boot-mybatis-example/src/main/resources/application-sharding-master-slave.properties b/examples/shardingsphere-jdbc-example/sharding-example/sharding-spring-boot-mybatis-example/src/main/resources/application-sharding-master-slave.properties similarity index 100% rename from examples/sharding-jdbc-example/sharding-example/sharding-spring-boot-mybatis-example/src/main/resources/application-sharding-master-slave.properties rename to examples/shardingsphere-jdbc-example/sharding-example/sharding-spring-boot-mybatis-example/src/main/resources/application-sharding-master-slave.properties diff --git a/examples/sharding-jdbc-example/sharding-example/sharding-spring-boot-mybatis-example/src/main/resources/application-sharding-tables.properties b/examples/shardingsphere-jdbc-example/sharding-example/sharding-spring-boot-mybatis-example/src/main/resources/application-sharding-tables.properties similarity index 100% rename from examples/sharding-jdbc-example/sharding-example/sharding-spring-boot-mybatis-example/src/main/resources/application-sharding-tables.properties rename to examples/shardingsphere-jdbc-example/sharding-example/sharding-spring-boot-mybatis-example/src/main/resources/application-sharding-tables.properties diff --git a/examples/sharding-jdbc-example/sharding-example/sharding-spring-boot-mybatis-example/src/main/resources/application.properties b/examples/shardingsphere-jdbc-example/sharding-example/sharding-spring-boot-mybatis-example/src/main/resources/application.properties similarity index 100% rename from examples/sharding-jdbc-example/sharding-example/sharding-spring-boot-mybatis-example/src/main/resources/application.properties rename to examples/shardingsphere-jdbc-example/sharding-example/sharding-spring-boot-mybatis-example/src/main/resources/application.properties diff --git a/examples/shardingsphere-jdbc-example/sharding-example/sharding-spring-boot-mybatis-example/src/main/resources/logback.xml b/examples/shardingsphere-jdbc-example/sharding-example/sharding-spring-boot-mybatis-example/src/main/resources/logback.xml new file mode 100644 index 0000000000000000000000000000000000000000..7615b67a1ef8aa65b0fa8569204e4a52da539cf1 --- /dev/null +++ b/examples/shardingsphere-jdbc-example/sharding-example/sharding-spring-boot-mybatis-example/src/main/resources/logback.xml @@ -0,0 +1,34 @@ + + + + + + + + ${log.context.name} + + + + ${log.pattern} + + + + + + + diff --git a/examples/sharding-jdbc-example/sharding-example/sharding-spring-namespace-jpa-example/pom.xml b/examples/shardingsphere-jdbc-example/sharding-example/sharding-spring-namespace-jpa-example/pom.xml similarity index 96% rename from examples/sharding-jdbc-example/sharding-example/sharding-spring-namespace-jpa-example/pom.xml rename to examples/shardingsphere-jdbc-example/sharding-example/sharding-spring-namespace-jpa-example/pom.xml index 340f321f6dd072e57c66b72293507a64aea511b9..b28eb83cf0f48c2c978f7625822c895ec38b207f 100644 --- a/examples/sharding-jdbc-example/sharding-example/sharding-spring-namespace-jpa-example/pom.xml +++ b/examples/shardingsphere-jdbc-example/sharding-example/sharding-spring-namespace-jpa-example/pom.xml @@ -26,15 +26,15 @@ 5.0.0-RC1-SNAPSHOT sharding-spring-namespace-jpa-example - Example::sharding::spring-namespace-jpa - + ${project.artifactId} + org.apache.shardingsphere.example example-spring-jpa ${project.version} - + org.apache.shardingsphere shardingsphere-jdbc-core-spring-namespace diff --git a/examples/sharding-jdbc-example/sharding-example/sharding-spring-namespace-jpa-example/src/main/java/org/apache/shardingsphere/example/sharding/spring/namespace/jpa/ExampleMain.java b/examples/shardingsphere-jdbc-example/sharding-example/sharding-spring-namespace-jpa-example/src/main/java/org/apache/shardingsphere/example/sharding/spring/namespace/jpa/ExampleMain.java similarity index 100% rename from examples/sharding-jdbc-example/sharding-example/sharding-spring-namespace-jpa-example/src/main/java/org/apache/shardingsphere/example/sharding/spring/namespace/jpa/ExampleMain.java rename to examples/shardingsphere-jdbc-example/sharding-example/sharding-spring-namespace-jpa-example/src/main/java/org/apache/shardingsphere/example/sharding/spring/namespace/jpa/ExampleMain.java diff --git a/examples/sharding-jdbc-example/sharding-example/sharding-spring-namespace-jpa-example/src/main/resources/META-INF/application-master-slave.xml b/examples/shardingsphere-jdbc-example/sharding-example/sharding-spring-namespace-jpa-example/src/main/resources/META-INF/application-master-slave.xml similarity index 100% rename from examples/sharding-jdbc-example/sharding-example/sharding-spring-namespace-jpa-example/src/main/resources/META-INF/application-master-slave.xml rename to examples/shardingsphere-jdbc-example/sharding-example/sharding-spring-namespace-jpa-example/src/main/resources/META-INF/application-master-slave.xml diff --git a/examples/sharding-jdbc-example/sharding-example/sharding-spring-namespace-jpa-example/src/main/resources/META-INF/application-sharding-databases-tables.xml b/examples/shardingsphere-jdbc-example/sharding-example/sharding-spring-namespace-jpa-example/src/main/resources/META-INF/application-sharding-databases-tables.xml similarity index 100% rename from examples/sharding-jdbc-example/sharding-example/sharding-spring-namespace-jpa-example/src/main/resources/META-INF/application-sharding-databases-tables.xml rename to examples/shardingsphere-jdbc-example/sharding-example/sharding-spring-namespace-jpa-example/src/main/resources/META-INF/application-sharding-databases-tables.xml diff --git a/examples/sharding-jdbc-example/sharding-example/sharding-spring-namespace-jpa-example/src/main/resources/META-INF/application-sharding-databases.xml b/examples/shardingsphere-jdbc-example/sharding-example/sharding-spring-namespace-jpa-example/src/main/resources/META-INF/application-sharding-databases.xml similarity index 100% rename from examples/sharding-jdbc-example/sharding-example/sharding-spring-namespace-jpa-example/src/main/resources/META-INF/application-sharding-databases.xml rename to examples/shardingsphere-jdbc-example/sharding-example/sharding-spring-namespace-jpa-example/src/main/resources/META-INF/application-sharding-databases.xml diff --git a/examples/sharding-jdbc-example/sharding-example/sharding-spring-namespace-jpa-example/src/main/resources/META-INF/application-sharding-master-slave.xml b/examples/shardingsphere-jdbc-example/sharding-example/sharding-spring-namespace-jpa-example/src/main/resources/META-INF/application-sharding-master-slave.xml similarity index 100% rename from examples/sharding-jdbc-example/sharding-example/sharding-spring-namespace-jpa-example/src/main/resources/META-INF/application-sharding-master-slave.xml rename to examples/shardingsphere-jdbc-example/sharding-example/sharding-spring-namespace-jpa-example/src/main/resources/META-INF/application-sharding-master-slave.xml diff --git a/examples/sharding-jdbc-example/sharding-example/sharding-spring-namespace-jpa-example/src/main/resources/META-INF/application-sharding-tables.xml b/examples/shardingsphere-jdbc-example/sharding-example/sharding-spring-namespace-jpa-example/src/main/resources/META-INF/application-sharding-tables.xml similarity index 100% rename from examples/sharding-jdbc-example/sharding-example/sharding-spring-namespace-jpa-example/src/main/resources/META-INF/application-sharding-tables.xml rename to examples/shardingsphere-jdbc-example/sharding-example/sharding-spring-namespace-jpa-example/src/main/resources/META-INF/application-sharding-tables.xml diff --git a/examples/shardingsphere-jdbc-example/sharding-example/sharding-spring-namespace-jpa-example/src/main/resources/logback.xml b/examples/shardingsphere-jdbc-example/sharding-example/sharding-spring-namespace-jpa-example/src/main/resources/logback.xml new file mode 100644 index 0000000000000000000000000000000000000000..96b06492ee6731a44e6b2f34d19a675dc770c54a --- /dev/null +++ b/examples/shardingsphere-jdbc-example/sharding-example/sharding-spring-namespace-jpa-example/src/main/resources/logback.xml @@ -0,0 +1,34 @@ + + + + + + + + ${log.context.name} + + + + ${log.pattern} + + + + + + + diff --git a/examples/sharding-jdbc-example/sharding-example/sharding-spring-namespace-mybatis-example/pom.xml b/examples/shardingsphere-jdbc-example/sharding-example/sharding-spring-namespace-mybatis-example/pom.xml similarity index 96% rename from examples/sharding-jdbc-example/sharding-example/sharding-spring-namespace-mybatis-example/pom.xml rename to examples/shardingsphere-jdbc-example/sharding-example/sharding-spring-namespace-mybatis-example/pom.xml index d627ddda0b2d226dbaebd6ff5f977b3fea6ddfc8..39dbc216fd83123ccb0b2fad1b6ee958deef4bec 100644 --- a/examples/sharding-jdbc-example/sharding-example/sharding-spring-namespace-mybatis-example/pom.xml +++ b/examples/shardingsphere-jdbc-example/sharding-example/sharding-spring-namespace-mybatis-example/pom.xml @@ -26,15 +26,15 @@ 5.0.0-RC1-SNAPSHOT sharding-spring-namespace-mybatis-example - Example::sharding::spring-namespace-mybatis - + ${project.artifactId} + org.apache.shardingsphere.example example-spring-mybatis ${project.version} - + org.apache.shardingsphere shardingsphere-jdbc-core-spring-namespace diff --git a/examples/sharding-jdbc-example/sharding-example/sharding-spring-namespace-mybatis-example/src/main/java/org/apache/shardingsphere/example/sharding/spring/namespace/mybatis/ExampleMain.java b/examples/shardingsphere-jdbc-example/sharding-example/sharding-spring-namespace-mybatis-example/src/main/java/org/apache/shardingsphere/example/sharding/spring/namespace/mybatis/ExampleMain.java similarity index 100% rename from examples/sharding-jdbc-example/sharding-example/sharding-spring-namespace-mybatis-example/src/main/java/org/apache/shardingsphere/example/sharding/spring/namespace/mybatis/ExampleMain.java rename to examples/shardingsphere-jdbc-example/sharding-example/sharding-spring-namespace-mybatis-example/src/main/java/org/apache/shardingsphere/example/sharding/spring/namespace/mybatis/ExampleMain.java diff --git a/examples/sharding-jdbc-example/sharding-example/sharding-spring-namespace-mybatis-example/src/main/resources/META-INF/application-master-slave.xml b/examples/shardingsphere-jdbc-example/sharding-example/sharding-spring-namespace-mybatis-example/src/main/resources/META-INF/application-master-slave.xml similarity index 100% rename from examples/sharding-jdbc-example/sharding-example/sharding-spring-namespace-mybatis-example/src/main/resources/META-INF/application-master-slave.xml rename to examples/shardingsphere-jdbc-example/sharding-example/sharding-spring-namespace-mybatis-example/src/main/resources/META-INF/application-master-slave.xml diff --git a/examples/sharding-jdbc-example/sharding-example/sharding-spring-namespace-mybatis-example/src/main/resources/META-INF/application-sharding-databases-tables.xml b/examples/shardingsphere-jdbc-example/sharding-example/sharding-spring-namespace-mybatis-example/src/main/resources/META-INF/application-sharding-databases-tables.xml similarity index 100% rename from examples/sharding-jdbc-example/sharding-example/sharding-spring-namespace-mybatis-example/src/main/resources/META-INF/application-sharding-databases-tables.xml rename to examples/shardingsphere-jdbc-example/sharding-example/sharding-spring-namespace-mybatis-example/src/main/resources/META-INF/application-sharding-databases-tables.xml diff --git a/examples/sharding-jdbc-example/sharding-example/sharding-spring-namespace-mybatis-example/src/main/resources/META-INF/application-sharding-databases.xml b/examples/shardingsphere-jdbc-example/sharding-example/sharding-spring-namespace-mybatis-example/src/main/resources/META-INF/application-sharding-databases.xml similarity index 100% rename from examples/sharding-jdbc-example/sharding-example/sharding-spring-namespace-mybatis-example/src/main/resources/META-INF/application-sharding-databases.xml rename to examples/shardingsphere-jdbc-example/sharding-example/sharding-spring-namespace-mybatis-example/src/main/resources/META-INF/application-sharding-databases.xml diff --git a/examples/sharding-jdbc-example/sharding-example/sharding-spring-namespace-mybatis-example/src/main/resources/META-INF/application-sharding-master-slave.xml b/examples/shardingsphere-jdbc-example/sharding-example/sharding-spring-namespace-mybatis-example/src/main/resources/META-INF/application-sharding-master-slave.xml similarity index 100% rename from examples/sharding-jdbc-example/sharding-example/sharding-spring-namespace-mybatis-example/src/main/resources/META-INF/application-sharding-master-slave.xml rename to examples/shardingsphere-jdbc-example/sharding-example/sharding-spring-namespace-mybatis-example/src/main/resources/META-INF/application-sharding-master-slave.xml diff --git a/examples/sharding-jdbc-example/sharding-example/sharding-spring-namespace-mybatis-example/src/main/resources/META-INF/application-sharding-tables.xml b/examples/shardingsphere-jdbc-example/sharding-example/sharding-spring-namespace-mybatis-example/src/main/resources/META-INF/application-sharding-tables.xml similarity index 100% rename from examples/sharding-jdbc-example/sharding-example/sharding-spring-namespace-mybatis-example/src/main/resources/META-INF/application-sharding-tables.xml rename to examples/shardingsphere-jdbc-example/sharding-example/sharding-spring-namespace-mybatis-example/src/main/resources/META-INF/application-sharding-tables.xml diff --git a/examples/shardingsphere-jdbc-example/sharding-example/sharding-spring-namespace-mybatis-example/src/main/resources/logback.xml b/examples/shardingsphere-jdbc-example/sharding-example/sharding-spring-namespace-mybatis-example/src/main/resources/logback.xml new file mode 100644 index 0000000000000000000000000000000000000000..947649b70db366e60bad45f8ccfd708a78454fd5 --- /dev/null +++ b/examples/shardingsphere-jdbc-example/sharding-example/sharding-spring-namespace-mybatis-example/src/main/resources/logback.xml @@ -0,0 +1,34 @@ + + + + + + + + ${log.context.name} + + + + ${log.pattern} + + + + + + + diff --git a/examples/sharding-jdbc-example/transaction-example/pom.xml b/examples/shardingsphere-jdbc-example/transaction-example/pom.xml similarity index 96% rename from examples/sharding-jdbc-example/transaction-example/pom.xml rename to examples/shardingsphere-jdbc-example/transaction-example/pom.xml index bebb4ec389f55cd26d9ff27d8337f258e7c3c2f2..5736bc2dc3978543044817e502ce71766c475cc0 100644 --- a/examples/sharding-jdbc-example/transaction-example/pom.xml +++ b/examples/shardingsphere-jdbc-example/transaction-example/pom.xml @@ -22,7 +22,7 @@ 4.0.0 org.apache.shardingsphere.example - sharding-jdbc-example + shardingsphere-jdbc-example 5.0.0-RC1-SNAPSHOT transaction-example diff --git a/examples/sharding-jdbc-example/transaction-example/transaction-2pc-xa-raw-jdbc-example/pom.xml b/examples/shardingsphere-jdbc-example/transaction-example/transaction-2pc-xa-raw-jdbc-example/pom.xml similarity index 100% rename from examples/sharding-jdbc-example/transaction-example/transaction-2pc-xa-raw-jdbc-example/pom.xml rename to examples/shardingsphere-jdbc-example/transaction-example/transaction-2pc-xa-raw-jdbc-example/pom.xml diff --git a/examples/sharding-jdbc-example/transaction-example/transaction-2pc-xa-raw-jdbc-example/src/main/java/org/apache/shardingsphere/example/transaction/xa/raw/jdbc/XAOrderService.java b/examples/shardingsphere-jdbc-example/transaction-example/transaction-2pc-xa-raw-jdbc-example/src/main/java/org/apache/shardingsphere/example/transaction/xa/raw/jdbc/XAOrderService.java similarity index 100% rename from examples/sharding-jdbc-example/transaction-example/transaction-2pc-xa-raw-jdbc-example/src/main/java/org/apache/shardingsphere/example/transaction/xa/raw/jdbc/XAOrderService.java rename to examples/shardingsphere-jdbc-example/transaction-example/transaction-2pc-xa-raw-jdbc-example/src/main/java/org/apache/shardingsphere/example/transaction/xa/raw/jdbc/XAOrderService.java diff --git a/examples/sharding-jdbc-example/transaction-example/transaction-2pc-xa-raw-jdbc-example/src/main/resources/META-INF/sharding-databases-tables-postgresql.yaml b/examples/shardingsphere-jdbc-example/transaction-example/transaction-2pc-xa-raw-jdbc-example/src/main/resources/META-INF/sharding-databases-tables-postgresql.yaml similarity index 100% rename from examples/sharding-jdbc-example/transaction-example/transaction-2pc-xa-raw-jdbc-example/src/main/resources/META-INF/sharding-databases-tables-postgresql.yaml rename to examples/shardingsphere-jdbc-example/transaction-example/transaction-2pc-xa-raw-jdbc-example/src/main/resources/META-INF/sharding-databases-tables-postgresql.yaml diff --git a/examples/sharding-jdbc-example/transaction-example/transaction-2pc-xa-raw-jdbc-example/src/main/resources/META-INF/sharding-databases-tables.yaml b/examples/shardingsphere-jdbc-example/transaction-example/transaction-2pc-xa-raw-jdbc-example/src/main/resources/META-INF/sharding-databases-tables.yaml similarity index 100% rename from examples/sharding-jdbc-example/transaction-example/transaction-2pc-xa-raw-jdbc-example/src/main/resources/META-INF/sharding-databases-tables.yaml rename to examples/shardingsphere-jdbc-example/transaction-example/transaction-2pc-xa-raw-jdbc-example/src/main/resources/META-INF/sharding-databases-tables.yaml diff --git a/examples/sharding-jdbc-example/transaction-example/transaction-2pc-xa-raw-jdbc-example/src/main/resources/logback.xml b/examples/shardingsphere-jdbc-example/transaction-example/transaction-2pc-xa-raw-jdbc-example/src/main/resources/logback.xml similarity index 100% rename from examples/sharding-jdbc-example/transaction-example/transaction-2pc-xa-raw-jdbc-example/src/main/resources/logback.xml rename to examples/shardingsphere-jdbc-example/transaction-example/transaction-2pc-xa-raw-jdbc-example/src/main/resources/logback.xml diff --git a/examples/sharding-jdbc-example/transaction-example/transaction-2pc-xa-raw-jdbc-example/src/test/java/org/apache/shardingsphere/example/transaction/xa/raw/jdbc/XAOrderServiceTest.java b/examples/shardingsphere-jdbc-example/transaction-example/transaction-2pc-xa-raw-jdbc-example/src/test/java/org/apache/shardingsphere/example/transaction/xa/raw/jdbc/XAOrderServiceTest.java similarity index 100% rename from examples/sharding-jdbc-example/transaction-example/transaction-2pc-xa-raw-jdbc-example/src/test/java/org/apache/shardingsphere/example/transaction/xa/raw/jdbc/XAOrderServiceTest.java rename to examples/shardingsphere-jdbc-example/transaction-example/transaction-2pc-xa-raw-jdbc-example/src/test/java/org/apache/shardingsphere/example/transaction/xa/raw/jdbc/XAOrderServiceTest.java diff --git a/examples/sharding-jdbc-example/transaction-example/transaction-2pc-xa-spring-boot-example/pom.xml b/examples/shardingsphere-jdbc-example/transaction-example/transaction-2pc-xa-spring-boot-example/pom.xml similarity index 100% rename from examples/sharding-jdbc-example/transaction-example/transaction-2pc-xa-spring-boot-example/pom.xml rename to examples/shardingsphere-jdbc-example/transaction-example/transaction-2pc-xa-spring-boot-example/pom.xml diff --git a/examples/sharding-jdbc-example/transaction-example/transaction-2pc-xa-spring-boot-example/src/main/java/org/apache/shardingsphere/example/transaction/xa/spring/boot/TransactionConfiguration.java b/examples/shardingsphere-jdbc-example/transaction-example/transaction-2pc-xa-spring-boot-example/src/main/java/org/apache/shardingsphere/example/transaction/xa/spring/boot/TransactionConfiguration.java similarity index 100% rename from examples/sharding-jdbc-example/transaction-example/transaction-2pc-xa-spring-boot-example/src/main/java/org/apache/shardingsphere/example/transaction/xa/spring/boot/TransactionConfiguration.java rename to examples/shardingsphere-jdbc-example/transaction-example/transaction-2pc-xa-spring-boot-example/src/main/java/org/apache/shardingsphere/example/transaction/xa/spring/boot/TransactionConfiguration.java diff --git a/examples/sharding-jdbc-example/transaction-example/transaction-2pc-xa-spring-boot-example/src/main/java/org/apache/shardingsphere/example/transaction/xa/spring/boot/XAOrderService.java b/examples/shardingsphere-jdbc-example/transaction-example/transaction-2pc-xa-spring-boot-example/src/main/java/org/apache/shardingsphere/example/transaction/xa/spring/boot/XAOrderService.java similarity index 100% rename from examples/sharding-jdbc-example/transaction-example/transaction-2pc-xa-spring-boot-example/src/main/java/org/apache/shardingsphere/example/transaction/xa/spring/boot/XAOrderService.java rename to examples/shardingsphere-jdbc-example/transaction-example/transaction-2pc-xa-spring-boot-example/src/main/java/org/apache/shardingsphere/example/transaction/xa/spring/boot/XAOrderService.java diff --git a/examples/sharding-jdbc-example/transaction-example/transaction-2pc-xa-spring-boot-example/src/main/resources/application-sharding-databases-tables.properties b/examples/shardingsphere-jdbc-example/transaction-example/transaction-2pc-xa-spring-boot-example/src/main/resources/application-sharding-databases-tables.properties similarity index 100% rename from examples/sharding-jdbc-example/transaction-example/transaction-2pc-xa-spring-boot-example/src/main/resources/application-sharding-databases-tables.properties rename to examples/shardingsphere-jdbc-example/transaction-example/transaction-2pc-xa-spring-boot-example/src/main/resources/application-sharding-databases-tables.properties diff --git a/examples/sharding-jdbc-example/transaction-example/transaction-2pc-xa-spring-boot-example/src/main/resources/application-sharding-databases.properties b/examples/shardingsphere-jdbc-example/transaction-example/transaction-2pc-xa-spring-boot-example/src/main/resources/application-sharding-databases.properties similarity index 100% rename from examples/sharding-jdbc-example/transaction-example/transaction-2pc-xa-spring-boot-example/src/main/resources/application-sharding-databases.properties rename to examples/shardingsphere-jdbc-example/transaction-example/transaction-2pc-xa-spring-boot-example/src/main/resources/application-sharding-databases.properties diff --git a/examples/sharding-jdbc-example/transaction-example/transaction-2pc-xa-spring-boot-example/src/main/resources/application-sharding-tables.properties b/examples/shardingsphere-jdbc-example/transaction-example/transaction-2pc-xa-spring-boot-example/src/main/resources/application-sharding-tables.properties similarity index 100% rename from examples/sharding-jdbc-example/transaction-example/transaction-2pc-xa-spring-boot-example/src/main/resources/application-sharding-tables.properties rename to examples/shardingsphere-jdbc-example/transaction-example/transaction-2pc-xa-spring-boot-example/src/main/resources/application-sharding-tables.properties diff --git a/examples/sharding-jdbc-example/transaction-example/transaction-2pc-xa-spring-boot-example/src/main/resources/logback.xml b/examples/shardingsphere-jdbc-example/transaction-example/transaction-2pc-xa-spring-boot-example/src/main/resources/logback.xml similarity index 100% rename from examples/sharding-jdbc-example/transaction-example/transaction-2pc-xa-spring-boot-example/src/main/resources/logback.xml rename to examples/shardingsphere-jdbc-example/transaction-example/transaction-2pc-xa-spring-boot-example/src/main/resources/logback.xml diff --git a/examples/sharding-jdbc-example/transaction-example/transaction-2pc-xa-spring-boot-example/src/test/java/org/apache/shardingsphere/example/transaction/xa/spring/boot/XAOrderServiceTest.java b/examples/shardingsphere-jdbc-example/transaction-example/transaction-2pc-xa-spring-boot-example/src/test/java/org/apache/shardingsphere/example/transaction/xa/spring/boot/XAOrderServiceTest.java similarity index 100% rename from examples/sharding-jdbc-example/transaction-example/transaction-2pc-xa-spring-boot-example/src/test/java/org/apache/shardingsphere/example/transaction/xa/spring/boot/XAOrderServiceTest.java rename to examples/shardingsphere-jdbc-example/transaction-example/transaction-2pc-xa-spring-boot-example/src/test/java/org/apache/shardingsphere/example/transaction/xa/spring/boot/XAOrderServiceTest.java diff --git a/examples/sharding-jdbc-example/transaction-example/transaction-2pc-xa-spring-namespace-example/pom.xml b/examples/shardingsphere-jdbc-example/transaction-example/transaction-2pc-xa-spring-namespace-example/pom.xml similarity index 100% rename from examples/sharding-jdbc-example/transaction-example/transaction-2pc-xa-spring-namespace-example/pom.xml rename to examples/shardingsphere-jdbc-example/transaction-example/transaction-2pc-xa-spring-namespace-example/pom.xml diff --git a/examples/sharding-jdbc-example/transaction-example/transaction-2pc-xa-spring-namespace-example/src/main/java/org/apache/shardingsphere/example/transaction/xa/spring/namspace/XAOrderService.java b/examples/shardingsphere-jdbc-example/transaction-example/transaction-2pc-xa-spring-namespace-example/src/main/java/org/apache/shardingsphere/example/transaction/xa/spring/namspace/XAOrderService.java similarity index 100% rename from examples/sharding-jdbc-example/transaction-example/transaction-2pc-xa-spring-namespace-example/src/main/java/org/apache/shardingsphere/example/transaction/xa/spring/namspace/XAOrderService.java rename to examples/shardingsphere-jdbc-example/transaction-example/transaction-2pc-xa-spring-namespace-example/src/main/java/org/apache/shardingsphere/example/transaction/xa/spring/namspace/XAOrderService.java diff --git a/examples/sharding-jdbc-example/transaction-example/transaction-2pc-xa-spring-namespace-example/src/main/resources/META-INF/application-sharding-databases-tables.xml b/examples/shardingsphere-jdbc-example/transaction-example/transaction-2pc-xa-spring-namespace-example/src/main/resources/META-INF/application-sharding-databases-tables.xml similarity index 100% rename from examples/sharding-jdbc-example/transaction-example/transaction-2pc-xa-spring-namespace-example/src/main/resources/META-INF/application-sharding-databases-tables.xml rename to examples/shardingsphere-jdbc-example/transaction-example/transaction-2pc-xa-spring-namespace-example/src/main/resources/META-INF/application-sharding-databases-tables.xml diff --git a/examples/sharding-jdbc-example/transaction-example/transaction-2pc-xa-spring-namespace-example/src/main/resources/META-INF/application-sharding-databases.xml b/examples/shardingsphere-jdbc-example/transaction-example/transaction-2pc-xa-spring-namespace-example/src/main/resources/META-INF/application-sharding-databases.xml similarity index 100% rename from examples/sharding-jdbc-example/transaction-example/transaction-2pc-xa-spring-namespace-example/src/main/resources/META-INF/application-sharding-databases.xml rename to examples/shardingsphere-jdbc-example/transaction-example/transaction-2pc-xa-spring-namespace-example/src/main/resources/META-INF/application-sharding-databases.xml diff --git a/examples/sharding-jdbc-example/transaction-example/transaction-2pc-xa-spring-namespace-example/src/main/resources/META-INF/application-sharding-tables.xml b/examples/shardingsphere-jdbc-example/transaction-example/transaction-2pc-xa-spring-namespace-example/src/main/resources/META-INF/application-sharding-tables.xml similarity index 100% rename from examples/sharding-jdbc-example/transaction-example/transaction-2pc-xa-spring-namespace-example/src/main/resources/META-INF/application-sharding-tables.xml rename to examples/shardingsphere-jdbc-example/transaction-example/transaction-2pc-xa-spring-namespace-example/src/main/resources/META-INF/application-sharding-tables.xml diff --git a/examples/sharding-jdbc-example/transaction-example/transaction-2pc-xa-spring-namespace-example/src/main/resources/logback.xml b/examples/shardingsphere-jdbc-example/transaction-example/transaction-2pc-xa-spring-namespace-example/src/main/resources/logback.xml similarity index 100% rename from examples/sharding-jdbc-example/transaction-example/transaction-2pc-xa-spring-namespace-example/src/main/resources/logback.xml rename to examples/shardingsphere-jdbc-example/transaction-example/transaction-2pc-xa-spring-namespace-example/src/main/resources/logback.xml diff --git a/examples/sharding-jdbc-example/transaction-example/transaction-2pc-xa-spring-namespace-example/src/test/java/org/apache/shardingsphere/example/transaction/xa/spring/namspace/XAOrderServiceTest.java b/examples/shardingsphere-jdbc-example/transaction-example/transaction-2pc-xa-spring-namespace-example/src/test/java/org/apache/shardingsphere/example/transaction/xa/spring/namspace/XAOrderServiceTest.java similarity index 100% rename from examples/sharding-jdbc-example/transaction-example/transaction-2pc-xa-spring-namespace-example/src/test/java/org/apache/shardingsphere/example/transaction/xa/spring/namspace/XAOrderServiceTest.java rename to examples/shardingsphere-jdbc-example/transaction-example/transaction-2pc-xa-spring-namespace-example/src/test/java/org/apache/shardingsphere/example/transaction/xa/spring/namspace/XAOrderServiceTest.java diff --git a/examples/sharding-jdbc-example/transaction-example/transaction-base-seata-raw-jdbc-example/pom.xml b/examples/shardingsphere-jdbc-example/transaction-example/transaction-base-seata-raw-jdbc-example/pom.xml similarity index 100% rename from examples/sharding-jdbc-example/transaction-example/transaction-base-seata-raw-jdbc-example/pom.xml rename to examples/shardingsphere-jdbc-example/transaction-example/transaction-base-seata-raw-jdbc-example/pom.xml diff --git a/examples/sharding-jdbc-example/transaction-example/transaction-base-seata-raw-jdbc-example/src/main/java/org/apache/shardingsphere/example/transaction/base/seata/raw/jdbc/SeataATOrderService.java b/examples/shardingsphere-jdbc-example/transaction-example/transaction-base-seata-raw-jdbc-example/src/main/java/org/apache/shardingsphere/example/transaction/base/seata/raw/jdbc/SeataATOrderService.java similarity index 100% rename from examples/sharding-jdbc-example/transaction-example/transaction-base-seata-raw-jdbc-example/src/main/java/org/apache/shardingsphere/example/transaction/base/seata/raw/jdbc/SeataATOrderService.java rename to examples/shardingsphere-jdbc-example/transaction-example/transaction-base-seata-raw-jdbc-example/src/main/java/org/apache/shardingsphere/example/transaction/base/seata/raw/jdbc/SeataATOrderService.java diff --git a/examples/sharding-jdbc-example/transaction-example/transaction-base-seata-raw-jdbc-example/src/main/resources/META-INF/sharding-databases-tables.yaml b/examples/shardingsphere-jdbc-example/transaction-example/transaction-base-seata-raw-jdbc-example/src/main/resources/META-INF/sharding-databases-tables.yaml similarity index 100% rename from examples/sharding-jdbc-example/transaction-example/transaction-base-seata-raw-jdbc-example/src/main/resources/META-INF/sharding-databases-tables.yaml rename to examples/shardingsphere-jdbc-example/transaction-example/transaction-base-seata-raw-jdbc-example/src/main/resources/META-INF/sharding-databases-tables.yaml diff --git a/examples/sharding-jdbc-example/transaction-example/transaction-base-seata-raw-jdbc-example/src/main/resources/logback.xml b/examples/shardingsphere-jdbc-example/transaction-example/transaction-base-seata-raw-jdbc-example/src/main/resources/logback.xml similarity index 100% rename from examples/sharding-jdbc-example/transaction-example/transaction-base-seata-raw-jdbc-example/src/main/resources/logback.xml rename to examples/shardingsphere-jdbc-example/transaction-example/transaction-base-seata-raw-jdbc-example/src/main/resources/logback.xml diff --git a/examples/sharding-jdbc-example/transaction-example/transaction-base-seata-raw-jdbc-example/src/main/resources/seata.conf b/examples/shardingsphere-jdbc-example/transaction-example/transaction-base-seata-raw-jdbc-example/src/main/resources/seata.conf similarity index 100% rename from examples/sharding-jdbc-example/transaction-example/transaction-base-seata-raw-jdbc-example/src/main/resources/seata.conf rename to examples/shardingsphere-jdbc-example/transaction-example/transaction-base-seata-raw-jdbc-example/src/main/resources/seata.conf diff --git a/examples/sharding-jdbc-example/transaction-example/transaction-base-seata-raw-jdbc-example/src/main/resources/sql/undo_log.sql b/examples/shardingsphere-jdbc-example/transaction-example/transaction-base-seata-raw-jdbc-example/src/main/resources/sql/undo_log.sql similarity index 100% rename from examples/sharding-jdbc-example/transaction-example/transaction-base-seata-raw-jdbc-example/src/main/resources/sql/undo_log.sql rename to examples/shardingsphere-jdbc-example/transaction-example/transaction-base-seata-raw-jdbc-example/src/main/resources/sql/undo_log.sql diff --git a/examples/sharding-jdbc-example/transaction-example/transaction-base-seata-raw-jdbc-example/src/test/java/org/apache/shardingsphere/example/transaction/base/seata/raw/jdbc/SeataATOrderServiceTest.java b/examples/shardingsphere-jdbc-example/transaction-example/transaction-base-seata-raw-jdbc-example/src/test/java/org/apache/shardingsphere/example/transaction/base/seata/raw/jdbc/SeataATOrderServiceTest.java similarity index 100% rename from examples/sharding-jdbc-example/transaction-example/transaction-base-seata-raw-jdbc-example/src/test/java/org/apache/shardingsphere/example/transaction/base/seata/raw/jdbc/SeataATOrderServiceTest.java rename to examples/shardingsphere-jdbc-example/transaction-example/transaction-base-seata-raw-jdbc-example/src/test/java/org/apache/shardingsphere/example/transaction/base/seata/raw/jdbc/SeataATOrderServiceTest.java diff --git a/examples/sharding-jdbc-example/transaction-example/transaction-base-seata-spring-boot-example/pom.xml b/examples/shardingsphere-jdbc-example/transaction-example/transaction-base-seata-spring-boot-example/pom.xml similarity index 100% rename from examples/sharding-jdbc-example/transaction-example/transaction-base-seata-spring-boot-example/pom.xml rename to examples/shardingsphere-jdbc-example/transaction-example/transaction-base-seata-spring-boot-example/pom.xml diff --git a/examples/sharding-jdbc-example/transaction-example/transaction-base-seata-spring-boot-example/src/main/java/org/apache/shardingsphere/example/transaction/base/seata/spring/boot/SeataATOrderService.java b/examples/shardingsphere-jdbc-example/transaction-example/transaction-base-seata-spring-boot-example/src/main/java/org/apache/shardingsphere/example/transaction/base/seata/spring/boot/SeataATOrderService.java similarity index 100% rename from examples/sharding-jdbc-example/transaction-example/transaction-base-seata-spring-boot-example/src/main/java/org/apache/shardingsphere/example/transaction/base/seata/spring/boot/SeataATOrderService.java rename to examples/shardingsphere-jdbc-example/transaction-example/transaction-base-seata-spring-boot-example/src/main/java/org/apache/shardingsphere/example/transaction/base/seata/spring/boot/SeataATOrderService.java diff --git a/examples/sharding-jdbc-example/transaction-example/transaction-base-seata-spring-boot-example/src/main/java/org/apache/shardingsphere/example/transaction/base/seata/spring/boot/TransactionConfiguration.java b/examples/shardingsphere-jdbc-example/transaction-example/transaction-base-seata-spring-boot-example/src/main/java/org/apache/shardingsphere/example/transaction/base/seata/spring/boot/TransactionConfiguration.java similarity index 100% rename from examples/sharding-jdbc-example/transaction-example/transaction-base-seata-spring-boot-example/src/main/java/org/apache/shardingsphere/example/transaction/base/seata/spring/boot/TransactionConfiguration.java rename to examples/shardingsphere-jdbc-example/transaction-example/transaction-base-seata-spring-boot-example/src/main/java/org/apache/shardingsphere/example/transaction/base/seata/spring/boot/TransactionConfiguration.java diff --git a/examples/sharding-jdbc-example/transaction-example/transaction-base-seata-spring-boot-example/src/main/resources/application-sharding-databases-tables.properties b/examples/shardingsphere-jdbc-example/transaction-example/transaction-base-seata-spring-boot-example/src/main/resources/application-sharding-databases-tables.properties similarity index 100% rename from examples/sharding-jdbc-example/transaction-example/transaction-base-seata-spring-boot-example/src/main/resources/application-sharding-databases-tables.properties rename to examples/shardingsphere-jdbc-example/transaction-example/transaction-base-seata-spring-boot-example/src/main/resources/application-sharding-databases-tables.properties diff --git a/examples/sharding-jdbc-example/transaction-example/transaction-base-seata-spring-boot-example/src/main/resources/application-sharding-databases.properties b/examples/shardingsphere-jdbc-example/transaction-example/transaction-base-seata-spring-boot-example/src/main/resources/application-sharding-databases.properties similarity index 100% rename from examples/sharding-jdbc-example/transaction-example/transaction-base-seata-spring-boot-example/src/main/resources/application-sharding-databases.properties rename to examples/shardingsphere-jdbc-example/transaction-example/transaction-base-seata-spring-boot-example/src/main/resources/application-sharding-databases.properties diff --git a/examples/sharding-jdbc-example/transaction-example/transaction-base-seata-spring-boot-example/src/main/resources/application-sharding-tables.properties b/examples/shardingsphere-jdbc-example/transaction-example/transaction-base-seata-spring-boot-example/src/main/resources/application-sharding-tables.properties similarity index 100% rename from examples/sharding-jdbc-example/transaction-example/transaction-base-seata-spring-boot-example/src/main/resources/application-sharding-tables.properties rename to examples/shardingsphere-jdbc-example/transaction-example/transaction-base-seata-spring-boot-example/src/main/resources/application-sharding-tables.properties diff --git a/examples/sharding-jdbc-example/transaction-example/transaction-base-seata-spring-boot-example/src/main/resources/logback.xml b/examples/shardingsphere-jdbc-example/transaction-example/transaction-base-seata-spring-boot-example/src/main/resources/logback.xml similarity index 100% rename from examples/sharding-jdbc-example/transaction-example/transaction-base-seata-spring-boot-example/src/main/resources/logback.xml rename to examples/shardingsphere-jdbc-example/transaction-example/transaction-base-seata-spring-boot-example/src/main/resources/logback.xml diff --git a/examples/sharding-jdbc-example/transaction-example/transaction-base-seata-spring-boot-example/src/main/resources/seata.conf b/examples/shardingsphere-jdbc-example/transaction-example/transaction-base-seata-spring-boot-example/src/main/resources/seata.conf similarity index 100% rename from examples/sharding-jdbc-example/transaction-example/transaction-base-seata-spring-boot-example/src/main/resources/seata.conf rename to examples/shardingsphere-jdbc-example/transaction-example/transaction-base-seata-spring-boot-example/src/main/resources/seata.conf diff --git a/examples/sharding-jdbc-example/transaction-example/transaction-base-seata-spring-boot-example/src/main/resources/sql/undo_log.sql b/examples/shardingsphere-jdbc-example/transaction-example/transaction-base-seata-spring-boot-example/src/main/resources/sql/undo_log.sql similarity index 100% rename from examples/sharding-jdbc-example/transaction-example/transaction-base-seata-spring-boot-example/src/main/resources/sql/undo_log.sql rename to examples/shardingsphere-jdbc-example/transaction-example/transaction-base-seata-spring-boot-example/src/main/resources/sql/undo_log.sql diff --git a/examples/sharding-jdbc-example/transaction-example/transaction-base-seata-spring-boot-example/src/test/java/org/apache/shardingsphere/example/transaction/base/seata/spring/boot/SeataATOrderServiceTest.java b/examples/shardingsphere-jdbc-example/transaction-example/transaction-base-seata-spring-boot-example/src/test/java/org/apache/shardingsphere/example/transaction/base/seata/spring/boot/SeataATOrderServiceTest.java similarity index 100% rename from examples/sharding-jdbc-example/transaction-example/transaction-base-seata-spring-boot-example/src/test/java/org/apache/shardingsphere/example/transaction/base/seata/spring/boot/SeataATOrderServiceTest.java rename to examples/shardingsphere-jdbc-example/transaction-example/transaction-base-seata-spring-boot-example/src/test/java/org/apache/shardingsphere/example/transaction/base/seata/spring/boot/SeataATOrderServiceTest.java diff --git a/examples/sharding-proxy-example/pom.xml b/examples/shardingsphere-proxy-example/pom.xml similarity index 86% rename from examples/sharding-proxy-example/pom.xml rename to examples/shardingsphere-proxy-example/pom.xml index b3ff0d1a19cce8a8bb7c6821ff077a7fed9400df..7b496fb0ee266e48b720eedbcd4f01516848b41b 100644 --- a/examples/sharding-proxy-example/pom.xml +++ b/examples/shardingsphere-proxy-example/pom.xml @@ -25,13 +25,12 @@ shardingsphere-example 5.0.0-RC1-SNAPSHOT - sharding-proxy-example - Example::proxy::root - + shardingsphere-proxy-example + ${project.artifactId} pom - sharding-proxy-boot-mybatis-example - sharding-proxy-hint-example + shardingsphere-proxy-boot-mybatis-example + shardingsphere-proxy-hint-example diff --git a/examples/sharding-proxy-example/sharding-proxy-boot-mybatis-example/pom.xml b/examples/shardingsphere-proxy-example/shardingsphere-proxy-boot-mybatis-example/pom.xml similarity index 90% rename from examples/sharding-proxy-example/sharding-proxy-boot-mybatis-example/pom.xml rename to examples/shardingsphere-proxy-example/shardingsphere-proxy-boot-mybatis-example/pom.xml index 28829b5d90a70fb03b05c19f78a401f7b8a914d0..1a6c46b3f0ea1942d00565a5921851920cf5dac3 100644 --- a/examples/sharding-proxy-example/sharding-proxy-boot-mybatis-example/pom.xml +++ b/examples/shardingsphere-proxy-example/shardingsphere-proxy-boot-mybatis-example/pom.xml @@ -22,11 +22,11 @@ 4.0.0 org.apache.shardingsphere.example - sharding-proxy-example + shardingsphere-proxy-example 5.0.0-RC1-SNAPSHOT - sharding-proxy-boot-mybatis-example - Example::proxy::spring-boot-mybatis + shardingsphere-proxy-boot-mybatis-example + ${project.artifactId} @@ -34,7 +34,7 @@ example-spring-mybatis ${project.version} - + org.mybatis.spring.boot mybatis-spring-boot-starter diff --git a/examples/sharding-proxy-example/sharding-proxy-boot-mybatis-example/src/main/java/org/apache/shardingsphere/example/proxy/spring/boot/mybatis/SpringBootStarterExample.java b/examples/shardingsphere-proxy-example/shardingsphere-proxy-boot-mybatis-example/src/main/java/org/apache/shardingsphere/example/proxy/spring/boot/mybatis/SpringBootStarterExample.java similarity index 93% rename from examples/sharding-proxy-example/sharding-proxy-boot-mybatis-example/src/main/java/org/apache/shardingsphere/example/proxy/spring/boot/mybatis/SpringBootStarterExample.java rename to examples/shardingsphere-proxy-example/shardingsphere-proxy-boot-mybatis-example/src/main/java/org/apache/shardingsphere/example/proxy/spring/boot/mybatis/SpringBootStarterExample.java index c9235cf09c5afc62dc04bdac85536731743da102..7ba683f5a8327d4f35a9682909d526ccc7aa3b37 100644 --- a/examples/sharding-proxy-example/sharding-proxy-boot-mybatis-example/src/main/java/org/apache/shardingsphere/example/proxy/spring/boot/mybatis/SpringBootStarterExample.java +++ b/examples/shardingsphere-proxy-example/shardingsphere-proxy-boot-mybatis-example/src/main/java/org/apache/shardingsphere/example/proxy/spring/boot/mybatis/SpringBootStarterExample.java @@ -27,10 +27,10 @@ import org.springframework.context.annotation.ComponentScan; import java.sql.SQLException; /* - * 1. Copy resources/conf/*.yaml to sharding-proxy conf folder and overwrite original file. + * 1. Copy resources/conf/*.yaml to ShardingSphere-Proxy conf folder and overwrite original file. * If you want to use master-slave, please select config-master_slave.yaml * If you want to use sharding only, please select config-sharding.yaml - * 2. Please make sure sharding-proxy is running before you run this example. + * 2. Please make sure ShardingSphere-Proxy is running before you run this example. */ @ComponentScan("org.apache.shardingsphere.example") @MapperScan(basePackages = "org.apache.shardingsphere.example.core.mybatis.repository") diff --git a/examples/sharding-proxy-example/sharding-proxy-boot-mybatis-example/src/main/resources/META-INF/mybatis-config.xml b/examples/shardingsphere-proxy-example/shardingsphere-proxy-boot-mybatis-example/src/main/resources/META-INF/mybatis-config.xml similarity index 100% rename from examples/sharding-proxy-example/sharding-proxy-boot-mybatis-example/src/main/resources/META-INF/mybatis-config.xml rename to examples/shardingsphere-proxy-example/shardingsphere-proxy-boot-mybatis-example/src/main/resources/META-INF/mybatis-config.xml diff --git a/examples/sharding-proxy-example/sharding-proxy-boot-mybatis-example/src/main/resources/application.properties b/examples/shardingsphere-proxy-example/shardingsphere-proxy-boot-mybatis-example/src/main/resources/application.properties similarity index 100% rename from examples/sharding-proxy-example/sharding-proxy-boot-mybatis-example/src/main/resources/application.properties rename to examples/shardingsphere-proxy-example/shardingsphere-proxy-boot-mybatis-example/src/main/resources/application.properties diff --git a/examples/sharding-proxy-example/sharding-proxy-boot-mybatis-example/src/main/resources/conf/config-master_slave.yaml b/examples/shardingsphere-proxy-example/shardingsphere-proxy-boot-mybatis-example/src/main/resources/conf/config-master_slave.yaml similarity index 100% rename from examples/sharding-proxy-example/sharding-proxy-boot-mybatis-example/src/main/resources/conf/config-master_slave.yaml rename to examples/shardingsphere-proxy-example/shardingsphere-proxy-boot-mybatis-example/src/main/resources/conf/config-master_slave.yaml diff --git a/examples/sharding-proxy-example/sharding-proxy-boot-mybatis-example/src/main/resources/conf/config-sharding.yaml b/examples/shardingsphere-proxy-example/shardingsphere-proxy-boot-mybatis-example/src/main/resources/conf/config-sharding.yaml similarity index 100% rename from examples/sharding-proxy-example/sharding-proxy-boot-mybatis-example/src/main/resources/conf/config-sharding.yaml rename to examples/shardingsphere-proxy-example/shardingsphere-proxy-boot-mybatis-example/src/main/resources/conf/config-sharding.yaml diff --git a/examples/sharding-proxy-example/sharding-proxy-boot-mybatis-example/src/main/resources/conf/server.yaml b/examples/shardingsphere-proxy-example/shardingsphere-proxy-boot-mybatis-example/src/main/resources/conf/server.yaml similarity index 100% rename from examples/sharding-proxy-example/sharding-proxy-boot-mybatis-example/src/main/resources/conf/server.yaml rename to examples/shardingsphere-proxy-example/shardingsphere-proxy-boot-mybatis-example/src/main/resources/conf/server.yaml diff --git a/examples/sharding-proxy-example/sharding-proxy-boot-mybatis-example/src/main/resources/logback.xml b/examples/shardingsphere-proxy-example/shardingsphere-proxy-boot-mybatis-example/src/main/resources/logback.xml similarity index 93% rename from examples/sharding-proxy-example/sharding-proxy-boot-mybatis-example/src/main/resources/logback.xml rename to examples/shardingsphere-proxy-example/shardingsphere-proxy-boot-mybatis-example/src/main/resources/logback.xml index 6cb4b1995bf500e6eadc65f6c42466055e2860b3..3f30788d84a05805a1b16d77f29029b70a2e5cbb 100644 --- a/examples/sharding-proxy-example/sharding-proxy-boot-mybatis-example/src/main/resources/logback.xml +++ b/examples/shardingsphere-proxy-example/shardingsphere-proxy-boot-mybatis-example/src/main/resources/logback.xml @@ -17,7 +17,7 @@ --> - + ${log.context.name} diff --git a/examples/sharding-proxy-example/sharding-proxy-hint-example/pom.xml b/examples/shardingsphere-proxy-example/shardingsphere-proxy-hint-example/pom.xml similarity index 90% rename from examples/sharding-proxy-example/sharding-proxy-hint-example/pom.xml rename to examples/shardingsphere-proxy-example/shardingsphere-proxy-hint-example/pom.xml index ca440e16ff07a4eebc1d0b9c48480a83322da24f..4860e4e56f4763f83a50f308526b0a33353216c6 100644 --- a/examples/sharding-proxy-example/sharding-proxy-hint-example/pom.xml +++ b/examples/shardingsphere-proxy-example/shardingsphere-proxy-hint-example/pom.xml @@ -21,19 +21,20 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 - sharding-proxy-example org.apache.shardingsphere.example + shardingsphere-proxy-example 5.0.0-RC1-SNAPSHOT - - sharding-proxy-hint-example - Example::proxy::hint + shardingsphere-proxy-hint-example + ${project.artifactId} + org.apache.shardingsphere.example example-raw-jdbc ${project.version} + org.apache.shardingsphere shardingsphere-jdbc-core @@ -43,5 +44,4 @@ shardingsphere-infra-common - - \ No newline at end of file + diff --git a/examples/sharding-proxy-example/sharding-proxy-hint-example/src/main/java/org/apache/shardingsphere/example/proxy/hint/ExampleMain.java b/examples/shardingsphere-proxy-example/shardingsphere-proxy-hint-example/src/main/java/org/apache/shardingsphere/example/proxy/hint/ExampleMain.java similarity index 100% rename from examples/sharding-proxy-example/sharding-proxy-hint-example/src/main/java/org/apache/shardingsphere/example/proxy/hint/ExampleMain.java rename to examples/shardingsphere-proxy-example/shardingsphere-proxy-hint-example/src/main/java/org/apache/shardingsphere/example/proxy/hint/ExampleMain.java diff --git a/examples/sharding-proxy-example/sharding-proxy-hint-example/src/main/java/org/apache/shardingsphere/example/proxy/hint/HintType.java b/examples/shardingsphere-proxy-example/shardingsphere-proxy-hint-example/src/main/java/org/apache/shardingsphere/example/proxy/hint/HintType.java similarity index 100% rename from examples/sharding-proxy-example/sharding-proxy-hint-example/src/main/java/org/apache/shardingsphere/example/proxy/hint/HintType.java rename to examples/shardingsphere-proxy-example/shardingsphere-proxy-hint-example/src/main/java/org/apache/shardingsphere/example/proxy/hint/HintType.java diff --git a/examples/sharding-proxy-example/sharding-proxy-hint-example/src/main/java/org/apache/shardingsphere/example/proxy/hint/ModuloHintShardingAlgorithm.java b/examples/shardingsphere-proxy-example/shardingsphere-proxy-hint-example/src/main/java/org/apache/shardingsphere/example/proxy/hint/ModuloHintShardingAlgorithm.java similarity index 100% rename from examples/sharding-proxy-example/sharding-proxy-hint-example/src/main/java/org/apache/shardingsphere/example/proxy/hint/ModuloHintShardingAlgorithm.java rename to examples/shardingsphere-proxy-example/shardingsphere-proxy-hint-example/src/main/java/org/apache/shardingsphere/example/proxy/hint/ModuloHintShardingAlgorithm.java diff --git a/examples/sharding-proxy-example/sharding-proxy-hint-example/src/main/java/org/apache/shardingsphere/example/proxy/hint/config/DatasourceConfiguration.java b/examples/shardingsphere-proxy-example/shardingsphere-proxy-hint-example/src/main/java/org/apache/shardingsphere/example/proxy/hint/config/DatasourceConfiguration.java similarity index 100% rename from examples/sharding-proxy-example/sharding-proxy-hint-example/src/main/java/org/apache/shardingsphere/example/proxy/hint/config/DatasourceConfiguration.java rename to examples/shardingsphere-proxy-example/shardingsphere-proxy-hint-example/src/main/java/org/apache/shardingsphere/example/proxy/hint/config/DatasourceConfiguration.java diff --git a/examples/sharding-proxy-example/sharding-proxy-hint-example/src/main/java/org/apache/shardingsphere/example/proxy/hint/factory/YamlDataSourceFactory.java b/examples/shardingsphere-proxy-example/shardingsphere-proxy-hint-example/src/main/java/org/apache/shardingsphere/example/proxy/hint/factory/YamlDataSourceFactory.java similarity index 100% rename from examples/sharding-proxy-example/sharding-proxy-hint-example/src/main/java/org/apache/shardingsphere/example/proxy/hint/factory/YamlDataSourceFactory.java rename to examples/shardingsphere-proxy-example/shardingsphere-proxy-hint-example/src/main/java/org/apache/shardingsphere/example/proxy/hint/factory/YamlDataSourceFactory.java diff --git a/examples/sharding-proxy-example/sharding-proxy-hint-example/src/main/resources/META-INF/hint-databases-only.yaml b/examples/shardingsphere-proxy-example/shardingsphere-proxy-hint-example/src/main/resources/META-INF/hint-databases-only.yaml similarity index 100% rename from examples/sharding-proxy-example/sharding-proxy-hint-example/src/main/resources/META-INF/hint-databases-only.yaml rename to examples/shardingsphere-proxy-example/shardingsphere-proxy-hint-example/src/main/resources/META-INF/hint-databases-only.yaml diff --git a/examples/sharding-proxy-example/sharding-proxy-hint-example/src/main/resources/META-INF/hint-databases-tables.yaml b/examples/shardingsphere-proxy-example/shardingsphere-proxy-hint-example/src/main/resources/META-INF/hint-databases-tables.yaml similarity index 100% rename from examples/sharding-proxy-example/sharding-proxy-hint-example/src/main/resources/META-INF/hint-databases-tables.yaml rename to examples/shardingsphere-proxy-example/shardingsphere-proxy-hint-example/src/main/resources/META-INF/hint-databases-tables.yaml diff --git a/examples/sharding-proxy-example/sharding-proxy-hint-example/src/main/resources/META-INF/hint-master-only.yaml b/examples/shardingsphere-proxy-example/shardingsphere-proxy-hint-example/src/main/resources/META-INF/hint-master-only.yaml similarity index 100% rename from examples/sharding-proxy-example/sharding-proxy-hint-example/src/main/resources/META-INF/hint-master-only.yaml rename to examples/shardingsphere-proxy-example/shardingsphere-proxy-hint-example/src/main/resources/META-INF/hint-master-only.yaml diff --git a/examples/sharding-proxy-example/sharding-proxy-hint-example/src/main/resources/META-INF/services/org.apache.shardingsphere.sharding.spi.algorithm.ShardingAlgorithm b/examples/shardingsphere-proxy-example/shardingsphere-proxy-hint-example/src/main/resources/META-INF/services/org.apache.shardingsphere.sharding.spi.algorithm.ShardingAlgorithm similarity index 100% rename from examples/sharding-proxy-example/sharding-proxy-hint-example/src/main/resources/META-INF/services/org.apache.shardingsphere.sharding.spi.algorithm.ShardingAlgorithm rename to examples/shardingsphere-proxy-example/shardingsphere-proxy-hint-example/src/main/resources/META-INF/services/org.apache.shardingsphere.sharding.spi.algorithm.ShardingAlgorithm diff --git a/examples/sharding-proxy-example/sharding-proxy-hint-example/src/main/resources/conf/config-databases-only.yaml b/examples/shardingsphere-proxy-example/shardingsphere-proxy-hint-example/src/main/resources/conf/config-databases-only.yaml similarity index 100% rename from examples/sharding-proxy-example/sharding-proxy-hint-example/src/main/resources/conf/config-databases-only.yaml rename to examples/shardingsphere-proxy-example/shardingsphere-proxy-hint-example/src/main/resources/conf/config-databases-only.yaml diff --git a/examples/sharding-proxy-example/sharding-proxy-hint-example/src/main/resources/conf/config-databases-tables.yaml b/examples/shardingsphere-proxy-example/shardingsphere-proxy-hint-example/src/main/resources/conf/config-databases-tables.yaml similarity index 100% rename from examples/sharding-proxy-example/sharding-proxy-hint-example/src/main/resources/conf/config-databases-tables.yaml rename to examples/shardingsphere-proxy-example/shardingsphere-proxy-hint-example/src/main/resources/conf/config-databases-tables.yaml diff --git a/examples/sharding-proxy-example/sharding-proxy-hint-example/src/main/resources/conf/config-master-only.yaml b/examples/shardingsphere-proxy-example/shardingsphere-proxy-hint-example/src/main/resources/conf/config-master-only.yaml similarity index 100% rename from examples/sharding-proxy-example/sharding-proxy-hint-example/src/main/resources/conf/config-master-only.yaml rename to examples/shardingsphere-proxy-example/shardingsphere-proxy-hint-example/src/main/resources/conf/config-master-only.yaml diff --git a/examples/sharding-proxy-example/sharding-proxy-hint-example/src/main/resources/conf/server.yaml b/examples/shardingsphere-proxy-example/shardingsphere-proxy-hint-example/src/main/resources/conf/server.yaml similarity index 100% rename from examples/sharding-proxy-example/sharding-proxy-hint-example/src/main/resources/conf/server.yaml rename to examples/shardingsphere-proxy-example/shardingsphere-proxy-hint-example/src/main/resources/conf/server.yaml diff --git a/examples/sharding-jdbc-example/sharding-example/sharding-raw-jdbc-example/src/main/resources/logback.xml b/examples/shardingsphere-proxy-example/shardingsphere-proxy-hint-example/src/main/resources/logback.xml similarity index 94% rename from examples/sharding-jdbc-example/sharding-example/sharding-raw-jdbc-example/src/main/resources/logback.xml rename to examples/shardingsphere-proxy-example/shardingsphere-proxy-hint-example/src/main/resources/logback.xml index b969442594dcdc81560ec33165b74156928c8dda..d4c800224ea521735aa0514cd3bc819bac97b2de 100644 --- a/examples/sharding-jdbc-example/sharding-example/sharding-raw-jdbc-example/src/main/resources/logback.xml +++ b/examples/shardingsphere-proxy-example/shardingsphere-proxy-hint-example/src/main/resources/logback.xml @@ -17,7 +17,7 @@ --> - + ${log.context.name} diff --git a/shardingsphere-db-protocol/shardingsphere-db-protocol-mysql/src/main/java/org/apache/shardingsphere/db/protocol/mysql/constant/MySQLServerInfo.java b/shardingsphere-db-protocol/shardingsphere-db-protocol-mysql/src/main/java/org/apache/shardingsphere/db/protocol/mysql/constant/MySQLServerInfo.java index 3cd51a0f9baeaf81466792dd01f471f1a2b31166..92c6458a7734c8b75ba05103b1d2515f03a2d1fa 100644 --- a/shardingsphere-db-protocol/shardingsphere-db-protocol-mysql/src/main/java/org/apache/shardingsphere/db/protocol/mysql/constant/MySQLServerInfo.java +++ b/shardingsphere-db-protocol/shardingsphere-db-protocol-mysql/src/main/java/org/apache/shardingsphere/db/protocol/mysql/constant/MySQLServerInfo.java @@ -21,7 +21,7 @@ import lombok.AccessLevel; import lombok.NoArgsConstructor; /** - * Sharding-Proxy's information for MySQL. + * ShardingSphere-Proxy's information for MySQL. */ @NoArgsConstructor(access = AccessLevel.PRIVATE) public final class MySQLServerInfo { @@ -34,7 +34,7 @@ public final class MySQLServerInfo { /** * Server version. */ - public static final String SERVER_VERSION = "5.6.4-Sharding-Proxy 5.0.0-RC1"; + public static final String SERVER_VERSION = "5.6.4-ShardingSphere-Proxy 5.0.0-RC1"; /** * Charset code 0x21 is utf8_general_ci. diff --git a/shardingsphere-infra/shardingsphere-infra-common/src/main/java/org/apache/shardingsphere/infra/config/DataSourceConfiguration.java b/shardingsphere-infra/shardingsphere-infra-common/src/main/java/org/apache/shardingsphere/infra/config/DataSourceConfiguration.java index d42ecf4c9bd66b25daca5034662870b9f35a4b9e..f8db156a9dfe55e3fe2f67401a660ef2a81a112d 100644 --- a/shardingsphere-infra/shardingsphere-infra-common/src/main/java/org/apache/shardingsphere/infra/config/DataSourceConfiguration.java +++ b/shardingsphere-infra/shardingsphere-infra-common/src/main/java/org/apache/shardingsphere/infra/config/DataSourceConfiguration.java @@ -151,7 +151,7 @@ public final class DataSourceConfiguration { } /** - * Add alias to share configuration with sharding-jdbc. + * Add alias to share configuration. * * @param alias alias for configuration */ diff --git a/shardingsphere-infra/shardingsphere-infra-common/src/main/java/org/apache/shardingsphere/infra/config/properties/ConfigurationPropertyKey.java b/shardingsphere-infra/shardingsphere-infra-common/src/main/java/org/apache/shardingsphere/infra/config/properties/ConfigurationPropertyKey.java index d5a82eb16ab12844f6d8b598662868f7a8562608..dd94c67e049ff81f73e50f5089ff85b819d1d3c1 100644 --- a/shardingsphere-infra/shardingsphere-infra-common/src/main/java/org/apache/shardingsphere/infra/config/properties/ConfigurationPropertyKey.java +++ b/shardingsphere-infra/shardingsphere-infra-common/src/main/java/org/apache/shardingsphere/infra/config/properties/ConfigurationPropertyKey.java @@ -84,7 +84,7 @@ public enum ConfigurationPropertyKey implements TypedPropertyKey { QUERY_WITH_CIPHER_COLUMN("query.with.cipher.column", String.valueOf(Boolean.TRUE), boolean.class), /** - * Sharding-Proxy's flush threshold for every records from databases. + * ShardingSphere-Proxy's flush threshold for every records from databases. */ PROXY_FRONTEND_FLUSH_THRESHOLD("proxy.frontend.flush.threshold", String.valueOf(128), int.class), @@ -93,33 +93,33 @@ public enum ConfigurationPropertyKey implements TypedPropertyKey { * *

* LOCAL: - * Sharding-Proxy will run with LOCAL transaction. + * ShardingSphere-Proxy will run with LOCAL transaction. *

* *

* XA: - * Sharding-Proxy will run with XA transaction. + * ShardingSphere-Proxy will run with XA transaction. *

* *

* BASE: - * Sharding-Proxy will run with BASE transaction. + * ShardingSphere-Proxy will run with BASE transaction. *

*/ PROXY_TRANSACTION_TYPE("proxy.transaction.type", "LOCAL", String.class), /** - * Enable opentracing for Sharding-Proxy. + * Enable opentracing for ShardingSphere-Proxy. */ PROXY_OPENTRACING_ENABLED("proxy.opentracing.enabled", String.valueOf(Boolean.FALSE), boolean.class), /** - * Enable metrics for Sharding-Proxy. + * Enable metrics for ShardingSphere-Proxy. */ PROXY_METRICS_ENABLED("proxy.metrics.enabled", String.valueOf(Boolean.FALSE), boolean.class), /** - * Enable hint for Sharding-Proxy. + * Enable hint for ShardingSphere-Proxy. */ PROXY_HINT_ENABLED("proxy.hint.enabled", String.valueOf(Boolean.FALSE), boolean.class), diff --git a/shardingsphere-proxy/shardingsphere-proxy-backend/src/main/java/org/apache/shardingsphere/proxy/backend/communication/jdbc/datasource/JDBCRawBackendDataSourceFactory.java b/shardingsphere-proxy/shardingsphere-proxy-backend/src/main/java/org/apache/shardingsphere/proxy/backend/communication/jdbc/datasource/JDBCRawBackendDataSourceFactory.java index 0fb3288728a4002f28472e68cdb81b73f3ebca99..944cb995cd12c425b3884017aa425e0ca6b6307a 100644 --- a/shardingsphere-proxy/shardingsphere-proxy-backend/src/main/java/org/apache/shardingsphere/proxy/backend/communication/jdbc/datasource/JDBCRawBackendDataSourceFactory.java +++ b/shardingsphere-proxy/shardingsphere-proxy-backend/src/main/java/org/apache/shardingsphere/proxy/backend/communication/jdbc/datasource/JDBCRawBackendDataSourceFactory.java @@ -78,7 +78,7 @@ public final class JDBCRawBackendDataSourceFactory implements JDBCBackendDataSou try { Class.forName(driverClassName); } catch (final ClassNotFoundException ex) { - throw new ShardingSphereException("Cannot load JDBC driver class `%s`, make sure it in Sharding-Proxy's classpath.", driverClassName); + throw new ShardingSphereException("Cannot load JDBC driver class `%s`, make sure it in ShardingSphere-Proxy's classpath.", driverClassName); } } } diff --git a/shardingsphere-proxy/shardingsphere-proxy-bootstrap/src/main/java/org/apache/shardingsphere/proxy/Bootstrap.java b/shardingsphere-proxy/shardingsphere-proxy-bootstrap/src/main/java/org/apache/shardingsphere/proxy/Bootstrap.java index 79d48a877d69ba7722499c1b6d65c932ddae2c15..87b51cc53087c45eafcc9a424bb429b155ea0f64 100644 --- a/shardingsphere-proxy/shardingsphere-proxy-bootstrap/src/main/java/org/apache/shardingsphere/proxy/Bootstrap.java +++ b/shardingsphere-proxy/shardingsphere-proxy-bootstrap/src/main/java/org/apache/shardingsphere/proxy/Bootstrap.java @@ -35,7 +35,7 @@ import org.apache.shardingsphere.proxy.config.yaml.YamlDataSourceParameter; import org.apache.shardingsphere.proxy.config.yaml.YamlProxyRuleConfiguration; import org.apache.shardingsphere.proxy.config.yaml.YamlProxyServerConfiguration; import org.apache.shardingsphere.proxy.context.ShardingProxyContext; -import org.apache.shardingsphere.proxy.frontend.bootstrap.ShardingProxy; +import org.apache.shardingsphere.proxy.frontend.bootstrap.ShardingSphereProxy; import org.apache.shardingsphere.proxy.util.DataSourceConverter; import org.apache.shardingsphere.infra.auth.Authentication; import org.apache.shardingsphere.infra.auth.yaml.config.YamlAuthenticationConfiguration; @@ -59,7 +59,7 @@ import java.util.Map.Entry; import java.util.Properties; /** - * Sharding-Proxy Bootstrap. + * ShardingSphere-Proxy Bootstrap. */ @NoArgsConstructor(access = AccessLevel.PRIVATE) public final class Bootstrap { @@ -140,7 +140,7 @@ public final class Bootstrap { final Map> schemaRules) throws SQLException { ShardingSphereSchemas.getInstance().init(shardingSchemaNames, schemaDataSources, schemaRules); initOpenTracing(); - ShardingProxy.getInstance().start(port); + ShardingSphereProxy.getInstance().start(port); } private static Map> getSchemaDataSourceParameterMap(final ShardingOrchestrationFacade shardingOrchestrationFacade) { diff --git a/shardingsphere-proxy/shardingsphere-proxy-common/src/main/java/org/apache/shardingsphere/proxy/config/ShardingConfigurationLoader.java b/shardingsphere-proxy/shardingsphere-proxy-common/src/main/java/org/apache/shardingsphere/proxy/config/ShardingConfigurationLoader.java index 9537be7a3c6c24f1b96d1b2085e53d7cfd79834e..d321242783bd870b48b7f9e4345a6ef129791b86 100644 --- a/shardingsphere-proxy/shardingsphere-proxy-common/src/main/java/org/apache/shardingsphere/proxy/config/ShardingConfigurationLoader.java +++ b/shardingsphere-proxy/shardingsphere-proxy-common/src/main/java/org/apache/shardingsphere/proxy/config/ShardingConfigurationLoader.java @@ -44,10 +44,10 @@ public final class ShardingConfigurationLoader { private static final Pattern RULE_CONFIG_FILE_PATTERN = Pattern.compile("config-.+\\.yaml"); /** - * Load configuration of Sharding-Proxy. + * Load configuration of ShardingSphere-Proxy. * - * @param path configuration path of Sharding-Proxy - * @return configuration of Sharding-Proxy + * @param path configuration path of ShardingSphere-Proxy + * @return configuration of ShardingSphere-Proxy * @throws IOException IO exception */ public ShardingConfiguration load(final String path) throws IOException { diff --git a/shardingsphere-proxy/shardingsphere-proxy-common/src/main/java/org/apache/shardingsphere/proxy/context/ShardingProxyContext.java b/shardingsphere-proxy/shardingsphere-proxy-common/src/main/java/org/apache/shardingsphere/proxy/context/ShardingProxyContext.java index 15d67788946a9eb53860a2b5474c64f15e70b234..298a958fa5560b0e882ed4f4c5769417271475b0 100644 --- a/shardingsphere-proxy/shardingsphere-proxy-common/src/main/java/org/apache/shardingsphere/proxy/context/ShardingProxyContext.java +++ b/shardingsphere-proxy/shardingsphere-proxy-common/src/main/java/org/apache/shardingsphere/proxy/context/ShardingProxyContext.java @@ -30,7 +30,7 @@ import org.apache.shardingsphere.infra.log.ConfigurationLogger; import java.util.Properties; /** - * Context of Sharding-Proxy. + * Context of ShardingSphere-Proxy. */ @Getter public final class ShardingProxyContext { @@ -48,9 +48,9 @@ public final class ShardingProxyContext { } /** - * Get instance of Sharding-Proxy's context. + * Get instance of ShardingSphere-Proxy's context. * - * @return instance of Sharding-Proxy's context. + * @return instance of ShardingSphere-Proxy's context. */ public static ShardingProxyContext getInstance() { return INSTANCE; diff --git a/shardingsphere-proxy/shardingsphere-proxy-frontend/shardingsphere-proxy-frontend-core/src/main/java/org/apache/shardingsphere/proxy/frontend/bootstrap/ShardingProxy.java b/shardingsphere-proxy/shardingsphere-proxy-frontend/shardingsphere-proxy-frontend-core/src/main/java/org/apache/shardingsphere/proxy/frontend/bootstrap/ShardingSphereProxy.java similarity index 94% rename from shardingsphere-proxy/shardingsphere-proxy-frontend/shardingsphere-proxy-frontend-core/src/main/java/org/apache/shardingsphere/proxy/frontend/bootstrap/ShardingProxy.java rename to shardingsphere-proxy/shardingsphere-proxy-frontend/shardingsphere-proxy-frontend-core/src/main/java/org/apache/shardingsphere/proxy/frontend/bootstrap/ShardingSphereProxy.java index ef73e987132c724f0b11fdc66f44107d69140e54..977a99f7fb7b01611b512f5dbc2d768d6edb34ca 100644 --- a/shardingsphere-proxy/shardingsphere-proxy-frontend/shardingsphere-proxy-frontend-core/src/main/java/org/apache/shardingsphere/proxy/frontend/bootstrap/ShardingProxy.java +++ b/shardingsphere-proxy/shardingsphere-proxy-frontend/shardingsphere-proxy-frontend-core/src/main/java/org/apache/shardingsphere/proxy/frontend/bootstrap/ShardingSphereProxy.java @@ -38,12 +38,12 @@ import org.apache.shardingsphere.proxy.backend.executor.BackendExecutorContext; import org.apache.shardingsphere.proxy.frontend.netty.ServerHandlerInitializer; /** - * Sharding-Proxy. + * ShardingSphere-Proxy. */ @NoArgsConstructor(access = AccessLevel.PRIVATE) -public final class ShardingProxy { +public final class ShardingSphereProxy { - private static final ShardingProxy INSTANCE = new ShardingProxy(); + private static final ShardingSphereProxy INSTANCE = new ShardingSphereProxy(); private EventLoopGroup bossGroup; @@ -54,12 +54,12 @@ public final class ShardingProxy { * * @return instance of proxy context. */ - public static ShardingProxy getInstance() { + public static ShardingSphereProxy getInstance() { return INSTANCE; } /** - * Start Sharding-Proxy. + * Start ShardingSphere-Proxy. * * @param port port */