From bca92e06839100f605ace31586ef0b52a4ac7233 Mon Sep 17 00:00:00 2001 From: "shantanu.tiwari" Date: Tue, 14 Apr 2026 12:26:08 +0530 Subject: [PATCH 1/2] Update Sonar Key --- .github/workflows/sonarcloud-checks.yml | 2 +- README.md | 2 +- pom.xml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/sonarcloud-checks.yml b/.github/workflows/sonarcloud-checks.yml index 570c34c..1ad684a 100644 --- a/.github/workflows/sonarcloud-checks.yml +++ b/.github/workflows/sonarcloud-checks.yml @@ -36,5 +36,5 @@ jobs: ACCESS_TOKEN: ${{ secrets.PPE_ACCESS_TOKEN }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information, if any SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} - run: mvn -B verify org.sonarsource.scanner.maven:sonar-maven-plugin:sonar -Dsonar.projectKey=PhonePe_distributed-latch + run: mvn -B verify org.sonarsource.scanner.maven:sonar-maven-plugin:sonar -Dsonar.projectKey=PhonePe_DistributedLatch diff --git a/README.md b/README.md index d13c410..10e5fec 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # Distributed Latch -[![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=PhonePe_distributed-latch&metric=alert_status)](https://sonarcloud.io/summary/new_code?id=PhonePe_distributed-latch) +[![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=PhonePe_DistributedLatch&metric=alert_status)](https://sonarcloud.io/summary/new_code?id=PhonePe_distributed-latch) Distributed synchronization is a common requirement in service-oriented architectures, where a set of distributed workers need to signal completion to a coordinator. Java's built-in `CountDownLatch` only works within a single JVM. diff --git a/pom.xml b/pom.xml index 8b43567..28cd87d 100644 --- a/pom.xml +++ b/pom.xml @@ -93,7 +93,7 @@ 3.9.1.2184 - PhonePe_distributed-latch + PhonePe_DistributedLatch phonepe https://sonarcloud.io src/main From 233045e4281ab1cd0022566c3d12fa0c6f14d6c9 Mon Sep 17 00:00:00 2001 From: "shantanu.tiwari" Date: Tue, 14 Apr 2026 12:48:41 +0530 Subject: [PATCH 2/2] Fix project name --- CONTRIBUTING.md | 6 +++--- README.md | 4 ++-- docs/docs/getting-started.md | 6 +++--- docs/zensical.toml | 6 +++--- pom.xml | 12 ++++++------ 5 files changed, 17 insertions(+), 17 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 2b4a84a..825e665 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -6,7 +6,7 @@ Thank you for considering contributing to Distributed Latch! We welcome contribu ### Reporting Bugs -- Check the [issue tracker](https://github.com/PhonePe/distributed-latch/issues) to see if the bug has already been reported. +- Check the [issue tracker](https://github.com/PhonePe/DistributedLatch/issues) to see if the bug has already been reported. - If not, open a new issue with a clear title, description, steps to reproduce, and expected vs actual behavior. ### Suggesting Features @@ -18,8 +18,8 @@ Thank you for considering contributing to Distributed Latch! We welcome contribu 1. **Fork** the repository on GitHub. 2. **Clone** your fork locally: ```bash - git clone https://github.com//distributed-latch.git - cd distributed-latch + git clone https://github.com//DistributedLatch.git + cd DistributedLatch ``` 3. **Create a branch** for your change: ```bash diff --git a/README.md b/README.md index 10e5fec..92dcc29 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # Distributed Latch -[![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=PhonePe_DistributedLatch&metric=alert_status)](https://sonarcloud.io/summary/new_code?id=PhonePe_distributed-latch) +[![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=PhonePe_DistributedLatch&metric=alert_status)](https://sonarcloud.io/summary/new_code?id=PhonePe_DistributedLatch) Distributed synchronization is a common requirement in service-oriented architectures, where a set of distributed workers need to signal completion to a coordinator. Java's built-in `CountDownLatch` only works within a single JVM. @@ -23,7 +23,7 @@ backed by a pluggable distributed storage layer. ``` -> Replace `${distributed-latch.version}` with the latest version from [Maven Central](https://central.sonatype.com/artifact/com.phonepe/distributed-latch) or [GitHub Releases](https://github.com/PhonePe/distributed-latch/releases). +> Replace `${distributed-latch.version}` with the latest version from [Maven Central](https://central.sonatype.com/artifact/com.phonepe/distributed-latch) or [GitHub Releases](https://github.com/PhonePe/DistributedLatch/releases). ### Usage diff --git a/docs/docs/getting-started.md b/docs/docs/getting-started.md index a95212a..ef27909 100644 --- a/docs/docs/getting-started.md +++ b/docs/docs/getting-started.md @@ -17,13 +17,13 @@ ``` -Replace `${distributed-latch.version}` with the latest version from [Maven Central](https://central.sonatype.com/artifact/com.phonepe/distributed-latch) or [GitHub Releases](https://github.com/PhonePe/distributed-latch/releases). +Replace `${distributed-latch.version}` with the latest version from [Maven Central](https://central.sonatype.com/artifact/com.phonepe/distributed-latch) or [GitHub Releases](https://github.com/PhonePe/DistributedLatch/releases). ## Build Locally ```bash -git clone https://github.com/PhonePe/distributed-latch.git -cd distributed-latch +git clone https://github.com/PhonePe/DistributedLatch.git +cd DistributedLatch mvn clean install ``` diff --git a/docs/zensical.toml b/docs/zensical.toml index 3acce3e..53e6277 100644 --- a/docs/zensical.toml +++ b/docs/zensical.toml @@ -1,8 +1,8 @@ [project] site_name = "Distributed Latch" -site_url = "https://phonepe.github.io/distributed-latch" -repo_url = "https://github.com/PhonePe/distributed-latch" -copyright = "Copyright © 2024-2026 PhonePe India Pvt. Ltd." +site_url = "https://phonepe.github.io/DistributedLatch" +repo_url = "https://github.com/PhonePe/DistributedLatch" +copyright = "Copyright © 2026 PhonePe India Pvt. Ltd." nav = [ {"Home" = "index.md"}, diff --git a/pom.xml b/pom.xml index 28cd87d..59745f8 100644 --- a/pom.xml +++ b/pom.xml @@ -7,15 +7,15 @@ distributed-latch 1.0.0-SNAPSHOT - https://github.com/PhonePe/distributed-latch + https://github.com/PhonePe/DistributedLatch Distributed Latch 2026 - scm:git:https://github.com/PhonePe/distributed-latch.git - scm:git:https://github.com/PhonePe/distributed-latch.git + scm:git:https://github.com/PhonePe/DistributedLatch.git + scm:git:https://github.com/PhonePe/DistributedLatch.git HEAD - https://github.com/PhonePe/distributed-latch.git + https://github.com/PhonePe/DistributedLatch.git @@ -50,12 +50,12 @@ GitHub Issues - https://github.com/PhonePe/distributed-latch/issues + https://github.com/PhonePe/DistributedLatch/issues Travis CI - https://travis-ci.org/PhonePe/distributed-latch + https://travis-ci.org/PhonePe/DistributedLatch