Skip to content
This repository has been archived by the owner on Nov 27, 2023. It is now read-only.

Commit

Permalink
chore: drop custom grpc framework
Browse files Browse the repository at this point in the history
Signed-off-by: tison <[email protected]>
  • Loading branch information
tisonkun committed Apr 11, 2023
1 parent 624d047 commit ec1578c
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 30 deletions.
1 change: 0 additions & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@
<!-- lib dependencies -->
<assertj.version>3.24.2</assertj.version>
<commons-io.version>2.11.0</commons-io.version>
<grpc.version>1.54.0</grpc.version>
<jetbrains-annotations.version>24.0.1</jetbrains-annotations.version>
<junit.version>5.9.2</junit.version>
<lombok.version>1.18.26</lombok.version>
Expand Down
8 changes: 0 additions & 8 deletions zeronos-bom/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -32,14 +32,6 @@

<dependencyManagement>
<dependencies>
<dependency>
<groupId>io.grpc</groupId>
<artifactId>grpc-bom</artifactId>
<version>${grpc.version}</version>
<type>pom</type>
<scope>import</scope>
</dependency>

<dependency>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
Expand Down
16 changes: 0 additions & 16 deletions zeronos-proto/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -39,18 +39,6 @@
<groupId>com.google.protobuf</groupId>
<artifactId>protobuf-java</artifactId>
</dependency>
<dependency>
<groupId>io.grpc</groupId>
<artifactId>grpc-protobuf</artifactId>
</dependency>
<dependency>
<groupId>io.grpc</groupId>
<artifactId>grpc-services</artifactId>
</dependency>
<dependency>
<groupId>io.grpc</groupId>
<artifactId>grpc-stub</artifactId>
</dependency>
</dependencies>

<build>
Expand All @@ -61,18 +49,14 @@
<version>${protobuf-maven-plugin.version}</version>
<configuration>
<protocArtifact>com.google.protobuf:protoc:${protoc3.version}:exe:${os.detected.classifier}</protocArtifact>
<pluginId>grpc-java</pluginId>
<pluginArtifact>io.grpc:protoc-gen-grpc-java:${grpc.version}:exe:${os.detected.classifier}</pluginArtifact>
<checkStaleness>true</checkStaleness>
</configuration>
<executions>
<execution>
<phase>generate-sources</phase>
<goals>
<goal>compile</goal>
<goal>compile-custom</goal>
<goal>test-compile</goal>
<goal>test-compile-custom</goal>
</goals>
</execution>
</executions>
Expand Down
5 changes: 0 additions & 5 deletions zeronos-proto/src/main/proto/rpc.proto
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,6 @@ option java_multiple_files = true;
option java_outer_classname = 'RpcProtos';
option java_generate_equals_and_hash = true;

service KV {
rpc Range(RangeRequest) returns (RangeResponse) {}
rpc Put(PutRequest) returns (PutResponse) {}
}

message ResponseHeader {
int64 revision = 1;
}
Expand Down

0 comments on commit ec1578c

Please sign in to comment.