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 7ab1fde8b3d Rename ProxyPersistRepositoryFixture (#34979) 7ab1fde8b3d is described below commit 7ab1fde8b3db286851d9961fc5b847522fd1d158 Author: Liang Zhang <zhangli...@apache.org> AuthorDate: Thu Mar 13 23:51:23 2025 +0800 Rename ProxyPersistRepositoryFixture (#34979) * Remove useless PersistRepositoryConfigurationFixture * Rename ProxyPersistRepositoryFixture * Rename ProxyPersistRepositoryFixture --- proxy/backend/core/src/test/resources/conf/swap/global.yaml | 2 +- ...rsistRepositoryFixture.java => ProxyPersistRepositoryFixture.java} | 4 ++-- ...he.shardingsphere.mode.repository.cluster.ClusterPersistRepository | 2 +- proxy/bootstrap/src/test/resources/conf/local/global.yaml | 2 +- proxy/bootstrap/src/test/resources/conf/reg_center/global.yaml | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/proxy/backend/core/src/test/resources/conf/swap/global.yaml b/proxy/backend/core/src/test/resources/conf/swap/global.yaml index d14fb8c6561..d3c2c1515ab 100644 --- a/proxy/backend/core/src/test/resources/conf/swap/global.yaml +++ b/proxy/backend/core/src/test/resources/conf/swap/global.yaml @@ -18,7 +18,7 @@ mode: type: Cluster repository: - type: GOV_FIXTURE + type: PROXY_FIXTURE props: namespace: governance_ds server-lists: localhost:2181 diff --git a/proxy/bootstrap/src/test/java/org/apache/shardingsphere/proxy/fixture/ClusterPersistRepositoryFixture.java b/proxy/bootstrap/src/test/java/org/apache/shardingsphere/proxy/fixture/ProxyPersistRepositoryFixture.java similarity index 96% rename from proxy/bootstrap/src/test/java/org/apache/shardingsphere/proxy/fixture/ClusterPersistRepositoryFixture.java rename to proxy/bootstrap/src/test/java/org/apache/shardingsphere/proxy/fixture/ProxyPersistRepositoryFixture.java index 3df9e6cbd75..bb54e942dd1 100644 --- a/proxy/bootstrap/src/test/java/org/apache/shardingsphere/proxy/fixture/ClusterPersistRepositoryFixture.java +++ b/proxy/bootstrap/src/test/java/org/apache/shardingsphere/proxy/fixture/ProxyPersistRepositoryFixture.java @@ -30,7 +30,7 @@ import java.util.List; import java.util.Map; import java.util.Properties; -public final class ClusterPersistRepositoryFixture implements ClusterPersistRepository { +public final class ProxyPersistRepositoryFixture implements ClusterPersistRepository { private static final Map<String, String> REGISTRY_DATA = new LinkedHashMap<>(); @@ -96,6 +96,6 @@ public final class ClusterPersistRepositoryFixture implements ClusterPersistRepo @Override public String getType() { - return "GOV_FIXTURE"; + return "PROXY_FIXTURE"; } } diff --git a/proxy/bootstrap/src/test/resources/META-INF/services/org.apache.shardingsphere.mode.repository.cluster.ClusterPersistRepository b/proxy/bootstrap/src/test/resources/META-INF/services/org.apache.shardingsphere.mode.repository.cluster.ClusterPersistRepository index d615eeb94de..47481831be2 100644 --- a/proxy/bootstrap/src/test/resources/META-INF/services/org.apache.shardingsphere.mode.repository.cluster.ClusterPersistRepository +++ b/proxy/bootstrap/src/test/resources/META-INF/services/org.apache.shardingsphere.mode.repository.cluster.ClusterPersistRepository @@ -15,4 +15,4 @@ # limitations under the License. # -org.apache.shardingsphere.proxy.fixture.ClusterPersistRepositoryFixture +org.apache.shardingsphere.proxy.fixture.ProxyPersistRepositoryFixture diff --git a/proxy/bootstrap/src/test/resources/conf/local/global.yaml b/proxy/bootstrap/src/test/resources/conf/local/global.yaml index 0bf9f9ffa90..de9d310d91c 100644 --- a/proxy/bootstrap/src/test/resources/conf/local/global.yaml +++ b/proxy/bootstrap/src/test/resources/conf/local/global.yaml @@ -18,7 +18,7 @@ mode: type: Cluster repository: - type: GOV_FIXTURE + type: PROXY_FIXTURE props: namespace: governance_ds server-lists: localhost:2181 diff --git a/proxy/bootstrap/src/test/resources/conf/reg_center/global.yaml b/proxy/bootstrap/src/test/resources/conf/reg_center/global.yaml index 50eb902ffcc..acd8d35210e 100644 --- a/proxy/bootstrap/src/test/resources/conf/reg_center/global.yaml +++ b/proxy/bootstrap/src/test/resources/conf/reg_center/global.yaml @@ -18,7 +18,7 @@ mode: type: Cluster repository: - type: GOV_FIXTURE + type: PROXY_FIXTURE props: namespace: governance_ds server-lists: localhost:2181