You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by me...@apache.org on 2021/08/30 23:37:17 UTC
[shardingsphere] branch master updated: Move transaction to
shardingsphere-kernel module (#12119)
This is an automated email from the ASF dual-hosted git repository.
menghaoran pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/shardingsphere.git
The following commit(s) were added to refs/heads/master by this push:
new 858a1ec Move transaction to shardingsphere-kernel module (#12119)
858a1ec is described below
commit 858a1ecd95c45862f112e6c9bb0253ec6c67c664
Author: Liang Zhang <te...@163.com>
AuthorDate: Tue Aug 31 07:36:32 2021 +0800
Move transaction to shardingsphere-kernel module (#12119)
* Move shardingsphere-transaction into kernel module
* Move shardingsphere-transaction into kernel module
* Rename shardingsphere-transaction to shardingsphere-kernel-transaction
* Rename shardingsphere-transaction to shardingsphere-kernel-transaction
---
examples/pom.xml | 10 ++---
.../pom.xml | 2 +-
.../pom.xml | 4 +-
.../pom.xml | 4 +-
.../transaction-2pc-xa-spring-boot-example/pom.xml | 2 +-
.../pom.xml | 2 +-
.../pom.xml | 2 +-
.../pom.xml | 2 +-
pom.xml | 1 -
.../shardingsphere-jdbc-distribution/pom.xml | 6 +--
.../shardingsphere-infra-context/pom.xml | 2 +-
.../shardingsphere-jdbc-core/pom.xml | 2 +-
.../shardingsphere-jdbc-transaction-spring/pom.xml | 2 +-
shardingsphere-kernel/pom.xml | 1 +
.../shardingsphere-kernel-transaction}/pom.xml | 10 ++---
.../shardingsphere-kernel-transaction-2pc}/pom.xml | 6 +--
.../shardingsphere-kernel-transaction-xa}/pom.xml | 14 +++----
.../pom.xml | 6 +--
.../AtomikosTransactionManagerProvider.java | 0
.../manager/AtomikosXARecoverableResource.java | 0
...transaction.xa.spi.XATransactionManagerProvider | 0
.../src/main/resources/transactions.properties | 0
.../AtomikosTransactionManagerProviderTest.java | 0
.../manager/AtomikosXARecoverableResourceTest.java | 0
.../atomikos/manager/fixture/ReflectiveUtil.java | 4 +-
.../src/test/resources/logback-test.xml | 0
.../src/test/resources/transactions.properties | 0
.../pom.xml | 6 +--
.../bitronix/manager/BitronixRecoveryResource.java | 0
.../BitronixXATransactionManagerProvider.java | 0
.../bitronix/manager/SingleXAResourceHolder.java | 0
...transaction.xa.spi.XATransactionManagerProvider | 0
.../manager/BitronixRecoveryResourceTest.java | 0
.../BitronixXATransactionManagerProviderTest.java | 0
.../bitronix/manager/fixture/ReflectiveUtil.java | 7 ++--
.../resources/bitronix-default-config.properties | 0
.../src/test/resources/logback-test.xml | 0
.../pom.xml | 8 ++--
.../xa/XAShardingSphereTransactionManager.java | 0
.../xa/jta/connection/XAConnectionFactory.java | 0
.../xa/jta/connection/XAConnectionWrapper.java | 0
.../connection/dialect/H2XAConnectionWrapper.java | 0
.../dialect/MariaDBXAConnectionWrapper.java | 0
.../dialect/MySQLXAConnectionWrapper.java | 0
.../dialect/OracleXAConnectionWrapper.java | 5 +--
.../dialect/PostgreSQLXAConnectionWrapper.java | 0
.../xa/jta/datasource/XADataSourceFactory.java | 0
.../xa/jta/datasource/XATransactionDataSource.java | 0
.../properties/XADataSourceDefinition.java | 0
.../properties/XADataSourceDefinitionFactory.java | 0
.../dialect/H2XADataSourceDefinition.java | 0
.../dialect/MariaDBXADataSourceDefinition.java | 0
.../dialect/MySQLXADataSourceDefinition.java | 0
.../dialect/OracleXADataSourceDefinition.java | 0
.../dialect/PostgreSQLXADataSourceDefinition.java | 0
.../dialect/SQLServerXADataSourceDefinition.java | 0
.../swapper/DataSourcePropertyProvider.java | 0
.../swapper/DataSourcePropertyProviderLoader.java | 0
.../jta/datasource/swapper/DataSourceSwapper.java | 0
.../impl/DefaultDataSourcePropertyProvider.java | 0
.../swapper/impl/HikariCPPropertyProvider.java | 0
.../XATransactionManagerProviderLoader.java | 0
...ransaction.spi.ShardingSphereTransactionManager | 0
...ta.datasource.properties.XADataSourceDefinition | 0
...a.datasource.swapper.DataSourcePropertyProvider | 0
.../xa/XAShardingSphereTransactionManagerTest.java | 0
.../transaction/xa/fixture/DataSourceUtils.java | 0
.../FixtureXATransactionManagerProvider.java | 0
.../xa/jta/connection/XAConnectionFactoryTest.java | 0
.../dialect/MariaDBXAConnectionWrapperTest.java | 0
.../dialect/MySQLXAConnectionWrapperTest.java | 0
.../dialect/OracleXAConnectionWrapperTest.java | 0
.../dialect/PostgreSQLXAConnectionWrapperTest.java | 0
.../xa/jta/datasource/XADataSourceFactoryTest.java | 0
.../datasource/XATransactionDataSourceTest.java | 0
.../XADataSourceDefinitionFactoryTest.java | 0
.../dialect/H2XADataSourceDefinitionTest.java | 0
.../dialect/MariaDBXADataSourceDefinitionTest.java | 0
.../dialect/MySQLXADataSourceDefinitionTest.java | 0
.../dialect/OracleXADataSourceDefinitionTest.java | 0
.../PostgreSQLXADataSourceDefinitionTest.java | 0
.../SQLServerXADataSourceDefinitionTest.java | 0
.../DataSourcePropertyProviderLoaderTest.java | 0
.../datasource/swapper/DataSourceSwapperTest.java | 0
.../DefaultDataSourcePropertyProviderTest.java | 0
.../swapper/impl/HikariCPPropertyProviderTest.java | 0
.../XATransactionManagerProviderLoaderTest.java | 0
...transaction.xa.spi.XATransactionManagerProvider | 0
.../src/test/resources/logback-test.xml | 0
.../pom.xml | 6 +--
.../DataSourceXAResourceRecoveryHelper.java | 0
.../NarayanaXATransactionManagerProvider.java | 0
...transaction.xa.spi.XATransactionManagerProvider | 0
.../DataSourceXAResourceRecoveryHelperTest.java | 0
.../NarayanaXATransactionManagerProviderTest.java | 0
.../narayana/manager/fixture/ReflectiveUtil.java | 4 +-
.../src/test/resources/logback-test.xml | 0
.../pom.xml | 6 +--
.../transaction/xa/spi/SingleXAResource.java | 0
.../xa/spi/XATransactionManagerProvider.java | 0
.../transaction/xa/spi/SingleXAResourceTest.java | 0
.../pom.xml | 8 ++--
.../pom.xml | 4 +-
.../SeataATShardingSphereTransactionManager.java | 0
.../base/seata/at/SeataTransactionHolder.java | 0
.../seata/at/TransactionalSQLExecutionHook.java | 0
...sphere.infra.executor.sql.hook.SQLExecutionHook | 0
...ransaction.spi.ShardingSphereTransactionManager | 0
...eataATShardingSphereTransactionManagerTest.java | 0
.../at/TransactionalSQLExecutionHookTest.java | 0
.../base/seata/at/fixture/MockMessageHandler.java | 0
.../base/seata/at/fixture/MockSeataServer.java | 0
.../src/test/resources/file.conf | 0
.../src/test/resources/logback-test.xml | 0
.../src/test/resources/registry.conf | 0
.../src/test/resources/seata.conf | 0
.../src/test/resources/sql/undo_log.sql | 0
.../pom.xml | 4 +-
.../ShardingSphereTransactionManagerEngine.java | 0
.../annotation/ShardingSphereTransactionType.java | 0
.../config/TransactionRuleConfiguration.java | 0
.../transaction/constant/TransactionOrder.java | 0
.../transaction/context/TransactionContexts.java | 0
.../transaction/core/ResourceDataSource.java | 0
.../transaction/core/ResourceIDGenerator.java | 0
.../transaction/core/TransactionOperationType.java | 0
.../transaction/core/TransactionType.java | 0
.../transaction/core/TransactionTypeHolder.java | 0
.../transaction/rule/TransactionRule.java | 0
.../rule/builder/TransactionRuleBuilder.java | 0
.../spi/ShardingSphereTransactionManager.java | 0
.../config/YamlTransactionRuleConfiguration.java | 0
.../TransactionRuleConfigurationYamlSwapper.java | 0
...here.infra.rule.builder.scope.GlobalRuleBuilder | 0
...aml.config.swapper.YamlRuleConfigurationSwapper | 0
...ShardingSphereTransactionManagerEngineTest.java | 0
.../context/TransactionContextsTest.java | 0
.../transaction/core/ResourceDataSourceTest.java | 0
.../transaction/core/ResourceIDGeneratorTest.java | 0
.../core/TransactionTypeHolderTest.java | 0
.../transaction/core/TransactionTypeTest.java | 0
...herShardingSphereTransactionManagerFixture.java | 0
.../ShardingSphereTransactionManagerFixture.java | 0
...ransaction.spi.ShardingSphereTransactionManager | 0
.../src/test/resources/logback-test.xml | 0
.../shardingsphere-proxy-backend/pom.xml | 2 +-
.../transaction/xa/fixture/ReflectiveUtil.java | 49 ----------------------
147 files changed, 71 insertions(+), 120 deletions(-)
diff --git a/examples/pom.xml b/examples/pom.xml
index f1f9f4e..ceab317 100644
--- a/examples/pom.xml
+++ b/examples/pom.xml
@@ -95,27 +95,27 @@
</dependency>
<dependency>
<groupId>org.apache.shardingsphere</groupId>
- <artifactId>shardingsphere-transaction-core</artifactId>
+ <artifactId>shardingsphere-kernel-transaction-core</artifactId>
<version>${shardingsphere.version}</version>
</dependency>
<dependency>
<groupId>org.apache.shardingsphere</groupId>
- <artifactId>shardingsphere-transaction-xa-core</artifactId>
+ <artifactId>shardingsphere-kernel-transaction-xa-core</artifactId>
<version>${shardingsphere.version}</version>
</dependency>
<dependency>
<groupId>org.apache.shardingsphere</groupId>
- <artifactId>shardingsphere-transaction-xa-bitronix</artifactId>
+ <artifactId>shardingsphere-kernel-transaction-xa-bitronix</artifactId>
<version>${shardingsphere.version}</version>
</dependency>
<dependency>
<groupId>org.apache.shardingsphere</groupId>
- <artifactId>shardingsphere-transaction-xa-narayana</artifactId>
+ <artifactId>shardingsphere-kernel-transaction-xa-narayana</artifactId>
<version>${shardingsphere.version}</version>
</dependency>
<dependency>
<groupId>org.apache.shardingsphere</groupId>
- <artifactId>shardingsphere-transaction-base-seata-at</artifactId>
+ <artifactId>shardingsphere-kernel-transaction-base-seata-at</artifactId>
<version>${shardingsphere.version}</version>
</dependency>
<dependency>
diff --git a/examples/shardingsphere-jdbc-example/transaction-example/transaction-2pc-xa-atomikos-raw-jdbc-example/pom.xml b/examples/shardingsphere-jdbc-example/transaction-example/transaction-2pc-xa-atomikos-raw-jdbc-example/pom.xml
index 10f7bd2..29a9d9d 100644
--- a/examples/shardingsphere-jdbc-example/transaction-example/transaction-2pc-xa-atomikos-raw-jdbc-example/pom.xml
+++ b/examples/shardingsphere-jdbc-example/transaction-example/transaction-2pc-xa-atomikos-raw-jdbc-example/pom.xml
@@ -35,7 +35,7 @@
</dependency>
<dependency>
<groupId>org.apache.shardingsphere</groupId>
- <artifactId>shardingsphere-transaction-xa-core</artifactId>
+ <artifactId>shardingsphere-kernel-transaction-xa-core</artifactId>
</dependency>
</dependencies>
</project>
diff --git a/examples/shardingsphere-jdbc-example/transaction-example/transaction-2pc-xa-bitronix-raw-jdbc-example/pom.xml b/examples/shardingsphere-jdbc-example/transaction-example/transaction-2pc-xa-bitronix-raw-jdbc-example/pom.xml
index 7557398..1f065cf 100644
--- a/examples/shardingsphere-jdbc-example/transaction-example/transaction-2pc-xa-bitronix-raw-jdbc-example/pom.xml
+++ b/examples/shardingsphere-jdbc-example/transaction-example/transaction-2pc-xa-bitronix-raw-jdbc-example/pom.xml
@@ -40,11 +40,11 @@
</dependency>
<dependency>
<groupId>org.apache.shardingsphere</groupId>
- <artifactId>shardingsphere-transaction-xa-core</artifactId>
+ <artifactId>shardingsphere-kernel-transaction-xa-core</artifactId>
</dependency>
<dependency>
<groupId>org.apache.shardingsphere</groupId>
- <artifactId>shardingsphere-transaction-xa-bitronix</artifactId>
+ <artifactId>shardingsphere-kernel-transaction-xa-bitronix</artifactId>
</dependency>
<dependency>
<groupId>org.codehaus.btm</groupId>
diff --git a/examples/shardingsphere-jdbc-example/transaction-example/transaction-2pc-xa-narayana-raw-jdbc-example/pom.xml b/examples/shardingsphere-jdbc-example/transaction-example/transaction-2pc-xa-narayana-raw-jdbc-example/pom.xml
index 3911c11..e2a42d9 100644
--- a/examples/shardingsphere-jdbc-example/transaction-example/transaction-2pc-xa-narayana-raw-jdbc-example/pom.xml
+++ b/examples/shardingsphere-jdbc-example/transaction-example/transaction-2pc-xa-narayana-raw-jdbc-example/pom.xml
@@ -40,11 +40,11 @@
</dependency>
<dependency>
<groupId>org.apache.shardingsphere</groupId>
- <artifactId>shardingsphere-transaction-xa-core</artifactId>
+ <artifactId>shardingsphere-kernel-transaction-xa-core</artifactId>
</dependency>
<dependency>
<groupId>org.apache.shardingsphere</groupId>
- <artifactId>shardingsphere-transaction-xa-narayana</artifactId>
+ <artifactId>shardingsphere-kernel-transaction-xa-narayana</artifactId>
</dependency>
<dependency>
<groupId>org.jboss.narayana.jta</groupId>
diff --git a/examples/shardingsphere-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
index 606385b..6a40738 100644
--- a/examples/shardingsphere-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
@@ -31,7 +31,7 @@
<dependencies>
<dependency>
<groupId>org.apache.shardingsphere</groupId>
- <artifactId>shardingsphere-transaction-xa-core</artifactId>
+ <artifactId>shardingsphere-kernel-transaction-xa-core</artifactId>
</dependency>
<dependency>
<groupId>org.apache.shardingsphere</groupId>
diff --git a/examples/shardingsphere-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
index a9b2394..268f178 100644
--- a/examples/shardingsphere-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
@@ -31,7 +31,7 @@
<dependencies>
<dependency>
<groupId>org.apache.shardingsphere</groupId>
- <artifactId>shardingsphere-transaction-xa-core</artifactId>
+ <artifactId>shardingsphere-kernel-transaction-xa-core</artifactId>
</dependency>
<dependency>
<groupId>org.apache.shardingsphere</groupId>
diff --git a/examples/shardingsphere-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
index 02fac52..054be61 100644
--- a/examples/shardingsphere-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
@@ -35,7 +35,7 @@
</dependency>
<dependency>
<groupId>org.apache.shardingsphere</groupId>
- <artifactId>shardingsphere-transaction-base-seata-at</artifactId>
+ <artifactId>shardingsphere-kernel-transaction-base-seata-at</artifactId>
</dependency>
<dependency>
<groupId>io.seata</groupId>
diff --git a/examples/shardingsphere-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
index 7d80e21..a4b248f 100644
--- a/examples/shardingsphere-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
@@ -31,7 +31,7 @@
<dependencies>
<dependency>
<groupId>org.apache.shardingsphere</groupId>
- <artifactId>shardingsphere-transaction-base-seata-at</artifactId>
+ <artifactId>shardingsphere-kernel-transaction-base-seata-at</artifactId>
</dependency>
<dependency>
<groupId>org.apache.shardingsphere</groupId>
diff --git a/pom.xml b/pom.xml
index ca372e6..d8a5f44 100644
--- a/pom.xml
+++ b/pom.xml
@@ -44,7 +44,6 @@
<module>shardingsphere-features</module>
<module>shardingsphere-agent</module>
<module>shardingsphere-scaling</module>
- <module>shardingsphere-transaction</module>
<module>shardingsphere-test</module>
<module>shardingsphere-distribution</module>
diff --git a/shardingsphere-distribution/shardingsphere-jdbc-distribution/pom.xml b/shardingsphere-distribution/shardingsphere-jdbc-distribution/pom.xml
index 591e7f9..4a0e456 100644
--- a/shardingsphere-distribution/shardingsphere-jdbc-distribution/pom.xml
+++ b/shardingsphere-distribution/shardingsphere-jdbc-distribution/pom.xml
@@ -42,17 +42,17 @@
<dependency>
<groupId>org.apache.shardingsphere</groupId>
- <artifactId>shardingsphere-transaction-xa-narayana</artifactId>
+ <artifactId>shardingsphere-kernel-transaction-xa-narayana</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>org.apache.shardingsphere</groupId>
- <artifactId>shardingsphere-transaction-xa-bitronix</artifactId>
+ <artifactId>shardingsphere-kernel-transaction-xa-bitronix</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>org.apache.shardingsphere</groupId>
- <artifactId>shardingsphere-transaction-base-seata-at</artifactId>
+ <artifactId>shardingsphere-kernel-transaction-base-seata-at</artifactId>
<version>${project.version}</version>
</dependency>
diff --git a/shardingsphere-infra/shardingsphere-infra-context/pom.xml b/shardingsphere-infra/shardingsphere-infra-context/pom.xml
index 80be33d..31f39f0 100644
--- a/shardingsphere-infra/shardingsphere-infra-context/pom.xml
+++ b/shardingsphere-infra/shardingsphere-infra-context/pom.xml
@@ -51,7 +51,7 @@
</dependency>
<dependency>
<groupId>org.apache.shardingsphere</groupId>
- <artifactId>shardingsphere-transaction-core</artifactId>
+ <artifactId>shardingsphere-kernel-transaction-core</artifactId>
<version>${project.version}</version>
</dependency>
diff --git a/shardingsphere-jdbc/shardingsphere-jdbc-core/pom.xml b/shardingsphere-jdbc/shardingsphere-jdbc-core/pom.xml
index 38a7964..bfed3b4 100644
--- a/shardingsphere-jdbc/shardingsphere-jdbc-core/pom.xml
+++ b/shardingsphere-jdbc/shardingsphere-jdbc-core/pom.xml
@@ -29,7 +29,7 @@
<dependencies>
<dependency>
<groupId>org.apache.shardingsphere</groupId>
- <artifactId>shardingsphere-transaction-core</artifactId>
+ <artifactId>shardingsphere-kernel-transaction-core</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
diff --git a/shardingsphere-jdbc/shardingsphere-jdbc-spring/shardingsphere-jdbc-transaction-spring/pom.xml b/shardingsphere-jdbc/shardingsphere-jdbc-spring/shardingsphere-jdbc-transaction-spring/pom.xml
index ca82594..30c3e31 100644
--- a/shardingsphere-jdbc/shardingsphere-jdbc-spring/shardingsphere-jdbc-transaction-spring/pom.xml
+++ b/shardingsphere-jdbc/shardingsphere-jdbc-spring/shardingsphere-jdbc-transaction-spring/pom.xml
@@ -31,7 +31,7 @@
<dependencies>
<dependency>
<groupId>org.apache.shardingsphere</groupId>
- <artifactId>shardingsphere-transaction-core</artifactId>
+ <artifactId>shardingsphere-kernel-transaction-core</artifactId>
<version>${project.version}</version>
</dependency>
diff --git a/shardingsphere-kernel/pom.xml b/shardingsphere-kernel/pom.xml
index 7ec8519..8b93861 100644
--- a/shardingsphere-kernel/pom.xml
+++ b/shardingsphere-kernel/pom.xml
@@ -31,5 +31,6 @@
<modules>
<module>shardingsphere-kernel-authority</module>
+ <module>shardingsphere-kernel-transaction</module>
</modules>
</project>
diff --git a/shardingsphere-transaction/pom.xml b/shardingsphere-kernel/shardingsphere-kernel-transaction/pom.xml
similarity index 83%
rename from shardingsphere-transaction/pom.xml
rename to shardingsphere-kernel/shardingsphere-kernel-transaction/pom.xml
index 7f722e0..287bc84 100644
--- a/shardingsphere-transaction/pom.xml
+++ b/shardingsphere-kernel/shardingsphere-kernel-transaction/pom.xml
@@ -20,17 +20,17 @@
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.apache.shardingsphere</groupId>
- <artifactId>shardingsphere</artifactId>
+ <artifactId>shardingsphere-kernel</artifactId>
<version>5.0.0-RC1-SNAPSHOT</version>
</parent>
- <artifactId>shardingsphere-transaction</artifactId>
+ <artifactId>shardingsphere-kernel-transaction</artifactId>
<packaging>pom</packaging>
<name>${project.artifactId}</name>
<modules>
- <module>shardingsphere-transaction-core</module>
- <module>shardingsphere-transaction-2pc</module>
- <module>shardingsphere-transaction-base</module>
+ <module>shardingsphere-kernel-transaction-core</module>
+ <module>shardingsphere-kernel-transaction-2pc</module>
+ <module>shardingsphere-kernel-transaction-base</module>
</modules>
<dependencies>
diff --git a/shardingsphere-transaction/shardingsphere-transaction-2pc/pom.xml b/shardingsphere-kernel/shardingsphere-kernel-transaction/shardingsphere-kernel-transaction-2pc/pom.xml
similarity index 87%
rename from shardingsphere-transaction/shardingsphere-transaction-2pc/pom.xml
rename to shardingsphere-kernel/shardingsphere-kernel-transaction/shardingsphere-kernel-transaction-2pc/pom.xml
index 9e5e429..344a0fc 100644
--- a/shardingsphere-transaction/shardingsphere-transaction-2pc/pom.xml
+++ b/shardingsphere-kernel/shardingsphere-kernel-transaction/shardingsphere-kernel-transaction-2pc/pom.xml
@@ -20,14 +20,14 @@
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.apache.shardingsphere</groupId>
- <artifactId>shardingsphere-transaction</artifactId>
+ <artifactId>shardingsphere-kernel-transaction</artifactId>
<version>5.0.0-RC1-SNAPSHOT</version>
</parent>
- <artifactId>shardingsphere-transaction-2pc</artifactId>
+ <artifactId>shardingsphere-kernel-transaction-2pc</artifactId>
<packaging>pom</packaging>
<name>${project.artifactId}</name>
<modules>
- <module>shardingsphere-transaction-xa</module>
+ <module>shardingsphere-kernel-transaction-xa</module>
</modules>
</project>
diff --git a/shardingsphere-transaction/shardingsphere-transaction-2pc/shardingsphere-transaction-xa/pom.xml b/shardingsphere-kernel/shardingsphere-kernel-transaction/shardingsphere-kernel-transaction-2pc/shardingsphere-kernel-transaction-xa/pom.xml
similarity index 73%
rename from shardingsphere-transaction/shardingsphere-transaction-2pc/shardingsphere-transaction-xa/pom.xml
rename to shardingsphere-kernel/shardingsphere-kernel-transaction/shardingsphere-kernel-transaction-2pc/shardingsphere-kernel-transaction-xa/pom.xml
index 46e9290..341f2d7 100644
--- a/shardingsphere-transaction/shardingsphere-transaction-2pc/shardingsphere-transaction-xa/pom.xml
+++ b/shardingsphere-kernel/shardingsphere-kernel-transaction/shardingsphere-kernel-transaction-2pc/shardingsphere-kernel-transaction-xa/pom.xml
@@ -20,19 +20,19 @@
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.apache.shardingsphere</groupId>
- <artifactId>shardingsphere-transaction-2pc</artifactId>
+ <artifactId>shardingsphere-kernel-transaction-2pc</artifactId>
<version>5.0.0-RC1-SNAPSHOT</version>
</parent>
- <artifactId>shardingsphere-transaction-xa</artifactId>
+ <artifactId>shardingsphere-kernel-transaction-xa</artifactId>
<name>${project.artifactId}</name>
<packaging>pom</packaging>
<modules>
- <module>shardingsphere-transaction-xa-spi</module>
- <module>shardingsphere-transaction-xa-core</module>
+ <module>shardingsphere-kernel-transaction-xa-spi</module>
+ <module>shardingsphere-kernel-transaction-xa-core</module>
- <module>shardingsphere-transaction-xa-atomikos</module>
- <module>shardingsphere-transaction-xa-narayana</module>
- <module>shardingsphere-transaction-xa-bitronix</module>
+ <module>shardingsphere-kernel-transaction-xa-atomikos</module>
+ <module>shardingsphere-kernel-transaction-xa-narayana</module>
+ <module>shardingsphere-kernel-transaction-xa-bitronix</module>
</modules>
</project>
diff --git a/shardingsphere-transaction/shardingsphere-transaction-2pc/shardingsphere-transaction-xa/shardingsphere-transaction-xa-atomikos/pom.xml b/shardingsphere-kernel/shardingsphere-kernel-transaction/shardingsphere-kernel-transaction-2pc/shardingsphere-kernel-transaction-xa/shardingsphere-kernel-transaction-xa-atomikos/pom.xml
similarity index 89%
rename from shardingsphere-transaction/shardingsphere-transaction-2pc/shardingsphere-transaction-xa/shardingsphere-transaction-xa-atomikos/pom.xml
rename to shardingsphere-kernel/shardingsphere-kernel-transaction/shardingsphere-kernel-transaction-2pc/shardingsphere-kernel-transaction-xa/shardingsphere-kernel-transaction-xa-atomikos/pom.xml
index 5a21a34..ef609f9 100644
--- a/shardingsphere-transaction/shardingsphere-transaction-2pc/shardingsphere-transaction-xa/shardingsphere-transaction-xa-atomikos/pom.xml
+++ b/shardingsphere-kernel/shardingsphere-kernel-transaction/shardingsphere-kernel-transaction-2pc/shardingsphere-kernel-transaction-xa/shardingsphere-kernel-transaction-xa-atomikos/pom.xml
@@ -20,16 +20,16 @@
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.apache.shardingsphere</groupId>
- <artifactId>shardingsphere-transaction-xa</artifactId>
+ <artifactId>shardingsphere-kernel-transaction-xa</artifactId>
<version>5.0.0-RC1-SNAPSHOT</version>
</parent>
- <artifactId>shardingsphere-transaction-xa-atomikos</artifactId>
+ <artifactId>shardingsphere-kernel-transaction-xa-atomikos</artifactId>
<name>${project.artifactId}</name>
<dependencies>
<dependency>
<groupId>org.apache.shardingsphere</groupId>
- <artifactId>shardingsphere-transaction-xa-spi</artifactId>
+ <artifactId>shardingsphere-kernel-transaction-xa-spi</artifactId>
<version>${project.version}</version>
</dependency>
diff --git a/shardingsphere-transaction/shardingsphere-transaction-2pc/shardingsphere-transaction-xa/shardingsphere-transaction-xa-atomikos/src/main/java/org/apache/shardingsphere/transaction/xa/atomikos/manager/AtomikosTransactionManagerProvider.java b/shardingsphere-kernel/shardingsphere-kernel-transaction/shardingsphere-kernel-transaction-2pc/shardingsphere-kernel-transaction-xa/shardingsphere-kernel-transaction-xa-atomikos/src/main/java/org/apache/shardingsphere/transaction/xa/atomiko [...]
similarity index 100%
rename from shardingsphere-transaction/shardingsphere-transaction-2pc/shardingsphere-transaction-xa/shardingsphere-transaction-xa-atomikos/src/main/java/org/apache/shardingsphere/transaction/xa/atomikos/manager/AtomikosTransactionManagerProvider.java
rename to shardingsphere-kernel/shardingsphere-kernel-transaction/shardingsphere-kernel-transaction-2pc/shardingsphere-kernel-transaction-xa/shardingsphere-kernel-transaction-xa-atomikos/src/main/java/org/apache/shardingsphere/transaction/xa/atomikos/manager/AtomikosTransactionManagerProvider.java
diff --git a/shardingsphere-transaction/shardingsphere-transaction-2pc/shardingsphere-transaction-xa/shardingsphere-transaction-xa-atomikos/src/main/java/org/apache/shardingsphere/transaction/xa/atomikos/manager/AtomikosXARecoverableResource.java b/shardingsphere-kernel/shardingsphere-kernel-transaction/shardingsphere-kernel-transaction-2pc/shardingsphere-kernel-transaction-xa/shardingsphere-kernel-transaction-xa-atomikos/src/main/java/org/apache/shardingsphere/transaction/xa/atomikos/man [...]
similarity index 100%
rename from shardingsphere-transaction/shardingsphere-transaction-2pc/shardingsphere-transaction-xa/shardingsphere-transaction-xa-atomikos/src/main/java/org/apache/shardingsphere/transaction/xa/atomikos/manager/AtomikosXARecoverableResource.java
rename to shardingsphere-kernel/shardingsphere-kernel-transaction/shardingsphere-kernel-transaction-2pc/shardingsphere-kernel-transaction-xa/shardingsphere-kernel-transaction-xa-atomikos/src/main/java/org/apache/shardingsphere/transaction/xa/atomikos/manager/AtomikosXARecoverableResource.java
diff --git a/shardingsphere-transaction/shardingsphere-transaction-2pc/shardingsphere-transaction-xa/shardingsphere-transaction-xa-atomikos/src/main/resources/META-INF/services/org.apache.shardingsphere.transaction.xa.spi.XATransactionManagerProvider b/shardingsphere-kernel/shardingsphere-kernel-transaction/shardingsphere-kernel-transaction-2pc/shardingsphere-kernel-transaction-xa/shardingsphere-kernel-transaction-xa-atomikos/src/main/resources/META-INF/services/org.apache.shardingsphere. [...]
similarity index 100%
rename from shardingsphere-transaction/shardingsphere-transaction-2pc/shardingsphere-transaction-xa/shardingsphere-transaction-xa-atomikos/src/main/resources/META-INF/services/org.apache.shardingsphere.transaction.xa.spi.XATransactionManagerProvider
rename to shardingsphere-kernel/shardingsphere-kernel-transaction/shardingsphere-kernel-transaction-2pc/shardingsphere-kernel-transaction-xa/shardingsphere-kernel-transaction-xa-atomikos/src/main/resources/META-INF/services/org.apache.shardingsphere.transaction.xa.spi.XATransactionManagerProvider
diff --git a/shardingsphere-transaction/shardingsphere-transaction-2pc/shardingsphere-transaction-xa/shardingsphere-transaction-xa-atomikos/src/main/resources/transactions.properties b/shardingsphere-kernel/shardingsphere-kernel-transaction/shardingsphere-kernel-transaction-2pc/shardingsphere-kernel-transaction-xa/shardingsphere-kernel-transaction-xa-atomikos/src/main/resources/transactions.properties
similarity index 100%
rename from shardingsphere-transaction/shardingsphere-transaction-2pc/shardingsphere-transaction-xa/shardingsphere-transaction-xa-atomikos/src/main/resources/transactions.properties
rename to shardingsphere-kernel/shardingsphere-kernel-transaction/shardingsphere-kernel-transaction-2pc/shardingsphere-kernel-transaction-xa/shardingsphere-kernel-transaction-xa-atomikos/src/main/resources/transactions.properties
diff --git a/shardingsphere-transaction/shardingsphere-transaction-2pc/shardingsphere-transaction-xa/shardingsphere-transaction-xa-atomikos/src/test/java/org/apache/shardingsphere/transaction/xa/atomikos/manager/AtomikosTransactionManagerProviderTest.java b/shardingsphere-kernel/shardingsphere-kernel-transaction/shardingsphere-kernel-transaction-2pc/shardingsphere-kernel-transaction-xa/shardingsphere-kernel-transaction-xa-atomikos/src/test/java/org/apache/shardingsphere/transaction/xa/ato [...]
similarity index 100%
rename from shardingsphere-transaction/shardingsphere-transaction-2pc/shardingsphere-transaction-xa/shardingsphere-transaction-xa-atomikos/src/test/java/org/apache/shardingsphere/transaction/xa/atomikos/manager/AtomikosTransactionManagerProviderTest.java
rename to shardingsphere-kernel/shardingsphere-kernel-transaction/shardingsphere-kernel-transaction-2pc/shardingsphere-kernel-transaction-xa/shardingsphere-kernel-transaction-xa-atomikos/src/test/java/org/apache/shardingsphere/transaction/xa/atomikos/manager/AtomikosTransactionManagerProviderTest.java
diff --git a/shardingsphere-transaction/shardingsphere-transaction-2pc/shardingsphere-transaction-xa/shardingsphere-transaction-xa-atomikos/src/test/java/org/apache/shardingsphere/transaction/xa/atomikos/manager/AtomikosXARecoverableResourceTest.java b/shardingsphere-kernel/shardingsphere-kernel-transaction/shardingsphere-kernel-transaction-2pc/shardingsphere-kernel-transaction-xa/shardingsphere-kernel-transaction-xa-atomikos/src/test/java/org/apache/shardingsphere/transaction/xa/atomikos [...]
similarity index 100%
rename from shardingsphere-transaction/shardingsphere-transaction-2pc/shardingsphere-transaction-xa/shardingsphere-transaction-xa-atomikos/src/test/java/org/apache/shardingsphere/transaction/xa/atomikos/manager/AtomikosXARecoverableResourceTest.java
rename to shardingsphere-kernel/shardingsphere-kernel-transaction/shardingsphere-kernel-transaction-2pc/shardingsphere-kernel-transaction-xa/shardingsphere-kernel-transaction-xa-atomikos/src/test/java/org/apache/shardingsphere/transaction/xa/atomikos/manager/AtomikosXARecoverableResourceTest.java
diff --git a/shardingsphere-transaction/shardingsphere-transaction-2pc/shardingsphere-transaction-xa/shardingsphere-transaction-xa-atomikos/src/test/java/org/apache/shardingsphere/transaction/xa/atomikos/manager/fixture/ReflectiveUtil.java b/shardingsphere-kernel/shardingsphere-kernel-transaction/shardingsphere-kernel-transaction-2pc/shardingsphere-kernel-transaction-xa/shardingsphere-kernel-transaction-xa-atomikos/src/test/java/org/apache/shardingsphere/transaction/xa/atomikos/manager/fi [...]
similarity index 96%
rename from shardingsphere-transaction/shardingsphere-transaction-2pc/shardingsphere-transaction-xa/shardingsphere-transaction-xa-atomikos/src/test/java/org/apache/shardingsphere/transaction/xa/atomikos/manager/fixture/ReflectiveUtil.java
rename to shardingsphere-kernel/shardingsphere-kernel-transaction/shardingsphere-kernel-transaction-2pc/shardingsphere-kernel-transaction-xa/shardingsphere-kernel-transaction-xa-atomikos/src/test/java/org/apache/shardingsphere/transaction/xa/atomikos/manager/fixture/ReflectiveUtil.java
index d9042e3..d889728 100644
--- a/shardingsphere-transaction/shardingsphere-transaction-2pc/shardingsphere-transaction-xa/shardingsphere-transaction-xa-atomikos/src/test/java/org/apache/shardingsphere/transaction/xa/atomikos/manager/fixture/ReflectiveUtil.java
+++ b/shardingsphere-kernel/shardingsphere-kernel-transaction/shardingsphere-kernel-transaction-2pc/shardingsphere-kernel-transaction-xa/shardingsphere-kernel-transaction-xa-atomikos/src/test/java/org/apache/shardingsphere/transaction/xa/atomikos/manager/fixture/ReflectiveUtil.java
@@ -37,8 +37,8 @@ public final class ReflectiveUtil {
* @return field
*/
private static Field getField(final Object target, final String fieldName) {
- Class clazz = target.getClass();
- while (clazz != null) {
+ Class<?> clazz = target.getClass();
+ while (null != clazz) {
try {
return clazz.getDeclaredField(fieldName);
} catch (final NoSuchFieldException ignored) {
diff --git a/shardingsphere-transaction/shardingsphere-transaction-base/shardingsphere-transaction-base-seata-at/src/test/resources/logback-test.xml b/shardingsphere-kernel/shardingsphere-kernel-transaction/shardingsphere-kernel-transaction-2pc/shardingsphere-kernel-transaction-xa/shardingsphere-kernel-transaction-xa-atomikos/src/test/resources/logback-test.xml
similarity index 100%
rename from shardingsphere-transaction/shardingsphere-transaction-base/shardingsphere-transaction-base-seata-at/src/test/resources/logback-test.xml
rename to shardingsphere-kernel/shardingsphere-kernel-transaction/shardingsphere-kernel-transaction-2pc/shardingsphere-kernel-transaction-xa/shardingsphere-kernel-transaction-xa-atomikos/src/test/resources/logback-test.xml
diff --git a/shardingsphere-transaction/shardingsphere-transaction-2pc/shardingsphere-transaction-xa/shardingsphere-transaction-xa-atomikos/src/test/resources/transactions.properties b/shardingsphere-kernel/shardingsphere-kernel-transaction/shardingsphere-kernel-transaction-2pc/shardingsphere-kernel-transaction-xa/shardingsphere-kernel-transaction-xa-atomikos/src/test/resources/transactions.properties
similarity index 100%
rename from shardingsphere-transaction/shardingsphere-transaction-2pc/shardingsphere-transaction-xa/shardingsphere-transaction-xa-atomikos/src/test/resources/transactions.properties
rename to shardingsphere-kernel/shardingsphere-kernel-transaction/shardingsphere-kernel-transaction-2pc/shardingsphere-kernel-transaction-xa/shardingsphere-kernel-transaction-xa-atomikos/src/test/resources/transactions.properties
diff --git a/shardingsphere-transaction/shardingsphere-transaction-2pc/shardingsphere-transaction-xa/shardingsphere-transaction-xa-bitronix/pom.xml b/shardingsphere-kernel/shardingsphere-kernel-transaction/shardingsphere-kernel-transaction-2pc/shardingsphere-kernel-transaction-xa/shardingsphere-kernel-transaction-xa-bitronix/pom.xml
similarity index 87%
rename from shardingsphere-transaction/shardingsphere-transaction-2pc/shardingsphere-transaction-xa/shardingsphere-transaction-xa-bitronix/pom.xml
rename to shardingsphere-kernel/shardingsphere-kernel-transaction/shardingsphere-kernel-transaction-2pc/shardingsphere-kernel-transaction-xa/shardingsphere-kernel-transaction-xa-bitronix/pom.xml
index 4cb818a..e2d9e0d 100644
--- a/shardingsphere-transaction/shardingsphere-transaction-2pc/shardingsphere-transaction-xa/shardingsphere-transaction-xa-bitronix/pom.xml
+++ b/shardingsphere-kernel/shardingsphere-kernel-transaction/shardingsphere-kernel-transaction-2pc/shardingsphere-kernel-transaction-xa/shardingsphere-kernel-transaction-xa-bitronix/pom.xml
@@ -20,16 +20,16 @@
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.apache.shardingsphere</groupId>
- <artifactId>shardingsphere-transaction-xa</artifactId>
+ <artifactId>shardingsphere-kernel-transaction-xa</artifactId>
<version>5.0.0-RC1-SNAPSHOT</version>
</parent>
- <artifactId>shardingsphere-transaction-xa-bitronix</artifactId>
+ <artifactId>shardingsphere-kernel-transaction-xa-bitronix</artifactId>
<name>${project.artifactId}</name>
<dependencies>
<dependency>
<groupId>org.apache.shardingsphere</groupId>
- <artifactId>shardingsphere-transaction-xa-spi</artifactId>
+ <artifactId>shardingsphere-kernel-transaction-xa-spi</artifactId>
<version>${project.version}</version>
</dependency>
diff --git a/shardingsphere-transaction/shardingsphere-transaction-2pc/shardingsphere-transaction-xa/shardingsphere-transaction-xa-bitronix/src/main/java/org/apache/shardingsphere/transaction/xa/bitronix/manager/BitronixRecoveryResource.java b/shardingsphere-kernel/shardingsphere-kernel-transaction/shardingsphere-kernel-transaction-2pc/shardingsphere-kernel-transaction-xa/shardingsphere-kernel-transaction-xa-bitronix/src/main/java/org/apache/shardingsphere/transaction/xa/bitronix/manager/ [...]
similarity index 100%
rename from shardingsphere-transaction/shardingsphere-transaction-2pc/shardingsphere-transaction-xa/shardingsphere-transaction-xa-bitronix/src/main/java/org/apache/shardingsphere/transaction/xa/bitronix/manager/BitronixRecoveryResource.java
rename to shardingsphere-kernel/shardingsphere-kernel-transaction/shardingsphere-kernel-transaction-2pc/shardingsphere-kernel-transaction-xa/shardingsphere-kernel-transaction-xa-bitronix/src/main/java/org/apache/shardingsphere/transaction/xa/bitronix/manager/BitronixRecoveryResource.java
diff --git a/shardingsphere-transaction/shardingsphere-transaction-2pc/shardingsphere-transaction-xa/shardingsphere-transaction-xa-bitronix/src/main/java/org/apache/shardingsphere/transaction/xa/bitronix/manager/BitronixXATransactionManagerProvider.java b/shardingsphere-kernel/shardingsphere-kernel-transaction/shardingsphere-kernel-transaction-2pc/shardingsphere-kernel-transaction-xa/shardingsphere-kernel-transaction-xa-bitronix/src/main/java/org/apache/shardingsphere/transaction/xa/bitro [...]
similarity index 100%
rename from shardingsphere-transaction/shardingsphere-transaction-2pc/shardingsphere-transaction-xa/shardingsphere-transaction-xa-bitronix/src/main/java/org/apache/shardingsphere/transaction/xa/bitronix/manager/BitronixXATransactionManagerProvider.java
rename to shardingsphere-kernel/shardingsphere-kernel-transaction/shardingsphere-kernel-transaction-2pc/shardingsphere-kernel-transaction-xa/shardingsphere-kernel-transaction-xa-bitronix/src/main/java/org/apache/shardingsphere/transaction/xa/bitronix/manager/BitronixXATransactionManagerProvider.java
diff --git a/shardingsphere-transaction/shardingsphere-transaction-2pc/shardingsphere-transaction-xa/shardingsphere-transaction-xa-bitronix/src/main/java/org/apache/shardingsphere/transaction/xa/bitronix/manager/SingleXAResourceHolder.java b/shardingsphere-kernel/shardingsphere-kernel-transaction/shardingsphere-kernel-transaction-2pc/shardingsphere-kernel-transaction-xa/shardingsphere-kernel-transaction-xa-bitronix/src/main/java/org/apache/shardingsphere/transaction/xa/bitronix/manager/Si [...]
similarity index 100%
rename from shardingsphere-transaction/shardingsphere-transaction-2pc/shardingsphere-transaction-xa/shardingsphere-transaction-xa-bitronix/src/main/java/org/apache/shardingsphere/transaction/xa/bitronix/manager/SingleXAResourceHolder.java
rename to shardingsphere-kernel/shardingsphere-kernel-transaction/shardingsphere-kernel-transaction-2pc/shardingsphere-kernel-transaction-xa/shardingsphere-kernel-transaction-xa-bitronix/src/main/java/org/apache/shardingsphere/transaction/xa/bitronix/manager/SingleXAResourceHolder.java
diff --git a/shardingsphere-transaction/shardingsphere-transaction-2pc/shardingsphere-transaction-xa/shardingsphere-transaction-xa-bitronix/src/main/resources/META-INF/services/org.apache.shardingsphere.transaction.xa.spi.XATransactionManagerProvider b/shardingsphere-kernel/shardingsphere-kernel-transaction/shardingsphere-kernel-transaction-2pc/shardingsphere-kernel-transaction-xa/shardingsphere-kernel-transaction-xa-bitronix/src/main/resources/META-INF/services/org.apache.shardingsphere. [...]
similarity index 100%
rename from shardingsphere-transaction/shardingsphere-transaction-2pc/shardingsphere-transaction-xa/shardingsphere-transaction-xa-bitronix/src/main/resources/META-INF/services/org.apache.shardingsphere.transaction.xa.spi.XATransactionManagerProvider
rename to shardingsphere-kernel/shardingsphere-kernel-transaction/shardingsphere-kernel-transaction-2pc/shardingsphere-kernel-transaction-xa/shardingsphere-kernel-transaction-xa-bitronix/src/main/resources/META-INF/services/org.apache.shardingsphere.transaction.xa.spi.XATransactionManagerProvider
diff --git a/shardingsphere-transaction/shardingsphere-transaction-2pc/shardingsphere-transaction-xa/shardingsphere-transaction-xa-bitronix/src/test/java/org/apache/shardingsphere/transaction/xa/bitronix/manager/BitronixRecoveryResourceTest.java b/shardingsphere-kernel/shardingsphere-kernel-transaction/shardingsphere-kernel-transaction-2pc/shardingsphere-kernel-transaction-xa/shardingsphere-kernel-transaction-xa-bitronix/src/test/java/org/apache/shardingsphere/transaction/xa/bitronix/mana [...]
similarity index 100%
rename from shardingsphere-transaction/shardingsphere-transaction-2pc/shardingsphere-transaction-xa/shardingsphere-transaction-xa-bitronix/src/test/java/org/apache/shardingsphere/transaction/xa/bitronix/manager/BitronixRecoveryResourceTest.java
rename to shardingsphere-kernel/shardingsphere-kernel-transaction/shardingsphere-kernel-transaction-2pc/shardingsphere-kernel-transaction-xa/shardingsphere-kernel-transaction-xa-bitronix/src/test/java/org/apache/shardingsphere/transaction/xa/bitronix/manager/BitronixRecoveryResourceTest.java
diff --git a/shardingsphere-transaction/shardingsphere-transaction-2pc/shardingsphere-transaction-xa/shardingsphere-transaction-xa-bitronix/src/test/java/org/apache/shardingsphere/transaction/xa/bitronix/manager/BitronixXATransactionManagerProviderTest.java b/shardingsphere-kernel/shardingsphere-kernel-transaction/shardingsphere-kernel-transaction-2pc/shardingsphere-kernel-transaction-xa/shardingsphere-kernel-transaction-xa-bitronix/src/test/java/org/apache/shardingsphere/transaction/xa/b [...]
similarity index 100%
rename from shardingsphere-transaction/shardingsphere-transaction-2pc/shardingsphere-transaction-xa/shardingsphere-transaction-xa-bitronix/src/test/java/org/apache/shardingsphere/transaction/xa/bitronix/manager/BitronixXATransactionManagerProviderTest.java
rename to shardingsphere-kernel/shardingsphere-kernel-transaction/shardingsphere-kernel-transaction-2pc/shardingsphere-kernel-transaction-xa/shardingsphere-kernel-transaction-xa-bitronix/src/test/java/org/apache/shardingsphere/transaction/xa/bitronix/manager/BitronixXATransactionManagerProviderTest.java
diff --git a/shardingsphere-transaction/shardingsphere-transaction-2pc/shardingsphere-transaction-xa/shardingsphere-transaction-xa-bitronix/src/test/java/org/apache/shardingsphere/transaction/xa/bitronix/manager/fixture/ReflectiveUtil.java b/shardingsphere-kernel/shardingsphere-kernel-transaction/shardingsphere-kernel-transaction-2pc/shardingsphere-kernel-transaction-xa/shardingsphere-kernel-transaction-xa-bitronix/src/test/java/org/apache/shardingsphere/transaction/xa/bitronix/manager/fi [...]
similarity index 96%
rename from shardingsphere-transaction/shardingsphere-transaction-2pc/shardingsphere-transaction-xa/shardingsphere-transaction-xa-bitronix/src/test/java/org/apache/shardingsphere/transaction/xa/bitronix/manager/fixture/ReflectiveUtil.java
rename to shardingsphere-kernel/shardingsphere-kernel-transaction/shardingsphere-kernel-transaction-2pc/shardingsphere-kernel-transaction-xa/shardingsphere-kernel-transaction-xa-bitronix/src/test/java/org/apache/shardingsphere/transaction/xa/bitronix/manager/fixture/ReflectiveUtil.java
index 5845920..20be43e 100644
--- a/shardingsphere-transaction/shardingsphere-transaction-2pc/shardingsphere-transaction-xa/shardingsphere-transaction-xa-bitronix/src/test/java/org/apache/shardingsphere/transaction/xa/bitronix/manager/fixture/ReflectiveUtil.java
+++ b/shardingsphere-kernel/shardingsphere-kernel-transaction/shardingsphere-kernel-transaction-2pc/shardingsphere-kernel-transaction-xa/shardingsphere-kernel-transaction-xa-bitronix/src/test/java/org/apache/shardingsphere/transaction/xa/bitronix/manager/fixture/ReflectiveUtil.java
@@ -18,11 +18,12 @@
package org.apache.shardingsphere.transaction.xa.bitronix.manager.fixture;
import com.google.common.base.Preconditions;
-import java.lang.reflect.Field;
import lombok.AccessLevel;
import lombok.NoArgsConstructor;
import lombok.SneakyThrows;
+import java.lang.reflect.Field;
+
/**
* Reflective utility.
*/
@@ -36,8 +37,8 @@ public final class ReflectiveUtil {
* @return field
*/
private static Field getField(final Object target, final String fieldName) {
- Class clazz = target.getClass();
- while (clazz != null) {
+ Class<?> clazz = target.getClass();
+ while (null != clazz) {
try {
return clazz.getDeclaredField(fieldName);
} catch (final NoSuchFieldException ignored) {
diff --git a/shardingsphere-transaction/shardingsphere-transaction-2pc/shardingsphere-transaction-xa/shardingsphere-transaction-xa-bitronix/src/test/resources/bitronix-default-config.properties b/shardingsphere-kernel/shardingsphere-kernel-transaction/shardingsphere-kernel-transaction-2pc/shardingsphere-kernel-transaction-xa/shardingsphere-kernel-transaction-xa-bitronix/src/test/resources/bitronix-default-config.properties
similarity index 100%
rename from shardingsphere-transaction/shardingsphere-transaction-2pc/shardingsphere-transaction-xa/shardingsphere-transaction-xa-bitronix/src/test/resources/bitronix-default-config.properties
rename to shardingsphere-kernel/shardingsphere-kernel-transaction/shardingsphere-kernel-transaction-2pc/shardingsphere-kernel-transaction-xa/shardingsphere-kernel-transaction-xa-bitronix/src/test/resources/bitronix-default-config.properties
diff --git a/shardingsphere-transaction/shardingsphere-transaction-2pc/shardingsphere-transaction-xa/shardingsphere-transaction-xa-narayana/src/test/resources/logback-test.xml b/shardingsphere-kernel/shardingsphere-kernel-transaction/shardingsphere-kernel-transaction-2pc/shardingsphere-kernel-transaction-xa/shardingsphere-kernel-transaction-xa-bitronix/src/test/resources/logback-test.xml
similarity index 100%
rename from shardingsphere-transaction/shardingsphere-transaction-2pc/shardingsphere-transaction-xa/shardingsphere-transaction-xa-narayana/src/test/resources/logback-test.xml
rename to shardingsphere-kernel/shardingsphere-kernel-transaction/shardingsphere-kernel-transaction-2pc/shardingsphere-kernel-transaction-xa/shardingsphere-kernel-transaction-xa-bitronix/src/test/resources/logback-test.xml
diff --git a/shardingsphere-transaction/shardingsphere-transaction-2pc/shardingsphere-transaction-xa/shardingsphere-transaction-xa-core/pom.xml b/shardingsphere-kernel/shardingsphere-kernel-transaction/shardingsphere-kernel-transaction-2pc/shardingsphere-kernel-transaction-xa/shardingsphere-kernel-transaction-xa-core/pom.xml
similarity index 91%
rename from shardingsphere-transaction/shardingsphere-transaction-2pc/shardingsphere-transaction-xa/shardingsphere-transaction-xa-core/pom.xml
rename to shardingsphere-kernel/shardingsphere-kernel-transaction/shardingsphere-kernel-transaction-2pc/shardingsphere-kernel-transaction-xa/shardingsphere-kernel-transaction-xa-core/pom.xml
index 7aefba9..1499572 100644
--- a/shardingsphere-transaction/shardingsphere-transaction-2pc/shardingsphere-transaction-xa/shardingsphere-transaction-xa-core/pom.xml
+++ b/shardingsphere-kernel/shardingsphere-kernel-transaction/shardingsphere-kernel-transaction-2pc/shardingsphere-kernel-transaction-xa/shardingsphere-kernel-transaction-xa-core/pom.xml
@@ -20,21 +20,21 @@
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.apache.shardingsphere</groupId>
- <artifactId>shardingsphere-transaction-xa</artifactId>
+ <artifactId>shardingsphere-kernel-transaction-xa</artifactId>
<version>5.0.0-RC1-SNAPSHOT</version>
</parent>
- <artifactId>shardingsphere-transaction-xa-core</artifactId>
+ <artifactId>shardingsphere-kernel-transaction-xa-core</artifactId>
<name>${project.artifactId}</name>
<dependencies>
<dependency>
<groupId>org.apache.shardingsphere</groupId>
- <artifactId>shardingsphere-transaction-xa-spi</artifactId>
+ <artifactId>shardingsphere-kernel-transaction-xa-spi</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>org.apache.shardingsphere</groupId>
- <artifactId>shardingsphere-transaction-xa-atomikos</artifactId>
+ <artifactId>shardingsphere-kernel-transaction-xa-atomikos</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
diff --git a/shardingsphere-transaction/shardingsphere-transaction-2pc/shardingsphere-transaction-xa/shardingsphere-transaction-xa-core/src/main/java/org/apache/shardingsphere/transaction/xa/XAShardingSphereTransactionManager.java b/shardingsphere-kernel/shardingsphere-kernel-transaction/shardingsphere-kernel-transaction-2pc/shardingsphere-kernel-transaction-xa/shardingsphere-kernel-transaction-xa-core/src/main/java/org/apache/shardingsphere/transaction/xa/XAShardingSphereTransactionManager.java
similarity index 100%
rename from shardingsphere-transaction/shardingsphere-transaction-2pc/shardingsphere-transaction-xa/shardingsphere-transaction-xa-core/src/main/java/org/apache/shardingsphere/transaction/xa/XAShardingSphereTransactionManager.java
rename to shardingsphere-kernel/shardingsphere-kernel-transaction/shardingsphere-kernel-transaction-2pc/shardingsphere-kernel-transaction-xa/shardingsphere-kernel-transaction-xa-core/src/main/java/org/apache/shardingsphere/transaction/xa/XAShardingSphereTransactionManager.java
diff --git a/shardingsphere-transaction/shardingsphere-transaction-2pc/shardingsphere-transaction-xa/shardingsphere-transaction-xa-core/src/main/java/org/apache/shardingsphere/transaction/xa/jta/connection/XAConnectionFactory.java b/shardingsphere-kernel/shardingsphere-kernel-transaction/shardingsphere-kernel-transaction-2pc/shardingsphere-kernel-transaction-xa/shardingsphere-kernel-transaction-xa-core/src/main/java/org/apache/shardingsphere/transaction/xa/jta/connection/XAConnectionFactory.java
similarity index 100%
rename from shardingsphere-transaction/shardingsphere-transaction-2pc/shardingsphere-transaction-xa/shardingsphere-transaction-xa-core/src/main/java/org/apache/shardingsphere/transaction/xa/jta/connection/XAConnectionFactory.java
rename to shardingsphere-kernel/shardingsphere-kernel-transaction/shardingsphere-kernel-transaction-2pc/shardingsphere-kernel-transaction-xa/shardingsphere-kernel-transaction-xa-core/src/main/java/org/apache/shardingsphere/transaction/xa/jta/connection/XAConnectionFactory.java
diff --git a/shardingsphere-transaction/shardingsphere-transaction-2pc/shardingsphere-transaction-xa/shardingsphere-transaction-xa-core/src/main/java/org/apache/shardingsphere/transaction/xa/jta/connection/XAConnectionWrapper.java b/shardingsphere-kernel/shardingsphere-kernel-transaction/shardingsphere-kernel-transaction-2pc/shardingsphere-kernel-transaction-xa/shardingsphere-kernel-transaction-xa-core/src/main/java/org/apache/shardingsphere/transaction/xa/jta/connection/XAConnectionWrapper.java
similarity index 100%
rename from shardingsphere-transaction/shardingsphere-transaction-2pc/shardingsphere-transaction-xa/shardingsphere-transaction-xa-core/src/main/java/org/apache/shardingsphere/transaction/xa/jta/connection/XAConnectionWrapper.java
rename to shardingsphere-kernel/shardingsphere-kernel-transaction/shardingsphere-kernel-transaction-2pc/shardingsphere-kernel-transaction-xa/shardingsphere-kernel-transaction-xa-core/src/main/java/org/apache/shardingsphere/transaction/xa/jta/connection/XAConnectionWrapper.java
diff --git a/shardingsphere-transaction/shardingsphere-transaction-2pc/shardingsphere-transaction-xa/shardingsphere-transaction-xa-core/src/main/java/org/apache/shardingsphere/transaction/xa/jta/connection/dialect/H2XAConnectionWrapper.java b/shardingsphere-kernel/shardingsphere-kernel-transaction/shardingsphere-kernel-transaction-2pc/shardingsphere-kernel-transaction-xa/shardingsphere-kernel-transaction-xa-core/src/main/java/org/apache/shardingsphere/transaction/xa/jta/connection/dialect [...]
similarity index 100%
rename from shardingsphere-transaction/shardingsphere-transaction-2pc/shardingsphere-transaction-xa/shardingsphere-transaction-xa-core/src/main/java/org/apache/shardingsphere/transaction/xa/jta/connection/dialect/H2XAConnectionWrapper.java
rename to shardingsphere-kernel/shardingsphere-kernel-transaction/shardingsphere-kernel-transaction-2pc/shardingsphere-kernel-transaction-xa/shardingsphere-kernel-transaction-xa-core/src/main/java/org/apache/shardingsphere/transaction/xa/jta/connection/dialect/H2XAConnectionWrapper.java
diff --git a/shardingsphere-transaction/shardingsphere-transaction-2pc/shardingsphere-transaction-xa/shardingsphere-transaction-xa-core/src/main/java/org/apache/shardingsphere/transaction/xa/jta/connection/dialect/MariaDBXAConnectionWrapper.java b/shardingsphere-kernel/shardingsphere-kernel-transaction/shardingsphere-kernel-transaction-2pc/shardingsphere-kernel-transaction-xa/shardingsphere-kernel-transaction-xa-core/src/main/java/org/apache/shardingsphere/transaction/xa/jta/connection/di [...]
similarity index 100%
rename from shardingsphere-transaction/shardingsphere-transaction-2pc/shardingsphere-transaction-xa/shardingsphere-transaction-xa-core/src/main/java/org/apache/shardingsphere/transaction/xa/jta/connection/dialect/MariaDBXAConnectionWrapper.java
rename to shardingsphere-kernel/shardingsphere-kernel-transaction/shardingsphere-kernel-transaction-2pc/shardingsphere-kernel-transaction-xa/shardingsphere-kernel-transaction-xa-core/src/main/java/org/apache/shardingsphere/transaction/xa/jta/connection/dialect/MariaDBXAConnectionWrapper.java
diff --git a/shardingsphere-transaction/shardingsphere-transaction-2pc/shardingsphere-transaction-xa/shardingsphere-transaction-xa-core/src/main/java/org/apache/shardingsphere/transaction/xa/jta/connection/dialect/MySQLXAConnectionWrapper.java b/shardingsphere-kernel/shardingsphere-kernel-transaction/shardingsphere-kernel-transaction-2pc/shardingsphere-kernel-transaction-xa/shardingsphere-kernel-transaction-xa-core/src/main/java/org/apache/shardingsphere/transaction/xa/jta/connection/dial [...]
similarity index 100%
rename from shardingsphere-transaction/shardingsphere-transaction-2pc/shardingsphere-transaction-xa/shardingsphere-transaction-xa-core/src/main/java/org/apache/shardingsphere/transaction/xa/jta/connection/dialect/MySQLXAConnectionWrapper.java
rename to shardingsphere-kernel/shardingsphere-kernel-transaction/shardingsphere-kernel-transaction-2pc/shardingsphere-kernel-transaction-xa/shardingsphere-kernel-transaction-xa-core/src/main/java/org/apache/shardingsphere/transaction/xa/jta/connection/dialect/MySQLXAConnectionWrapper.java
diff --git a/shardingsphere-transaction/shardingsphere-transaction-2pc/shardingsphere-transaction-xa/shardingsphere-transaction-xa-core/src/main/java/org/apache/shardingsphere/transaction/xa/jta/connection/dialect/OracleXAConnectionWrapper.java b/shardingsphere-kernel/shardingsphere-kernel-transaction/shardingsphere-kernel-transaction-2pc/shardingsphere-kernel-transaction-xa/shardingsphere-kernel-transaction-xa-core/src/main/java/org/apache/shardingsphere/transaction/xa/jta/connection/dia [...]
similarity index 90%
rename from shardingsphere-transaction/shardingsphere-transaction-2pc/shardingsphere-transaction-xa/shardingsphere-transaction-xa-core/src/main/java/org/apache/shardingsphere/transaction/xa/jta/connection/dialect/OracleXAConnectionWrapper.java
rename to shardingsphere-kernel/shardingsphere-kernel-transaction/shardingsphere-kernel-transaction-2pc/shardingsphere-kernel-transaction-xa/shardingsphere-kernel-transaction-xa-core/src/main/java/org/apache/shardingsphere/transaction/xa/jta/connection/dialect/OracleXAConnectionWrapper.java
index 9b3838f..f3ee340 100644
--- a/shardingsphere-transaction/shardingsphere-transaction-2pc/shardingsphere-transaction-xa/shardingsphere-transaction-xa-core/src/main/java/org/apache/shardingsphere/transaction/xa/jta/connection/dialect/OracleXAConnectionWrapper.java
+++ b/shardingsphere-kernel/shardingsphere-kernel-transaction/shardingsphere-kernel-transaction-2pc/shardingsphere-kernel-transaction-xa/shardingsphere-kernel-transaction-xa-core/src/main/java/org/apache/shardingsphere/transaction/xa/jta/connection/dialect/OracleXAConnectionWrapper.java
@@ -33,13 +33,12 @@ import java.sql.SQLException;
@RequiredArgsConstructor
public final class OracleXAConnectionWrapper implements XAConnectionWrapper {
- @SuppressWarnings("unchecked")
@SneakyThrows({SQLException.class, ReflectiveOperationException.class})
@Override
public XAConnection wrap(final XADataSource xaDataSource, final Connection connection) {
Connection physicalConnection = (Connection) connection.unwrap(Class.forName("oracle.jdbc.internal.OracleConnection"));
- Class clazz = Class.forName("oracle.jdbc.xa.client.OracleXAConnection");
- Constructor constructor = clazz.getConstructor(Connection.class);
+ Class<?> clazz = Class.forName("oracle.jdbc.xa.client.OracleXAConnection");
+ Constructor<?> constructor = clazz.getConstructor(Connection.class);
return (XAConnection) constructor.newInstance(physicalConnection);
}
}
diff --git a/shardingsphere-transaction/shardingsphere-transaction-2pc/shardingsphere-transaction-xa/shardingsphere-transaction-xa-core/src/main/java/org/apache/shardingsphere/transaction/xa/jta/connection/dialect/PostgreSQLXAConnectionWrapper.java b/shardingsphere-kernel/shardingsphere-kernel-transaction/shardingsphere-kernel-transaction-2pc/shardingsphere-kernel-transaction-xa/shardingsphere-kernel-transaction-xa-core/src/main/java/org/apache/shardingsphere/transaction/xa/jta/connection [...]
similarity index 100%
rename from shardingsphere-transaction/shardingsphere-transaction-2pc/shardingsphere-transaction-xa/shardingsphere-transaction-xa-core/src/main/java/org/apache/shardingsphere/transaction/xa/jta/connection/dialect/PostgreSQLXAConnectionWrapper.java
rename to shardingsphere-kernel/shardingsphere-kernel-transaction/shardingsphere-kernel-transaction-2pc/shardingsphere-kernel-transaction-xa/shardingsphere-kernel-transaction-xa-core/src/main/java/org/apache/shardingsphere/transaction/xa/jta/connection/dialect/PostgreSQLXAConnectionWrapper.java
diff --git a/shardingsphere-transaction/shardingsphere-transaction-2pc/shardingsphere-transaction-xa/shardingsphere-transaction-xa-core/src/main/java/org/apache/shardingsphere/transaction/xa/jta/datasource/XADataSourceFactory.java b/shardingsphere-kernel/shardingsphere-kernel-transaction/shardingsphere-kernel-transaction-2pc/shardingsphere-kernel-transaction-xa/shardingsphere-kernel-transaction-xa-core/src/main/java/org/apache/shardingsphere/transaction/xa/jta/datasource/XADataSourceFactory.java
similarity index 100%
rename from shardingsphere-transaction/shardingsphere-transaction-2pc/shardingsphere-transaction-xa/shardingsphere-transaction-xa-core/src/main/java/org/apache/shardingsphere/transaction/xa/jta/datasource/XADataSourceFactory.java
rename to shardingsphere-kernel/shardingsphere-kernel-transaction/shardingsphere-kernel-transaction-2pc/shardingsphere-kernel-transaction-xa/shardingsphere-kernel-transaction-xa-core/src/main/java/org/apache/shardingsphere/transaction/xa/jta/datasource/XADataSourceFactory.java
diff --git a/shardingsphere-transaction/shardingsphere-transaction-2pc/shardingsphere-transaction-xa/shardingsphere-transaction-xa-core/src/main/java/org/apache/shardingsphere/transaction/xa/jta/datasource/XATransactionDataSource.java b/shardingsphere-kernel/shardingsphere-kernel-transaction/shardingsphere-kernel-transaction-2pc/shardingsphere-kernel-transaction-xa/shardingsphere-kernel-transaction-xa-core/src/main/java/org/apache/shardingsphere/transaction/xa/jta/datasource/XATransaction [...]
similarity index 100%
rename from shardingsphere-transaction/shardingsphere-transaction-2pc/shardingsphere-transaction-xa/shardingsphere-transaction-xa-core/src/main/java/org/apache/shardingsphere/transaction/xa/jta/datasource/XATransactionDataSource.java
rename to shardingsphere-kernel/shardingsphere-kernel-transaction/shardingsphere-kernel-transaction-2pc/shardingsphere-kernel-transaction-xa/shardingsphere-kernel-transaction-xa-core/src/main/java/org/apache/shardingsphere/transaction/xa/jta/datasource/XATransactionDataSource.java
diff --git a/shardingsphere-transaction/shardingsphere-transaction-2pc/shardingsphere-transaction-xa/shardingsphere-transaction-xa-core/src/main/java/org/apache/shardingsphere/transaction/xa/jta/datasource/properties/XADataSourceDefinition.java b/shardingsphere-kernel/shardingsphere-kernel-transaction/shardingsphere-kernel-transaction-2pc/shardingsphere-kernel-transaction-xa/shardingsphere-kernel-transaction-xa-core/src/main/java/org/apache/shardingsphere/transaction/xa/jta/datasource/pro [...]
similarity index 100%
rename from shardingsphere-transaction/shardingsphere-transaction-2pc/shardingsphere-transaction-xa/shardingsphere-transaction-xa-core/src/main/java/org/apache/shardingsphere/transaction/xa/jta/datasource/properties/XADataSourceDefinition.java
rename to shardingsphere-kernel/shardingsphere-kernel-transaction/shardingsphere-kernel-transaction-2pc/shardingsphere-kernel-transaction-xa/shardingsphere-kernel-transaction-xa-core/src/main/java/org/apache/shardingsphere/transaction/xa/jta/datasource/properties/XADataSourceDefinition.java
diff --git a/shardingsphere-transaction/shardingsphere-transaction-2pc/shardingsphere-transaction-xa/shardingsphere-transaction-xa-core/src/main/java/org/apache/shardingsphere/transaction/xa/jta/datasource/properties/XADataSourceDefinitionFactory.java b/shardingsphere-kernel/shardingsphere-kernel-transaction/shardingsphere-kernel-transaction-2pc/shardingsphere-kernel-transaction-xa/shardingsphere-kernel-transaction-xa-core/src/main/java/org/apache/shardingsphere/transaction/xa/jta/datasou [...]
similarity index 100%
rename from shardingsphere-transaction/shardingsphere-transaction-2pc/shardingsphere-transaction-xa/shardingsphere-transaction-xa-core/src/main/java/org/apache/shardingsphere/transaction/xa/jta/datasource/properties/XADataSourceDefinitionFactory.java
rename to shardingsphere-kernel/shardingsphere-kernel-transaction/shardingsphere-kernel-transaction-2pc/shardingsphere-kernel-transaction-xa/shardingsphere-kernel-transaction-xa-core/src/main/java/org/apache/shardingsphere/transaction/xa/jta/datasource/properties/XADataSourceDefinitionFactory.java
diff --git a/shardingsphere-transaction/shardingsphere-transaction-2pc/shardingsphere-transaction-xa/shardingsphere-transaction-xa-core/src/main/java/org/apache/shardingsphere/transaction/xa/jta/datasource/properties/dialect/H2XADataSourceDefinition.java b/shardingsphere-kernel/shardingsphere-kernel-transaction/shardingsphere-kernel-transaction-2pc/shardingsphere-kernel-transaction-xa/shardingsphere-kernel-transaction-xa-core/src/main/java/org/apache/shardingsphere/transaction/xa/jta/data [...]
similarity index 100%
rename from shardingsphere-transaction/shardingsphere-transaction-2pc/shardingsphere-transaction-xa/shardingsphere-transaction-xa-core/src/main/java/org/apache/shardingsphere/transaction/xa/jta/datasource/properties/dialect/H2XADataSourceDefinition.java
rename to shardingsphere-kernel/shardingsphere-kernel-transaction/shardingsphere-kernel-transaction-2pc/shardingsphere-kernel-transaction-xa/shardingsphere-kernel-transaction-xa-core/src/main/java/org/apache/shardingsphere/transaction/xa/jta/datasource/properties/dialect/H2XADataSourceDefinition.java
diff --git a/shardingsphere-transaction/shardingsphere-transaction-2pc/shardingsphere-transaction-xa/shardingsphere-transaction-xa-core/src/main/java/org/apache/shardingsphere/transaction/xa/jta/datasource/properties/dialect/MariaDBXADataSourceDefinition.java b/shardingsphere-kernel/shardingsphere-kernel-transaction/shardingsphere-kernel-transaction-2pc/shardingsphere-kernel-transaction-xa/shardingsphere-kernel-transaction-xa-core/src/main/java/org/apache/shardingsphere/transaction/xa/jta [...]
similarity index 100%
rename from shardingsphere-transaction/shardingsphere-transaction-2pc/shardingsphere-transaction-xa/shardingsphere-transaction-xa-core/src/main/java/org/apache/shardingsphere/transaction/xa/jta/datasource/properties/dialect/MariaDBXADataSourceDefinition.java
rename to shardingsphere-kernel/shardingsphere-kernel-transaction/shardingsphere-kernel-transaction-2pc/shardingsphere-kernel-transaction-xa/shardingsphere-kernel-transaction-xa-core/src/main/java/org/apache/shardingsphere/transaction/xa/jta/datasource/properties/dialect/MariaDBXADataSourceDefinition.java
diff --git a/shardingsphere-transaction/shardingsphere-transaction-2pc/shardingsphere-transaction-xa/shardingsphere-transaction-xa-core/src/main/java/org/apache/shardingsphere/transaction/xa/jta/datasource/properties/dialect/MySQLXADataSourceDefinition.java b/shardingsphere-kernel/shardingsphere-kernel-transaction/shardingsphere-kernel-transaction-2pc/shardingsphere-kernel-transaction-xa/shardingsphere-kernel-transaction-xa-core/src/main/java/org/apache/shardingsphere/transaction/xa/jta/d [...]
similarity index 100%
rename from shardingsphere-transaction/shardingsphere-transaction-2pc/shardingsphere-transaction-xa/shardingsphere-transaction-xa-core/src/main/java/org/apache/shardingsphere/transaction/xa/jta/datasource/properties/dialect/MySQLXADataSourceDefinition.java
rename to shardingsphere-kernel/shardingsphere-kernel-transaction/shardingsphere-kernel-transaction-2pc/shardingsphere-kernel-transaction-xa/shardingsphere-kernel-transaction-xa-core/src/main/java/org/apache/shardingsphere/transaction/xa/jta/datasource/properties/dialect/MySQLXADataSourceDefinition.java
diff --git a/shardingsphere-transaction/shardingsphere-transaction-2pc/shardingsphere-transaction-xa/shardingsphere-transaction-xa-core/src/main/java/org/apache/shardingsphere/transaction/xa/jta/datasource/properties/dialect/OracleXADataSourceDefinition.java b/shardingsphere-kernel/shardingsphere-kernel-transaction/shardingsphere-kernel-transaction-2pc/shardingsphere-kernel-transaction-xa/shardingsphere-kernel-transaction-xa-core/src/main/java/org/apache/shardingsphere/transaction/xa/jta/ [...]
similarity index 100%
rename from shardingsphere-transaction/shardingsphere-transaction-2pc/shardingsphere-transaction-xa/shardingsphere-transaction-xa-core/src/main/java/org/apache/shardingsphere/transaction/xa/jta/datasource/properties/dialect/OracleXADataSourceDefinition.java
rename to shardingsphere-kernel/shardingsphere-kernel-transaction/shardingsphere-kernel-transaction-2pc/shardingsphere-kernel-transaction-xa/shardingsphere-kernel-transaction-xa-core/src/main/java/org/apache/shardingsphere/transaction/xa/jta/datasource/properties/dialect/OracleXADataSourceDefinition.java
diff --git a/shardingsphere-transaction/shardingsphere-transaction-2pc/shardingsphere-transaction-xa/shardingsphere-transaction-xa-core/src/main/java/org/apache/shardingsphere/transaction/xa/jta/datasource/properties/dialect/PostgreSQLXADataSourceDefinition.java b/shardingsphere-kernel/shardingsphere-kernel-transaction/shardingsphere-kernel-transaction-2pc/shardingsphere-kernel-transaction-xa/shardingsphere-kernel-transaction-xa-core/src/main/java/org/apache/shardingsphere/transaction/xa/ [...]
similarity index 100%
rename from shardingsphere-transaction/shardingsphere-transaction-2pc/shardingsphere-transaction-xa/shardingsphere-transaction-xa-core/src/main/java/org/apache/shardingsphere/transaction/xa/jta/datasource/properties/dialect/PostgreSQLXADataSourceDefinition.java
rename to shardingsphere-kernel/shardingsphere-kernel-transaction/shardingsphere-kernel-transaction-2pc/shardingsphere-kernel-transaction-xa/shardingsphere-kernel-transaction-xa-core/src/main/java/org/apache/shardingsphere/transaction/xa/jta/datasource/properties/dialect/PostgreSQLXADataSourceDefinition.java
diff --git a/shardingsphere-transaction/shardingsphere-transaction-2pc/shardingsphere-transaction-xa/shardingsphere-transaction-xa-core/src/main/java/org/apache/shardingsphere/transaction/xa/jta/datasource/properties/dialect/SQLServerXADataSourceDefinition.java b/shardingsphere-kernel/shardingsphere-kernel-transaction/shardingsphere-kernel-transaction-2pc/shardingsphere-kernel-transaction-xa/shardingsphere-kernel-transaction-xa-core/src/main/java/org/apache/shardingsphere/transaction/xa/j [...]
similarity index 100%
rename from shardingsphere-transaction/shardingsphere-transaction-2pc/shardingsphere-transaction-xa/shardingsphere-transaction-xa-core/src/main/java/org/apache/shardingsphere/transaction/xa/jta/datasource/properties/dialect/SQLServerXADataSourceDefinition.java
rename to shardingsphere-kernel/shardingsphere-kernel-transaction/shardingsphere-kernel-transaction-2pc/shardingsphere-kernel-transaction-xa/shardingsphere-kernel-transaction-xa-core/src/main/java/org/apache/shardingsphere/transaction/xa/jta/datasource/properties/dialect/SQLServerXADataSourceDefinition.java
diff --git a/shardingsphere-transaction/shardingsphere-transaction-2pc/shardingsphere-transaction-xa/shardingsphere-transaction-xa-core/src/main/java/org/apache/shardingsphere/transaction/xa/jta/datasource/swapper/DataSourcePropertyProvider.java b/shardingsphere-kernel/shardingsphere-kernel-transaction/shardingsphere-kernel-transaction-2pc/shardingsphere-kernel-transaction-xa/shardingsphere-kernel-transaction-xa-core/src/main/java/org/apache/shardingsphere/transaction/xa/jta/datasource/sw [...]
similarity index 100%
rename from shardingsphere-transaction/shardingsphere-transaction-2pc/shardingsphere-transaction-xa/shardingsphere-transaction-xa-core/src/main/java/org/apache/shardingsphere/transaction/xa/jta/datasource/swapper/DataSourcePropertyProvider.java
rename to shardingsphere-kernel/shardingsphere-kernel-transaction/shardingsphere-kernel-transaction-2pc/shardingsphere-kernel-transaction-xa/shardingsphere-kernel-transaction-xa-core/src/main/java/org/apache/shardingsphere/transaction/xa/jta/datasource/swapper/DataSourcePropertyProvider.java
diff --git a/shardingsphere-transaction/shardingsphere-transaction-2pc/shardingsphere-transaction-xa/shardingsphere-transaction-xa-core/src/main/java/org/apache/shardingsphere/transaction/xa/jta/datasource/swapper/DataSourcePropertyProviderLoader.java b/shardingsphere-kernel/shardingsphere-kernel-transaction/shardingsphere-kernel-transaction-2pc/shardingsphere-kernel-transaction-xa/shardingsphere-kernel-transaction-xa-core/src/main/java/org/apache/shardingsphere/transaction/xa/jta/datasou [...]
similarity index 100%
rename from shardingsphere-transaction/shardingsphere-transaction-2pc/shardingsphere-transaction-xa/shardingsphere-transaction-xa-core/src/main/java/org/apache/shardingsphere/transaction/xa/jta/datasource/swapper/DataSourcePropertyProviderLoader.java
rename to shardingsphere-kernel/shardingsphere-kernel-transaction/shardingsphere-kernel-transaction-2pc/shardingsphere-kernel-transaction-xa/shardingsphere-kernel-transaction-xa-core/src/main/java/org/apache/shardingsphere/transaction/xa/jta/datasource/swapper/DataSourcePropertyProviderLoader.java
diff --git a/shardingsphere-transaction/shardingsphere-transaction-2pc/shardingsphere-transaction-xa/shardingsphere-transaction-xa-core/src/main/java/org/apache/shardingsphere/transaction/xa/jta/datasource/swapper/DataSourceSwapper.java b/shardingsphere-kernel/shardingsphere-kernel-transaction/shardingsphere-kernel-transaction-2pc/shardingsphere-kernel-transaction-xa/shardingsphere-kernel-transaction-xa-core/src/main/java/org/apache/shardingsphere/transaction/xa/jta/datasource/swapper/Dat [...]
similarity index 100%
rename from shardingsphere-transaction/shardingsphere-transaction-2pc/shardingsphere-transaction-xa/shardingsphere-transaction-xa-core/src/main/java/org/apache/shardingsphere/transaction/xa/jta/datasource/swapper/DataSourceSwapper.java
rename to shardingsphere-kernel/shardingsphere-kernel-transaction/shardingsphere-kernel-transaction-2pc/shardingsphere-kernel-transaction-xa/shardingsphere-kernel-transaction-xa-core/src/main/java/org/apache/shardingsphere/transaction/xa/jta/datasource/swapper/DataSourceSwapper.java
diff --git a/shardingsphere-transaction/shardingsphere-transaction-2pc/shardingsphere-transaction-xa/shardingsphere-transaction-xa-core/src/main/java/org/apache/shardingsphere/transaction/xa/jta/datasource/swapper/impl/DefaultDataSourcePropertyProvider.java b/shardingsphere-kernel/shardingsphere-kernel-transaction/shardingsphere-kernel-transaction-2pc/shardingsphere-kernel-transaction-xa/shardingsphere-kernel-transaction-xa-core/src/main/java/org/apache/shardingsphere/transaction/xa/jta/d [...]
similarity index 100%
rename from shardingsphere-transaction/shardingsphere-transaction-2pc/shardingsphere-transaction-xa/shardingsphere-transaction-xa-core/src/main/java/org/apache/shardingsphere/transaction/xa/jta/datasource/swapper/impl/DefaultDataSourcePropertyProvider.java
rename to shardingsphere-kernel/shardingsphere-kernel-transaction/shardingsphere-kernel-transaction-2pc/shardingsphere-kernel-transaction-xa/shardingsphere-kernel-transaction-xa-core/src/main/java/org/apache/shardingsphere/transaction/xa/jta/datasource/swapper/impl/DefaultDataSourcePropertyProvider.java
diff --git a/shardingsphere-transaction/shardingsphere-transaction-2pc/shardingsphere-transaction-xa/shardingsphere-transaction-xa-core/src/main/java/org/apache/shardingsphere/transaction/xa/jta/datasource/swapper/impl/HikariCPPropertyProvider.java b/shardingsphere-kernel/shardingsphere-kernel-transaction/shardingsphere-kernel-transaction-2pc/shardingsphere-kernel-transaction-xa/shardingsphere-kernel-transaction-xa-core/src/main/java/org/apache/shardingsphere/transaction/xa/jta/datasource [...]
similarity index 100%
rename from shardingsphere-transaction/shardingsphere-transaction-2pc/shardingsphere-transaction-xa/shardingsphere-transaction-xa-core/src/main/java/org/apache/shardingsphere/transaction/xa/jta/datasource/swapper/impl/HikariCPPropertyProvider.java
rename to shardingsphere-kernel/shardingsphere-kernel-transaction/shardingsphere-kernel-transaction-2pc/shardingsphere-kernel-transaction-xa/shardingsphere-kernel-transaction-xa-core/src/main/java/org/apache/shardingsphere/transaction/xa/jta/datasource/swapper/impl/HikariCPPropertyProvider.java
diff --git a/shardingsphere-transaction/shardingsphere-transaction-2pc/shardingsphere-transaction-xa/shardingsphere-transaction-xa-core/src/main/java/org/apache/shardingsphere/transaction/xa/manager/XATransactionManagerProviderLoader.java b/shardingsphere-kernel/shardingsphere-kernel-transaction/shardingsphere-kernel-transaction-2pc/shardingsphere-kernel-transaction-xa/shardingsphere-kernel-transaction-xa-core/src/main/java/org/apache/shardingsphere/transaction/xa/manager/XATransactionMan [...]
similarity index 100%
rename from shardingsphere-transaction/shardingsphere-transaction-2pc/shardingsphere-transaction-xa/shardingsphere-transaction-xa-core/src/main/java/org/apache/shardingsphere/transaction/xa/manager/XATransactionManagerProviderLoader.java
rename to shardingsphere-kernel/shardingsphere-kernel-transaction/shardingsphere-kernel-transaction-2pc/shardingsphere-kernel-transaction-xa/shardingsphere-kernel-transaction-xa-core/src/main/java/org/apache/shardingsphere/transaction/xa/manager/XATransactionManagerProviderLoader.java
diff --git a/shardingsphere-transaction/shardingsphere-transaction-2pc/shardingsphere-transaction-xa/shardingsphere-transaction-xa-core/src/main/resources/META-INF/services/org.apache.shardingsphere.transaction.spi.ShardingSphereTransactionManager b/shardingsphere-kernel/shardingsphere-kernel-transaction/shardingsphere-kernel-transaction-2pc/shardingsphere-kernel-transaction-xa/shardingsphere-kernel-transaction-xa-core/src/main/resources/META-INF/services/org.apache.shardingsphere.transac [...]
similarity index 100%
rename from shardingsphere-transaction/shardingsphere-transaction-2pc/shardingsphere-transaction-xa/shardingsphere-transaction-xa-core/src/main/resources/META-INF/services/org.apache.shardingsphere.transaction.spi.ShardingSphereTransactionManager
rename to shardingsphere-kernel/shardingsphere-kernel-transaction/shardingsphere-kernel-transaction-2pc/shardingsphere-kernel-transaction-xa/shardingsphere-kernel-transaction-xa-core/src/main/resources/META-INF/services/org.apache.shardingsphere.transaction.spi.ShardingSphereTransactionManager
diff --git a/shardingsphere-transaction/shardingsphere-transaction-2pc/shardingsphere-transaction-xa/shardingsphere-transaction-xa-core/src/main/resources/META-INF/services/org.apache.shardingsphere.transaction.xa.jta.datasource.properties.XADataSourceDefinition b/shardingsphere-kernel/shardingsphere-kernel-transaction/shardingsphere-kernel-transaction-2pc/shardingsphere-kernel-transaction-xa/shardingsphere-kernel-transaction-xa-core/src/main/resources/META-INF/services/org.apache.shardin [...]
similarity index 100%
rename from shardingsphere-transaction/shardingsphere-transaction-2pc/shardingsphere-transaction-xa/shardingsphere-transaction-xa-core/src/main/resources/META-INF/services/org.apache.shardingsphere.transaction.xa.jta.datasource.properties.XADataSourceDefinition
rename to shardingsphere-kernel/shardingsphere-kernel-transaction/shardingsphere-kernel-transaction-2pc/shardingsphere-kernel-transaction-xa/shardingsphere-kernel-transaction-xa-core/src/main/resources/META-INF/services/org.apache.shardingsphere.transaction.xa.jta.datasource.properties.XADataSourceDefinition
diff --git a/shardingsphere-transaction/shardingsphere-transaction-2pc/shardingsphere-transaction-xa/shardingsphere-transaction-xa-core/src/main/resources/META-INF/services/org.apache.shardingsphere.transaction.xa.jta.datasource.swapper.DataSourcePropertyProvider b/shardingsphere-kernel/shardingsphere-kernel-transaction/shardingsphere-kernel-transaction-2pc/shardingsphere-kernel-transaction-xa/shardingsphere-kernel-transaction-xa-core/src/main/resources/META-INF/services/org.apache.shardi [...]
similarity index 100%
rename from shardingsphere-transaction/shardingsphere-transaction-2pc/shardingsphere-transaction-xa/shardingsphere-transaction-xa-core/src/main/resources/META-INF/services/org.apache.shardingsphere.transaction.xa.jta.datasource.swapper.DataSourcePropertyProvider
rename to shardingsphere-kernel/shardingsphere-kernel-transaction/shardingsphere-kernel-transaction-2pc/shardingsphere-kernel-transaction-xa/shardingsphere-kernel-transaction-xa-core/src/main/resources/META-INF/services/org.apache.shardingsphere.transaction.xa.jta.datasource.swapper.DataSourcePropertyProvider
diff --git a/shardingsphere-transaction/shardingsphere-transaction-2pc/shardingsphere-transaction-xa/shardingsphere-transaction-xa-core/src/test/java/org/apache/shardingsphere/transaction/xa/XAShardingSphereTransactionManagerTest.java b/shardingsphere-kernel/shardingsphere-kernel-transaction/shardingsphere-kernel-transaction-2pc/shardingsphere-kernel-transaction-xa/shardingsphere-kernel-transaction-xa-core/src/test/java/org/apache/shardingsphere/transaction/xa/XAShardingSphereTransactionM [...]
similarity index 100%
rename from shardingsphere-transaction/shardingsphere-transaction-2pc/shardingsphere-transaction-xa/shardingsphere-transaction-xa-core/src/test/java/org/apache/shardingsphere/transaction/xa/XAShardingSphereTransactionManagerTest.java
rename to shardingsphere-kernel/shardingsphere-kernel-transaction/shardingsphere-kernel-transaction-2pc/shardingsphere-kernel-transaction-xa/shardingsphere-kernel-transaction-xa-core/src/test/java/org/apache/shardingsphere/transaction/xa/XAShardingSphereTransactionManagerTest.java
diff --git a/shardingsphere-transaction/shardingsphere-transaction-2pc/shardingsphere-transaction-xa/shardingsphere-transaction-xa-core/src/test/java/org/apache/shardingsphere/transaction/xa/fixture/DataSourceUtils.java b/shardingsphere-kernel/shardingsphere-kernel-transaction/shardingsphere-kernel-transaction-2pc/shardingsphere-kernel-transaction-xa/shardingsphere-kernel-transaction-xa-core/src/test/java/org/apache/shardingsphere/transaction/xa/fixture/DataSourceUtils.java
similarity index 100%
rename from shardingsphere-transaction/shardingsphere-transaction-2pc/shardingsphere-transaction-xa/shardingsphere-transaction-xa-core/src/test/java/org/apache/shardingsphere/transaction/xa/fixture/DataSourceUtils.java
rename to shardingsphere-kernel/shardingsphere-kernel-transaction/shardingsphere-kernel-transaction-2pc/shardingsphere-kernel-transaction-xa/shardingsphere-kernel-transaction-xa-core/src/test/java/org/apache/shardingsphere/transaction/xa/fixture/DataSourceUtils.java
diff --git a/shardingsphere-transaction/shardingsphere-transaction-2pc/shardingsphere-transaction-xa/shardingsphere-transaction-xa-core/src/test/java/org/apache/shardingsphere/transaction/xa/fixture/FixtureXATransactionManagerProvider.java b/shardingsphere-kernel/shardingsphere-kernel-transaction/shardingsphere-kernel-transaction-2pc/shardingsphere-kernel-transaction-xa/shardingsphere-kernel-transaction-xa-core/src/test/java/org/apache/shardingsphere/transaction/xa/fixture/FixtureXATransa [...]
similarity index 100%
rename from shardingsphere-transaction/shardingsphere-transaction-2pc/shardingsphere-transaction-xa/shardingsphere-transaction-xa-core/src/test/java/org/apache/shardingsphere/transaction/xa/fixture/FixtureXATransactionManagerProvider.java
rename to shardingsphere-kernel/shardingsphere-kernel-transaction/shardingsphere-kernel-transaction-2pc/shardingsphere-kernel-transaction-xa/shardingsphere-kernel-transaction-xa-core/src/test/java/org/apache/shardingsphere/transaction/xa/fixture/FixtureXATransactionManagerProvider.java
diff --git a/shardingsphere-transaction/shardingsphere-transaction-2pc/shardingsphere-transaction-xa/shardingsphere-transaction-xa-core/src/test/java/org/apache/shardingsphere/transaction/xa/jta/connection/XAConnectionFactoryTest.java b/shardingsphere-kernel/shardingsphere-kernel-transaction/shardingsphere-kernel-transaction-2pc/shardingsphere-kernel-transaction-xa/shardingsphere-kernel-transaction-xa-core/src/test/java/org/apache/shardingsphere/transaction/xa/jta/connection/XAConnectionF [...]
similarity index 100%
rename from shardingsphere-transaction/shardingsphere-transaction-2pc/shardingsphere-transaction-xa/shardingsphere-transaction-xa-core/src/test/java/org/apache/shardingsphere/transaction/xa/jta/connection/XAConnectionFactoryTest.java
rename to shardingsphere-kernel/shardingsphere-kernel-transaction/shardingsphere-kernel-transaction-2pc/shardingsphere-kernel-transaction-xa/shardingsphere-kernel-transaction-xa-core/src/test/java/org/apache/shardingsphere/transaction/xa/jta/connection/XAConnectionFactoryTest.java
diff --git a/shardingsphere-transaction/shardingsphere-transaction-2pc/shardingsphere-transaction-xa/shardingsphere-transaction-xa-core/src/test/java/org/apache/shardingsphere/transaction/xa/jta/connection/dialect/MariaDBXAConnectionWrapperTest.java b/shardingsphere-kernel/shardingsphere-kernel-transaction/shardingsphere-kernel-transaction-2pc/shardingsphere-kernel-transaction-xa/shardingsphere-kernel-transaction-xa-core/src/test/java/org/apache/shardingsphere/transaction/xa/jta/connectio [...]
similarity index 100%
rename from shardingsphere-transaction/shardingsphere-transaction-2pc/shardingsphere-transaction-xa/shardingsphere-transaction-xa-core/src/test/java/org/apache/shardingsphere/transaction/xa/jta/connection/dialect/MariaDBXAConnectionWrapperTest.java
rename to shardingsphere-kernel/shardingsphere-kernel-transaction/shardingsphere-kernel-transaction-2pc/shardingsphere-kernel-transaction-xa/shardingsphere-kernel-transaction-xa-core/src/test/java/org/apache/shardingsphere/transaction/xa/jta/connection/dialect/MariaDBXAConnectionWrapperTest.java
diff --git a/shardingsphere-transaction/shardingsphere-transaction-2pc/shardingsphere-transaction-xa/shardingsphere-transaction-xa-core/src/test/java/org/apache/shardingsphere/transaction/xa/jta/connection/dialect/MySQLXAConnectionWrapperTest.java b/shardingsphere-kernel/shardingsphere-kernel-transaction/shardingsphere-kernel-transaction-2pc/shardingsphere-kernel-transaction-xa/shardingsphere-kernel-transaction-xa-core/src/test/java/org/apache/shardingsphere/transaction/xa/jta/connection/ [...]
similarity index 100%
rename from shardingsphere-transaction/shardingsphere-transaction-2pc/shardingsphere-transaction-xa/shardingsphere-transaction-xa-core/src/test/java/org/apache/shardingsphere/transaction/xa/jta/connection/dialect/MySQLXAConnectionWrapperTest.java
rename to shardingsphere-kernel/shardingsphere-kernel-transaction/shardingsphere-kernel-transaction-2pc/shardingsphere-kernel-transaction-xa/shardingsphere-kernel-transaction-xa-core/src/test/java/org/apache/shardingsphere/transaction/xa/jta/connection/dialect/MySQLXAConnectionWrapperTest.java
diff --git a/shardingsphere-transaction/shardingsphere-transaction-2pc/shardingsphere-transaction-xa/shardingsphere-transaction-xa-core/src/test/java/org/apache/shardingsphere/transaction/xa/jta/connection/dialect/OracleXAConnectionWrapperTest.java b/shardingsphere-kernel/shardingsphere-kernel-transaction/shardingsphere-kernel-transaction-2pc/shardingsphere-kernel-transaction-xa/shardingsphere-kernel-transaction-xa-core/src/test/java/org/apache/shardingsphere/transaction/xa/jta/connection [...]
similarity index 100%
rename from shardingsphere-transaction/shardingsphere-transaction-2pc/shardingsphere-transaction-xa/shardingsphere-transaction-xa-core/src/test/java/org/apache/shardingsphere/transaction/xa/jta/connection/dialect/OracleXAConnectionWrapperTest.java
rename to shardingsphere-kernel/shardingsphere-kernel-transaction/shardingsphere-kernel-transaction-2pc/shardingsphere-kernel-transaction-xa/shardingsphere-kernel-transaction-xa-core/src/test/java/org/apache/shardingsphere/transaction/xa/jta/connection/dialect/OracleXAConnectionWrapperTest.java
diff --git a/shardingsphere-transaction/shardingsphere-transaction-2pc/shardingsphere-transaction-xa/shardingsphere-transaction-xa-core/src/test/java/org/apache/shardingsphere/transaction/xa/jta/connection/dialect/PostgreSQLXAConnectionWrapperTest.java b/shardingsphere-kernel/shardingsphere-kernel-transaction/shardingsphere-kernel-transaction-2pc/shardingsphere-kernel-transaction-xa/shardingsphere-kernel-transaction-xa-core/src/test/java/org/apache/shardingsphere/transaction/xa/jta/connec [...]
similarity index 100%
rename from shardingsphere-transaction/shardingsphere-transaction-2pc/shardingsphere-transaction-xa/shardingsphere-transaction-xa-core/src/test/java/org/apache/shardingsphere/transaction/xa/jta/connection/dialect/PostgreSQLXAConnectionWrapperTest.java
rename to shardingsphere-kernel/shardingsphere-kernel-transaction/shardingsphere-kernel-transaction-2pc/shardingsphere-kernel-transaction-xa/shardingsphere-kernel-transaction-xa-core/src/test/java/org/apache/shardingsphere/transaction/xa/jta/connection/dialect/PostgreSQLXAConnectionWrapperTest.java
diff --git a/shardingsphere-transaction/shardingsphere-transaction-2pc/shardingsphere-transaction-xa/shardingsphere-transaction-xa-core/src/test/java/org/apache/shardingsphere/transaction/xa/jta/datasource/XADataSourceFactoryTest.java b/shardingsphere-kernel/shardingsphere-kernel-transaction/shardingsphere-kernel-transaction-2pc/shardingsphere-kernel-transaction-xa/shardingsphere-kernel-transaction-xa-core/src/test/java/org/apache/shardingsphere/transaction/xa/jta/datasource/XADataSourceF [...]
similarity index 100%
rename from shardingsphere-transaction/shardingsphere-transaction-2pc/shardingsphere-transaction-xa/shardingsphere-transaction-xa-core/src/test/java/org/apache/shardingsphere/transaction/xa/jta/datasource/XADataSourceFactoryTest.java
rename to shardingsphere-kernel/shardingsphere-kernel-transaction/shardingsphere-kernel-transaction-2pc/shardingsphere-kernel-transaction-xa/shardingsphere-kernel-transaction-xa-core/src/test/java/org/apache/shardingsphere/transaction/xa/jta/datasource/XADataSourceFactoryTest.java
diff --git a/shardingsphere-transaction/shardingsphere-transaction-2pc/shardingsphere-transaction-xa/shardingsphere-transaction-xa-core/src/test/java/org/apache/shardingsphere/transaction/xa/jta/datasource/XATransactionDataSourceTest.java b/shardingsphere-kernel/shardingsphere-kernel-transaction/shardingsphere-kernel-transaction-2pc/shardingsphere-kernel-transaction-xa/shardingsphere-kernel-transaction-xa-core/src/test/java/org/apache/shardingsphere/transaction/xa/jta/datasource/XATransac [...]
similarity index 100%
rename from shardingsphere-transaction/shardingsphere-transaction-2pc/shardingsphere-transaction-xa/shardingsphere-transaction-xa-core/src/test/java/org/apache/shardingsphere/transaction/xa/jta/datasource/XATransactionDataSourceTest.java
rename to shardingsphere-kernel/shardingsphere-kernel-transaction/shardingsphere-kernel-transaction-2pc/shardingsphere-kernel-transaction-xa/shardingsphere-kernel-transaction-xa-core/src/test/java/org/apache/shardingsphere/transaction/xa/jta/datasource/XATransactionDataSourceTest.java
diff --git a/shardingsphere-transaction/shardingsphere-transaction-2pc/shardingsphere-transaction-xa/shardingsphere-transaction-xa-core/src/test/java/org/apache/shardingsphere/transaction/xa/jta/datasource/properties/XADataSourceDefinitionFactoryTest.java b/shardingsphere-kernel/shardingsphere-kernel-transaction/shardingsphere-kernel-transaction-2pc/shardingsphere-kernel-transaction-xa/shardingsphere-kernel-transaction-xa-core/src/test/java/org/apache/shardingsphere/transaction/xa/jta/dat [...]
similarity index 100%
rename from shardingsphere-transaction/shardingsphere-transaction-2pc/shardingsphere-transaction-xa/shardingsphere-transaction-xa-core/src/test/java/org/apache/shardingsphere/transaction/xa/jta/datasource/properties/XADataSourceDefinitionFactoryTest.java
rename to shardingsphere-kernel/shardingsphere-kernel-transaction/shardingsphere-kernel-transaction-2pc/shardingsphere-kernel-transaction-xa/shardingsphere-kernel-transaction-xa-core/src/test/java/org/apache/shardingsphere/transaction/xa/jta/datasource/properties/XADataSourceDefinitionFactoryTest.java
diff --git a/shardingsphere-transaction/shardingsphere-transaction-2pc/shardingsphere-transaction-xa/shardingsphere-transaction-xa-core/src/test/java/org/apache/shardingsphere/transaction/xa/jta/datasource/properties/dialect/H2XADataSourceDefinitionTest.java b/shardingsphere-kernel/shardingsphere-kernel-transaction/shardingsphere-kernel-transaction-2pc/shardingsphere-kernel-transaction-xa/shardingsphere-kernel-transaction-xa-core/src/test/java/org/apache/shardingsphere/transaction/xa/jta/ [...]
similarity index 100%
rename from shardingsphere-transaction/shardingsphere-transaction-2pc/shardingsphere-transaction-xa/shardingsphere-transaction-xa-core/src/test/java/org/apache/shardingsphere/transaction/xa/jta/datasource/properties/dialect/H2XADataSourceDefinitionTest.java
rename to shardingsphere-kernel/shardingsphere-kernel-transaction/shardingsphere-kernel-transaction-2pc/shardingsphere-kernel-transaction-xa/shardingsphere-kernel-transaction-xa-core/src/test/java/org/apache/shardingsphere/transaction/xa/jta/datasource/properties/dialect/H2XADataSourceDefinitionTest.java
diff --git a/shardingsphere-transaction/shardingsphere-transaction-2pc/shardingsphere-transaction-xa/shardingsphere-transaction-xa-core/src/test/java/org/apache/shardingsphere/transaction/xa/jta/datasource/properties/dialect/MariaDBXADataSourceDefinitionTest.java b/shardingsphere-kernel/shardingsphere-kernel-transaction/shardingsphere-kernel-transaction-2pc/shardingsphere-kernel-transaction-xa/shardingsphere-kernel-transaction-xa-core/src/test/java/org/apache/shardingsphere/transaction/xa [...]
similarity index 100%
rename from shardingsphere-transaction/shardingsphere-transaction-2pc/shardingsphere-transaction-xa/shardingsphere-transaction-xa-core/src/test/java/org/apache/shardingsphere/transaction/xa/jta/datasource/properties/dialect/MariaDBXADataSourceDefinitionTest.java
rename to shardingsphere-kernel/shardingsphere-kernel-transaction/shardingsphere-kernel-transaction-2pc/shardingsphere-kernel-transaction-xa/shardingsphere-kernel-transaction-xa-core/src/test/java/org/apache/shardingsphere/transaction/xa/jta/datasource/properties/dialect/MariaDBXADataSourceDefinitionTest.java
diff --git a/shardingsphere-transaction/shardingsphere-transaction-2pc/shardingsphere-transaction-xa/shardingsphere-transaction-xa-core/src/test/java/org/apache/shardingsphere/transaction/xa/jta/datasource/properties/dialect/MySQLXADataSourceDefinitionTest.java b/shardingsphere-kernel/shardingsphere-kernel-transaction/shardingsphere-kernel-transaction-2pc/shardingsphere-kernel-transaction-xa/shardingsphere-kernel-transaction-xa-core/src/test/java/org/apache/shardingsphere/transaction/xa/j [...]
similarity index 100%
rename from shardingsphere-transaction/shardingsphere-transaction-2pc/shardingsphere-transaction-xa/shardingsphere-transaction-xa-core/src/test/java/org/apache/shardingsphere/transaction/xa/jta/datasource/properties/dialect/MySQLXADataSourceDefinitionTest.java
rename to shardingsphere-kernel/shardingsphere-kernel-transaction/shardingsphere-kernel-transaction-2pc/shardingsphere-kernel-transaction-xa/shardingsphere-kernel-transaction-xa-core/src/test/java/org/apache/shardingsphere/transaction/xa/jta/datasource/properties/dialect/MySQLXADataSourceDefinitionTest.java
diff --git a/shardingsphere-transaction/shardingsphere-transaction-2pc/shardingsphere-transaction-xa/shardingsphere-transaction-xa-core/src/test/java/org/apache/shardingsphere/transaction/xa/jta/datasource/properties/dialect/OracleXADataSourceDefinitionTest.java b/shardingsphere-kernel/shardingsphere-kernel-transaction/shardingsphere-kernel-transaction-2pc/shardingsphere-kernel-transaction-xa/shardingsphere-kernel-transaction-xa-core/src/test/java/org/apache/shardingsphere/transaction/xa/ [...]
similarity index 100%
rename from shardingsphere-transaction/shardingsphere-transaction-2pc/shardingsphere-transaction-xa/shardingsphere-transaction-xa-core/src/test/java/org/apache/shardingsphere/transaction/xa/jta/datasource/properties/dialect/OracleXADataSourceDefinitionTest.java
rename to shardingsphere-kernel/shardingsphere-kernel-transaction/shardingsphere-kernel-transaction-2pc/shardingsphere-kernel-transaction-xa/shardingsphere-kernel-transaction-xa-core/src/test/java/org/apache/shardingsphere/transaction/xa/jta/datasource/properties/dialect/OracleXADataSourceDefinitionTest.java
diff --git a/shardingsphere-transaction/shardingsphere-transaction-2pc/shardingsphere-transaction-xa/shardingsphere-transaction-xa-core/src/test/java/org/apache/shardingsphere/transaction/xa/jta/datasource/properties/dialect/PostgreSQLXADataSourceDefinitionTest.java b/shardingsphere-kernel/shardingsphere-kernel-transaction/shardingsphere-kernel-transaction-2pc/shardingsphere-kernel-transaction-xa/shardingsphere-kernel-transaction-xa-core/src/test/java/org/apache/shardingsphere/transaction [...]
similarity index 100%
rename from shardingsphere-transaction/shardingsphere-transaction-2pc/shardingsphere-transaction-xa/shardingsphere-transaction-xa-core/src/test/java/org/apache/shardingsphere/transaction/xa/jta/datasource/properties/dialect/PostgreSQLXADataSourceDefinitionTest.java
rename to shardingsphere-kernel/shardingsphere-kernel-transaction/shardingsphere-kernel-transaction-2pc/shardingsphere-kernel-transaction-xa/shardingsphere-kernel-transaction-xa-core/src/test/java/org/apache/shardingsphere/transaction/xa/jta/datasource/properties/dialect/PostgreSQLXADataSourceDefinitionTest.java
diff --git a/shardingsphere-transaction/shardingsphere-transaction-2pc/shardingsphere-transaction-xa/shardingsphere-transaction-xa-core/src/test/java/org/apache/shardingsphere/transaction/xa/jta/datasource/properties/dialect/SQLServerXADataSourceDefinitionTest.java b/shardingsphere-kernel/shardingsphere-kernel-transaction/shardingsphere-kernel-transaction-2pc/shardingsphere-kernel-transaction-xa/shardingsphere-kernel-transaction-xa-core/src/test/java/org/apache/shardingsphere/transaction/ [...]
similarity index 100%
rename from shardingsphere-transaction/shardingsphere-transaction-2pc/shardingsphere-transaction-xa/shardingsphere-transaction-xa-core/src/test/java/org/apache/shardingsphere/transaction/xa/jta/datasource/properties/dialect/SQLServerXADataSourceDefinitionTest.java
rename to shardingsphere-kernel/shardingsphere-kernel-transaction/shardingsphere-kernel-transaction-2pc/shardingsphere-kernel-transaction-xa/shardingsphere-kernel-transaction-xa-core/src/test/java/org/apache/shardingsphere/transaction/xa/jta/datasource/properties/dialect/SQLServerXADataSourceDefinitionTest.java
diff --git a/shardingsphere-transaction/shardingsphere-transaction-2pc/shardingsphere-transaction-xa/shardingsphere-transaction-xa-core/src/test/java/org/apache/shardingsphere/transaction/xa/jta/datasource/swapper/DataSourcePropertyProviderLoaderTest.java b/shardingsphere-kernel/shardingsphere-kernel-transaction/shardingsphere-kernel-transaction-2pc/shardingsphere-kernel-transaction-xa/shardingsphere-kernel-transaction-xa-core/src/test/java/org/apache/shardingsphere/transaction/xa/jta/dat [...]
similarity index 100%
rename from shardingsphere-transaction/shardingsphere-transaction-2pc/shardingsphere-transaction-xa/shardingsphere-transaction-xa-core/src/test/java/org/apache/shardingsphere/transaction/xa/jta/datasource/swapper/DataSourcePropertyProviderLoaderTest.java
rename to shardingsphere-kernel/shardingsphere-kernel-transaction/shardingsphere-kernel-transaction-2pc/shardingsphere-kernel-transaction-xa/shardingsphere-kernel-transaction-xa-core/src/test/java/org/apache/shardingsphere/transaction/xa/jta/datasource/swapper/DataSourcePropertyProviderLoaderTest.java
diff --git a/shardingsphere-transaction/shardingsphere-transaction-2pc/shardingsphere-transaction-xa/shardingsphere-transaction-xa-core/src/test/java/org/apache/shardingsphere/transaction/xa/jta/datasource/swapper/DataSourceSwapperTest.java b/shardingsphere-kernel/shardingsphere-kernel-transaction/shardingsphere-kernel-transaction-2pc/shardingsphere-kernel-transaction-xa/shardingsphere-kernel-transaction-xa-core/src/test/java/org/apache/shardingsphere/transaction/xa/jta/datasource/swapper [...]
similarity index 100%
rename from shardingsphere-transaction/shardingsphere-transaction-2pc/shardingsphere-transaction-xa/shardingsphere-transaction-xa-core/src/test/java/org/apache/shardingsphere/transaction/xa/jta/datasource/swapper/DataSourceSwapperTest.java
rename to shardingsphere-kernel/shardingsphere-kernel-transaction/shardingsphere-kernel-transaction-2pc/shardingsphere-kernel-transaction-xa/shardingsphere-kernel-transaction-xa-core/src/test/java/org/apache/shardingsphere/transaction/xa/jta/datasource/swapper/DataSourceSwapperTest.java
diff --git a/shardingsphere-transaction/shardingsphere-transaction-2pc/shardingsphere-transaction-xa/shardingsphere-transaction-xa-core/src/test/java/org/apache/shardingsphere/transaction/xa/jta/datasource/swapper/impl/DefaultDataSourcePropertyProviderTest.java b/shardingsphere-kernel/shardingsphere-kernel-transaction/shardingsphere-kernel-transaction-2pc/shardingsphere-kernel-transaction-xa/shardingsphere-kernel-transaction-xa-core/src/test/java/org/apache/shardingsphere/transaction/xa/j [...]
similarity index 100%
rename from shardingsphere-transaction/shardingsphere-transaction-2pc/shardingsphere-transaction-xa/shardingsphere-transaction-xa-core/src/test/java/org/apache/shardingsphere/transaction/xa/jta/datasource/swapper/impl/DefaultDataSourcePropertyProviderTest.java
rename to shardingsphere-kernel/shardingsphere-kernel-transaction/shardingsphere-kernel-transaction-2pc/shardingsphere-kernel-transaction-xa/shardingsphere-kernel-transaction-xa-core/src/test/java/org/apache/shardingsphere/transaction/xa/jta/datasource/swapper/impl/DefaultDataSourcePropertyProviderTest.java
diff --git a/shardingsphere-transaction/shardingsphere-transaction-2pc/shardingsphere-transaction-xa/shardingsphere-transaction-xa-core/src/test/java/org/apache/shardingsphere/transaction/xa/jta/datasource/swapper/impl/HikariCPPropertyProviderTest.java b/shardingsphere-kernel/shardingsphere-kernel-transaction/shardingsphere-kernel-transaction-2pc/shardingsphere-kernel-transaction-xa/shardingsphere-kernel-transaction-xa-core/src/test/java/org/apache/shardingsphere/transaction/xa/jta/dataso [...]
similarity index 100%
rename from shardingsphere-transaction/shardingsphere-transaction-2pc/shardingsphere-transaction-xa/shardingsphere-transaction-xa-core/src/test/java/org/apache/shardingsphere/transaction/xa/jta/datasource/swapper/impl/HikariCPPropertyProviderTest.java
rename to shardingsphere-kernel/shardingsphere-kernel-transaction/shardingsphere-kernel-transaction-2pc/shardingsphere-kernel-transaction-xa/shardingsphere-kernel-transaction-xa-core/src/test/java/org/apache/shardingsphere/transaction/xa/jta/datasource/swapper/impl/HikariCPPropertyProviderTest.java
diff --git a/shardingsphere-transaction/shardingsphere-transaction-2pc/shardingsphere-transaction-xa/shardingsphere-transaction-xa-core/src/test/java/org/apache/shardingsphere/transaction/xa/manager/XATransactionManagerProviderLoaderTest.java b/shardingsphere-kernel/shardingsphere-kernel-transaction/shardingsphere-kernel-transaction-2pc/shardingsphere-kernel-transaction-xa/shardingsphere-kernel-transaction-xa-core/src/test/java/org/apache/shardingsphere/transaction/xa/manager/XATransactio [...]
similarity index 100%
rename from shardingsphere-transaction/shardingsphere-transaction-2pc/shardingsphere-transaction-xa/shardingsphere-transaction-xa-core/src/test/java/org/apache/shardingsphere/transaction/xa/manager/XATransactionManagerProviderLoaderTest.java
rename to shardingsphere-kernel/shardingsphere-kernel-transaction/shardingsphere-kernel-transaction-2pc/shardingsphere-kernel-transaction-xa/shardingsphere-kernel-transaction-xa-core/src/test/java/org/apache/shardingsphere/transaction/xa/manager/XATransactionManagerProviderLoaderTest.java
diff --git a/shardingsphere-transaction/shardingsphere-transaction-2pc/shardingsphere-transaction-xa/shardingsphere-transaction-xa-core/src/test/resources/META-INF/services/org.apache.shardingsphere.transaction.xa.spi.XATransactionManagerProvider b/shardingsphere-kernel/shardingsphere-kernel-transaction/shardingsphere-kernel-transaction-2pc/shardingsphere-kernel-transaction-xa/shardingsphere-kernel-transaction-xa-core/src/test/resources/META-INF/services/org.apache.shardingsphere.transact [...]
similarity index 100%
rename from shardingsphere-transaction/shardingsphere-transaction-2pc/shardingsphere-transaction-xa/shardingsphere-transaction-xa-core/src/test/resources/META-INF/services/org.apache.shardingsphere.transaction.xa.spi.XATransactionManagerProvider
rename to shardingsphere-kernel/shardingsphere-kernel-transaction/shardingsphere-kernel-transaction-2pc/shardingsphere-kernel-transaction-xa/shardingsphere-kernel-transaction-xa-core/src/test/resources/META-INF/services/org.apache.shardingsphere.transaction.xa.spi.XATransactionManagerProvider
diff --git a/shardingsphere-transaction/shardingsphere-transaction-2pc/shardingsphere-transaction-xa/shardingsphere-transaction-xa-core/src/test/resources/logback-test.xml b/shardingsphere-kernel/shardingsphere-kernel-transaction/shardingsphere-kernel-transaction-2pc/shardingsphere-kernel-transaction-xa/shardingsphere-kernel-transaction-xa-core/src/test/resources/logback-test.xml
similarity index 100%
rename from shardingsphere-transaction/shardingsphere-transaction-2pc/shardingsphere-transaction-xa/shardingsphere-transaction-xa-core/src/test/resources/logback-test.xml
rename to shardingsphere-kernel/shardingsphere-kernel-transaction/shardingsphere-kernel-transaction-2pc/shardingsphere-kernel-transaction-xa/shardingsphere-kernel-transaction-xa-core/src/test/resources/logback-test.xml
diff --git a/shardingsphere-transaction/shardingsphere-transaction-2pc/shardingsphere-transaction-xa/shardingsphere-transaction-xa-narayana/pom.xml b/shardingsphere-kernel/shardingsphere-kernel-transaction/shardingsphere-kernel-transaction-2pc/shardingsphere-kernel-transaction-xa/shardingsphere-kernel-transaction-xa-narayana/pom.xml
similarity index 90%
rename from shardingsphere-transaction/shardingsphere-transaction-2pc/shardingsphere-transaction-xa/shardingsphere-transaction-xa-narayana/pom.xml
rename to shardingsphere-kernel/shardingsphere-kernel-transaction/shardingsphere-kernel-transaction-2pc/shardingsphere-kernel-transaction-xa/shardingsphere-kernel-transaction-xa-narayana/pom.xml
index c1c5e0a..be524e9 100644
--- a/shardingsphere-transaction/shardingsphere-transaction-2pc/shardingsphere-transaction-xa/shardingsphere-transaction-xa-narayana/pom.xml
+++ b/shardingsphere-kernel/shardingsphere-kernel-transaction/shardingsphere-kernel-transaction-2pc/shardingsphere-kernel-transaction-xa/shardingsphere-kernel-transaction-xa-narayana/pom.xml
@@ -20,16 +20,16 @@
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.apache.shardingsphere</groupId>
- <artifactId>shardingsphere-transaction-xa</artifactId>
+ <artifactId>shardingsphere-kernel-transaction-xa</artifactId>
<version>5.0.0-RC1-SNAPSHOT</version>
</parent>
- <artifactId>shardingsphere-transaction-xa-narayana</artifactId>
+ <artifactId>shardingsphere-kernel-transaction-xa-narayana</artifactId>
<name>${project.artifactId}</name>
<dependencies>
<dependency>
<groupId>org.apache.shardingsphere</groupId>
- <artifactId>shardingsphere-transaction-xa-spi</artifactId>
+ <artifactId>shardingsphere-kernel-transaction-xa-spi</artifactId>
<version>${project.version}</version>
</dependency>
diff --git a/shardingsphere-transaction/shardingsphere-transaction-2pc/shardingsphere-transaction-xa/shardingsphere-transaction-xa-narayana/src/main/java/org/apache/shardingsphere/transaction/xa/narayana/manager/DataSourceXAResourceRecoveryHelper.java b/shardingsphere-kernel/shardingsphere-kernel-transaction/shardingsphere-kernel-transaction-2pc/shardingsphere-kernel-transaction-xa/shardingsphere-kernel-transaction-xa-narayana/src/main/java/org/apache/shardingsphere/transaction/xa/narayan [...]
similarity index 100%
rename from shardingsphere-transaction/shardingsphere-transaction-2pc/shardingsphere-transaction-xa/shardingsphere-transaction-xa-narayana/src/main/java/org/apache/shardingsphere/transaction/xa/narayana/manager/DataSourceXAResourceRecoveryHelper.java
rename to shardingsphere-kernel/shardingsphere-kernel-transaction/shardingsphere-kernel-transaction-2pc/shardingsphere-kernel-transaction-xa/shardingsphere-kernel-transaction-xa-narayana/src/main/java/org/apache/shardingsphere/transaction/xa/narayana/manager/DataSourceXAResourceRecoveryHelper.java
diff --git a/shardingsphere-transaction/shardingsphere-transaction-2pc/shardingsphere-transaction-xa/shardingsphere-transaction-xa-narayana/src/main/java/org/apache/shardingsphere/transaction/xa/narayana/manager/NarayanaXATransactionManagerProvider.java b/shardingsphere-kernel/shardingsphere-kernel-transaction/shardingsphere-kernel-transaction-2pc/shardingsphere-kernel-transaction-xa/shardingsphere-kernel-transaction-xa-narayana/src/main/java/org/apache/shardingsphere/transaction/xa/naray [...]
similarity index 100%
rename from shardingsphere-transaction/shardingsphere-transaction-2pc/shardingsphere-transaction-xa/shardingsphere-transaction-xa-narayana/src/main/java/org/apache/shardingsphere/transaction/xa/narayana/manager/NarayanaXATransactionManagerProvider.java
rename to shardingsphere-kernel/shardingsphere-kernel-transaction/shardingsphere-kernel-transaction-2pc/shardingsphere-kernel-transaction-xa/shardingsphere-kernel-transaction-xa-narayana/src/main/java/org/apache/shardingsphere/transaction/xa/narayana/manager/NarayanaXATransactionManagerProvider.java
diff --git a/shardingsphere-transaction/shardingsphere-transaction-2pc/shardingsphere-transaction-xa/shardingsphere-transaction-xa-narayana/src/main/resources/META-INF/services/org.apache.shardingsphere.transaction.xa.spi.XATransactionManagerProvider b/shardingsphere-kernel/shardingsphere-kernel-transaction/shardingsphere-kernel-transaction-2pc/shardingsphere-kernel-transaction-xa/shardingsphere-kernel-transaction-xa-narayana/src/main/resources/META-INF/services/org.apache.shardingsphere. [...]
similarity index 100%
rename from shardingsphere-transaction/shardingsphere-transaction-2pc/shardingsphere-transaction-xa/shardingsphere-transaction-xa-narayana/src/main/resources/META-INF/services/org.apache.shardingsphere.transaction.xa.spi.XATransactionManagerProvider
rename to shardingsphere-kernel/shardingsphere-kernel-transaction/shardingsphere-kernel-transaction-2pc/shardingsphere-kernel-transaction-xa/shardingsphere-kernel-transaction-xa-narayana/src/main/resources/META-INF/services/org.apache.shardingsphere.transaction.xa.spi.XATransactionManagerProvider
diff --git a/shardingsphere-transaction/shardingsphere-transaction-2pc/shardingsphere-transaction-xa/shardingsphere-transaction-xa-narayana/src/test/java/org/apache/shardingsphere/transaction/xa/narayana/manager/DataSourceXAResourceRecoveryHelperTest.java b/shardingsphere-kernel/shardingsphere-kernel-transaction/shardingsphere-kernel-transaction-2pc/shardingsphere-kernel-transaction-xa/shardingsphere-kernel-transaction-xa-narayana/src/test/java/org/apache/shardingsphere/transaction/xa/nar [...]
similarity index 100%
rename from shardingsphere-transaction/shardingsphere-transaction-2pc/shardingsphere-transaction-xa/shardingsphere-transaction-xa-narayana/src/test/java/org/apache/shardingsphere/transaction/xa/narayana/manager/DataSourceXAResourceRecoveryHelperTest.java
rename to shardingsphere-kernel/shardingsphere-kernel-transaction/shardingsphere-kernel-transaction-2pc/shardingsphere-kernel-transaction-xa/shardingsphere-kernel-transaction-xa-narayana/src/test/java/org/apache/shardingsphere/transaction/xa/narayana/manager/DataSourceXAResourceRecoveryHelperTest.java
diff --git a/shardingsphere-transaction/shardingsphere-transaction-2pc/shardingsphere-transaction-xa/shardingsphere-transaction-xa-narayana/src/test/java/org/apache/shardingsphere/transaction/xa/narayana/manager/NarayanaXATransactionManagerProviderTest.java b/shardingsphere-kernel/shardingsphere-kernel-transaction/shardingsphere-kernel-transaction-2pc/shardingsphere-kernel-transaction-xa/shardingsphere-kernel-transaction-xa-narayana/src/test/java/org/apache/shardingsphere/transaction/xa/n [...]
similarity index 100%
rename from shardingsphere-transaction/shardingsphere-transaction-2pc/shardingsphere-transaction-xa/shardingsphere-transaction-xa-narayana/src/test/java/org/apache/shardingsphere/transaction/xa/narayana/manager/NarayanaXATransactionManagerProviderTest.java
rename to shardingsphere-kernel/shardingsphere-kernel-transaction/shardingsphere-kernel-transaction-2pc/shardingsphere-kernel-transaction-xa/shardingsphere-kernel-transaction-xa-narayana/src/test/java/org/apache/shardingsphere/transaction/xa/narayana/manager/NarayanaXATransactionManagerProviderTest.java
diff --git a/shardingsphere-transaction/shardingsphere-transaction-2pc/shardingsphere-transaction-xa/shardingsphere-transaction-xa-narayana/src/test/java/org/apache/shardingsphere/transaction/xa/narayana/manager/fixture/ReflectiveUtil.java b/shardingsphere-kernel/shardingsphere-kernel-transaction/shardingsphere-kernel-transaction-2pc/shardingsphere-kernel-transaction-xa/shardingsphere-kernel-transaction-xa-narayana/src/test/java/org/apache/shardingsphere/transaction/xa/narayana/manager/fi [...]
similarity index 96%
rename from shardingsphere-transaction/shardingsphere-transaction-2pc/shardingsphere-transaction-xa/shardingsphere-transaction-xa-narayana/src/test/java/org/apache/shardingsphere/transaction/xa/narayana/manager/fixture/ReflectiveUtil.java
rename to shardingsphere-kernel/shardingsphere-kernel-transaction/shardingsphere-kernel-transaction-2pc/shardingsphere-kernel-transaction-xa/shardingsphere-kernel-transaction-xa-narayana/src/test/java/org/apache/shardingsphere/transaction/xa/narayana/manager/fixture/ReflectiveUtil.java
index d24e8b2..f3ec6ff 100644
--- a/shardingsphere-transaction/shardingsphere-transaction-2pc/shardingsphere-transaction-xa/shardingsphere-transaction-xa-narayana/src/test/java/org/apache/shardingsphere/transaction/xa/narayana/manager/fixture/ReflectiveUtil.java
+++ b/shardingsphere-kernel/shardingsphere-kernel-transaction/shardingsphere-kernel-transaction-2pc/shardingsphere-kernel-transaction-xa/shardingsphere-kernel-transaction-xa-narayana/src/test/java/org/apache/shardingsphere/transaction/xa/narayana/manager/fixture/ReflectiveUtil.java
@@ -37,8 +37,8 @@ public final class ReflectiveUtil {
* @return field
*/
private static Field getField(final Object target, final String fieldName) {
- Class clazz = target.getClass();
- while (clazz != null) {
+ Class<?> clazz = target.getClass();
+ while (null != clazz) {
try {
return clazz.getDeclaredField(fieldName);
} catch (final NoSuchFieldException ignored) {
diff --git a/shardingsphere-transaction/shardingsphere-transaction-2pc/shardingsphere-transaction-xa/shardingsphere-transaction-xa-bitronix/src/test/resources/logback-test.xml b/shardingsphere-kernel/shardingsphere-kernel-transaction/shardingsphere-kernel-transaction-2pc/shardingsphere-kernel-transaction-xa/shardingsphere-kernel-transaction-xa-narayana/src/test/resources/logback-test.xml
similarity index 100%
rename from shardingsphere-transaction/shardingsphere-transaction-2pc/shardingsphere-transaction-xa/shardingsphere-transaction-xa-bitronix/src/test/resources/logback-test.xml
rename to shardingsphere-kernel/shardingsphere-kernel-transaction/shardingsphere-kernel-transaction-2pc/shardingsphere-kernel-transaction-xa/shardingsphere-kernel-transaction-xa-narayana/src/test/resources/logback-test.xml
diff --git a/shardingsphere-transaction/shardingsphere-transaction-2pc/shardingsphere-transaction-xa/shardingsphere-transaction-xa-spi/pom.xml b/shardingsphere-kernel/shardingsphere-kernel-transaction/shardingsphere-kernel-transaction-2pc/shardingsphere-kernel-transaction-xa/shardingsphere-kernel-transaction-xa-spi/pom.xml
similarity index 88%
rename from shardingsphere-transaction/shardingsphere-transaction-2pc/shardingsphere-transaction-xa/shardingsphere-transaction-xa-spi/pom.xml
rename to shardingsphere-kernel/shardingsphere-kernel-transaction/shardingsphere-kernel-transaction-2pc/shardingsphere-kernel-transaction-xa/shardingsphere-kernel-transaction-xa-spi/pom.xml
index f81ab94..b0c0752 100644
--- a/shardingsphere-transaction/shardingsphere-transaction-2pc/shardingsphere-transaction-xa/shardingsphere-transaction-xa-spi/pom.xml
+++ b/shardingsphere-kernel/shardingsphere-kernel-transaction/shardingsphere-kernel-transaction-2pc/shardingsphere-kernel-transaction-xa/shardingsphere-kernel-transaction-xa-spi/pom.xml
@@ -20,16 +20,16 @@
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.apache.shardingsphere</groupId>
- <artifactId>shardingsphere-transaction-xa</artifactId>
+ <artifactId>shardingsphere-kernel-transaction-xa</artifactId>
<version>5.0.0-RC1-SNAPSHOT</version>
</parent>
- <artifactId>shardingsphere-transaction-xa-spi</artifactId>
+ <artifactId>shardingsphere-kernel-transaction-xa-spi</artifactId>
<name>${project.artifactId}</name>
<dependencies>
<dependency>
<groupId>org.apache.shardingsphere</groupId>
- <artifactId>shardingsphere-transaction-core</artifactId>
+ <artifactId>shardingsphere-kernel-transaction-core</artifactId>
<version>${project.parent.version}</version>
</dependency>
diff --git a/shardingsphere-transaction/shardingsphere-transaction-2pc/shardingsphere-transaction-xa/shardingsphere-transaction-xa-spi/src/main/java/org/apache/shardingsphere/transaction/xa/spi/SingleXAResource.java b/shardingsphere-kernel/shardingsphere-kernel-transaction/shardingsphere-kernel-transaction-2pc/shardingsphere-kernel-transaction-xa/shardingsphere-kernel-transaction-xa-spi/src/main/java/org/apache/shardingsphere/transaction/xa/spi/SingleXAResource.java
similarity index 100%
rename from shardingsphere-transaction/shardingsphere-transaction-2pc/shardingsphere-transaction-xa/shardingsphere-transaction-xa-spi/src/main/java/org/apache/shardingsphere/transaction/xa/spi/SingleXAResource.java
rename to shardingsphere-kernel/shardingsphere-kernel-transaction/shardingsphere-kernel-transaction-2pc/shardingsphere-kernel-transaction-xa/shardingsphere-kernel-transaction-xa-spi/src/main/java/org/apache/shardingsphere/transaction/xa/spi/SingleXAResource.java
diff --git a/shardingsphere-transaction/shardingsphere-transaction-2pc/shardingsphere-transaction-xa/shardingsphere-transaction-xa-spi/src/main/java/org/apache/shardingsphere/transaction/xa/spi/XATransactionManagerProvider.java b/shardingsphere-kernel/shardingsphere-kernel-transaction/shardingsphere-kernel-transaction-2pc/shardingsphere-kernel-transaction-xa/shardingsphere-kernel-transaction-xa-spi/src/main/java/org/apache/shardingsphere/transaction/xa/spi/XATransactionManagerProvider.java
similarity index 100%
rename from shardingsphere-transaction/shardingsphere-transaction-2pc/shardingsphere-transaction-xa/shardingsphere-transaction-xa-spi/src/main/java/org/apache/shardingsphere/transaction/xa/spi/XATransactionManagerProvider.java
rename to shardingsphere-kernel/shardingsphere-kernel-transaction/shardingsphere-kernel-transaction-2pc/shardingsphere-kernel-transaction-xa/shardingsphere-kernel-transaction-xa-spi/src/main/java/org/apache/shardingsphere/transaction/xa/spi/XATransactionManagerProvider.java
diff --git a/shardingsphere-transaction/shardingsphere-transaction-2pc/shardingsphere-transaction-xa/shardingsphere-transaction-xa-spi/src/test/java/org/apache/shardingsphere/transaction/xa/spi/SingleXAResourceTest.java b/shardingsphere-kernel/shardingsphere-kernel-transaction/shardingsphere-kernel-transaction-2pc/shardingsphere-kernel-transaction-xa/shardingsphere-kernel-transaction-xa-spi/src/test/java/org/apache/shardingsphere/transaction/xa/spi/SingleXAResourceTest.java
similarity index 100%
rename from shardingsphere-transaction/shardingsphere-transaction-2pc/shardingsphere-transaction-xa/shardingsphere-transaction-xa-spi/src/test/java/org/apache/shardingsphere/transaction/xa/spi/SingleXAResourceTest.java
rename to shardingsphere-kernel/shardingsphere-kernel-transaction/shardingsphere-kernel-transaction-2pc/shardingsphere-kernel-transaction-xa/shardingsphere-kernel-transaction-xa-spi/src/test/java/org/apache/shardingsphere/transaction/xa/spi/SingleXAResourceTest.java
diff --git a/shardingsphere-transaction/shardingsphere-transaction-base/pom.xml b/shardingsphere-kernel/shardingsphere-kernel-transaction/shardingsphere-kernel-transaction-base/pom.xml
similarity index 84%
rename from shardingsphere-transaction/shardingsphere-transaction-base/pom.xml
rename to shardingsphere-kernel/shardingsphere-kernel-transaction/shardingsphere-kernel-transaction-base/pom.xml
index 75edd0b..380463b 100644
--- a/shardingsphere-transaction/shardingsphere-transaction-base/pom.xml
+++ b/shardingsphere-kernel/shardingsphere-kernel-transaction/shardingsphere-kernel-transaction-base/pom.xml
@@ -20,21 +20,21 @@
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.apache.shardingsphere</groupId>
- <artifactId>shardingsphere-transaction</artifactId>
+ <artifactId>shardingsphere-kernel-transaction</artifactId>
<version>5.0.0-RC1-SNAPSHOT</version>
</parent>
- <artifactId>shardingsphere-transaction-base</artifactId>
+ <artifactId>shardingsphere-kernel-transaction-base</artifactId>
<packaging>pom</packaging>
<name>${project.artifactId}</name>
<modules>
- <module>shardingsphere-transaction-base-seata-at</module>
+ <module>shardingsphere-kernel-transaction-base-seata-at</module>
</modules>
<dependencies>
<dependency>
<groupId>org.apache.shardingsphere</groupId>
- <artifactId>shardingsphere-transaction-core</artifactId>
+ <artifactId>shardingsphere-kernel-transaction-core</artifactId>
<version>${project.parent.version}</version>
</dependency>
</dependencies>
diff --git a/shardingsphere-transaction/shardingsphere-transaction-base/shardingsphere-transaction-base-seata-at/pom.xml b/shardingsphere-kernel/shardingsphere-kernel-transaction/shardingsphere-kernel-transaction-base/shardingsphere-kernel-transaction-base-seata-at/pom.xml
similarity index 93%
rename from shardingsphere-transaction/shardingsphere-transaction-base/shardingsphere-transaction-base-seata-at/pom.xml
rename to shardingsphere-kernel/shardingsphere-kernel-transaction/shardingsphere-kernel-transaction-base/shardingsphere-kernel-transaction-base-seata-at/pom.xml
index 39af61c..cbda951 100644
--- a/shardingsphere-transaction/shardingsphere-transaction-base/shardingsphere-transaction-base-seata-at/pom.xml
+++ b/shardingsphere-kernel/shardingsphere-kernel-transaction/shardingsphere-kernel-transaction-base/shardingsphere-kernel-transaction-base-seata-at/pom.xml
@@ -20,10 +20,10 @@
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.apache.shardingsphere</groupId>
- <artifactId>shardingsphere-transaction-base</artifactId>
+ <artifactId>shardingsphere-kernel-transaction-base</artifactId>
<version>5.0.0-RC1-SNAPSHOT</version>
</parent>
- <artifactId>shardingsphere-transaction-base-seata-at</artifactId>
+ <artifactId>shardingsphere-kernel-transaction-base-seata-at</artifactId>
<name>${project.artifactId}</name>
<dependencies>
diff --git a/shardingsphere-transaction/shardingsphere-transaction-base/shardingsphere-transaction-base-seata-at/src/main/java/org/apache/shardingsphere/transaction/base/seata/at/SeataATShardingSphereTransactionManager.java b/shardingsphere-kernel/shardingsphere-kernel-transaction/shardingsphere-kernel-transaction-base/shardingsphere-kernel-transaction-base-seata-at/src/main/java/org/apache/shardingsphere/transaction/base/seata/at/SeataATShardingSphereTransactionManager.java
similarity index 100%
rename from shardingsphere-transaction/shardingsphere-transaction-base/shardingsphere-transaction-base-seata-at/src/main/java/org/apache/shardingsphere/transaction/base/seata/at/SeataATShardingSphereTransactionManager.java
rename to shardingsphere-kernel/shardingsphere-kernel-transaction/shardingsphere-kernel-transaction-base/shardingsphere-kernel-transaction-base-seata-at/src/main/java/org/apache/shardingsphere/transaction/base/seata/at/SeataATShardingSphereTransactionManager.java
diff --git a/shardingsphere-transaction/shardingsphere-transaction-base/shardingsphere-transaction-base-seata-at/src/main/java/org/apache/shardingsphere/transaction/base/seata/at/SeataTransactionHolder.java b/shardingsphere-kernel/shardingsphere-kernel-transaction/shardingsphere-kernel-transaction-base/shardingsphere-kernel-transaction-base-seata-at/src/main/java/org/apache/shardingsphere/transaction/base/seata/at/SeataTransactionHolder.java
similarity index 100%
rename from shardingsphere-transaction/shardingsphere-transaction-base/shardingsphere-transaction-base-seata-at/src/main/java/org/apache/shardingsphere/transaction/base/seata/at/SeataTransactionHolder.java
rename to shardingsphere-kernel/shardingsphere-kernel-transaction/shardingsphere-kernel-transaction-base/shardingsphere-kernel-transaction-base-seata-at/src/main/java/org/apache/shardingsphere/transaction/base/seata/at/SeataTransactionHolder.java
diff --git a/shardingsphere-transaction/shardingsphere-transaction-base/shardingsphere-transaction-base-seata-at/src/main/java/org/apache/shardingsphere/transaction/base/seata/at/TransactionalSQLExecutionHook.java b/shardingsphere-kernel/shardingsphere-kernel-transaction/shardingsphere-kernel-transaction-base/shardingsphere-kernel-transaction-base-seata-at/src/main/java/org/apache/shardingsphere/transaction/base/seata/at/TransactionalSQLExecutionHook.java
similarity index 100%
rename from shardingsphere-transaction/shardingsphere-transaction-base/shardingsphere-transaction-base-seata-at/src/main/java/org/apache/shardingsphere/transaction/base/seata/at/TransactionalSQLExecutionHook.java
rename to shardingsphere-kernel/shardingsphere-kernel-transaction/shardingsphere-kernel-transaction-base/shardingsphere-kernel-transaction-base-seata-at/src/main/java/org/apache/shardingsphere/transaction/base/seata/at/TransactionalSQLExecutionHook.java
diff --git a/shardingsphere-transaction/shardingsphere-transaction-base/shardingsphere-transaction-base-seata-at/src/main/resources/META-INF/services/org.apache.shardingsphere.infra.executor.sql.hook.SQLExecutionHook b/shardingsphere-kernel/shardingsphere-kernel-transaction/shardingsphere-kernel-transaction-base/shardingsphere-kernel-transaction-base-seata-at/src/main/resources/META-INF/services/org.apache.shardingsphere.infra.executor.sql.hook.SQLExecutionHook
similarity index 100%
rename from shardingsphere-transaction/shardingsphere-transaction-base/shardingsphere-transaction-base-seata-at/src/main/resources/META-INF/services/org.apache.shardingsphere.infra.executor.sql.hook.SQLExecutionHook
rename to shardingsphere-kernel/shardingsphere-kernel-transaction/shardingsphere-kernel-transaction-base/shardingsphere-kernel-transaction-base-seata-at/src/main/resources/META-INF/services/org.apache.shardingsphere.infra.executor.sql.hook.SQLExecutionHook
diff --git a/shardingsphere-transaction/shardingsphere-transaction-base/shardingsphere-transaction-base-seata-at/src/main/resources/META-INF/services/org.apache.shardingsphere.transaction.spi.ShardingSphereTransactionManager b/shardingsphere-kernel/shardingsphere-kernel-transaction/shardingsphere-kernel-transaction-base/shardingsphere-kernel-transaction-base-seata-at/src/main/resources/META-INF/services/org.apache.shardingsphere.transaction.spi.ShardingSphereTransactionManager
similarity index 100%
rename from shardingsphere-transaction/shardingsphere-transaction-base/shardingsphere-transaction-base-seata-at/src/main/resources/META-INF/services/org.apache.shardingsphere.transaction.spi.ShardingSphereTransactionManager
rename to shardingsphere-kernel/shardingsphere-kernel-transaction/shardingsphere-kernel-transaction-base/shardingsphere-kernel-transaction-base-seata-at/src/main/resources/META-INF/services/org.apache.shardingsphere.transaction.spi.ShardingSphereTransactionManager
diff --git a/shardingsphere-transaction/shardingsphere-transaction-base/shardingsphere-transaction-base-seata-at/src/test/java/org/apache/shardingsphere/transaction/base/seata/at/SeataATShardingSphereTransactionManagerTest.java b/shardingsphere-kernel/shardingsphere-kernel-transaction/shardingsphere-kernel-transaction-base/shardingsphere-kernel-transaction-base-seata-at/src/test/java/org/apache/shardingsphere/transaction/base/seata/at/SeataATShardingSphereTransactionManagerTest.java
similarity index 100%
rename from shardingsphere-transaction/shardingsphere-transaction-base/shardingsphere-transaction-base-seata-at/src/test/java/org/apache/shardingsphere/transaction/base/seata/at/SeataATShardingSphereTransactionManagerTest.java
rename to shardingsphere-kernel/shardingsphere-kernel-transaction/shardingsphere-kernel-transaction-base/shardingsphere-kernel-transaction-base-seata-at/src/test/java/org/apache/shardingsphere/transaction/base/seata/at/SeataATShardingSphereTransactionManagerTest.java
diff --git a/shardingsphere-transaction/shardingsphere-transaction-base/shardingsphere-transaction-base-seata-at/src/test/java/org/apache/shardingsphere/transaction/base/seata/at/TransactionalSQLExecutionHookTest.java b/shardingsphere-kernel/shardingsphere-kernel-transaction/shardingsphere-kernel-transaction-base/shardingsphere-kernel-transaction-base-seata-at/src/test/java/org/apache/shardingsphere/transaction/base/seata/at/TransactionalSQLExecutionHookTest.java
similarity index 100%
rename from shardingsphere-transaction/shardingsphere-transaction-base/shardingsphere-transaction-base-seata-at/src/test/java/org/apache/shardingsphere/transaction/base/seata/at/TransactionalSQLExecutionHookTest.java
rename to shardingsphere-kernel/shardingsphere-kernel-transaction/shardingsphere-kernel-transaction-base/shardingsphere-kernel-transaction-base-seata-at/src/test/java/org/apache/shardingsphere/transaction/base/seata/at/TransactionalSQLExecutionHookTest.java
diff --git a/shardingsphere-transaction/shardingsphere-transaction-base/shardingsphere-transaction-base-seata-at/src/test/java/org/apache/shardingsphere/transaction/base/seata/at/fixture/MockMessageHandler.java b/shardingsphere-kernel/shardingsphere-kernel-transaction/shardingsphere-kernel-transaction-base/shardingsphere-kernel-transaction-base-seata-at/src/test/java/org/apache/shardingsphere/transaction/base/seata/at/fixture/MockMessageHandler.java
similarity index 100%
rename from shardingsphere-transaction/shardingsphere-transaction-base/shardingsphere-transaction-base-seata-at/src/test/java/org/apache/shardingsphere/transaction/base/seata/at/fixture/MockMessageHandler.java
rename to shardingsphere-kernel/shardingsphere-kernel-transaction/shardingsphere-kernel-transaction-base/shardingsphere-kernel-transaction-base-seata-at/src/test/java/org/apache/shardingsphere/transaction/base/seata/at/fixture/MockMessageHandler.java
diff --git a/shardingsphere-transaction/shardingsphere-transaction-base/shardingsphere-transaction-base-seata-at/src/test/java/org/apache/shardingsphere/transaction/base/seata/at/fixture/MockSeataServer.java b/shardingsphere-kernel/shardingsphere-kernel-transaction/shardingsphere-kernel-transaction-base/shardingsphere-kernel-transaction-base-seata-at/src/test/java/org/apache/shardingsphere/transaction/base/seata/at/fixture/MockSeataServer.java
similarity index 100%
rename from shardingsphere-transaction/shardingsphere-transaction-base/shardingsphere-transaction-base-seata-at/src/test/java/org/apache/shardingsphere/transaction/base/seata/at/fixture/MockSeataServer.java
rename to shardingsphere-kernel/shardingsphere-kernel-transaction/shardingsphere-kernel-transaction-base/shardingsphere-kernel-transaction-base-seata-at/src/test/java/org/apache/shardingsphere/transaction/base/seata/at/fixture/MockSeataServer.java
diff --git a/shardingsphere-transaction/shardingsphere-transaction-base/shardingsphere-transaction-base-seata-at/src/test/resources/file.conf b/shardingsphere-kernel/shardingsphere-kernel-transaction/shardingsphere-kernel-transaction-base/shardingsphere-kernel-transaction-base-seata-at/src/test/resources/file.conf
similarity index 100%
rename from shardingsphere-transaction/shardingsphere-transaction-base/shardingsphere-transaction-base-seata-at/src/test/resources/file.conf
rename to shardingsphere-kernel/shardingsphere-kernel-transaction/shardingsphere-kernel-transaction-base/shardingsphere-kernel-transaction-base-seata-at/src/test/resources/file.conf
diff --git a/shardingsphere-transaction/shardingsphere-transaction-2pc/shardingsphere-transaction-xa/shardingsphere-transaction-xa-atomikos/src/test/resources/logback-test.xml b/shardingsphere-kernel/shardingsphere-kernel-transaction/shardingsphere-kernel-transaction-base/shardingsphere-kernel-transaction-base-seata-at/src/test/resources/logback-test.xml
similarity index 100%
rename from shardingsphere-transaction/shardingsphere-transaction-2pc/shardingsphere-transaction-xa/shardingsphere-transaction-xa-atomikos/src/test/resources/logback-test.xml
rename to shardingsphere-kernel/shardingsphere-kernel-transaction/shardingsphere-kernel-transaction-base/shardingsphere-kernel-transaction-base-seata-at/src/test/resources/logback-test.xml
diff --git a/shardingsphere-transaction/shardingsphere-transaction-base/shardingsphere-transaction-base-seata-at/src/test/resources/registry.conf b/shardingsphere-kernel/shardingsphere-kernel-transaction/shardingsphere-kernel-transaction-base/shardingsphere-kernel-transaction-base-seata-at/src/test/resources/registry.conf
similarity index 100%
rename from shardingsphere-transaction/shardingsphere-transaction-base/shardingsphere-transaction-base-seata-at/src/test/resources/registry.conf
rename to shardingsphere-kernel/shardingsphere-kernel-transaction/shardingsphere-kernel-transaction-base/shardingsphere-kernel-transaction-base-seata-at/src/test/resources/registry.conf
diff --git a/shardingsphere-transaction/shardingsphere-transaction-base/shardingsphere-transaction-base-seata-at/src/test/resources/seata.conf b/shardingsphere-kernel/shardingsphere-kernel-transaction/shardingsphere-kernel-transaction-base/shardingsphere-kernel-transaction-base-seata-at/src/test/resources/seata.conf
similarity index 100%
rename from shardingsphere-transaction/shardingsphere-transaction-base/shardingsphere-transaction-base-seata-at/src/test/resources/seata.conf
rename to shardingsphere-kernel/shardingsphere-kernel-transaction/shardingsphere-kernel-transaction-base/shardingsphere-kernel-transaction-base-seata-at/src/test/resources/seata.conf
diff --git a/shardingsphere-transaction/shardingsphere-transaction-base/shardingsphere-transaction-base-seata-at/src/test/resources/sql/undo_log.sql b/shardingsphere-kernel/shardingsphere-kernel-transaction/shardingsphere-kernel-transaction-base/shardingsphere-kernel-transaction-base-seata-at/src/test/resources/sql/undo_log.sql
similarity index 100%
rename from shardingsphere-transaction/shardingsphere-transaction-base/shardingsphere-transaction-base-seata-at/src/test/resources/sql/undo_log.sql
rename to shardingsphere-kernel/shardingsphere-kernel-transaction/shardingsphere-kernel-transaction-base/shardingsphere-kernel-transaction-base-seata-at/src/test/resources/sql/undo_log.sql
diff --git a/shardingsphere-transaction/shardingsphere-transaction-core/pom.xml b/shardingsphere-kernel/shardingsphere-kernel-transaction/shardingsphere-kernel-transaction-core/pom.xml
similarity index 90%
rename from shardingsphere-transaction/shardingsphere-transaction-core/pom.xml
rename to shardingsphere-kernel/shardingsphere-kernel-transaction/shardingsphere-kernel-transaction-core/pom.xml
index 5f951e6..121f744 100644
--- a/shardingsphere-transaction/shardingsphere-transaction-core/pom.xml
+++ b/shardingsphere-kernel/shardingsphere-kernel-transaction/shardingsphere-kernel-transaction-core/pom.xml
@@ -20,9 +20,9 @@
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.apache.shardingsphere</groupId>
- <artifactId>shardingsphere-transaction</artifactId>
+ <artifactId>shardingsphere-kernel-transaction</artifactId>
<version>5.0.0-RC1-SNAPSHOT</version>
</parent>
- <artifactId>shardingsphere-transaction-core</artifactId>
+ <artifactId>shardingsphere-kernel-transaction-core</artifactId>
<name>${project.artifactId}</name>
</project>
diff --git a/shardingsphere-transaction/shardingsphere-transaction-core/src/main/java/org/apache/shardingsphere/transaction/ShardingSphereTransactionManagerEngine.java b/shardingsphere-kernel/shardingsphere-kernel-transaction/shardingsphere-kernel-transaction-core/src/main/java/org/apache/shardingsphere/transaction/ShardingSphereTransactionManagerEngine.java
similarity index 100%
rename from shardingsphere-transaction/shardingsphere-transaction-core/src/main/java/org/apache/shardingsphere/transaction/ShardingSphereTransactionManagerEngine.java
rename to shardingsphere-kernel/shardingsphere-kernel-transaction/shardingsphere-kernel-transaction-core/src/main/java/org/apache/shardingsphere/transaction/ShardingSphereTransactionManagerEngine.java
diff --git a/shardingsphere-transaction/shardingsphere-transaction-core/src/main/java/org/apache/shardingsphere/transaction/annotation/ShardingSphereTransactionType.java b/shardingsphere-kernel/shardingsphere-kernel-transaction/shardingsphere-kernel-transaction-core/src/main/java/org/apache/shardingsphere/transaction/annotation/ShardingSphereTransactionType.java
similarity index 100%
rename from shardingsphere-transaction/shardingsphere-transaction-core/src/main/java/org/apache/shardingsphere/transaction/annotation/ShardingSphereTransactionType.java
rename to shardingsphere-kernel/shardingsphere-kernel-transaction/shardingsphere-kernel-transaction-core/src/main/java/org/apache/shardingsphere/transaction/annotation/ShardingSphereTransactionType.java
diff --git a/shardingsphere-transaction/shardingsphere-transaction-core/src/main/java/org/apache/shardingsphere/transaction/config/TransactionRuleConfiguration.java b/shardingsphere-kernel/shardingsphere-kernel-transaction/shardingsphere-kernel-transaction-core/src/main/java/org/apache/shardingsphere/transaction/config/TransactionRuleConfiguration.java
similarity index 100%
rename from shardingsphere-transaction/shardingsphere-transaction-core/src/main/java/org/apache/shardingsphere/transaction/config/TransactionRuleConfiguration.java
rename to shardingsphere-kernel/shardingsphere-kernel-transaction/shardingsphere-kernel-transaction-core/src/main/java/org/apache/shardingsphere/transaction/config/TransactionRuleConfiguration.java
diff --git a/shardingsphere-transaction/shardingsphere-transaction-core/src/main/java/org/apache/shardingsphere/transaction/constant/TransactionOrder.java b/shardingsphere-kernel/shardingsphere-kernel-transaction/shardingsphere-kernel-transaction-core/src/main/java/org/apache/shardingsphere/transaction/constant/TransactionOrder.java
similarity index 100%
rename from shardingsphere-transaction/shardingsphere-transaction-core/src/main/java/org/apache/shardingsphere/transaction/constant/TransactionOrder.java
rename to shardingsphere-kernel/shardingsphere-kernel-transaction/shardingsphere-kernel-transaction-core/src/main/java/org/apache/shardingsphere/transaction/constant/TransactionOrder.java
diff --git a/shardingsphere-transaction/shardingsphere-transaction-core/src/main/java/org/apache/shardingsphere/transaction/context/TransactionContexts.java b/shardingsphere-kernel/shardingsphere-kernel-transaction/shardingsphere-kernel-transaction-core/src/main/java/org/apache/shardingsphere/transaction/context/TransactionContexts.java
similarity index 100%
rename from shardingsphere-transaction/shardingsphere-transaction-core/src/main/java/org/apache/shardingsphere/transaction/context/TransactionContexts.java
rename to shardingsphere-kernel/shardingsphere-kernel-transaction/shardingsphere-kernel-transaction-core/src/main/java/org/apache/shardingsphere/transaction/context/TransactionContexts.java
diff --git a/shardingsphere-transaction/shardingsphere-transaction-core/src/main/java/org/apache/shardingsphere/transaction/core/ResourceDataSource.java b/shardingsphere-kernel/shardingsphere-kernel-transaction/shardingsphere-kernel-transaction-core/src/main/java/org/apache/shardingsphere/transaction/core/ResourceDataSource.java
similarity index 100%
rename from shardingsphere-transaction/shardingsphere-transaction-core/src/main/java/org/apache/shardingsphere/transaction/core/ResourceDataSource.java
rename to shardingsphere-kernel/shardingsphere-kernel-transaction/shardingsphere-kernel-transaction-core/src/main/java/org/apache/shardingsphere/transaction/core/ResourceDataSource.java
diff --git a/shardingsphere-transaction/shardingsphere-transaction-core/src/main/java/org/apache/shardingsphere/transaction/core/ResourceIDGenerator.java b/shardingsphere-kernel/shardingsphere-kernel-transaction/shardingsphere-kernel-transaction-core/src/main/java/org/apache/shardingsphere/transaction/core/ResourceIDGenerator.java
similarity index 100%
rename from shardingsphere-transaction/shardingsphere-transaction-core/src/main/java/org/apache/shardingsphere/transaction/core/ResourceIDGenerator.java
rename to shardingsphere-kernel/shardingsphere-kernel-transaction/shardingsphere-kernel-transaction-core/src/main/java/org/apache/shardingsphere/transaction/core/ResourceIDGenerator.java
diff --git a/shardingsphere-transaction/shardingsphere-transaction-core/src/main/java/org/apache/shardingsphere/transaction/core/TransactionOperationType.java b/shardingsphere-kernel/shardingsphere-kernel-transaction/shardingsphere-kernel-transaction-core/src/main/java/org/apache/shardingsphere/transaction/core/TransactionOperationType.java
similarity index 100%
rename from shardingsphere-transaction/shardingsphere-transaction-core/src/main/java/org/apache/shardingsphere/transaction/core/TransactionOperationType.java
rename to shardingsphere-kernel/shardingsphere-kernel-transaction/shardingsphere-kernel-transaction-core/src/main/java/org/apache/shardingsphere/transaction/core/TransactionOperationType.java
diff --git a/shardingsphere-transaction/shardingsphere-transaction-core/src/main/java/org/apache/shardingsphere/transaction/core/TransactionType.java b/shardingsphere-kernel/shardingsphere-kernel-transaction/shardingsphere-kernel-transaction-core/src/main/java/org/apache/shardingsphere/transaction/core/TransactionType.java
similarity index 100%
rename from shardingsphere-transaction/shardingsphere-transaction-core/src/main/java/org/apache/shardingsphere/transaction/core/TransactionType.java
rename to shardingsphere-kernel/shardingsphere-kernel-transaction/shardingsphere-kernel-transaction-core/src/main/java/org/apache/shardingsphere/transaction/core/TransactionType.java
diff --git a/shardingsphere-transaction/shardingsphere-transaction-core/src/main/java/org/apache/shardingsphere/transaction/core/TransactionTypeHolder.java b/shardingsphere-kernel/shardingsphere-kernel-transaction/shardingsphere-kernel-transaction-core/src/main/java/org/apache/shardingsphere/transaction/core/TransactionTypeHolder.java
similarity index 100%
rename from shardingsphere-transaction/shardingsphere-transaction-core/src/main/java/org/apache/shardingsphere/transaction/core/TransactionTypeHolder.java
rename to shardingsphere-kernel/shardingsphere-kernel-transaction/shardingsphere-kernel-transaction-core/src/main/java/org/apache/shardingsphere/transaction/core/TransactionTypeHolder.java
diff --git a/shardingsphere-transaction/shardingsphere-transaction-core/src/main/java/org/apache/shardingsphere/transaction/rule/TransactionRule.java b/shardingsphere-kernel/shardingsphere-kernel-transaction/shardingsphere-kernel-transaction-core/src/main/java/org/apache/shardingsphere/transaction/rule/TransactionRule.java
similarity index 100%
rename from shardingsphere-transaction/shardingsphere-transaction-core/src/main/java/org/apache/shardingsphere/transaction/rule/TransactionRule.java
rename to shardingsphere-kernel/shardingsphere-kernel-transaction/shardingsphere-kernel-transaction-core/src/main/java/org/apache/shardingsphere/transaction/rule/TransactionRule.java
diff --git a/shardingsphere-transaction/shardingsphere-transaction-core/src/main/java/org/apache/shardingsphere/transaction/rule/builder/TransactionRuleBuilder.java b/shardingsphere-kernel/shardingsphere-kernel-transaction/shardingsphere-kernel-transaction-core/src/main/java/org/apache/shardingsphere/transaction/rule/builder/TransactionRuleBuilder.java
similarity index 100%
rename from shardingsphere-transaction/shardingsphere-transaction-core/src/main/java/org/apache/shardingsphere/transaction/rule/builder/TransactionRuleBuilder.java
rename to shardingsphere-kernel/shardingsphere-kernel-transaction/shardingsphere-kernel-transaction-core/src/main/java/org/apache/shardingsphere/transaction/rule/builder/TransactionRuleBuilder.java
diff --git a/shardingsphere-transaction/shardingsphere-transaction-core/src/main/java/org/apache/shardingsphere/transaction/spi/ShardingSphereTransactionManager.java b/shardingsphere-kernel/shardingsphere-kernel-transaction/shardingsphere-kernel-transaction-core/src/main/java/org/apache/shardingsphere/transaction/spi/ShardingSphereTransactionManager.java
similarity index 100%
rename from shardingsphere-transaction/shardingsphere-transaction-core/src/main/java/org/apache/shardingsphere/transaction/spi/ShardingSphereTransactionManager.java
rename to shardingsphere-kernel/shardingsphere-kernel-transaction/shardingsphere-kernel-transaction-core/src/main/java/org/apache/shardingsphere/transaction/spi/ShardingSphereTransactionManager.java
diff --git a/shardingsphere-transaction/shardingsphere-transaction-core/src/main/java/org/apache/shardingsphere/transaction/yaml/config/YamlTransactionRuleConfiguration.java b/shardingsphere-kernel/shardingsphere-kernel-transaction/shardingsphere-kernel-transaction-core/src/main/java/org/apache/shardingsphere/transaction/yaml/config/YamlTransactionRuleConfiguration.java
similarity index 100%
rename from shardingsphere-transaction/shardingsphere-transaction-core/src/main/java/org/apache/shardingsphere/transaction/yaml/config/YamlTransactionRuleConfiguration.java
rename to shardingsphere-kernel/shardingsphere-kernel-transaction/shardingsphere-kernel-transaction-core/src/main/java/org/apache/shardingsphere/transaction/yaml/config/YamlTransactionRuleConfiguration.java
diff --git a/shardingsphere-transaction/shardingsphere-transaction-core/src/main/java/org/apache/shardingsphere/transaction/yaml/swapper/TransactionRuleConfigurationYamlSwapper.java b/shardingsphere-kernel/shardingsphere-kernel-transaction/shardingsphere-kernel-transaction-core/src/main/java/org/apache/shardingsphere/transaction/yaml/swapper/TransactionRuleConfigurationYamlSwapper.java
similarity index 100%
rename from shardingsphere-transaction/shardingsphere-transaction-core/src/main/java/org/apache/shardingsphere/transaction/yaml/swapper/TransactionRuleConfigurationYamlSwapper.java
rename to shardingsphere-kernel/shardingsphere-kernel-transaction/shardingsphere-kernel-transaction-core/src/main/java/org/apache/shardingsphere/transaction/yaml/swapper/TransactionRuleConfigurationYamlSwapper.java
diff --git a/shardingsphere-transaction/shardingsphere-transaction-core/src/main/resources/META-INF/services/org.apache.shardingsphere.infra.rule.builder.scope.GlobalRuleBuilder b/shardingsphere-kernel/shardingsphere-kernel-transaction/shardingsphere-kernel-transaction-core/src/main/resources/META-INF/services/org.apache.shardingsphere.infra.rule.builder.scope.GlobalRuleBuilder
similarity index 100%
rename from shardingsphere-transaction/shardingsphere-transaction-core/src/main/resources/META-INF/services/org.apache.shardingsphere.infra.rule.builder.scope.GlobalRuleBuilder
rename to shardingsphere-kernel/shardingsphere-kernel-transaction/shardingsphere-kernel-transaction-core/src/main/resources/META-INF/services/org.apache.shardingsphere.infra.rule.builder.scope.GlobalRuleBuilder
diff --git a/shardingsphere-transaction/shardingsphere-transaction-core/src/main/resources/META-INF/services/org.apache.shardingsphere.infra.yaml.config.swapper.YamlRuleConfigurationSwapper b/shardingsphere-kernel/shardingsphere-kernel-transaction/shardingsphere-kernel-transaction-core/src/main/resources/META-INF/services/org.apache.shardingsphere.infra.yaml.config.swapper.YamlRuleConfigurationSwapper
similarity index 100%
rename from shardingsphere-transaction/shardingsphere-transaction-core/src/main/resources/META-INF/services/org.apache.shardingsphere.infra.yaml.config.swapper.YamlRuleConfigurationSwapper
rename to shardingsphere-kernel/shardingsphere-kernel-transaction/shardingsphere-kernel-transaction-core/src/main/resources/META-INF/services/org.apache.shardingsphere.infra.yaml.config.swapper.YamlRuleConfigurationSwapper
diff --git a/shardingsphere-transaction/shardingsphere-transaction-core/src/test/java/org/apache/shardingsphere/transaction/ShardingSphereTransactionManagerEngineTest.java b/shardingsphere-kernel/shardingsphere-kernel-transaction/shardingsphere-kernel-transaction-core/src/test/java/org/apache/shardingsphere/transaction/ShardingSphereTransactionManagerEngineTest.java
similarity index 100%
rename from shardingsphere-transaction/shardingsphere-transaction-core/src/test/java/org/apache/shardingsphere/transaction/ShardingSphereTransactionManagerEngineTest.java
rename to shardingsphere-kernel/shardingsphere-kernel-transaction/shardingsphere-kernel-transaction-core/src/test/java/org/apache/shardingsphere/transaction/ShardingSphereTransactionManagerEngineTest.java
diff --git a/shardingsphere-transaction/shardingsphere-transaction-core/src/test/java/org/apache/shardingsphere/transaction/context/TransactionContextsTest.java b/shardingsphere-kernel/shardingsphere-kernel-transaction/shardingsphere-kernel-transaction-core/src/test/java/org/apache/shardingsphere/transaction/context/TransactionContextsTest.java
similarity index 100%
rename from shardingsphere-transaction/shardingsphere-transaction-core/src/test/java/org/apache/shardingsphere/transaction/context/TransactionContextsTest.java
rename to shardingsphere-kernel/shardingsphere-kernel-transaction/shardingsphere-kernel-transaction-core/src/test/java/org/apache/shardingsphere/transaction/context/TransactionContextsTest.java
diff --git a/shardingsphere-transaction/shardingsphere-transaction-core/src/test/java/org/apache/shardingsphere/transaction/core/ResourceDataSourceTest.java b/shardingsphere-kernel/shardingsphere-kernel-transaction/shardingsphere-kernel-transaction-core/src/test/java/org/apache/shardingsphere/transaction/core/ResourceDataSourceTest.java
similarity index 100%
rename from shardingsphere-transaction/shardingsphere-transaction-core/src/test/java/org/apache/shardingsphere/transaction/core/ResourceDataSourceTest.java
rename to shardingsphere-kernel/shardingsphere-kernel-transaction/shardingsphere-kernel-transaction-core/src/test/java/org/apache/shardingsphere/transaction/core/ResourceDataSourceTest.java
diff --git a/shardingsphere-transaction/shardingsphere-transaction-core/src/test/java/org/apache/shardingsphere/transaction/core/ResourceIDGeneratorTest.java b/shardingsphere-kernel/shardingsphere-kernel-transaction/shardingsphere-kernel-transaction-core/src/test/java/org/apache/shardingsphere/transaction/core/ResourceIDGeneratorTest.java
similarity index 100%
rename from shardingsphere-transaction/shardingsphere-transaction-core/src/test/java/org/apache/shardingsphere/transaction/core/ResourceIDGeneratorTest.java
rename to shardingsphere-kernel/shardingsphere-kernel-transaction/shardingsphere-kernel-transaction-core/src/test/java/org/apache/shardingsphere/transaction/core/ResourceIDGeneratorTest.java
diff --git a/shardingsphere-transaction/shardingsphere-transaction-core/src/test/java/org/apache/shardingsphere/transaction/core/TransactionTypeHolderTest.java b/shardingsphere-kernel/shardingsphere-kernel-transaction/shardingsphere-kernel-transaction-core/src/test/java/org/apache/shardingsphere/transaction/core/TransactionTypeHolderTest.java
similarity index 100%
rename from shardingsphere-transaction/shardingsphere-transaction-core/src/test/java/org/apache/shardingsphere/transaction/core/TransactionTypeHolderTest.java
rename to shardingsphere-kernel/shardingsphere-kernel-transaction/shardingsphere-kernel-transaction-core/src/test/java/org/apache/shardingsphere/transaction/core/TransactionTypeHolderTest.java
diff --git a/shardingsphere-transaction/shardingsphere-transaction-core/src/test/java/org/apache/shardingsphere/transaction/core/TransactionTypeTest.java b/shardingsphere-kernel/shardingsphere-kernel-transaction/shardingsphere-kernel-transaction-core/src/test/java/org/apache/shardingsphere/transaction/core/TransactionTypeTest.java
similarity index 100%
rename from shardingsphere-transaction/shardingsphere-transaction-core/src/test/java/org/apache/shardingsphere/transaction/core/TransactionTypeTest.java
rename to shardingsphere-kernel/shardingsphere-kernel-transaction/shardingsphere-kernel-transaction-core/src/test/java/org/apache/shardingsphere/transaction/core/TransactionTypeTest.java
diff --git a/shardingsphere-transaction/shardingsphere-transaction-core/src/test/java/org/apache/shardingsphere/transaction/core/fixture/OtherShardingSphereTransactionManagerFixture.java b/shardingsphere-kernel/shardingsphere-kernel-transaction/shardingsphere-kernel-transaction-core/src/test/java/org/apache/shardingsphere/transaction/core/fixture/OtherShardingSphereTransactionManagerFixture.java
similarity index 100%
rename from shardingsphere-transaction/shardingsphere-transaction-core/src/test/java/org/apache/shardingsphere/transaction/core/fixture/OtherShardingSphereTransactionManagerFixture.java
rename to shardingsphere-kernel/shardingsphere-kernel-transaction/shardingsphere-kernel-transaction-core/src/test/java/org/apache/shardingsphere/transaction/core/fixture/OtherShardingSphereTransactionManagerFixture.java
diff --git a/shardingsphere-transaction/shardingsphere-transaction-core/src/test/java/org/apache/shardingsphere/transaction/core/fixture/ShardingSphereTransactionManagerFixture.java b/shardingsphere-kernel/shardingsphere-kernel-transaction/shardingsphere-kernel-transaction-core/src/test/java/org/apache/shardingsphere/transaction/core/fixture/ShardingSphereTransactionManagerFixture.java
similarity index 100%
rename from shardingsphere-transaction/shardingsphere-transaction-core/src/test/java/org/apache/shardingsphere/transaction/core/fixture/ShardingSphereTransactionManagerFixture.java
rename to shardingsphere-kernel/shardingsphere-kernel-transaction/shardingsphere-kernel-transaction-core/src/test/java/org/apache/shardingsphere/transaction/core/fixture/ShardingSphereTransactionManagerFixture.java
diff --git a/shardingsphere-transaction/shardingsphere-transaction-core/src/test/resources/META-INF/services/org.apache.shardingsphere.transaction.spi.ShardingSphereTransactionManager b/shardingsphere-kernel/shardingsphere-kernel-transaction/shardingsphere-kernel-transaction-core/src/test/resources/META-INF/services/org.apache.shardingsphere.transaction.spi.ShardingSphereTransactionManager
similarity index 100%
rename from shardingsphere-transaction/shardingsphere-transaction-core/src/test/resources/META-INF/services/org.apache.shardingsphere.transaction.spi.ShardingSphereTransactionManager
rename to shardingsphere-kernel/shardingsphere-kernel-transaction/shardingsphere-kernel-transaction-core/src/test/resources/META-INF/services/org.apache.shardingsphere.transaction.spi.ShardingSphereTransactionManager
diff --git a/shardingsphere-transaction/shardingsphere-transaction-core/src/test/resources/logback-test.xml b/shardingsphere-kernel/shardingsphere-kernel-transaction/shardingsphere-kernel-transaction-core/src/test/resources/logback-test.xml
similarity index 100%
rename from shardingsphere-transaction/shardingsphere-transaction-core/src/test/resources/logback-test.xml
rename to shardingsphere-kernel/shardingsphere-kernel-transaction/shardingsphere-kernel-transaction-core/src/test/resources/logback-test.xml
diff --git a/shardingsphere-proxy/shardingsphere-proxy-backend/pom.xml b/shardingsphere-proxy/shardingsphere-proxy-backend/pom.xml
index 5867d90..ce7252c 100644
--- a/shardingsphere-proxy/shardingsphere-proxy-backend/pom.xml
+++ b/shardingsphere-proxy/shardingsphere-proxy-backend/pom.xml
@@ -119,7 +119,7 @@
</dependency>
<dependency>
<groupId>org.apache.shardingsphere</groupId>
- <artifactId>shardingsphere-transaction-xa-core</artifactId>
+ <artifactId>shardingsphere-kernel-transaction-xa-core</artifactId>
<version>${project.parent.version}</version>
</dependency>
<dependency>
diff --git a/shardingsphere-transaction/shardingsphere-transaction-2pc/shardingsphere-transaction-xa/shardingsphere-transaction-xa-core/src/test/java/org/apache/shardingsphere/transaction/xa/fixture/ReflectiveUtil.java b/shardingsphere-transaction/shardingsphere-transaction-2pc/shardingsphere-transaction-xa/shardingsphere-transaction-xa-core/src/test/java/org/apache/shardingsphere/transaction/xa/fixture/ReflectiveUtil.java
deleted file mode 100644
index 04dce5c..0000000
--- a/shardingsphere-transaction/shardingsphere-transaction-2pc/shardingsphere-transaction-xa/shardingsphere-transaction-xa-core/src/test/java/org/apache/shardingsphere/transaction/xa/fixture/ReflectiveUtil.java
+++ /dev/null
@@ -1,49 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package org.apache.shardingsphere.transaction.xa.fixture;
-
-import lombok.AccessLevel;
-import lombok.NoArgsConstructor;
-
-import java.lang.reflect.Field;
-
-/**
- * Reflective utility.
- */
-@NoArgsConstructor(access = AccessLevel.PRIVATE)
-public final class ReflectiveUtil {
-
- /**
- * Get field.
- *
- * @param target target
- * @param fieldName field name
- * @return field
- */
- private static Field getField(final Object target, final String fieldName) {
- Class clazz = target.getClass();
- while (clazz != null) {
- try {
- return clazz.getDeclaredField(fieldName);
- } catch (final NoSuchFieldException ignored) {
- }
- clazz = clazz.getSuperclass();
- }
- return null;
- }
-}