This is an automated email from the ASF dual-hosted git repository.

zhangliang 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 a0364f9f267 Rename algorithm-type-xxx-core to algorithm-type-xxx-spi 
(#36292)
a0364f9f267 is described below

commit a0364f9f2672c5594f85a4e53268e05e5e66a729
Author: Liang Zhang <[email protected]>
AuthorDate: Thu Aug 14 10:11:59 2025 +0800

    Rename algorithm-type-xxx-core to algorithm-type-xxx-spi (#36292)
---
 infra/algorithm/core/pom.xml                                         | 5 -----
 infra/algorithm/type/cryptographic/pom.xml                           | 2 +-
 infra/algorithm/type/cryptographic/{core => spi}/pom.xml             | 2 +-
 .../infra/algorithm/cryptographic/core/CryptographicAlgorithm.java   | 0
 .../cryptographic/core/CryptographicPropertiesProvider.java          | 0
 infra/algorithm/type/cryptographic/type/aes/pom.xml                  | 2 +-
 infra/algorithm/type/key-generator/pom.xml                           | 2 +-
 infra/algorithm/type/key-generator/{core => spi}/pom.xml             | 2 +-
 .../infra/algorithm/keygen/core/KeyGenerateAlgorithm.java            | 0
 infra/algorithm/type/key-generator/type/snowflake/pom.xml            | 2 +-
 infra/algorithm/type/key-generator/type/uuid/pom.xml                 | 2 +-
 infra/algorithm/type/load-balancer/pom.xml                           | 2 +-
 infra/algorithm/type/load-balancer/{core => spi}/pom.xml             | 2 +-
 .../infra/algorithm/loadbalancer/core/LoadBalanceAlgorithm.java      | 0
 infra/algorithm/type/load-balancer/type/random/pom.xml               | 2 +-
 infra/algorithm/type/load-balancer/type/round-robin/pom.xml          | 2 +-
 infra/algorithm/type/load-balancer/type/weight/pom.xml               | 2 +-
 infra/algorithm/type/message-digest/pom.xml                          | 2 +-
 infra/algorithm/type/message-digest/{core => spi}/pom.xml            | 2 +-
 .../infra/algorithm/messagedigest/core/MessageDigestAlgorithm.java   | 0
 infra/algorithm/type/message-digest/type/md5/pom.xml                 | 2 +-
 infra/distsql-handler/pom.xml                                        | 4 ++--
 22 files changed, 17 insertions(+), 22 deletions(-)

diff --git a/infra/algorithm/core/pom.xml b/infra/algorithm/core/pom.xml
index c78a404a9a8..5eaed5b7986 100644
--- a/infra/algorithm/core/pom.xml
+++ b/infra/algorithm/core/pom.xml
@@ -32,11 +32,6 @@
             <artifactId>shardingsphere-mode-spi</artifactId>
             <version>${project.version}</version>
         </dependency>
-        <dependency>
-            <groupId>org.apache.shardingsphere</groupId>
-            <artifactId>shardingsphere-infra-common</artifactId>
-            <version>${project.version}</version>
-        </dependency>
         
         <dependency>
             <groupId>org.apache.shardingsphere</groupId>
diff --git a/infra/algorithm/type/cryptographic/pom.xml 
b/infra/algorithm/type/cryptographic/pom.xml
index 28a19e94ccd..a58a45faf7d 100644
--- a/infra/algorithm/type/cryptographic/pom.xml
+++ b/infra/algorithm/type/cryptographic/pom.xml
@@ -28,7 +28,7 @@
     <name>${project.artifactId}</name>
     
     <modules>
-        <module>core</module>
+        <module>spi</module>
         <module>type</module>
     </modules>
 </project>
diff --git a/infra/algorithm/type/cryptographic/core/pom.xml 
b/infra/algorithm/type/cryptographic/spi/pom.xml
similarity index 95%
rename from infra/algorithm/type/cryptographic/core/pom.xml
rename to infra/algorithm/type/cryptographic/spi/pom.xml
index a993c51a19a..c6d1a5fee77 100644
--- a/infra/algorithm/type/cryptographic/core/pom.xml
+++ b/infra/algorithm/type/cryptographic/spi/pom.xml
@@ -23,7 +23,7 @@
         <artifactId>shardingsphere-infra-algorithm-cryptographic</artifactId>
         <version>5.5.3-SNAPSHOT</version>
     </parent>
-    <artifactId>shardingsphere-infra-algorithm-cryptographic-core</artifactId>
+    <artifactId>shardingsphere-infra-algorithm-cryptographic-spi</artifactId>
     <name>${project.artifactId}</name>
     
     <dependencies>
diff --git 
a/infra/algorithm/type/cryptographic/core/src/main/java/org/apache/shardingsphere/infra/algorithm/cryptographic/core/CryptographicAlgorithm.java
 
b/infra/algorithm/type/cryptographic/spi/src/main/java/org/apache/shardingsphere/infra/algorithm/cryptographic/core/CryptographicAlgorithm.java
similarity index 100%
rename from 
infra/algorithm/type/cryptographic/core/src/main/java/org/apache/shardingsphere/infra/algorithm/cryptographic/core/CryptographicAlgorithm.java
rename to 
infra/algorithm/type/cryptographic/spi/src/main/java/org/apache/shardingsphere/infra/algorithm/cryptographic/core/CryptographicAlgorithm.java
diff --git 
a/infra/algorithm/type/cryptographic/core/src/main/java/org/apache/shardingsphere/infra/algorithm/cryptographic/core/CryptographicPropertiesProvider.java
 
b/infra/algorithm/type/cryptographic/spi/src/main/java/org/apache/shardingsphere/infra/algorithm/cryptographic/core/CryptographicPropertiesProvider.java
similarity index 100%
rename from 
infra/algorithm/type/cryptographic/core/src/main/java/org/apache/shardingsphere/infra/algorithm/cryptographic/core/CryptographicPropertiesProvider.java
rename to 
infra/algorithm/type/cryptographic/spi/src/main/java/org/apache/shardingsphere/infra/algorithm/cryptographic/core/CryptographicPropertiesProvider.java
diff --git a/infra/algorithm/type/cryptographic/type/aes/pom.xml 
b/infra/algorithm/type/cryptographic/type/aes/pom.xml
index 4052d232bad..a6ed87db113 100644
--- a/infra/algorithm/type/cryptographic/type/aes/pom.xml
+++ b/infra/algorithm/type/cryptographic/type/aes/pom.xml
@@ -30,7 +30,7 @@
     <dependencies>
         <dependency>
             <groupId>org.apache.shardingsphere</groupId>
-            
<artifactId>shardingsphere-infra-algorithm-cryptographic-core</artifactId>
+            
<artifactId>shardingsphere-infra-algorithm-cryptographic-spi</artifactId>
             <version>${project.version}</version>
         </dependency>
         <dependency>
diff --git a/infra/algorithm/type/key-generator/pom.xml 
b/infra/algorithm/type/key-generator/pom.xml
index f1179facbe7..2e36d58c589 100644
--- a/infra/algorithm/type/key-generator/pom.xml
+++ b/infra/algorithm/type/key-generator/pom.xml
@@ -28,7 +28,7 @@
     <name>${project.artifactId}</name>
     
     <modules>
-        <module>core</module>
+        <module>spi</module>
         <module>type</module>
     </modules>
 </project>
diff --git a/infra/algorithm/type/key-generator/core/pom.xml 
b/infra/algorithm/type/key-generator/spi/pom.xml
similarity index 95%
rename from infra/algorithm/type/key-generator/core/pom.xml
rename to infra/algorithm/type/key-generator/spi/pom.xml
index ede4e63f8e3..84e1eb570b4 100644
--- a/infra/algorithm/type/key-generator/core/pom.xml
+++ b/infra/algorithm/type/key-generator/spi/pom.xml
@@ -23,7 +23,7 @@
         <artifactId>shardingsphere-infra-algorithm-key-generator</artifactId>
         <version>5.5.3-SNAPSHOT</version>
     </parent>
-    <artifactId>shardingsphere-infra-algorithm-key-generator-core</artifactId>
+    <artifactId>shardingsphere-infra-algorithm-key-generator-spi</artifactId>
     <name>${project.artifactId}</name>
     
     <dependencies>
diff --git 
a/infra/algorithm/type/key-generator/core/src/main/java/org/apache/shardingsphere/infra/algorithm/keygen/core/KeyGenerateAlgorithm.java
 
b/infra/algorithm/type/key-generator/spi/src/main/java/org/apache/shardingsphere/infra/algorithm/keygen/core/KeyGenerateAlgorithm.java
similarity index 100%
rename from 
infra/algorithm/type/key-generator/core/src/main/java/org/apache/shardingsphere/infra/algorithm/keygen/core/KeyGenerateAlgorithm.java
rename to 
infra/algorithm/type/key-generator/spi/src/main/java/org/apache/shardingsphere/infra/algorithm/keygen/core/KeyGenerateAlgorithm.java
diff --git a/infra/algorithm/type/key-generator/type/snowflake/pom.xml 
b/infra/algorithm/type/key-generator/type/snowflake/pom.xml
index fe7a98fe757..9503ff471e7 100644
--- a/infra/algorithm/type/key-generator/type/snowflake/pom.xml
+++ b/infra/algorithm/type/key-generator/type/snowflake/pom.xml
@@ -29,7 +29,7 @@
     <dependencies>
         <dependency>
             <groupId>org.apache.shardingsphere</groupId>
-            
<artifactId>shardingsphere-infra-algorithm-key-generator-core</artifactId>
+            
<artifactId>shardingsphere-infra-algorithm-key-generator-spi</artifactId>
             <version>${project.version}</version>
         </dependency>
     </dependencies>
diff --git a/infra/algorithm/type/key-generator/type/uuid/pom.xml 
b/infra/algorithm/type/key-generator/type/uuid/pom.xml
index bb8e83afcd8..00d116b0a09 100644
--- a/infra/algorithm/type/key-generator/type/uuid/pom.xml
+++ b/infra/algorithm/type/key-generator/type/uuid/pom.xml
@@ -29,7 +29,7 @@
     <dependencies>
         <dependency>
             <groupId>org.apache.shardingsphere</groupId>
-            
<artifactId>shardingsphere-infra-algorithm-key-generator-core</artifactId>
+            
<artifactId>shardingsphere-infra-algorithm-key-generator-spi</artifactId>
             <version>${project.version}</version>
         </dependency>
     </dependencies>
diff --git a/infra/algorithm/type/load-balancer/pom.xml 
b/infra/algorithm/type/load-balancer/pom.xml
index 0a6f07289b1..257b9a5707f 100644
--- a/infra/algorithm/type/load-balancer/pom.xml
+++ b/infra/algorithm/type/load-balancer/pom.xml
@@ -28,7 +28,7 @@
     <name>${project.artifactId}</name>
     
     <modules>
-        <module>core</module>
+        <module>spi</module>
         <module>type</module>
     </modules>
 </project>
diff --git a/infra/algorithm/type/load-balancer/core/pom.xml 
b/infra/algorithm/type/load-balancer/spi/pom.xml
similarity index 95%
rename from infra/algorithm/type/load-balancer/core/pom.xml
rename to infra/algorithm/type/load-balancer/spi/pom.xml
index 244fc77131d..77ea9694a13 100644
--- a/infra/algorithm/type/load-balancer/core/pom.xml
+++ b/infra/algorithm/type/load-balancer/spi/pom.xml
@@ -23,7 +23,7 @@
         <artifactId>shardingsphere-infra-algorithm-load-balancer</artifactId>
         <version>5.5.3-SNAPSHOT</version>
     </parent>
-    <artifactId>shardingsphere-infra-algorithm-load-balancer-core</artifactId>
+    <artifactId>shardingsphere-infra-algorithm-load-balancer-spi</artifactId>
     <name>${project.artifactId}</name>
     
     <dependencies>
diff --git 
a/infra/algorithm/type/load-balancer/core/src/main/java/org/apache/shardingsphere/infra/algorithm/loadbalancer/core/LoadBalanceAlgorithm.java
 
b/infra/algorithm/type/load-balancer/spi/src/main/java/org/apache/shardingsphere/infra/algorithm/loadbalancer/core/LoadBalanceAlgorithm.java
similarity index 100%
rename from 
infra/algorithm/type/load-balancer/core/src/main/java/org/apache/shardingsphere/infra/algorithm/loadbalancer/core/LoadBalanceAlgorithm.java
rename to 
infra/algorithm/type/load-balancer/spi/src/main/java/org/apache/shardingsphere/infra/algorithm/loadbalancer/core/LoadBalanceAlgorithm.java
diff --git a/infra/algorithm/type/load-balancer/type/random/pom.xml 
b/infra/algorithm/type/load-balancer/type/random/pom.xml
index 41cf43330c5..6893182c81f 100644
--- a/infra/algorithm/type/load-balancer/type/random/pom.xml
+++ b/infra/algorithm/type/load-balancer/type/random/pom.xml
@@ -29,7 +29,7 @@
     <dependencies>
         <dependency>
             <groupId>org.apache.shardingsphere</groupId>
-            
<artifactId>shardingsphere-infra-algorithm-load-balancer-core</artifactId>
+            
<artifactId>shardingsphere-infra-algorithm-load-balancer-spi</artifactId>
             <version>${project.version}</version>
         </dependency>
     </dependencies>
diff --git a/infra/algorithm/type/load-balancer/type/round-robin/pom.xml 
b/infra/algorithm/type/load-balancer/type/round-robin/pom.xml
index 5407fdd7674..dd90f21f89d 100644
--- a/infra/algorithm/type/load-balancer/type/round-robin/pom.xml
+++ b/infra/algorithm/type/load-balancer/type/round-robin/pom.xml
@@ -29,7 +29,7 @@
     <dependencies>
         <dependency>
             <groupId>org.apache.shardingsphere</groupId>
-            
<artifactId>shardingsphere-infra-algorithm-load-balancer-core</artifactId>
+            
<artifactId>shardingsphere-infra-algorithm-load-balancer-spi</artifactId>
             <version>${project.version}</version>
         </dependency>
     </dependencies>
diff --git a/infra/algorithm/type/load-balancer/type/weight/pom.xml 
b/infra/algorithm/type/load-balancer/type/weight/pom.xml
index 7086a026b9b..262ae2f4303 100644
--- a/infra/algorithm/type/load-balancer/type/weight/pom.xml
+++ b/infra/algorithm/type/load-balancer/type/weight/pom.xml
@@ -29,7 +29,7 @@
     <dependencies>
         <dependency>
             <groupId>org.apache.shardingsphere</groupId>
-            
<artifactId>shardingsphere-infra-algorithm-load-balancer-core</artifactId>
+            
<artifactId>shardingsphere-infra-algorithm-load-balancer-spi</artifactId>
             <version>${project.version}</version>
         </dependency>
     </dependencies>
diff --git a/infra/algorithm/type/message-digest/pom.xml 
b/infra/algorithm/type/message-digest/pom.xml
index 4f4e9bbf9df..cf9ef7474ff 100644
--- a/infra/algorithm/type/message-digest/pom.xml
+++ b/infra/algorithm/type/message-digest/pom.xml
@@ -28,7 +28,7 @@
     <name>${project.artifactId}</name>
     
     <modules>
-        <module>core</module>
+        <module>spi</module>
         <module>type</module>
     </modules>
 </project>
diff --git a/infra/algorithm/type/message-digest/core/pom.xml 
b/infra/algorithm/type/message-digest/spi/pom.xml
similarity index 95%
rename from infra/algorithm/type/message-digest/core/pom.xml
rename to infra/algorithm/type/message-digest/spi/pom.xml
index 8b7f37ff03f..d38820920a0 100644
--- a/infra/algorithm/type/message-digest/core/pom.xml
+++ b/infra/algorithm/type/message-digest/spi/pom.xml
@@ -23,7 +23,7 @@
         <artifactId>shardingsphere-infra-algorithm-message-digest</artifactId>
         <version>5.5.3-SNAPSHOT</version>
     </parent>
-    <artifactId>shardingsphere-infra-algorithm-message-digest-core</artifactId>
+    <artifactId>shardingsphere-infra-algorithm-message-digest-spi</artifactId>
     <name>${project.artifactId}</name>
     
     <dependencies>
diff --git 
a/infra/algorithm/type/message-digest/core/src/main/java/org/apache/shardingsphere/infra/algorithm/messagedigest/core/MessageDigestAlgorithm.java
 
b/infra/algorithm/type/message-digest/spi/src/main/java/org/apache/shardingsphere/infra/algorithm/messagedigest/core/MessageDigestAlgorithm.java
similarity index 100%
rename from 
infra/algorithm/type/message-digest/core/src/main/java/org/apache/shardingsphere/infra/algorithm/messagedigest/core/MessageDigestAlgorithm.java
rename to 
infra/algorithm/type/message-digest/spi/src/main/java/org/apache/shardingsphere/infra/algorithm/messagedigest/core/MessageDigestAlgorithm.java
diff --git a/infra/algorithm/type/message-digest/type/md5/pom.xml 
b/infra/algorithm/type/message-digest/type/md5/pom.xml
index 2e468d128bf..c2099f7edff 100644
--- a/infra/algorithm/type/message-digest/type/md5/pom.xml
+++ b/infra/algorithm/type/message-digest/type/md5/pom.xml
@@ -29,7 +29,7 @@
     <dependencies>
         <dependency>
             <groupId>org.apache.shardingsphere</groupId>
-            
<artifactId>shardingsphere-infra-algorithm-message-digest-core</artifactId>
+            
<artifactId>shardingsphere-infra-algorithm-message-digest-spi</artifactId>
             <version>${project.version}</version>
         </dependency>
         
diff --git a/infra/distsql-handler/pom.xml b/infra/distsql-handler/pom.xml
index 70970675dc7..c42ac3430b6 100644
--- a/infra/distsql-handler/pom.xml
+++ b/infra/distsql-handler/pom.xml
@@ -34,12 +34,12 @@
         </dependency>
         <dependency>
             <groupId>org.apache.shardingsphere</groupId>
-            
<artifactId>shardingsphere-infra-algorithm-key-generator-core</artifactId>
+            
<artifactId>shardingsphere-infra-algorithm-key-generator-spi</artifactId>
             <version>${project.version}</version>
         </dependency>
         <dependency>
             <groupId>org.apache.shardingsphere</groupId>
-            
<artifactId>shardingsphere-infra-algorithm-load-balancer-core</artifactId>
+            
<artifactId>shardingsphere-infra-algorithm-load-balancer-spi</artifactId>
             <version>${project.version}</version>
         </dependency>
         <dependency>

Reply via email to