You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by su...@apache.org on 2024/02/26 04:44:54 UTC
(shardingsphere-plugin) 01/01: Merge pull request #28 from strongduanmu/dev-0226
This is an automated email from the ASF dual-hosted git repository.
sunnianjun pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/shardingsphere-plugin.git
commit 149feb97d328432c0e70f541d3b1014e3e191a62
Merge: e212714 f69a111
Author: 孙念君 Nianjun Sun <su...@apache.org>
AuthorDate: Mon Feb 26 12:44:48 2024 +0800
Merge pull request #28 from strongduanmu/dev-0226
Add mode consul plugin in ShardingSphere Plugin repository
README.md | 33 +++
README_ZH.md | 33 +++
mode/cluster/repository/consul/pom.xml | 85 +++++++
.../cluster/consul/ConsulRepository.java | 254 +++++++++++++++++++++
.../cluster/consul/ShardingSphereConsulClient.java | 36 +++
.../cluster/consul/ShardingSphereQueryParams.java | 48 ++++
.../cluster/consul/lock/ConsulDistributedLock.java | 166 ++++++++++++++
.../consul/lock/ConsulDistributedLockCreator.java | 39 ++++
.../cluster/consul/props/ConsulProperties.java | 32 +++
.../cluster/consul/props/ConsulPropertyKey.java | 46 ++++
...ode.repository.cluster.ClusterPersistRepository | 18 ++
...ory.cluster.lock.creator.DistributedLockCreator | 18 ++
.../cluster/consul/ConsulRepositoryTest.java | 237 +++++++++++++++++++
.../cluster/consul/props/ConsulPropertiesTest.java | 41 ++++
mode/cluster/repository/pom.xml | 1 +
15 files changed, 1087 insertions(+)