Skip to content

Commit 7ab1fde

Browse files
authored
Rename ProxyPersistRepositoryFixture (#34979)
* Remove useless PersistRepositoryConfigurationFixture * Rename ProxyPersistRepositoryFixture * Rename ProxyPersistRepositoryFixture
1 parent 84fb8dd commit 7ab1fde

File tree

5 files changed

+6
-6
lines changed

5 files changed

+6
-6
lines changed

proxy/backend/core/src/test/resources/conf/swap/global.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
mode:
1919
type: Cluster
2020
repository:
21-
type: GOV_FIXTURE
21+
type: PROXY_FIXTURE
2222
props:
2323
namespace: governance_ds
2424
server-lists: localhost:2181

proxy/bootstrap/src/test/java/org/apache/shardingsphere/proxy/fixture/ClusterPersistRepositoryFixture.java proxy/bootstrap/src/test/java/org/apache/shardingsphere/proxy/fixture/ProxyPersistRepositoryFixture.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
import java.util.Map;
3131
import java.util.Properties;
3232

33-
public final class ClusterPersistRepositoryFixture implements ClusterPersistRepository {
33+
public final class ProxyPersistRepositoryFixture implements ClusterPersistRepository {
3434

3535
private static final Map<String, String> REGISTRY_DATA = new LinkedHashMap<>();
3636

@@ -96,6 +96,6 @@ public void close() {
9696

9797
@Override
9898
public String getType() {
99-
return "GOV_FIXTURE";
99+
return "PROXY_FIXTURE";
100100
}
101101
}

proxy/bootstrap/src/test/resources/META-INF/services/org.apache.shardingsphere.mode.repository.cluster.ClusterPersistRepository

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,4 @@
1515
# limitations under the License.
1616
#
1717

18-
org.apache.shardingsphere.proxy.fixture.ClusterPersistRepositoryFixture
18+
org.apache.shardingsphere.proxy.fixture.ProxyPersistRepositoryFixture

proxy/bootstrap/src/test/resources/conf/local/global.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
mode:
1919
type: Cluster
2020
repository:
21-
type: GOV_FIXTURE
21+
type: PROXY_FIXTURE
2222
props:
2323
namespace: governance_ds
2424
server-lists: localhost:2181

proxy/bootstrap/src/test/resources/conf/reg_center/global.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
mode:
1919
type: Cluster
2020
repository:
21-
type: GOV_FIXTURE
21+
type: PROXY_FIXTURE
2222
props:
2323
namespace: governance_ds
2424
server-lists: localhost:2181

0 commit comments

Comments
 (0)