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 acc56142ec0 Rename package name from
org.apache.shardingsphere.db.protocol to
org.apache.shardingsphere.database.protocol (#36374)
acc56142ec0 is described below
commit acc56142ec087c0e0f0f32a7712a6b574aa4ec10
Author: Liang Zhang <[email protected]>
AuthorDate: Wed Aug 20 23:26:08 2025 +0800
Rename package name from org.apache.shardingsphere.db.protocol to
org.apache.shardingsphere.database.protocol (#36374)
---
.../codec/OpenGaussPacketCodecEngineTest.java | 2 +-
.../OpenGaussAuthenticationHexDataTest.java | 2 +-
...enGaussAuthenticationSCRAMSha256PacketTest.java | 2 +-
.../command/OpenGaussCommandPacketFactoryTest.java | 2 +-
.../command/OpenGaussCommandPacketTypeTest.java | 2 +-
.../reachability-metadata.json | 30 +++++++++++-----------
6 files changed, 20 insertions(+), 20 deletions(-)
diff --git
a/database/protocol/type/opengauss/src/test/java/org/apache/shardingsphere/db/protocol/opengauss/codec/OpenGaussPacketCodecEngineTest.java
b/database/protocol/type/opengauss/src/test/java/org/apache/shardingsphere/database/protocol/opengauss/packet/command/codec/OpenGaussPacketCodecEngineTest.java
similarity index 98%
rename from
database/protocol/type/opengauss/src/test/java/org/apache/shardingsphere/db/protocol/opengauss/codec/OpenGaussPacketCodecEngineTest.java
rename to
database/protocol/type/opengauss/src/test/java/org/apache/shardingsphere/database/protocol/opengauss/packet/command/codec/OpenGaussPacketCodecEngineTest.java
index 483e56f532f..5618443abf6 100644
---
a/database/protocol/type/opengauss/src/test/java/org/apache/shardingsphere/db/protocol/opengauss/codec/OpenGaussPacketCodecEngineTest.java
+++
b/database/protocol/type/opengauss/src/test/java/org/apache/shardingsphere/database/protocol/opengauss/packet/command/codec/OpenGaussPacketCodecEngineTest.java
@@ -15,7 +15,7 @@
* limitations under the License.
*/
-package org.apache.shardingsphere.db.protocol.opengauss.codec;
+package
org.apache.shardingsphere.database.protocol.opengauss.packet.command.codec;
import io.netty.buffer.ByteBuf;
import io.netty.channel.ChannelHandlerContext;
diff --git
a/database/protocol/type/opengauss/src/test/java/org/apache/shardingsphere/db/protocol/opengauss/packet/authentication/OpenGaussAuthenticationHexDataTest.java
b/database/protocol/type/opengauss/src/test/java/org/apache/shardingsphere/database/protocol/opengauss/packet/command/packet/authentication/OpenGaussAuthenticationHexDataTest.java
similarity index 93%
rename from
database/protocol/type/opengauss/src/test/java/org/apache/shardingsphere/db/protocol/opengauss/packet/authentication/OpenGaussAuthenticationHexDataTest.java
rename to
database/protocol/type/opengauss/src/test/java/org/apache/shardingsphere/database/protocol/opengauss/packet/command/packet/authentication/OpenGaussAuthenticationHexDataTest.java
index 18475c040fa..51ea07c87f1 100644
---
a/database/protocol/type/opengauss/src/test/java/org/apache/shardingsphere/db/protocol/opengauss/packet/authentication/OpenGaussAuthenticationHexDataTest.java
+++
b/database/protocol/type/opengauss/src/test/java/org/apache/shardingsphere/database/protocol/opengauss/packet/command/packet/authentication/OpenGaussAuthenticationHexDataTest.java
@@ -15,7 +15,7 @@
* limitations under the License.
*/
-package org.apache.shardingsphere.db.protocol.opengauss.packet.authentication;
+package
org.apache.shardingsphere.database.protocol.opengauss.packet.command.packet.authentication;
import
org.apache.shardingsphere.database.protocol.opengauss.packet.authentication.OpenGaussAuthenticationHexData;
import org.junit.jupiter.api.Test;
diff --git
a/database/protocol/type/opengauss/src/test/java/org/apache/shardingsphere/db/protocol/opengauss/packet/authentication/OpenGaussAuthenticationSCRAMSha256PacketTest.java
b/database/protocol/type/opengauss/src/test/java/org/apache/shardingsphere/database/protocol/opengauss/packet/command/packet/authentication/OpenGaussAuthenticationSCRAMSha256PacketTest.java
similarity index 97%
rename from
database/protocol/type/opengauss/src/test/java/org/apache/shardingsphere/db/protocol/opengauss/packet/authentication/OpenGaussAuthenticationSCRAMSha256PacketTest.java
rename to
database/protocol/type/opengauss/src/test/java/org/apache/shardingsphere/database/protocol/opengauss/packet/command/packet/authentication/OpenGaussAuthenticationSCRAMSha256PacketTest.java
index b125ae2f4b5..a32ea5ea35d 100644
---
a/database/protocol/type/opengauss/src/test/java/org/apache/shardingsphere/db/protocol/opengauss/packet/authentication/OpenGaussAuthenticationSCRAMSha256PacketTest.java
+++
b/database/protocol/type/opengauss/src/test/java/org/apache/shardingsphere/database/protocol/opengauss/packet/command/packet/authentication/OpenGaussAuthenticationSCRAMSha256PacketTest.java
@@ -15,7 +15,7 @@
* limitations under the License.
*/
-package org.apache.shardingsphere.db.protocol.opengauss.packet.authentication;
+package
org.apache.shardingsphere.database.protocol.opengauss.packet.command.packet.authentication;
import
org.apache.shardingsphere.database.protocol.opengauss.constant.OpenGaussProtocolVersion;
import
org.apache.shardingsphere.database.protocol.opengauss.packet.authentication.OpenGaussAuthenticationHexData;
diff --git
a/database/protocol/type/opengauss/src/test/java/org/apache/shardingsphere/db/protocol/opengauss/packet/command/OpenGaussCommandPacketFactoryTest.java
b/database/protocol/type/opengauss/src/test/java/org/apache/shardingsphere/database/protocol/opengauss/packet/command/packet/command/OpenGaussCommandPacketFactoryTest.java
similarity index 96%
rename from
database/protocol/type/opengauss/src/test/java/org/apache/shardingsphere/db/protocol/opengauss/packet/command/OpenGaussCommandPacketFactoryTest.java
rename to
database/protocol/type/opengauss/src/test/java/org/apache/shardingsphere/database/protocol/opengauss/packet/command/packet/command/OpenGaussCommandPacketFactoryTest.java
index 3a6efacb141..6578ef4713e 100644
---
a/database/protocol/type/opengauss/src/test/java/org/apache/shardingsphere/db/protocol/opengauss/packet/command/OpenGaussCommandPacketFactoryTest.java
+++
b/database/protocol/type/opengauss/src/test/java/org/apache/shardingsphere/database/protocol/opengauss/packet/command/packet/command/OpenGaussCommandPacketFactoryTest.java
@@ -15,7 +15,7 @@
* limitations under the License.
*/
-package org.apache.shardingsphere.db.protocol.opengauss.packet.command;
+package
org.apache.shardingsphere.database.protocol.opengauss.packet.command.packet.command;
import io.netty.buffer.ByteBuf;
import
org.apache.shardingsphere.database.protocol.opengauss.packet.command.OpenGaussCommandPacketFactory;
diff --git
a/database/protocol/type/opengauss/src/test/java/org/apache/shardingsphere/db/protocol/opengauss/packet/command/OpenGaussCommandPacketTypeTest.java
b/database/protocol/type/opengauss/src/test/java/org/apache/shardingsphere/database/protocol/opengauss/packet/command/packet/command/OpenGaussCommandPacketTypeTest.java
similarity index 94%
rename from
database/protocol/type/opengauss/src/test/java/org/apache/shardingsphere/db/protocol/opengauss/packet/command/OpenGaussCommandPacketTypeTest.java
rename to
database/protocol/type/opengauss/src/test/java/org/apache/shardingsphere/database/protocol/opengauss/packet/command/packet/command/OpenGaussCommandPacketTypeTest.java
index 4be2df3c5aa..9a1f8f69785 100644
---
a/database/protocol/type/opengauss/src/test/java/org/apache/shardingsphere/db/protocol/opengauss/packet/command/OpenGaussCommandPacketTypeTest.java
+++
b/database/protocol/type/opengauss/src/test/java/org/apache/shardingsphere/database/protocol/opengauss/packet/command/packet/command/OpenGaussCommandPacketTypeTest.java
@@ -15,7 +15,7 @@
* limitations under the License.
*/
-package org.apache.shardingsphere.db.protocol.opengauss.packet.command;
+package
org.apache.shardingsphere.database.protocol.opengauss.packet.command.packet.command;
import
org.apache.shardingsphere.database.protocol.opengauss.packet.command.OpenGaussCommandPacketType;
import
org.apache.shardingsphere.database.protocol.packet.command.CommandPacketType;
diff --git
a/infra/reachability-metadata/src/main/resources/META-INF/native-image/org.apache.shardingsphere/generated-reachability-metadata/reachability-metadata.json
b/infra/reachability-metadata/src/main/resources/META-INF/native-image/org.apache.shardingsphere/generated-reachability-metadata/reachability-metadata.json
index d731704e803..ee2c5b9d4a9 100644
---
a/infra/reachability-metadata/src/main/resources/META-INF/native-image/org.apache.shardingsphere/generated-reachability-metadata/reachability-metadata.json
+++
b/infra/reachability-metadata/src/main/resources/META-INF/native-image/org.apache.shardingsphere/generated-reachability-metadata/reachability-metadata.json
@@ -2251,49 +2251,49 @@
"condition": {
"typeReached":
"org.apache.shardingsphere.proxy.frontend.netty.ServerHandlerInitializer"
},
- "type": "org.apache.shardingsphere.db.protocol.codec.PacketCodec"
+ "type": "org.apache.shardingsphere.database.protocol.codec.PacketCodec"
},
{
"condition": {
- "typeReached":
"org.apache.shardingsphere.db.protocol.constant.DatabaseProtocolServerInfo"
+ "typeReached":
"org.apache.shardingsphere.database.protocol.constant.DatabaseProtocolServerInfo"
},
- "type":
"org.apache.shardingsphere.db.protocol.firebird.constant.FirebirdProtocolDefaultVersionProvider"
+ "type":
"org.apache.shardingsphere.database.protocol.firebird.constant.FirebirdProtocolDefaultVersionProvider"
},
{
"condition": {
- "typeReached":
"org.apache.shardingsphere.db.protocol.constant.DatabaseProtocolServerInfo"
+ "typeReached":
"org.apache.shardingsphere.database.protocol.constant.DatabaseProtocolServerInfo"
},
- "type":
"org.apache.shardingsphere.db.protocol.mysql.constant.MySQLProtocolDefaultVersionProvider"
+ "type":
"org.apache.shardingsphere.database.protocol.mysql.constant.MySQLProtocolDefaultVersionProvider"
},
{
"condition": {
"typeReached":
"org.apache.shardingsphere.proxy.frontend.mysql.MySQLFrontendEngine"
},
- "type":
"org.apache.shardingsphere.db.protocol.mysql.netty.MySQLSequenceIdInboundHandler"
+ "type":
"org.apache.shardingsphere.database.protocol.mysql.netty.MySQLSequenceIdInboundHandler"
},
{
"condition": {
"typeReached":
"org.apache.shardingsphere.proxy.frontend.netty.ServerHandlerInitializer"
},
- "type":
"org.apache.shardingsphere.db.protocol.netty.ChannelAttrInitializer"
+ "type":
"org.apache.shardingsphere.database.protocol.netty.ChannelAttrInitializer"
},
{
"condition": {
"typeReached":
"org.apache.shardingsphere.proxy.frontend.netty.ServerHandlerInitializer"
},
- "type":
"org.apache.shardingsphere.db.protocol.netty.ProxyFlowControlHandler"
+ "type":
"org.apache.shardingsphere.database.protocol.netty.ProxyFlowControlHandler"
},
{
"condition": {
- "typeReached":
"org.apache.shardingsphere.db.protocol.constant.DatabaseProtocolServerInfo"
+ "typeReached":
"org.apache.shardingsphere.database.protocol.constant.DatabaseProtocolServerInfo"
},
- "type":
"org.apache.shardingsphere.db.protocol.opengauss.constant.OpenGaussProtocolDefaultVersionProvider"
+ "type":
"org.apache.shardingsphere.database.protocol.opengauss.constant.OpenGaussProtocolDefaultVersionProvider"
},
{
"condition": {
- "typeReached":
"org.apache.shardingsphere.db.protocol.constant.DatabaseProtocolServerInfo"
+ "typeReached":
"org.apache.shardingsphere.database.protocol.constant.DatabaseProtocolServerInfo"
},
- "type":
"org.apache.shardingsphere.db.protocol.postgresql.constant.PostgreSQLProtocolDefaultVersionProvider"
+ "type":
"org.apache.shardingsphere.database.protocol.postgresql.constant.PostgreSQLProtocolDefaultVersionProvider"
},
{
"condition": {
@@ -12470,7 +12470,7 @@
},
{
"condition": {
- "typeReached":
"org.apache.shardingsphere.db.protocol.mysql.constant.MySQLCharacterSet"
+ "typeReached":
"org.apache.shardingsphere.database.protocol.mysql.constant.MySQLCharacterSet"
},
"glob": "META-INF/services/java.nio.charset.spi.CharsetProvider"
},
@@ -12578,9 +12578,9 @@
},
{
"condition": {
- "typeReached":
"org.apache.shardingsphere.db.protocol.constant.DatabaseProtocolServerInfo"
+ "typeReached":
"org.apache.shardingsphere.database.protocol.constant.DatabaseProtocolServerInfo"
},
- "glob":
"META-INF/services/org.apache.shardingsphere.db.protocol.constant.DatabaseProtocolDefaultVersionProvider"
+ "glob":
"META-INF/services/org.apache.shardingsphere.database.protocol.constant.DatabaseProtocolDefaultVersionProvider"
},
{
"condition": {