Skip to content

Commit 1389fb9

Browse files
author
Alexander Furer
committed
closes #37, release v2.0.1
1 parent 2955db6 commit 1389fb9

File tree

5 files changed

+37
-13
lines changed

5 files changed

+37
-13
lines changed

ReleaseNotes.adoc

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
== Version 2.0.1
2+
- gRPC version upgraded to 1.2.0
3+
- Spring Boot version upgraded to 1.4.5
4+
15
== Version 2.0.0
26
- gRPC version upgraded to 1.1.1
37
- Spring Boot version upgraded to 1.4.4

build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
apply plugin: 'idea'
22
buildscript {
33
ext {
4-
springBootVersion = '1.4.4.RELEASE'
5-
grpcVersion = '1.1.1'
4+
springBootVersion = '1.4.5.RELEASE'
5+
grpcVersion = '1.2.0'
66
}
77
repositories {
88
mavenCentral()

gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
version=2.0.1-SNAPSHOT
1+
version=2.0.1
22
group=org.lognet
33
description=Spring Boot starter for Google RPC.
44
gitHubUrl=https\://github.com/LogNet/grpc-spring-boot-starter

grpc-spring-boot-starter-demo/src/main/protoGen/io/grpc/examples/CalculatorGrpc.java

Lines changed: 15 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,26 @@
11
package io.grpc.examples;
22

3+
import static io.grpc.stub.ClientCalls.asyncUnaryCall;
4+
import static io.grpc.stub.ClientCalls.asyncServerStreamingCall;
5+
import static io.grpc.stub.ClientCalls.asyncClientStreamingCall;
6+
import static io.grpc.stub.ClientCalls.asyncBidiStreamingCall;
7+
import static io.grpc.stub.ClientCalls.blockingUnaryCall;
8+
import static io.grpc.stub.ClientCalls.blockingServerStreamingCall;
9+
import static io.grpc.stub.ClientCalls.futureUnaryCall;
310
import static io.grpc.MethodDescriptor.generateFullMethodName;
4-
import static io.grpc.stub.ClientCalls.*;
511
import static io.grpc.stub.ServerCalls.asyncUnaryCall;
12+
import static io.grpc.stub.ServerCalls.asyncServerStreamingCall;
13+
import static io.grpc.stub.ServerCalls.asyncClientStreamingCall;
14+
import static io.grpc.stub.ServerCalls.asyncBidiStreamingCall;
615
import static io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall;
16+
import static io.grpc.stub.ServerCalls.asyncUnimplementedStreamingCall;
717

818
/**
919
*/
1020
@javax.annotation.Generated(
11-
value = "by gRPC proto compiler (version 1.1.1)",
21+
value = "by gRPC proto compiler (version 1.2.0)",
1222
comments = "Source: calculator.proto")
13-
public class CalculatorGrpc {
23+
public final class CalculatorGrpc {
1424

1525
private CalculatorGrpc() {}
1626

@@ -156,15 +166,15 @@ public com.google.common.util.concurrent.ListenableFuture<io.grpc.examples.Calcu
156166

157167
private static final int METHODID_CALCULATE = 0;
158168

159-
private static class MethodHandlers<Req, Resp> implements
169+
private static final class MethodHandlers<Req, Resp> implements
160170
io.grpc.stub.ServerCalls.UnaryMethod<Req, Resp>,
161171
io.grpc.stub.ServerCalls.ServerStreamingMethod<Req, Resp>,
162172
io.grpc.stub.ServerCalls.ClientStreamingMethod<Req, Resp>,
163173
io.grpc.stub.ServerCalls.BidiStreamingMethod<Req, Resp> {
164174
private final CalculatorImplBase serviceImpl;
165175
private final int methodId;
166176

167-
public MethodHandlers(CalculatorImplBase serviceImpl, int methodId) {
177+
MethodHandlers(CalculatorImplBase serviceImpl, int methodId) {
168178
this.serviceImpl = serviceImpl;
169179
this.methodId = methodId;
170180
}

grpc-spring-boot-starter-demo/src/main/protoGen/io/grpc/examples/GreeterGrpc.java

Lines changed: 15 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,29 @@
11
package io.grpc.examples;
22

3+
import static io.grpc.stub.ClientCalls.asyncUnaryCall;
4+
import static io.grpc.stub.ClientCalls.asyncServerStreamingCall;
5+
import static io.grpc.stub.ClientCalls.asyncClientStreamingCall;
6+
import static io.grpc.stub.ClientCalls.asyncBidiStreamingCall;
7+
import static io.grpc.stub.ClientCalls.blockingUnaryCall;
8+
import static io.grpc.stub.ClientCalls.blockingServerStreamingCall;
9+
import static io.grpc.stub.ClientCalls.futureUnaryCall;
310
import static io.grpc.MethodDescriptor.generateFullMethodName;
4-
import static io.grpc.stub.ClientCalls.*;
511
import static io.grpc.stub.ServerCalls.asyncUnaryCall;
12+
import static io.grpc.stub.ServerCalls.asyncServerStreamingCall;
13+
import static io.grpc.stub.ServerCalls.asyncClientStreamingCall;
14+
import static io.grpc.stub.ServerCalls.asyncBidiStreamingCall;
615
import static io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall;
16+
import static io.grpc.stub.ServerCalls.asyncUnimplementedStreamingCall;
717

818
/**
919
* <pre>
1020
* The greeter service definition.
1121
* </pre>
1222
*/
1323
@javax.annotation.Generated(
14-
value = "by gRPC proto compiler (version 1.1.1)",
24+
value = "by gRPC proto compiler (version 1.2.0)",
1525
comments = "Source: greeter.proto")
16-
public class GreeterGrpc {
26+
public final class GreeterGrpc {
1727

1828
private GreeterGrpc() {}
1929

@@ -183,15 +193,15 @@ public com.google.common.util.concurrent.ListenableFuture<io.grpc.examples.Greet
183193

184194
private static final int METHODID_SAY_HELLO = 0;
185195

186-
private static class MethodHandlers<Req, Resp> implements
196+
private static final class MethodHandlers<Req, Resp> implements
187197
io.grpc.stub.ServerCalls.UnaryMethod<Req, Resp>,
188198
io.grpc.stub.ServerCalls.ServerStreamingMethod<Req, Resp>,
189199
io.grpc.stub.ServerCalls.ClientStreamingMethod<Req, Resp>,
190200
io.grpc.stub.ServerCalls.BidiStreamingMethod<Req, Resp> {
191201
private final GreeterImplBase serviceImpl;
192202
private final int methodId;
193203

194-
public MethodHandlers(GreeterImplBase serviceImpl, int methodId) {
204+
MethodHandlers(GreeterImplBase serviceImpl, int methodId) {
195205
this.serviceImpl = serviceImpl;
196206
this.methodId = methodId;
197207
}

0 commit comments

Comments
 (0)