diff --git a/docs/document/content/user-manual/shardingsphere-jdbc/graalvm-native-image/_index.cn.md b/docs/document/content/user-manual/shardingsphere-jdbc/graalvm-native-image/_index.cn.md index 1dc4aa2c24176..1a51293834662 100644 --- a/docs/document/content/user-manual/shardingsphere-jdbc/graalvm-native-image/_index.cn.md +++ b/docs/document/content/user-manual/shardingsphere-jdbc/graalvm-native-image/_index.cn.md @@ -251,7 +251,7 @@ ShardingSphere 定义了 `generateMetadata` 的 Maven Profile 用于在 GraalVM Reachability Metadata 位于 `shardingsphere-infra-reachability-metadata` 子模块下。 对于测试类和测试文件独立使用的 GraalVM Reachability Metadata,贡献者应该放置到 -`${user.dir}/infra/nativetest/src/test/resources/META-INF/native-image/shardingsphere-test-native-test-metadata/` +`${user.dir}/test/natived/src/test/resources/META-INF/native-image/shardingsphere-test-native-test-metadata/` 文件夹下。`${}` 内为相关子模块对应的 POM 4.0 的常规系统变量,自行替换。 ```bash diff --git a/pom.xml b/pom.xml index 7bd0c114d6a0c..ff32ff9b0442a 100644 --- a/pom.xml +++ b/pom.xml @@ -1026,7 +1026,7 @@ ${maven-surefire-plugin.version} - org.apache.shardingsphere.infra.nativetest.** + org.apache.shardingsphere.test.natived.** @@ -1041,8 +1041,8 @@ Conditional - ${user.dir}/infra/nativetest/native-image-filter/user-code-filter.json - ${user.dir}/infra/nativetest/native-image-filter/extra-filter.json + ${user.dir}/test/natived/native-image-filter/user-code-filter.json + ${user.dir}/test/natived/native-image-filter/extra-filter.json true @@ -1088,7 +1088,7 @@ maven-surefire-plugin - org.apache.shardingsphere.infra.nativetest.** + org.apache.shardingsphere.test.natived.** diff --git a/test/native/native-image-filter/extra-filter.json b/test/native/native-image-filter/extra-filter.json index 0781beee69031..ac27751352147 100644 --- a/test/native/native-image-filter/extra-filter.json +++ b/test/native/native-image-filter/extra-filter.json @@ -24,7 +24,7 @@ {"excludeClasses": "org.locationtech.jts.geom.**"}, {"excludeClasses": "org.slf4j.event.**"}, - {"excludeClasses": "org.apache.shardingsphere.infra.nativetest.**"} + {"excludeClasses": "org.apache.shardingsphere.test.natived.**"} ], "regexRules": [ ] diff --git a/test/native/src/test/java/org/apache/shardingsphere/infra/nativetest/FileTestUtils.java b/test/native/src/test/java/org/apache/shardingsphere/test/natived/FileTestUtils.java similarity index 98% rename from test/native/src/test/java/org/apache/shardingsphere/infra/nativetest/FileTestUtils.java rename to test/native/src/test/java/org/apache/shardingsphere/test/natived/FileTestUtils.java index 30768fb598a65..cea3a8eaf69e2 100644 --- a/test/native/src/test/java/org/apache/shardingsphere/infra/nativetest/FileTestUtils.java +++ b/test/native/src/test/java/org/apache/shardingsphere/test/natived/FileTestUtils.java @@ -15,7 +15,7 @@ * limitations under the License. */ -package org.apache.shardingsphere.infra.nativetest; +package org.apache.shardingsphere.test.natived; import java.io.BufferedReader; import java.io.IOException; diff --git a/test/native/src/test/java/org/apache/shardingsphere/infra/nativetest/jdbc/features/EncryptTest.java b/test/native/src/test/java/org/apache/shardingsphere/test/natived/features/EncryptTest.java similarity index 87% rename from test/native/src/test/java/org/apache/shardingsphere/infra/nativetest/jdbc/features/EncryptTest.java rename to test/native/src/test/java/org/apache/shardingsphere/test/natived/features/EncryptTest.java index 562b95e58c6b8..067f8bfd839b2 100644 --- a/test/native/src/test/java/org/apache/shardingsphere/infra/nativetest/jdbc/features/EncryptTest.java +++ b/test/native/src/test/java/org/apache/shardingsphere/test/natived/features/EncryptTest.java @@ -15,16 +15,16 @@ * limitations under the License. */ -package org.apache.shardingsphere.infra.nativetest.jdbc.features; +package org.apache.shardingsphere.test.natived.features; import org.apache.shardingsphere.driver.api.yaml.YamlShardingSphereDataSourceFactory; -import org.apache.shardingsphere.infra.nativetest.FileTestUtils; -import org.apache.shardingsphere.infra.nativetest.jdbc.features.entity.Address; -import org.apache.shardingsphere.infra.nativetest.jdbc.features.entity.Order; -import org.apache.shardingsphere.infra.nativetest.jdbc.features.entity.OrderItem; -import org.apache.shardingsphere.infra.nativetest.jdbc.features.repository.AddressRepository; -import org.apache.shardingsphere.infra.nativetest.jdbc.features.repository.OrderItemRepository; -import org.apache.shardingsphere.infra.nativetest.jdbc.features.repository.OrderRepository; +import org.apache.shardingsphere.test.natived.FileTestUtils; +import org.apache.shardingsphere.test.natived.features.entity.Address; +import org.apache.shardingsphere.test.natived.features.entity.Order; +import org.apache.shardingsphere.test.natived.features.entity.OrderItem; +import org.apache.shardingsphere.test.natived.features.repository.AddressRepository; +import org.apache.shardingsphere.test.natived.features.repository.OrderItemRepository; +import org.apache.shardingsphere.test.natived.features.repository.OrderRepository; import org.junit.jupiter.api.Test; import javax.sql.DataSource; diff --git a/test/native/src/test/java/org/apache/shardingsphere/infra/nativetest/jdbc/features/MaskTest.java b/test/native/src/test/java/org/apache/shardingsphere/test/natived/features/MaskTest.java similarity index 87% rename from test/native/src/test/java/org/apache/shardingsphere/infra/nativetest/jdbc/features/MaskTest.java rename to test/native/src/test/java/org/apache/shardingsphere/test/natived/features/MaskTest.java index b7edf69c3d782..12e08c0c97985 100644 --- a/test/native/src/test/java/org/apache/shardingsphere/infra/nativetest/jdbc/features/MaskTest.java +++ b/test/native/src/test/java/org/apache/shardingsphere/test/natived/features/MaskTest.java @@ -15,16 +15,16 @@ * limitations under the License. */ -package org.apache.shardingsphere.infra.nativetest.jdbc.features; +package org.apache.shardingsphere.test.natived.features; import org.apache.shardingsphere.driver.api.yaml.YamlShardingSphereDataSourceFactory; -import org.apache.shardingsphere.infra.nativetest.FileTestUtils; -import org.apache.shardingsphere.infra.nativetest.jdbc.features.entity.Address; -import org.apache.shardingsphere.infra.nativetest.jdbc.features.entity.Order; -import org.apache.shardingsphere.infra.nativetest.jdbc.features.entity.OrderItem; -import org.apache.shardingsphere.infra.nativetest.jdbc.features.repository.AddressRepository; -import org.apache.shardingsphere.infra.nativetest.jdbc.features.repository.OrderItemRepository; -import org.apache.shardingsphere.infra.nativetest.jdbc.features.repository.OrderRepository; +import org.apache.shardingsphere.test.natived.FileTestUtils; +import org.apache.shardingsphere.test.natived.features.entity.Address; +import org.apache.shardingsphere.test.natived.features.entity.Order; +import org.apache.shardingsphere.test.natived.features.entity.OrderItem; +import org.apache.shardingsphere.test.natived.features.repository.AddressRepository; +import org.apache.shardingsphere.test.natived.features.repository.OrderItemRepository; +import org.apache.shardingsphere.test.natived.features.repository.OrderRepository; import org.junit.jupiter.api.Test; import javax.sql.DataSource; diff --git a/test/native/src/test/java/org/apache/shardingsphere/infra/nativetest/jdbc/features/ReadWriteSplittingTest.java b/test/native/src/test/java/org/apache/shardingsphere/test/natived/features/ReadWriteSplittingTest.java similarity index 87% rename from test/native/src/test/java/org/apache/shardingsphere/infra/nativetest/jdbc/features/ReadWriteSplittingTest.java rename to test/native/src/test/java/org/apache/shardingsphere/test/natived/features/ReadWriteSplittingTest.java index f0510a06cc2eb..f3bed0e91346e 100644 --- a/test/native/src/test/java/org/apache/shardingsphere/infra/nativetest/jdbc/features/ReadWriteSplittingTest.java +++ b/test/native/src/test/java/org/apache/shardingsphere/test/natived/features/ReadWriteSplittingTest.java @@ -15,16 +15,16 @@ * limitations under the License. */ -package org.apache.shardingsphere.infra.nativetest.jdbc.features; +package org.apache.shardingsphere.test.natived.features; import org.apache.shardingsphere.driver.api.yaml.YamlShardingSphereDataSourceFactory; -import org.apache.shardingsphere.infra.nativetest.FileTestUtils; -import org.apache.shardingsphere.infra.nativetest.jdbc.features.entity.Address; -import org.apache.shardingsphere.infra.nativetest.jdbc.features.entity.Order; -import org.apache.shardingsphere.infra.nativetest.jdbc.features.entity.OrderItem; -import org.apache.shardingsphere.infra.nativetest.jdbc.features.repository.AddressRepository; -import org.apache.shardingsphere.infra.nativetest.jdbc.features.repository.OrderItemRepository; -import org.apache.shardingsphere.infra.nativetest.jdbc.features.repository.OrderRepository; +import org.apache.shardingsphere.test.natived.FileTestUtils; +import org.apache.shardingsphere.test.natived.features.entity.Address; +import org.apache.shardingsphere.test.natived.features.entity.Order; +import org.apache.shardingsphere.test.natived.features.entity.OrderItem; +import org.apache.shardingsphere.test.natived.features.repository.AddressRepository; +import org.apache.shardingsphere.test.natived.features.repository.OrderItemRepository; +import org.apache.shardingsphere.test.natived.features.repository.OrderRepository; import org.h2.jdbc.JdbcSQLSyntaxErrorException; import org.junit.jupiter.api.Test; diff --git a/test/native/src/test/java/org/apache/shardingsphere/infra/nativetest/jdbc/features/ShadowTest.java b/test/native/src/test/java/org/apache/shardingsphere/test/natived/features/ShadowTest.java similarity index 90% rename from test/native/src/test/java/org/apache/shardingsphere/infra/nativetest/jdbc/features/ShadowTest.java rename to test/native/src/test/java/org/apache/shardingsphere/test/natived/features/ShadowTest.java index ab8defd31b379..57bdae6d328a6 100644 --- a/test/native/src/test/java/org/apache/shardingsphere/infra/nativetest/jdbc/features/ShadowTest.java +++ b/test/native/src/test/java/org/apache/shardingsphere/test/natived/features/ShadowTest.java @@ -15,16 +15,16 @@ * limitations under the License. */ -package org.apache.shardingsphere.infra.nativetest.jdbc.features; +package org.apache.shardingsphere.test.natived.features; import org.apache.shardingsphere.driver.api.yaml.YamlShardingSphereDataSourceFactory; -import org.apache.shardingsphere.infra.nativetest.FileTestUtils; -import org.apache.shardingsphere.infra.nativetest.jdbc.features.entity.Address; -import org.apache.shardingsphere.infra.nativetest.jdbc.features.entity.Order; -import org.apache.shardingsphere.infra.nativetest.jdbc.features.entity.OrderItem; -import org.apache.shardingsphere.infra.nativetest.jdbc.features.repository.AddressRepository; -import org.apache.shardingsphere.infra.nativetest.jdbc.features.repository.OrderItemRepository; -import org.apache.shardingsphere.infra.nativetest.jdbc.features.repository.OrderRepository; +import org.apache.shardingsphere.test.natived.FileTestUtils; +import org.apache.shardingsphere.test.natived.features.entity.Address; +import org.apache.shardingsphere.test.natived.features.entity.Order; +import org.apache.shardingsphere.test.natived.features.entity.OrderItem; +import org.apache.shardingsphere.test.natived.features.repository.AddressRepository; +import org.apache.shardingsphere.test.natived.features.repository.OrderItemRepository; +import org.apache.shardingsphere.test.natived.features.repository.OrderRepository; import org.junit.jupiter.api.Test; import javax.sql.DataSource; diff --git a/test/native/src/test/java/org/apache/shardingsphere/infra/nativetest/jdbc/features/ShardingTest.java b/test/native/src/test/java/org/apache/shardingsphere/test/natived/features/ShardingTest.java similarity index 89% rename from test/native/src/test/java/org/apache/shardingsphere/infra/nativetest/jdbc/features/ShardingTest.java rename to test/native/src/test/java/org/apache/shardingsphere/test/natived/features/ShardingTest.java index 739361cb04fd7..ee624d49b7b2a 100644 --- a/test/native/src/test/java/org/apache/shardingsphere/infra/nativetest/jdbc/features/ShardingTest.java +++ b/test/native/src/test/java/org/apache/shardingsphere/test/natived/features/ShardingTest.java @@ -15,16 +15,16 @@ * limitations under the License. */ -package org.apache.shardingsphere.infra.nativetest.jdbc.features; +package org.apache.shardingsphere.test.natived.features; import org.apache.shardingsphere.driver.api.yaml.YamlShardingSphereDataSourceFactory; -import org.apache.shardingsphere.infra.nativetest.FileTestUtils; -import org.apache.shardingsphere.infra.nativetest.jdbc.features.entity.Address; -import org.apache.shardingsphere.infra.nativetest.jdbc.features.entity.Order; -import org.apache.shardingsphere.infra.nativetest.jdbc.features.entity.OrderItem; -import org.apache.shardingsphere.infra.nativetest.jdbc.features.repository.AddressRepository; -import org.apache.shardingsphere.infra.nativetest.jdbc.features.repository.OrderItemRepository; -import org.apache.shardingsphere.infra.nativetest.jdbc.features.repository.OrderRepository; +import org.apache.shardingsphere.test.natived.FileTestUtils; +import org.apache.shardingsphere.test.natived.features.entity.Address; +import org.apache.shardingsphere.test.natived.features.entity.Order; +import org.apache.shardingsphere.test.natived.features.entity.OrderItem; +import org.apache.shardingsphere.test.natived.features.repository.AddressRepository; +import org.apache.shardingsphere.test.natived.features.repository.OrderItemRepository; +import org.apache.shardingsphere.test.natived.features.repository.OrderRepository; import org.junit.jupiter.api.Test; import javax.sql.DataSource; diff --git a/test/native/src/test/java/org/apache/shardingsphere/infra/nativetest/jdbc/features/algorithm/ClassBasedInlineShardingAlgorithmFixture.java b/test/native/src/test/java/org/apache/shardingsphere/test/natived/features/algorithm/ClassBasedInlineShardingAlgorithmFixture.java similarity index 96% rename from test/native/src/test/java/org/apache/shardingsphere/infra/nativetest/jdbc/features/algorithm/ClassBasedInlineShardingAlgorithmFixture.java rename to test/native/src/test/java/org/apache/shardingsphere/test/natived/features/algorithm/ClassBasedInlineShardingAlgorithmFixture.java index 55652a13e6d49..f21285de6a875 100644 --- a/test/native/src/test/java/org/apache/shardingsphere/infra/nativetest/jdbc/features/algorithm/ClassBasedInlineShardingAlgorithmFixture.java +++ b/test/native/src/test/java/org/apache/shardingsphere/test/natived/features/algorithm/ClassBasedInlineShardingAlgorithmFixture.java @@ -15,7 +15,7 @@ * limitations under the License. */ -package org.apache.shardingsphere.infra.nativetest.jdbc.features.algorithm; +package org.apache.shardingsphere.test.natived.features.algorithm; import org.apache.shardingsphere.sharding.api.sharding.standard.PreciseShardingValue; import org.apache.shardingsphere.sharding.api.sharding.standard.RangeShardingValue; diff --git a/test/native/src/test/java/org/apache/shardingsphere/infra/nativetest/jdbc/features/algorithm/TestQueryAssistedShardingEncryptAlgorithm.java b/test/native/src/test/java/org/apache/shardingsphere/test/natived/features/algorithm/TestQueryAssistedShardingEncryptAlgorithm.java similarity index 95% rename from test/native/src/test/java/org/apache/shardingsphere/infra/nativetest/jdbc/features/algorithm/TestQueryAssistedShardingEncryptAlgorithm.java rename to test/native/src/test/java/org/apache/shardingsphere/test/natived/features/algorithm/TestQueryAssistedShardingEncryptAlgorithm.java index c443adbb07d65..bced0e1612fa5 100644 --- a/test/native/src/test/java/org/apache/shardingsphere/infra/nativetest/jdbc/features/algorithm/TestQueryAssistedShardingEncryptAlgorithm.java +++ b/test/native/src/test/java/org/apache/shardingsphere/test/natived/features/algorithm/TestQueryAssistedShardingEncryptAlgorithm.java @@ -15,7 +15,7 @@ * limitations under the License. */ -package org.apache.shardingsphere.infra.nativetest.jdbc.features.algorithm; +package org.apache.shardingsphere.test.natived.features.algorithm; import lombok.Getter; import org.apache.shardingsphere.encrypt.api.context.EncryptContext; diff --git a/test/native/src/test/java/org/apache/shardingsphere/infra/nativetest/jdbc/features/entity/Address.java b/test/native/src/test/java/org/apache/shardingsphere/test/natived/features/entity/Address.java similarity index 94% rename from test/native/src/test/java/org/apache/shardingsphere/infra/nativetest/jdbc/features/entity/Address.java rename to test/native/src/test/java/org/apache/shardingsphere/test/natived/features/entity/Address.java index 530e1eb6d86c6..7d755aa53c550 100644 --- a/test/native/src/test/java/org/apache/shardingsphere/infra/nativetest/jdbc/features/entity/Address.java +++ b/test/native/src/test/java/org/apache/shardingsphere/test/natived/features/entity/Address.java @@ -15,7 +15,7 @@ * limitations under the License. */ -package org.apache.shardingsphere.infra.nativetest.jdbc.features.entity; +package org.apache.shardingsphere.test.natived.features.entity; import lombok.AllArgsConstructor; import lombok.Data; diff --git a/test/native/src/test/java/org/apache/shardingsphere/infra/nativetest/jdbc/features/entity/Order.java b/test/native/src/test/java/org/apache/shardingsphere/test/natived/features/entity/Order.java similarity index 94% rename from test/native/src/test/java/org/apache/shardingsphere/infra/nativetest/jdbc/features/entity/Order.java rename to test/native/src/test/java/org/apache/shardingsphere/test/natived/features/entity/Order.java index 751889802f8bc..923d2ae2f339b 100644 --- a/test/native/src/test/java/org/apache/shardingsphere/infra/nativetest/jdbc/features/entity/Order.java +++ b/test/native/src/test/java/org/apache/shardingsphere/test/natived/features/entity/Order.java @@ -15,7 +15,7 @@ * limitations under the License. */ -package org.apache.shardingsphere.infra.nativetest.jdbc.features.entity; +package org.apache.shardingsphere.test.natived.features.entity; import lombok.AllArgsConstructor; import lombok.Data; diff --git a/test/native/src/test/java/org/apache/shardingsphere/infra/nativetest/jdbc/features/entity/OrderItem.java b/test/native/src/test/java/org/apache/shardingsphere/test/natived/features/entity/OrderItem.java similarity index 94% rename from test/native/src/test/java/org/apache/shardingsphere/infra/nativetest/jdbc/features/entity/OrderItem.java rename to test/native/src/test/java/org/apache/shardingsphere/test/natived/features/entity/OrderItem.java index 3c4a00c691f46..20e8af0b4a576 100644 --- a/test/native/src/test/java/org/apache/shardingsphere/infra/nativetest/jdbc/features/entity/OrderItem.java +++ b/test/native/src/test/java/org/apache/shardingsphere/test/natived/features/entity/OrderItem.java @@ -15,7 +15,7 @@ * limitations under the License. */ -package org.apache.shardingsphere.infra.nativetest.jdbc.features.entity; +package org.apache.shardingsphere.test.natived.features.entity; import lombok.AllArgsConstructor; import lombok.Data; diff --git a/test/native/src/test/java/org/apache/shardingsphere/infra/nativetest/jdbc/features/repository/AddressRepository.java b/test/native/src/test/java/org/apache/shardingsphere/test/natived/features/repository/AddressRepository.java similarity index 96% rename from test/native/src/test/java/org/apache/shardingsphere/infra/nativetest/jdbc/features/repository/AddressRepository.java rename to test/native/src/test/java/org/apache/shardingsphere/test/natived/features/repository/AddressRepository.java index 65806f92e12cf..9ed97510a1cc5 100644 --- a/test/native/src/test/java/org/apache/shardingsphere/infra/nativetest/jdbc/features/repository/AddressRepository.java +++ b/test/native/src/test/java/org/apache/shardingsphere/test/natived/features/repository/AddressRepository.java @@ -15,9 +15,9 @@ * limitations under the License. */ -package org.apache.shardingsphere.infra.nativetest.jdbc.features.repository; +package org.apache.shardingsphere.test.natived.features.repository; -import org.apache.shardingsphere.infra.nativetest.jdbc.features.entity.Address; +import org.apache.shardingsphere.test.natived.features.entity.Address; import javax.sql.DataSource; import java.sql.Connection; diff --git a/test/native/src/test/java/org/apache/shardingsphere/infra/nativetest/jdbc/features/repository/OrderItemRepository.java b/test/native/src/test/java/org/apache/shardingsphere/test/natived/features/repository/OrderItemRepository.java similarity index 97% rename from test/native/src/test/java/org/apache/shardingsphere/infra/nativetest/jdbc/features/repository/OrderItemRepository.java rename to test/native/src/test/java/org/apache/shardingsphere/test/natived/features/repository/OrderItemRepository.java index 320a0786935df..b827e8e09bf0e 100644 --- a/test/native/src/test/java/org/apache/shardingsphere/infra/nativetest/jdbc/features/repository/OrderItemRepository.java +++ b/test/native/src/test/java/org/apache/shardingsphere/test/natived/features/repository/OrderItemRepository.java @@ -15,9 +15,9 @@ * limitations under the License. */ -package org.apache.shardingsphere.infra.nativetest.jdbc.features.repository; +package org.apache.shardingsphere.test.natived.features.repository; -import org.apache.shardingsphere.infra.nativetest.jdbc.features.entity.OrderItem; +import org.apache.shardingsphere.test.natived.features.entity.OrderItem; import javax.sql.DataSource; import java.sql.Connection; diff --git a/test/native/src/test/java/org/apache/shardingsphere/infra/nativetest/jdbc/features/repository/OrderRepository.java b/test/native/src/test/java/org/apache/shardingsphere/test/natived/features/repository/OrderRepository.java similarity index 98% rename from test/native/src/test/java/org/apache/shardingsphere/infra/nativetest/jdbc/features/repository/OrderRepository.java rename to test/native/src/test/java/org/apache/shardingsphere/test/natived/features/repository/OrderRepository.java index fb5aad9c1bdf2..d16478bb26f73 100644 --- a/test/native/src/test/java/org/apache/shardingsphere/infra/nativetest/jdbc/features/repository/OrderRepository.java +++ b/test/native/src/test/java/org/apache/shardingsphere/test/natived/features/repository/OrderRepository.java @@ -15,9 +15,9 @@ * limitations under the License. */ -package org.apache.shardingsphere.infra.nativetest.jdbc.features.repository; +package org.apache.shardingsphere.test.natived.features.repository; -import org.apache.shardingsphere.infra.nativetest.jdbc.features.entity.Order; +import org.apache.shardingsphere.test.natived.features.entity.Order; import javax.sql.DataSource; import java.sql.Connection; diff --git a/test/native/src/test/resources/META-INF/native-image/shardingsphere-test-native-metadata/reflect-config.json b/test/native/src/test/resources/META-INF/native-image/shardingsphere-test-native-metadata/reflect-config.json index 4aed2e014fdd9..c46e58bfe929f 100644 --- a/test/native/src/test/resources/META-INF/native-image/shardingsphere-test-native-metadata/reflect-config.json +++ b/test/native/src/test/resources/META-INF/native-image/shardingsphere-test-native-metadata/reflect-config.json @@ -1,7 +1,7 @@ [ { "condition":{"typeReachable":"org.apache.shardingsphere.sharding.algorithm.sharding.classbased.ClassBasedShardingAlgorithmFactory"}, - "name":"org.apache.shardingsphere.infra.nativetest.jdbc.features.algorithm.ClassBasedInlineShardingAlgorithmFixture", + "name":"org.apache.shardingsphere.test.natived.jdbc.features.algorithm.ClassBasedInlineShardingAlgorithmFixture", "methods":[{"name":"","parameterTypes":[] }] } ] diff --git a/test/native/src/test/resources/META-INF/native-image/shardingsphere-test-native-metadata/resource-config.json b/test/native/src/test/resources/META-INF/native-image/shardingsphere-test-native-metadata/resource-config.json index 2773c5f2fde1b..e470579314d3d 100644 --- a/test/native/src/test/resources/META-INF/native-image/shardingsphere-test-native-metadata/resource-config.json +++ b/test/native/src/test/resources/META-INF/native-image/shardingsphere-test-native-metadata/resource-config.json @@ -1,19 +1,19 @@ { "resources":{ "includes":[{ - "condition":{"typeReachable":"org.apache.shardingsphere.infra.nativetest.jdbc.features.EncryptTest"}, + "condition":{"typeReachable":"org.apache.shardingsphere.test.natived.jdbc.features.EncryptTest"}, "pattern":"\\Qyaml/encrypt.yaml\\E" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.infra.nativetest.jdbc.features.MaskTest"}, + "condition":{"typeReachable":"org.apache.shardingsphere.test.natived.jdbc.features.MaskTest"}, "pattern":"\\Qyaml/mask.yaml\\E" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.infra.nativetest.jdbc.features.ReadWriteSplittingTest"}, + "condition":{"typeReachable":"org.apache.shardingsphere.test.natived.jdbc.features.ReadWriteSplittingTest"}, "pattern":"\\Qyaml/readwrite-splitting.yaml\\E" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.infra.nativetest.jdbc.features.ShadowTest"}, + "condition":{"typeReachable":"org.apache.shardingsphere.test.natived.jdbc.features.ShadowTest"}, "pattern":"\\Qyaml/shadow.yaml\\E" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.infra.nativetest.jdbc.features.ShardingTest"}, + "condition":{"typeReachable":"org.apache.shardingsphere.test.natived.jdbc.features.ShardingTest"}, "pattern":"\\Qyaml/sharding.yaml\\E" } ]}, diff --git a/test/native/src/test/resources/META-INF/services/org.apache.shardingsphere.encrypt.spi.EncryptAlgorithm b/test/native/src/test/resources/META-INF/services/org.apache.shardingsphere.encrypt.spi.EncryptAlgorithm index be8532cc700cb..fe62b49651eac 100644 --- a/test/native/src/test/resources/META-INF/services/org.apache.shardingsphere.encrypt.spi.EncryptAlgorithm +++ b/test/native/src/test/resources/META-INF/services/org.apache.shardingsphere.encrypt.spi.EncryptAlgorithm @@ -15,4 +15,4 @@ # limitations under the License. # -org.apache.shardingsphere.infra.nativetest.jdbc.features.algorithm.TestQueryAssistedShardingEncryptAlgorithm +org.apache.shardingsphere.test.natived.features.algorithm.TestQueryAssistedShardingEncryptAlgorithm diff --git a/test/native/src/test/resources/yaml/sharding.yaml b/test/native/src/test/resources/yaml/sharding.yaml index 10dc57f5e98ff..363122a894c59 100644 --- a/test/native/src/test/resources/yaml/sharding.yaml +++ b/test/native/src/test/resources/yaml/sharding.yaml @@ -65,7 +65,7 @@ rules: type: CLASS_BASED props: strategy: STANDARD - algorithmClassName: org.apache.shardingsphere.infra.nativetest.jdbc.features.algorithm.ClassBasedInlineShardingAlgorithmFixture + algorithmClassName: org.apache.shardingsphere.test.natived.jdbc.features.algorithm.ClassBasedInlineShardingAlgorithmFixture keyGenerators: snowflake: type: SNOWFLAKE