Skip to content

Commit

Permalink
Add missing renames. (#17)
Browse files Browse the repository at this point in the history
Signed-off-by: Yury-Fridlyand <[email protected]>
  • Loading branch information
Yury-Fridlyand authored Sep 27, 2023
1 parent 5161c62 commit 7122a23
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 12 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/java-benchmark.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -43,4 +43,4 @@ jobs:
with:
name: test-reports-${{ matrix.java }}
path: |
java/jabushka/benchmarks/build/reports/**
java/benchmarks/build/reports/**
10 changes: 5 additions & 5 deletions .github/workflows/java.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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/**
6 changes: 3 additions & 3 deletions java/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
4 changes: 2 additions & 2 deletions java/client/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down

0 comments on commit 7122a23

Please sign in to comment.