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 52590ef665e Refactor package of mode.node.path.config (#34646) 52590ef665e is described below commit 52590ef665e7ea28c03907e84f4d922204bcbbf5 Author: Liang Zhang <zhangli...@apache.org> AuthorDate: Wed Feb 12 21:41:46 2025 +0800 Refactor package of mode.node.path.config (#34646) --- .../metadata/nodepath/BroadcastRuleNodePathProvider.java | 2 +- .../metadata/nodepath/BroadcastRuleNodePathProviderTest.java | 2 +- .../encrypt/metadata/nodepath/EncryptRuleNodePathProvider.java | 2 +- .../metadata/nodepath/EncryptRuleNodePathProviderTest.java | 2 +- .../mask/metadata/nodepath/MaskRuleNodePathProvider.java | 2 +- .../mask/metadata/nodepath/MaskRuleNodePathProviderTest.java | 2 +- .../metadata/nodepath/ReadwriteSplittingRuleNodePathProvider.java | 2 +- .../nodepath/ReadwriteSplittingRuleNodePathProviderTest.java | 2 +- .../shadow/metadata/nodepath/ShadowRuleNodePathProvider.java | 2 +- .../shadow/metadata/nodepath/ShadowRuleNodePathProviderTest.java | 2 +- .../sharding/metadata/nodepath/ShardingRuleNodePathProvider.java | 2 +- .../metadata/nodepath/ShardingRuleNodePathProviderTest.java | 2 +- .../single/metadata/nodepath/SingleRuleNodePathProvider.java | 2 +- .../single/metadata/nodepath/SingleRuleNodePathProviderTest.java | 2 +- .../metadata/changed/executor/RuleItemChangedBuildExecutor.java | 2 +- .../changed/executor/type/RuleItemAlteredBuildExecutor.java | 6 +++--- .../changed/executor/type/RuleItemDroppedBuildExecutor.java | 6 +++--- .../metadata/persist/config/global/GlobalRulePersistService.java | 2 +- .../metadata/persist/config/global/PropertiesPersistService.java | 2 +- .../mode/node/path/config/{rule => database}/RuleNodePath.java | 8 ++++---- .../config/{rule => database}/item/NamedRuleItemNodePath.java | 4 ++-- .../config/{rule => database}/item/UniqueRuleItemNodePath.java | 4 ++-- .../path/config/{rule => database}/root/RuleRootNodePath.java | 2 +- .../node/path/config/{ => global}/GlobalPropertiesNodePath.java | 2 +- .../mode/node/path/config/{ => global}/GlobalRuleNodePath.java | 2 +- .../apache/shardingsphere/mode/node/spi/RuleNodePathProvider.java | 2 +- .../mode/node/tuple/YamlRepositoryTupleSwapperEngine.java | 4 ++-- .../node/path/config/{rule => database}/RuleNodePathTest.java | 6 +++--- .../config/{rule => database}/item/NamedRuleItemNodePathTest.java | 4 ++-- .../{rule => database}/item/UniqueRuleItemNodePathTest.java | 4 ++-- .../path/config/{rule => database}/root/RuleRootNodePathTest.java | 2 +- .../path/config/{ => global}/GlobalPropertiesNodePathTest.java | 2 +- .../node/path/config/{ => global}/GlobalRuleNodePathTest.java | 2 +- .../mode/node/tuple/fixture/node/RuleNodePathProviderFixture.java | 2 +- .../dispatch/handler/global/type/GlobalRuleChangedHandler.java | 2 +- .../dispatch/handler/global/type/PropertiesChangedHandler.java | 2 +- .../database/rule/RuleConfigurationChangedHandlerTest.java | 2 +- 37 files changed, 51 insertions(+), 51 deletions(-) diff --git a/features/broadcast/core/src/main/java/org/apache/shardingsphere/broadcast/metadata/nodepath/BroadcastRuleNodePathProvider.java b/features/broadcast/core/src/main/java/org/apache/shardingsphere/broadcast/metadata/nodepath/BroadcastRuleNodePathProvider.java index 12c78b2a5f7..afa0f96cdf1 100644 --- a/features/broadcast/core/src/main/java/org/apache/shardingsphere/broadcast/metadata/nodepath/BroadcastRuleNodePathProvider.java +++ b/features/broadcast/core/src/main/java/org/apache/shardingsphere/broadcast/metadata/nodepath/BroadcastRuleNodePathProvider.java @@ -19,7 +19,7 @@ package org.apache.shardingsphere.broadcast.metadata.nodepath; import org.apache.shardingsphere.broadcast.config.BroadcastRuleConfiguration; import org.apache.shardingsphere.infra.config.rule.RuleConfiguration; -import org.apache.shardingsphere.mode.node.path.config.rule.RuleNodePath; +import org.apache.shardingsphere.mode.node.path.config.database.RuleNodePath; import org.apache.shardingsphere.mode.node.spi.RuleNodePathProvider; import java.util.Collections; diff --git a/features/broadcast/core/src/test/java/org/apache/shardingsphere/broadcast/metadata/nodepath/BroadcastRuleNodePathProviderTest.java b/features/broadcast/core/src/test/java/org/apache/shardingsphere/broadcast/metadata/nodepath/BroadcastRuleNodePathProviderTest.java index 6cd58f9a859..c5a2556612c 100644 --- a/features/broadcast/core/src/test/java/org/apache/shardingsphere/broadcast/metadata/nodepath/BroadcastRuleNodePathProviderTest.java +++ b/features/broadcast/core/src/test/java/org/apache/shardingsphere/broadcast/metadata/nodepath/BroadcastRuleNodePathProviderTest.java @@ -19,7 +19,7 @@ package org.apache.shardingsphere.broadcast.metadata.nodepath; import org.apache.shardingsphere.broadcast.config.BroadcastRuleConfiguration; import org.apache.shardingsphere.infra.spi.type.typed.TypedSPILoader; -import org.apache.shardingsphere.mode.node.path.config.rule.RuleNodePath; +import org.apache.shardingsphere.mode.node.path.config.database.RuleNodePath; import org.apache.shardingsphere.mode.node.spi.RuleNodePathProvider; import org.junit.jupiter.api.Test; diff --git a/features/encrypt/core/src/main/java/org/apache/shardingsphere/encrypt/metadata/nodepath/EncryptRuleNodePathProvider.java b/features/encrypt/core/src/main/java/org/apache/shardingsphere/encrypt/metadata/nodepath/EncryptRuleNodePathProvider.java index bcfd593f72d..a32c4e95021 100644 --- a/features/encrypt/core/src/main/java/org/apache/shardingsphere/encrypt/metadata/nodepath/EncryptRuleNodePathProvider.java +++ b/features/encrypt/core/src/main/java/org/apache/shardingsphere/encrypt/metadata/nodepath/EncryptRuleNodePathProvider.java @@ -19,7 +19,7 @@ package org.apache.shardingsphere.encrypt.metadata.nodepath; import org.apache.shardingsphere.encrypt.config.EncryptRuleConfiguration; import org.apache.shardingsphere.infra.config.rule.RuleConfiguration; -import org.apache.shardingsphere.mode.node.path.config.rule.RuleNodePath; +import org.apache.shardingsphere.mode.node.path.config.database.RuleNodePath; import org.apache.shardingsphere.mode.node.spi.RuleNodePathProvider; import java.util.Arrays; diff --git a/features/encrypt/core/src/test/java/org/apache/shardingsphere/encrypt/metadata/nodepath/EncryptRuleNodePathProviderTest.java b/features/encrypt/core/src/test/java/org/apache/shardingsphere/encrypt/metadata/nodepath/EncryptRuleNodePathProviderTest.java index d391b70ffcc..22a7d89c7bc 100644 --- a/features/encrypt/core/src/test/java/org/apache/shardingsphere/encrypt/metadata/nodepath/EncryptRuleNodePathProviderTest.java +++ b/features/encrypt/core/src/test/java/org/apache/shardingsphere/encrypt/metadata/nodepath/EncryptRuleNodePathProviderTest.java @@ -19,7 +19,7 @@ package org.apache.shardingsphere.encrypt.metadata.nodepath; import org.apache.shardingsphere.encrypt.config.EncryptRuleConfiguration; import org.apache.shardingsphere.infra.spi.type.typed.TypedSPILoader; -import org.apache.shardingsphere.mode.node.path.config.rule.RuleNodePath; +import org.apache.shardingsphere.mode.node.path.config.database.RuleNodePath; import org.apache.shardingsphere.mode.node.spi.RuleNodePathProvider; import org.junit.jupiter.api.Test; diff --git a/features/mask/core/src/main/java/org/apache/shardingsphere/mask/metadata/nodepath/MaskRuleNodePathProvider.java b/features/mask/core/src/main/java/org/apache/shardingsphere/mask/metadata/nodepath/MaskRuleNodePathProvider.java index 781e3d01d62..34c533d7135 100644 --- a/features/mask/core/src/main/java/org/apache/shardingsphere/mask/metadata/nodepath/MaskRuleNodePathProvider.java +++ b/features/mask/core/src/main/java/org/apache/shardingsphere/mask/metadata/nodepath/MaskRuleNodePathProvider.java @@ -19,7 +19,7 @@ package org.apache.shardingsphere.mask.metadata.nodepath; import org.apache.shardingsphere.infra.config.rule.RuleConfiguration; import org.apache.shardingsphere.mask.config.MaskRuleConfiguration; -import org.apache.shardingsphere.mode.node.path.config.rule.RuleNodePath; +import org.apache.shardingsphere.mode.node.path.config.database.RuleNodePath; import org.apache.shardingsphere.mode.node.spi.RuleNodePathProvider; import java.util.Arrays; diff --git a/features/mask/core/src/test/java/org/apache/shardingsphere/mask/metadata/nodepath/MaskRuleNodePathProviderTest.java b/features/mask/core/src/test/java/org/apache/shardingsphere/mask/metadata/nodepath/MaskRuleNodePathProviderTest.java index f24b5493473..933ff3baf8e 100644 --- a/features/mask/core/src/test/java/org/apache/shardingsphere/mask/metadata/nodepath/MaskRuleNodePathProviderTest.java +++ b/features/mask/core/src/test/java/org/apache/shardingsphere/mask/metadata/nodepath/MaskRuleNodePathProviderTest.java @@ -19,7 +19,7 @@ package org.apache.shardingsphere.mask.metadata.nodepath; import org.apache.shardingsphere.infra.spi.type.typed.TypedSPILoader; import org.apache.shardingsphere.mask.config.MaskRuleConfiguration; -import org.apache.shardingsphere.mode.node.path.config.rule.RuleNodePath; +import org.apache.shardingsphere.mode.node.path.config.database.RuleNodePath; import org.apache.shardingsphere.mode.node.spi.RuleNodePathProvider; import org.junit.jupiter.api.Test; diff --git a/features/readwrite-splitting/core/src/main/java/org/apache/shardingsphere/readwritesplitting/metadata/nodepath/ReadwriteSplittingRuleNodePathProvider.java b/features/readwrite-splitting/core/src/main/java/org/apache/shardingsphere/readwritesplitting/metadata/nodepath/ReadwriteSplittingRuleNodePathProvider.java index 246cb0a59f3..53cb7ff275b 100644 --- a/features/readwrite-splitting/core/src/main/java/org/apache/shardingsphere/readwritesplitting/metadata/nodepath/ReadwriteSplittingRuleNodePathProvider.java +++ b/features/readwrite-splitting/core/src/main/java/org/apache/shardingsphere/readwritesplitting/metadata/nodepath/ReadwriteSplittingRuleNodePathProvider.java @@ -18,7 +18,7 @@ package org.apache.shardingsphere.readwritesplitting.metadata.nodepath; import org.apache.shardingsphere.infra.config.rule.RuleConfiguration; -import org.apache.shardingsphere.mode.node.path.config.rule.RuleNodePath; +import org.apache.shardingsphere.mode.node.path.config.database.RuleNodePath; import org.apache.shardingsphere.mode.node.spi.RuleNodePathProvider; import org.apache.shardingsphere.readwritesplitting.config.ReadwriteSplittingRuleConfiguration; diff --git a/features/readwrite-splitting/core/src/test/java/org/apache/shardingsphere/readwritesplitting/metadata/nodepath/ReadwriteSplittingRuleNodePathProviderTest.java b/features/readwrite-splitting/core/src/test/java/org/apache/shardingsphere/readwritesplitting/metadata/nodepath/ReadwriteSplittingRuleNodePathProviderTest.java index ec94dcdd77e..9ae5ab76067 100644 --- a/features/readwrite-splitting/core/src/test/java/org/apache/shardingsphere/readwritesplitting/metadata/nodepath/ReadwriteSplittingRuleNodePathProviderTest.java +++ b/features/readwrite-splitting/core/src/test/java/org/apache/shardingsphere/readwritesplitting/metadata/nodepath/ReadwriteSplittingRuleNodePathProviderTest.java @@ -18,7 +18,7 @@ package org.apache.shardingsphere.readwritesplitting.metadata.nodepath; import org.apache.shardingsphere.infra.spi.type.typed.TypedSPILoader; -import org.apache.shardingsphere.mode.node.path.config.rule.RuleNodePath; +import org.apache.shardingsphere.mode.node.path.config.database.RuleNodePath; import org.apache.shardingsphere.mode.node.spi.RuleNodePathProvider; import org.apache.shardingsphere.readwritesplitting.config.ReadwriteSplittingRuleConfiguration; import org.junit.jupiter.api.Test; diff --git a/features/shadow/core/src/main/java/org/apache/shardingsphere/shadow/metadata/nodepath/ShadowRuleNodePathProvider.java b/features/shadow/core/src/main/java/org/apache/shardingsphere/shadow/metadata/nodepath/ShadowRuleNodePathProvider.java index 0a3f3bedc93..d2b54e50ef2 100644 --- a/features/shadow/core/src/main/java/org/apache/shardingsphere/shadow/metadata/nodepath/ShadowRuleNodePathProvider.java +++ b/features/shadow/core/src/main/java/org/apache/shardingsphere/shadow/metadata/nodepath/ShadowRuleNodePathProvider.java @@ -18,7 +18,7 @@ package org.apache.shardingsphere.shadow.metadata.nodepath; import org.apache.shardingsphere.infra.config.rule.RuleConfiguration; -import org.apache.shardingsphere.mode.node.path.config.rule.RuleNodePath; +import org.apache.shardingsphere.mode.node.path.config.database.RuleNodePath; import org.apache.shardingsphere.mode.node.spi.RuleNodePathProvider; import org.apache.shardingsphere.shadow.config.ShadowRuleConfiguration; diff --git a/features/shadow/core/src/test/java/org/apache/shardingsphere/shadow/metadata/nodepath/ShadowRuleNodePathProviderTest.java b/features/shadow/core/src/test/java/org/apache/shardingsphere/shadow/metadata/nodepath/ShadowRuleNodePathProviderTest.java index d59219690e1..6aac5462239 100644 --- a/features/shadow/core/src/test/java/org/apache/shardingsphere/shadow/metadata/nodepath/ShadowRuleNodePathProviderTest.java +++ b/features/shadow/core/src/test/java/org/apache/shardingsphere/shadow/metadata/nodepath/ShadowRuleNodePathProviderTest.java @@ -18,7 +18,7 @@ package org.apache.shardingsphere.shadow.metadata.nodepath; import org.apache.shardingsphere.infra.spi.type.typed.TypedSPILoader; -import org.apache.shardingsphere.mode.node.path.config.rule.RuleNodePath; +import org.apache.shardingsphere.mode.node.path.config.database.RuleNodePath; import org.apache.shardingsphere.mode.node.spi.RuleNodePathProvider; import org.apache.shardingsphere.shadow.config.ShadowRuleConfiguration; import org.junit.jupiter.api.Test; diff --git a/features/sharding/core/src/main/java/org/apache/shardingsphere/sharding/metadata/nodepath/ShardingRuleNodePathProvider.java b/features/sharding/core/src/main/java/org/apache/shardingsphere/sharding/metadata/nodepath/ShardingRuleNodePathProvider.java index f11b55c9fe4..9fab31bee24 100644 --- a/features/sharding/core/src/main/java/org/apache/shardingsphere/sharding/metadata/nodepath/ShardingRuleNodePathProvider.java +++ b/features/sharding/core/src/main/java/org/apache/shardingsphere/sharding/metadata/nodepath/ShardingRuleNodePathProvider.java @@ -18,7 +18,7 @@ package org.apache.shardingsphere.sharding.metadata.nodepath; import org.apache.shardingsphere.infra.config.rule.RuleConfiguration; -import org.apache.shardingsphere.mode.node.path.config.rule.RuleNodePath; +import org.apache.shardingsphere.mode.node.path.config.database.RuleNodePath; import org.apache.shardingsphere.mode.node.spi.RuleNodePathProvider; import org.apache.shardingsphere.sharding.api.config.ShardingRuleConfiguration; diff --git a/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/metadata/nodepath/ShardingRuleNodePathProviderTest.java b/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/metadata/nodepath/ShardingRuleNodePathProviderTest.java index 7a8811ff1ae..5372d1275d7 100644 --- a/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/metadata/nodepath/ShardingRuleNodePathProviderTest.java +++ b/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/metadata/nodepath/ShardingRuleNodePathProviderTest.java @@ -18,7 +18,7 @@ package org.apache.shardingsphere.sharding.metadata.nodepath; import org.apache.shardingsphere.infra.spi.type.typed.TypedSPILoader; -import org.apache.shardingsphere.mode.node.path.config.rule.RuleNodePath; +import org.apache.shardingsphere.mode.node.path.config.database.RuleNodePath; import org.apache.shardingsphere.mode.node.spi.RuleNodePathProvider; import org.apache.shardingsphere.sharding.api.config.ShardingRuleConfiguration; import org.hamcrest.collection.IsIterableContainingInAnyOrder; diff --git a/kernel/single/core/src/main/java/org/apache/shardingsphere/single/metadata/nodepath/SingleRuleNodePathProvider.java b/kernel/single/core/src/main/java/org/apache/shardingsphere/single/metadata/nodepath/SingleRuleNodePathProvider.java index e146b5fa959..843da9ea6a3 100644 --- a/kernel/single/core/src/main/java/org/apache/shardingsphere/single/metadata/nodepath/SingleRuleNodePathProvider.java +++ b/kernel/single/core/src/main/java/org/apache/shardingsphere/single/metadata/nodepath/SingleRuleNodePathProvider.java @@ -18,7 +18,7 @@ package org.apache.shardingsphere.single.metadata.nodepath; import org.apache.shardingsphere.infra.config.rule.RuleConfiguration; -import org.apache.shardingsphere.mode.node.path.config.rule.RuleNodePath; +import org.apache.shardingsphere.mode.node.path.config.database.RuleNodePath; import org.apache.shardingsphere.mode.node.spi.RuleNodePathProvider; import org.apache.shardingsphere.single.config.SingleRuleConfiguration; diff --git a/kernel/single/core/src/test/java/org/apache/shardingsphere/single/metadata/nodepath/SingleRuleNodePathProviderTest.java b/kernel/single/core/src/test/java/org/apache/shardingsphere/single/metadata/nodepath/SingleRuleNodePathProviderTest.java index b6bdbef9a04..27eb07e1e69 100644 --- a/kernel/single/core/src/test/java/org/apache/shardingsphere/single/metadata/nodepath/SingleRuleNodePathProviderTest.java +++ b/kernel/single/core/src/test/java/org/apache/shardingsphere/single/metadata/nodepath/SingleRuleNodePathProviderTest.java @@ -18,7 +18,7 @@ package org.apache.shardingsphere.single.metadata.nodepath; import org.apache.shardingsphere.infra.spi.type.typed.TypedSPILoader; -import org.apache.shardingsphere.mode.node.path.config.rule.RuleNodePath; +import org.apache.shardingsphere.mode.node.path.config.database.RuleNodePath; import org.apache.shardingsphere.mode.node.spi.RuleNodePathProvider; import org.apache.shardingsphere.single.config.SingleRuleConfiguration; import org.junit.jupiter.api.Test; diff --git a/mode/core/src/main/java/org/apache/shardingsphere/mode/metadata/changed/executor/RuleItemChangedBuildExecutor.java b/mode/core/src/main/java/org/apache/shardingsphere/mode/metadata/changed/executor/RuleItemChangedBuildExecutor.java index c392d2e4db1..31ee34cf696 100644 --- a/mode/core/src/main/java/org/apache/shardingsphere/mode/metadata/changed/executor/RuleItemChangedBuildExecutor.java +++ b/mode/core/src/main/java/org/apache/shardingsphere/mode/metadata/changed/executor/RuleItemChangedBuildExecutor.java @@ -17,7 +17,7 @@ package org.apache.shardingsphere.mode.metadata.changed.executor; -import org.apache.shardingsphere.mode.node.path.config.rule.RuleNodePath; +import org.apache.shardingsphere.mode.node.path.config.database.RuleNodePath; import org.apache.shardingsphere.mode.spi.rule.item.RuleChangedItem; import java.util.Optional; diff --git a/mode/core/src/main/java/org/apache/shardingsphere/mode/metadata/changed/executor/type/RuleItemAlteredBuildExecutor.java b/mode/core/src/main/java/org/apache/shardingsphere/mode/metadata/changed/executor/type/RuleItemAlteredBuildExecutor.java index c18cfb2c3f9..80511b319b6 100644 --- a/mode/core/src/main/java/org/apache/shardingsphere/mode/metadata/changed/executor/type/RuleItemAlteredBuildExecutor.java +++ b/mode/core/src/main/java/org/apache/shardingsphere/mode/metadata/changed/executor/type/RuleItemAlteredBuildExecutor.java @@ -18,9 +18,9 @@ package org.apache.shardingsphere.mode.metadata.changed.executor.type; import org.apache.shardingsphere.mode.metadata.changed.executor.RuleItemChangedBuildExecutor; -import org.apache.shardingsphere.mode.node.path.config.rule.RuleNodePath; -import org.apache.shardingsphere.mode.node.path.config.rule.item.NamedRuleItemNodePath; -import org.apache.shardingsphere.mode.node.path.config.rule.item.UniqueRuleItemNodePath; +import org.apache.shardingsphere.mode.node.path.config.database.RuleNodePath; +import org.apache.shardingsphere.mode.node.path.config.database.item.NamedRuleItemNodePath; +import org.apache.shardingsphere.mode.node.path.config.database.item.UniqueRuleItemNodePath; import org.apache.shardingsphere.mode.spi.rule.item.alter.AlterNamedRuleItem; import org.apache.shardingsphere.mode.spi.rule.item.alter.AlterRuleItem; import org.apache.shardingsphere.mode.spi.rule.item.alter.AlterUniqueRuleItem; diff --git a/mode/core/src/main/java/org/apache/shardingsphere/mode/metadata/changed/executor/type/RuleItemDroppedBuildExecutor.java b/mode/core/src/main/java/org/apache/shardingsphere/mode/metadata/changed/executor/type/RuleItemDroppedBuildExecutor.java index cf3fc7e6ee3..41e8c7929c7 100644 --- a/mode/core/src/main/java/org/apache/shardingsphere/mode/metadata/changed/executor/type/RuleItemDroppedBuildExecutor.java +++ b/mode/core/src/main/java/org/apache/shardingsphere/mode/metadata/changed/executor/type/RuleItemDroppedBuildExecutor.java @@ -18,9 +18,9 @@ package org.apache.shardingsphere.mode.metadata.changed.executor.type; import org.apache.shardingsphere.mode.metadata.changed.executor.RuleItemChangedBuildExecutor; -import org.apache.shardingsphere.mode.node.path.config.rule.RuleNodePath; -import org.apache.shardingsphere.mode.node.path.config.rule.item.NamedRuleItemNodePath; -import org.apache.shardingsphere.mode.node.path.config.rule.item.UniqueRuleItemNodePath; +import org.apache.shardingsphere.mode.node.path.config.database.RuleNodePath; +import org.apache.shardingsphere.mode.node.path.config.database.item.NamedRuleItemNodePath; +import org.apache.shardingsphere.mode.node.path.config.database.item.UniqueRuleItemNodePath; import org.apache.shardingsphere.mode.spi.rule.item.drop.DropNamedRuleItem; import org.apache.shardingsphere.mode.spi.rule.item.drop.DropRuleItem; import org.apache.shardingsphere.mode.spi.rule.item.drop.DropUniqueRuleItem; diff --git a/mode/core/src/main/java/org/apache/shardingsphere/mode/metadata/persist/config/global/GlobalRulePersistService.java b/mode/core/src/main/java/org/apache/shardingsphere/mode/metadata/persist/config/global/GlobalRulePersistService.java index 03ca1ed02b7..6cb80a107e8 100644 --- a/mode/core/src/main/java/org/apache/shardingsphere/mode/metadata/persist/config/global/GlobalRulePersistService.java +++ b/mode/core/src/main/java/org/apache/shardingsphere/mode/metadata/persist/config/global/GlobalRulePersistService.java @@ -22,7 +22,7 @@ import org.apache.shardingsphere.infra.yaml.config.pojo.rule.YamlRuleConfigurati import org.apache.shardingsphere.infra.yaml.config.swapper.rule.YamlRuleConfigurationSwapperEngine; import org.apache.shardingsphere.mode.metadata.persist.config.RepositoryTuplePersistService; import org.apache.shardingsphere.mode.metadata.persist.version.MetaDataVersionPersistService; -import org.apache.shardingsphere.mode.node.path.config.GlobalRuleNodePath; +import org.apache.shardingsphere.mode.node.path.config.global.GlobalRuleNodePath; import org.apache.shardingsphere.mode.node.path.version.VersionNodePathGenerator; import org.apache.shardingsphere.mode.node.tuple.RepositoryTuple; import org.apache.shardingsphere.mode.node.tuple.YamlRepositoryTupleSwapperEngine; diff --git a/mode/core/src/main/java/org/apache/shardingsphere/mode/metadata/persist/config/global/PropertiesPersistService.java b/mode/core/src/main/java/org/apache/shardingsphere/mode/metadata/persist/config/global/PropertiesPersistService.java index 1ecfc4acadb..30424f5d002 100644 --- a/mode/core/src/main/java/org/apache/shardingsphere/mode/metadata/persist/config/global/PropertiesPersistService.java +++ b/mode/core/src/main/java/org/apache/shardingsphere/mode/metadata/persist/config/global/PropertiesPersistService.java @@ -21,7 +21,7 @@ import com.google.common.base.Strings; import lombok.RequiredArgsConstructor; import org.apache.shardingsphere.infra.util.yaml.YamlEngine; import org.apache.shardingsphere.mode.metadata.persist.version.MetaDataVersionPersistService; -import org.apache.shardingsphere.mode.node.path.config.GlobalPropertiesNodePath; +import org.apache.shardingsphere.mode.node.path.config.global.GlobalPropertiesNodePath; import org.apache.shardingsphere.mode.node.path.version.VersionNodePathGenerator; import org.apache.shardingsphere.mode.spi.repository.PersistRepository; diff --git a/mode/node/src/main/java/org/apache/shardingsphere/mode/node/path/config/rule/RuleNodePath.java b/mode/node/src/main/java/org/apache/shardingsphere/mode/node/path/config/database/RuleNodePath.java similarity index 90% rename from mode/node/src/main/java/org/apache/shardingsphere/mode/node/path/config/rule/RuleNodePath.java rename to mode/node/src/main/java/org/apache/shardingsphere/mode/node/path/config/database/RuleNodePath.java index cebd4362ff1..6e777e8c78e 100644 --- a/mode/node/src/main/java/org/apache/shardingsphere/mode/node/path/config/rule/RuleNodePath.java +++ b/mode/node/src/main/java/org/apache/shardingsphere/mode/node/path/config/database/RuleNodePath.java @@ -15,12 +15,12 @@ * limitations under the License. */ -package org.apache.shardingsphere.mode.node.path.config.rule; +package org.apache.shardingsphere.mode.node.path.config.database; import lombok.Getter; -import org.apache.shardingsphere.mode.node.path.config.rule.item.NamedRuleItemNodePath; -import org.apache.shardingsphere.mode.node.path.config.rule.item.UniqueRuleItemNodePath; -import org.apache.shardingsphere.mode.node.path.config.rule.root.RuleRootNodePath; +import org.apache.shardingsphere.mode.node.path.config.database.item.NamedRuleItemNodePath; +import org.apache.shardingsphere.mode.node.path.config.database.item.UniqueRuleItemNodePath; +import org.apache.shardingsphere.mode.node.path.config.database.root.RuleRootNodePath; import java.util.Collection; import java.util.HashMap; diff --git a/mode/node/src/main/java/org/apache/shardingsphere/mode/node/path/config/rule/item/NamedRuleItemNodePath.java b/mode/node/src/main/java/org/apache/shardingsphere/mode/node/path/config/database/item/NamedRuleItemNodePath.java similarity index 93% rename from mode/node/src/main/java/org/apache/shardingsphere/mode/node/path/config/rule/item/NamedRuleItemNodePath.java rename to mode/node/src/main/java/org/apache/shardingsphere/mode/node/path/config/database/item/NamedRuleItemNodePath.java index 9cb326ee142..05f26ce1a6e 100644 --- a/mode/node/src/main/java/org/apache/shardingsphere/mode/node/path/config/rule/item/NamedRuleItemNodePath.java +++ b/mode/node/src/main/java/org/apache/shardingsphere/mode/node/path/config/database/item/NamedRuleItemNodePath.java @@ -15,11 +15,11 @@ * limitations under the License. */ -package org.apache.shardingsphere.mode.node.path.config.rule.item; +package org.apache.shardingsphere.mode.node.path.config.database.item; import lombok.Getter; import org.apache.shardingsphere.mode.node.path.NodePathPattern; -import org.apache.shardingsphere.mode.node.path.config.rule.root.RuleRootNodePath; +import org.apache.shardingsphere.mode.node.path.config.database.root.RuleRootNodePath; import org.apache.shardingsphere.mode.node.path.version.VersionNodePathParser; import java.util.Optional; diff --git a/mode/node/src/main/java/org/apache/shardingsphere/mode/node/path/config/rule/item/UniqueRuleItemNodePath.java b/mode/node/src/main/java/org/apache/shardingsphere/mode/node/path/config/database/item/UniqueRuleItemNodePath.java similarity index 92% rename from mode/node/src/main/java/org/apache/shardingsphere/mode/node/path/config/rule/item/UniqueRuleItemNodePath.java rename to mode/node/src/main/java/org/apache/shardingsphere/mode/node/path/config/database/item/UniqueRuleItemNodePath.java index 46f085bb5b4..f006139a324 100644 --- a/mode/node/src/main/java/org/apache/shardingsphere/mode/node/path/config/rule/item/UniqueRuleItemNodePath.java +++ b/mode/node/src/main/java/org/apache/shardingsphere/mode/node/path/config/database/item/UniqueRuleItemNodePath.java @@ -15,10 +15,10 @@ * limitations under the License. */ -package org.apache.shardingsphere.mode.node.path.config.rule.item; +package org.apache.shardingsphere.mode.node.path.config.database.item; import lombok.Getter; -import org.apache.shardingsphere.mode.node.path.config.rule.root.RuleRootNodePath; +import org.apache.shardingsphere.mode.node.path.config.database.root.RuleRootNodePath; import org.apache.shardingsphere.mode.node.path.version.VersionNodePathParser; /** diff --git a/mode/node/src/main/java/org/apache/shardingsphere/mode/node/path/config/rule/root/RuleRootNodePath.java b/mode/node/src/main/java/org/apache/shardingsphere/mode/node/path/config/database/root/RuleRootNodePath.java similarity index 95% rename from mode/node/src/main/java/org/apache/shardingsphere/mode/node/path/config/rule/root/RuleRootNodePath.java rename to mode/node/src/main/java/org/apache/shardingsphere/mode/node/path/config/database/root/RuleRootNodePath.java index 6c12370ae46..aa49fd21f8e 100644 --- a/mode/node/src/main/java/org/apache/shardingsphere/mode/node/path/config/rule/root/RuleRootNodePath.java +++ b/mode/node/src/main/java/org/apache/shardingsphere/mode/node/path/config/database/root/RuleRootNodePath.java @@ -15,7 +15,7 @@ * limitations under the License. */ -package org.apache.shardingsphere.mode.node.path.config.rule.root; +package org.apache.shardingsphere.mode.node.path.config.database.root; import lombok.Getter; diff --git a/mode/node/src/main/java/org/apache/shardingsphere/mode/node/path/config/GlobalPropertiesNodePath.java b/mode/node/src/main/java/org/apache/shardingsphere/mode/node/path/config/global/GlobalPropertiesNodePath.java similarity index 96% rename from mode/node/src/main/java/org/apache/shardingsphere/mode/node/path/config/GlobalPropertiesNodePath.java rename to mode/node/src/main/java/org/apache/shardingsphere/mode/node/path/config/global/GlobalPropertiesNodePath.java index 99a49a936ad..63e33c6983d 100644 --- a/mode/node/src/main/java/org/apache/shardingsphere/mode/node/path/config/GlobalPropertiesNodePath.java +++ b/mode/node/src/main/java/org/apache/shardingsphere/mode/node/path/config/global/GlobalPropertiesNodePath.java @@ -15,7 +15,7 @@ * limitations under the License. */ -package org.apache.shardingsphere.mode.node.path.config; +package org.apache.shardingsphere.mode.node.path.config.global; import lombok.AccessLevel; import lombok.NoArgsConstructor; diff --git a/mode/node/src/main/java/org/apache/shardingsphere/mode/node/path/config/GlobalRuleNodePath.java b/mode/node/src/main/java/org/apache/shardingsphere/mode/node/path/config/global/GlobalRuleNodePath.java similarity index 97% rename from mode/node/src/main/java/org/apache/shardingsphere/mode/node/path/config/GlobalRuleNodePath.java rename to mode/node/src/main/java/org/apache/shardingsphere/mode/node/path/config/global/GlobalRuleNodePath.java index 07997266446..29af6b315ff 100644 --- a/mode/node/src/main/java/org/apache/shardingsphere/mode/node/path/config/GlobalRuleNodePath.java +++ b/mode/node/src/main/java/org/apache/shardingsphere/mode/node/path/config/global/GlobalRuleNodePath.java @@ -15,7 +15,7 @@ * limitations under the License. */ -package org.apache.shardingsphere.mode.node.path.config; +package org.apache.shardingsphere.mode.node.path.config.global; import lombok.AccessLevel; import lombok.NoArgsConstructor; diff --git a/mode/node/src/main/java/org/apache/shardingsphere/mode/node/spi/RuleNodePathProvider.java b/mode/node/src/main/java/org/apache/shardingsphere/mode/node/spi/RuleNodePathProvider.java index 5094986b033..736e7fde6d7 100644 --- a/mode/node/src/main/java/org/apache/shardingsphere/mode/node/spi/RuleNodePathProvider.java +++ b/mode/node/src/main/java/org/apache/shardingsphere/mode/node/spi/RuleNodePathProvider.java @@ -20,7 +20,7 @@ package org.apache.shardingsphere.mode.node.spi; import org.apache.shardingsphere.infra.config.rule.RuleConfiguration; import org.apache.shardingsphere.infra.spi.annotation.SingletonSPI; import org.apache.shardingsphere.infra.spi.type.typed.TypedSPI; -import org.apache.shardingsphere.mode.node.path.config.rule.RuleNodePath; +import org.apache.shardingsphere.mode.node.path.config.database.RuleNodePath; /** * Rule node path provider. diff --git a/mode/node/src/main/java/org/apache/shardingsphere/mode/node/tuple/YamlRepositoryTupleSwapperEngine.java b/mode/node/src/main/java/org/apache/shardingsphere/mode/node/tuple/YamlRepositoryTupleSwapperEngine.java index 4ce51b065f1..99f68501341 100644 --- a/mode/node/src/main/java/org/apache/shardingsphere/mode/node/tuple/YamlRepositoryTupleSwapperEngine.java +++ b/mode/node/src/main/java/org/apache/shardingsphere/mode/node/tuple/YamlRepositoryTupleSwapperEngine.java @@ -29,8 +29,8 @@ import org.apache.shardingsphere.infra.yaml.config.pojo.rule.YamlGlobalRuleConfi import org.apache.shardingsphere.infra.yaml.config.pojo.rule.YamlRuleConfiguration; import org.apache.shardingsphere.infra.yaml.config.swapper.rule.YamlRuleConfigurationSwapper; import org.apache.shardingsphere.infra.yaml.config.swapper.rule.YamlRuleConfigurationSwapperEngine; -import org.apache.shardingsphere.mode.node.path.config.GlobalRuleNodePath; -import org.apache.shardingsphere.mode.node.path.config.rule.RuleNodePath; +import org.apache.shardingsphere.mode.node.path.config.global.GlobalRuleNodePath; +import org.apache.shardingsphere.mode.node.path.config.database.RuleNodePath; import org.apache.shardingsphere.mode.node.spi.RuleNodePathProvider; import org.apache.shardingsphere.mode.node.tuple.annotation.RepositoryTupleEntity; import org.apache.shardingsphere.mode.node.tuple.annotation.RepositoryTupleField; diff --git a/mode/node/src/test/java/org/apache/shardingsphere/mode/node/path/config/rule/RuleNodePathTest.java b/mode/node/src/test/java/org/apache/shardingsphere/mode/node/path/config/database/RuleNodePathTest.java similarity index 89% rename from mode/node/src/test/java/org/apache/shardingsphere/mode/node/path/config/rule/RuleNodePathTest.java rename to mode/node/src/test/java/org/apache/shardingsphere/mode/node/path/config/database/RuleNodePathTest.java index f2214f10f85..087b76b02cf 100644 --- a/mode/node/src/test/java/org/apache/shardingsphere/mode/node/path/config/rule/RuleNodePathTest.java +++ b/mode/node/src/test/java/org/apache/shardingsphere/mode/node/path/config/database/RuleNodePathTest.java @@ -15,10 +15,10 @@ * limitations under the License. */ -package org.apache.shardingsphere.mode.node.path.config.rule; +package org.apache.shardingsphere.mode.node.path.config.database; -import org.apache.shardingsphere.mode.node.path.config.rule.item.NamedRuleItemNodePath; -import org.apache.shardingsphere.mode.node.path.config.rule.item.UniqueRuleItemNodePath; +import org.apache.shardingsphere.mode.node.path.config.database.item.NamedRuleItemNodePath; +import org.apache.shardingsphere.mode.node.path.config.database.item.UniqueRuleItemNodePath; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; diff --git a/mode/node/src/test/java/org/apache/shardingsphere/mode/node/path/config/rule/item/NamedRuleItemNodePathTest.java b/mode/node/src/test/java/org/apache/shardingsphere/mode/node/path/config/database/item/NamedRuleItemNodePathTest.java similarity index 92% rename from mode/node/src/test/java/org/apache/shardingsphere/mode/node/path/config/rule/item/NamedRuleItemNodePathTest.java rename to mode/node/src/test/java/org/apache/shardingsphere/mode/node/path/config/database/item/NamedRuleItemNodePathTest.java index 9e469c42da8..17e891f48c6 100644 --- a/mode/node/src/test/java/org/apache/shardingsphere/mode/node/path/config/rule/item/NamedRuleItemNodePathTest.java +++ b/mode/node/src/test/java/org/apache/shardingsphere/mode/node/path/config/database/item/NamedRuleItemNodePathTest.java @@ -15,9 +15,9 @@ * limitations under the License. */ -package org.apache.shardingsphere.mode.node.path.config.rule.item; +package org.apache.shardingsphere.mode.node.path.config.database.item; -import org.apache.shardingsphere.mode.node.path.config.rule.root.RuleRootNodePath; +import org.apache.shardingsphere.mode.node.path.config.database.root.RuleRootNodePath; import org.junit.jupiter.api.Test; import java.util.Optional; diff --git a/mode/node/src/test/java/org/apache/shardingsphere/mode/node/path/config/rule/item/UniqueRuleItemNodePathTest.java b/mode/node/src/test/java/org/apache/shardingsphere/mode/node/path/config/database/item/UniqueRuleItemNodePathTest.java similarity index 90% rename from mode/node/src/test/java/org/apache/shardingsphere/mode/node/path/config/rule/item/UniqueRuleItemNodePathTest.java rename to mode/node/src/test/java/org/apache/shardingsphere/mode/node/path/config/database/item/UniqueRuleItemNodePathTest.java index 0921294a0ce..229676dec84 100644 --- a/mode/node/src/test/java/org/apache/shardingsphere/mode/node/path/config/rule/item/UniqueRuleItemNodePathTest.java +++ b/mode/node/src/test/java/org/apache/shardingsphere/mode/node/path/config/database/item/UniqueRuleItemNodePathTest.java @@ -15,9 +15,9 @@ * limitations under the License. */ -package org.apache.shardingsphere.mode.node.path.config.rule.item; +package org.apache.shardingsphere.mode.node.path.config.database.item; -import org.apache.shardingsphere.mode.node.path.config.rule.root.RuleRootNodePath; +import org.apache.shardingsphere.mode.node.path.config.database.root.RuleRootNodePath; import org.junit.jupiter.api.Test; import static org.hamcrest.CoreMatchers.is; diff --git a/mode/node/src/test/java/org/apache/shardingsphere/mode/node/path/config/rule/root/RuleRootNodePathTest.java b/mode/node/src/test/java/org/apache/shardingsphere/mode/node/path/config/database/root/RuleRootNodePathTest.java similarity index 95% rename from mode/node/src/test/java/org/apache/shardingsphere/mode/node/path/config/rule/root/RuleRootNodePathTest.java rename to mode/node/src/test/java/org/apache/shardingsphere/mode/node/path/config/database/root/RuleRootNodePathTest.java index e9aae299523..5685e117856 100644 --- a/mode/node/src/test/java/org/apache/shardingsphere/mode/node/path/config/rule/root/RuleRootNodePathTest.java +++ b/mode/node/src/test/java/org/apache/shardingsphere/mode/node/path/config/database/root/RuleRootNodePathTest.java @@ -15,7 +15,7 @@ * limitations under the License. */ -package org.apache.shardingsphere.mode.node.path.config.rule.root; +package org.apache.shardingsphere.mode.node.path.config.database.root; import org.junit.jupiter.api.Test; diff --git a/mode/node/src/test/java/org/apache/shardingsphere/mode/node/path/config/GlobalPropertiesNodePathTest.java b/mode/node/src/test/java/org/apache/shardingsphere/mode/node/path/config/global/GlobalPropertiesNodePathTest.java similarity index 95% rename from mode/node/src/test/java/org/apache/shardingsphere/mode/node/path/config/GlobalPropertiesNodePathTest.java rename to mode/node/src/test/java/org/apache/shardingsphere/mode/node/path/config/global/GlobalPropertiesNodePathTest.java index a109a8132e5..3acff1fa487 100644 --- a/mode/node/src/test/java/org/apache/shardingsphere/mode/node/path/config/GlobalPropertiesNodePathTest.java +++ b/mode/node/src/test/java/org/apache/shardingsphere/mode/node/path/config/global/GlobalPropertiesNodePathTest.java @@ -15,7 +15,7 @@ * limitations under the License. */ -package org.apache.shardingsphere.mode.node.path.config; +package org.apache.shardingsphere.mode.node.path.config.global; import org.junit.jupiter.api.Test; diff --git a/mode/node/src/test/java/org/apache/shardingsphere/mode/node/path/config/GlobalRuleNodePathTest.java b/mode/node/src/test/java/org/apache/shardingsphere/mode/node/path/config/global/GlobalRuleNodePathTest.java similarity index 97% rename from mode/node/src/test/java/org/apache/shardingsphere/mode/node/path/config/GlobalRuleNodePathTest.java rename to mode/node/src/test/java/org/apache/shardingsphere/mode/node/path/config/global/GlobalRuleNodePathTest.java index acb0ef75e93..c29cb09b5eb 100644 --- a/mode/node/src/test/java/org/apache/shardingsphere/mode/node/path/config/GlobalRuleNodePathTest.java +++ b/mode/node/src/test/java/org/apache/shardingsphere/mode/node/path/config/global/GlobalRuleNodePathTest.java @@ -15,7 +15,7 @@ * limitations under the License. */ -package org.apache.shardingsphere.mode.node.path.config; +package org.apache.shardingsphere.mode.node.path.config.global; import org.junit.jupiter.api.Test; diff --git a/mode/node/src/test/java/org/apache/shardingsphere/mode/node/tuple/fixture/node/RuleNodePathProviderFixture.java b/mode/node/src/test/java/org/apache/shardingsphere/mode/node/tuple/fixture/node/RuleNodePathProviderFixture.java index 22e4c284b55..e7284b98ea3 100644 --- a/mode/node/src/test/java/org/apache/shardingsphere/mode/node/tuple/fixture/node/RuleNodePathProviderFixture.java +++ b/mode/node/src/test/java/org/apache/shardingsphere/mode/node/tuple/fixture/node/RuleNodePathProviderFixture.java @@ -18,7 +18,7 @@ package org.apache.shardingsphere.mode.node.tuple.fixture.node; import org.apache.shardingsphere.infra.config.rule.RuleConfiguration; -import org.apache.shardingsphere.mode.node.path.config.rule.RuleNodePath; +import org.apache.shardingsphere.mode.node.path.config.database.RuleNodePath; import org.apache.shardingsphere.mode.node.spi.RuleNodePathProvider; import java.util.Arrays; diff --git a/mode/type/cluster/core/src/main/java/org/apache/shardingsphere/mode/manager/cluster/dispatch/handler/global/type/GlobalRuleChangedHandler.java b/mode/type/cluster/core/src/main/java/org/apache/shardingsphere/mode/manager/cluster/dispatch/handler/global/type/GlobalRuleChangedHandler.java index 9dae2a10d9a..2e9d1cc44e8 100644 --- a/mode/type/cluster/core/src/main/java/org/apache/shardingsphere/mode/manager/cluster/dispatch/handler/global/type/GlobalRuleChangedHandler.java +++ b/mode/type/cluster/core/src/main/java/org/apache/shardingsphere/mode/manager/cluster/dispatch/handler/global/type/GlobalRuleChangedHandler.java @@ -24,7 +24,7 @@ import org.apache.shardingsphere.mode.event.DataChangedEvent.Type; import org.apache.shardingsphere.mode.manager.ContextManager; import org.apache.shardingsphere.mode.manager.cluster.dispatch.checker.ActiveVersionChecker; import org.apache.shardingsphere.mode.manager.cluster.dispatch.handler.global.GlobalDataChangedEventHandler; -import org.apache.shardingsphere.mode.node.path.config.GlobalRuleNodePath; +import org.apache.shardingsphere.mode.node.path.config.global.GlobalRuleNodePath; import java.util.Arrays; import java.util.Collection; diff --git a/mode/type/cluster/core/src/main/java/org/apache/shardingsphere/mode/manager/cluster/dispatch/handler/global/type/PropertiesChangedHandler.java b/mode/type/cluster/core/src/main/java/org/apache/shardingsphere/mode/manager/cluster/dispatch/handler/global/type/PropertiesChangedHandler.java index 0d0c51e3167..f94d07ae4d7 100644 --- a/mode/type/cluster/core/src/main/java/org/apache/shardingsphere/mode/manager/cluster/dispatch/handler/global/type/PropertiesChangedHandler.java +++ b/mode/type/cluster/core/src/main/java/org/apache/shardingsphere/mode/manager/cluster/dispatch/handler/global/type/PropertiesChangedHandler.java @@ -22,7 +22,7 @@ import org.apache.shardingsphere.mode.event.DataChangedEvent.Type; import org.apache.shardingsphere.mode.manager.ContextManager; import org.apache.shardingsphere.mode.manager.cluster.dispatch.checker.ActiveVersionChecker; import org.apache.shardingsphere.mode.manager.cluster.dispatch.handler.global.GlobalDataChangedEventHandler; -import org.apache.shardingsphere.mode.node.path.config.GlobalPropertiesNodePath; +import org.apache.shardingsphere.mode.node.path.config.global.GlobalPropertiesNodePath; import java.util.Arrays; import java.util.Collection; diff --git a/mode/type/cluster/core/src/test/java/org/apache/shardingsphere/mode/manager/cluster/dispatch/handler/database/rule/RuleConfigurationChangedHandlerTest.java b/mode/type/cluster/core/src/test/java/org/apache/shardingsphere/mode/manager/cluster/dispatch/handler/database/rule/RuleConfigurationChangedHandlerTest.java index d095fe1bc77..cd5458da72f 100644 --- a/mode/type/cluster/core/src/test/java/org/apache/shardingsphere/mode/manager/cluster/dispatch/handler/database/rule/RuleConfigurationChangedHandlerTest.java +++ b/mode/type/cluster/core/src/test/java/org/apache/shardingsphere/mode/manager/cluster/dispatch/handler/database/rule/RuleConfigurationChangedHandlerTest.java @@ -21,7 +21,7 @@ import org.apache.shardingsphere.infra.spi.ShardingSphereServiceLoader; import org.apache.shardingsphere.mode.event.DataChangedEvent; import org.apache.shardingsphere.mode.event.DataChangedEvent.Type; import org.apache.shardingsphere.mode.manager.ContextManager; -import org.apache.shardingsphere.mode.node.path.config.rule.RuleNodePath; +import org.apache.shardingsphere.mode.node.path.config.database.RuleNodePath; import org.apache.shardingsphere.mode.node.spi.RuleNodePathProvider; import org.apache.shardingsphere.mode.spi.rule.item.alter.AlterNamedRuleItem; import org.apache.shardingsphere.mode.spi.rule.item.alter.AlterUniqueRuleItem;