From 7122a239e5df128d5f5a2802642cff37672806e1 Mon Sep 17 00:00:00 2001 From: Yury-Fridlyand Date: Wed, 27 Sep 2023 10:02:38 -0700 Subject: [PATCH] Add missing renames. (#17) Signed-off-by: Yury-Fridlyand --- .github/workflows/java-benchmark.yml | 4 ++-- .github/workflows/java.yml | 10 +++++----- java/README.md | 6 +++--- java/client/build.gradle | 4 ++-- 4 files changed, 12 insertions(+), 12 deletions(-) diff --git a/.github/workflows/java-benchmark.yml b/.github/workflows/java-benchmark.yml index 88303fd3a4..a26167b39c 100644 --- a/.github/workflows/java-benchmark.yml +++ b/.github/workflows/java-benchmark.yml @@ -33,7 +33,7 @@ jobs: run: docker run -p 6379:6379 -p 8001:8001 -d redis/redis-stack - name: Run benchmarks - working-directory: java/jabushka + working-directory: java run: ./gradlew :benchmark:run - name: Upload test reports @@ -43,4 +43,4 @@ jobs: with: name: test-reports-${{ matrix.java }} path: | - java/jabushka/benchmarks/build/reports/** + java/benchmarks/build/reports/** diff --git a/.github/workflows/java.yml b/.github/workflows/java.yml index 1927cbe58f..716746ed21 100644 --- a/.github/workflows/java.yml +++ b/.github/workflows/java.yml @@ -38,8 +38,8 @@ jobs: run: | sudo apt update sudo apt install -y protobuf-compiler - mkdir -p java/jabushka/jabushka/src/main/java/org/babushka/jabushka/generated - protoc -Iprotobuf=babushka-core/src/protobuf/ --java_out=java/jabushka/jabushka/src/main/java/org/babushka/jabushka/generated babushka-core/src/protobuf/*.proto + mkdir -p java/client/src/main/java/org/babushka/javababushka/generated + protoc -Iprotobuf=babushka-core/src/protobuf/ --java_out=java/client/src/main/java/org/babushka/javababushka/generated babushka-core/src/protobuf/*.proto - name: Build rust part working-directory: java @@ -49,7 +49,7 @@ jobs: run: docker run -p 6379:6379 -p 8001:8001 -d redis/redis-stack - name: Build java part - working-directory: java/jabushka + working-directory: java run: ./gradlew --continue build - name: Upload test reports @@ -59,5 +59,5 @@ jobs: with: name: test-reports-${{ matrix.java }} path: | - java/jabushka/jabushka/build/reports/** - java/jabushka/integTest/build/reports/** + java/client/build/reports/** + java/integTest/build/reports/** diff --git a/java/README.md b/java/README.md index 69b38c9cde..66afd3c3b6 100644 --- a/java/README.md +++ b/java/README.md @@ -6,11 +6,11 @@ language api to enhance performance and limit cpu cycles at scale. ## Organization -The Java client (javabushka) contains the following parts: +The Java client (javababushka) contains the following parts: 1. A Java client (lib folder): wrapper to rust-client -2. An examples script: to sanity test javabushka and similar java-clients against a redis host -3. A benchmark app: to performance benchmark test javabushka and similar java-clients against a redis host +2. An examples script: to sanity test javababushka and similar java-clients against a redis host +3. A benchmark app: to performance benchmark test javababushka and similar java-clients against a redis host ## Building diff --git a/java/client/build.gradle b/java/client/build.gradle index b60dc6adfc..d99f81ba7a 100644 --- a/java/client/build.gradle +++ b/java/client/build.gradle @@ -14,11 +14,11 @@ dependencies { tasks.register('protobuf', Exec) { doFirst { - project.mkdir(Paths.get(project.projectDir.path, 'src/main/java/org/babushka/jabushka/generated').toString()) + project.mkdir(Paths.get(project.projectDir.path, 'src/main/java/org/babushka/javababushka/generated').toString()) } commandLine 'protoc', '-Iprotobuf=babushka-core/src/protobuf/', - '--java_out=java/jabushka/jabushka/src/main/java/org/babushka/jabushka/generated', + '--java_out=java/client/src/main/java/org/babushka/javababushka/generated', 'babushka-core/src/protobuf/connection_request.proto', 'babushka-core/src/protobuf/redis_request.proto', 'babushka-core/src/protobuf/response.proto'