Skip to content

Commit 5305753

Browse files
author
Alexander Furer
committed
release version=3.4.1
1 parent 4b02367 commit 5305753

File tree

6 files changed

+38
-21
lines changed

6 files changed

+38
-21
lines changed

README.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ repositories {
2727
2828
}
2929
dependencies {
30-
compile 'io.github.lognet:grpc-spring-boot-starter:3.4.0'
30+
compile 'io.github.lognet:grpc-spring-boot-starter:3.4.1'
3131
}
3232
3333

ReleaseNotes.adoc

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
== Version 3.4.1
2+
* gRPC version upgraded to 1.23.0
3+
14
== Version 3.4.0
25
* gRPC version upgraded to 1.22.1
36
* TLS support

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ buildscript {
22
ext {
33
springBoot_1_X_Version = '1.5.13.RELEASE'
44
springBoot_2_X_Version = '2.1.3.RELEASE'
5-
grpcVersion = '1.22.1'
5+
grpcVersion = '1.23.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=3.4.1-SNAPSHOT
1+
version=3.4.1
22
group=io.github.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: 16 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,24 @@
11
package io.grpc.examples;
22

33
import static io.grpc.MethodDescriptor.generateFullMethodName;
4+
import static io.grpc.stub.ClientCalls.asyncBidiStreamingCall;
5+
import static io.grpc.stub.ClientCalls.asyncClientStreamingCall;
6+
import static io.grpc.stub.ClientCalls.asyncServerStreamingCall;
47
import static io.grpc.stub.ClientCalls.asyncUnaryCall;
8+
import static io.grpc.stub.ClientCalls.blockingServerStreamingCall;
59
import static io.grpc.stub.ClientCalls.blockingUnaryCall;
610
import static io.grpc.stub.ClientCalls.futureUnaryCall;
11+
import static io.grpc.stub.ServerCalls.asyncBidiStreamingCall;
12+
import static io.grpc.stub.ServerCalls.asyncClientStreamingCall;
13+
import static io.grpc.stub.ServerCalls.asyncServerStreamingCall;
714
import static io.grpc.stub.ServerCalls.asyncUnaryCall;
15+
import static io.grpc.stub.ServerCalls.asyncUnimplementedStreamingCall;
816
import static io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall;
917

1018
/**
1119
*/
1220
@javax.annotation.Generated(
13-
value = "by gRPC proto compiler (version 1.22.1)",
21+
value = "by gRPC proto compiler (version 1.23.0)",
1422
comments = "Source: calculator.proto")
1523
public final class CalculatorGrpc {
1624

@@ -33,22 +41,21 @@ io.grpc.examples.CalculatorOuterClass.CalculatorResponse> getCalculateMethod() {
3341
if ((getCalculateMethod = CalculatorGrpc.getCalculateMethod) == null) {
3442
synchronized (CalculatorGrpc.class) {
3543
if ((getCalculateMethod = CalculatorGrpc.getCalculateMethod) == null) {
36-
CalculatorGrpc.getCalculateMethod = getCalculateMethod =
44+
CalculatorGrpc.getCalculateMethod = getCalculateMethod =
3745
io.grpc.MethodDescriptor.<io.grpc.examples.CalculatorOuterClass.CalculatorRequest, io.grpc.examples.CalculatorOuterClass.CalculatorResponse>newBuilder()
3846
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
39-
.setFullMethodName(generateFullMethodName(
40-
"Calculator", "Calculate"))
47+
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "Calculate"))
4148
.setSampledToLocalTracing(true)
4249
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
4350
io.grpc.examples.CalculatorOuterClass.CalculatorRequest.getDefaultInstance()))
4451
.setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
4552
io.grpc.examples.CalculatorOuterClass.CalculatorResponse.getDefaultInstance()))
46-
.setSchemaDescriptor(new CalculatorMethodDescriptorSupplier("Calculate"))
47-
.build();
48-
}
53+
.setSchemaDescriptor(new CalculatorMethodDescriptorSupplier("Calculate"))
54+
.build();
4955
}
50-
}
51-
return getCalculateMethod;
56+
}
57+
}
58+
return getCalculateMethod;
5259
}
5360

5461
/**

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

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

33
import static io.grpc.MethodDescriptor.generateFullMethodName;
4+
import static io.grpc.stub.ClientCalls.asyncBidiStreamingCall;
5+
import static io.grpc.stub.ClientCalls.asyncClientStreamingCall;
6+
import static io.grpc.stub.ClientCalls.asyncServerStreamingCall;
47
import static io.grpc.stub.ClientCalls.asyncUnaryCall;
8+
import static io.grpc.stub.ClientCalls.blockingServerStreamingCall;
59
import static io.grpc.stub.ClientCalls.blockingUnaryCall;
610
import static io.grpc.stub.ClientCalls.futureUnaryCall;
11+
import static io.grpc.stub.ServerCalls.asyncBidiStreamingCall;
12+
import static io.grpc.stub.ServerCalls.asyncClientStreamingCall;
13+
import static io.grpc.stub.ServerCalls.asyncServerStreamingCall;
714
import static io.grpc.stub.ServerCalls.asyncUnaryCall;
15+
import static io.grpc.stub.ServerCalls.asyncUnimplementedStreamingCall;
816
import static io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall;
917

1018
/**
@@ -13,7 +21,7 @@
1321
* </pre>
1422
*/
1523
@javax.annotation.Generated(
16-
value = "by gRPC proto compiler (version 1.22.1)",
24+
value = "by gRPC proto compiler (version 1.23.0)",
1725
comments = "Source: greeter.proto")
1826
public final class GreeterGrpc {
1927

@@ -36,22 +44,21 @@ io.grpc.examples.GreeterOuterClass.HelloReply> getSayHelloMethod() {
3644
if ((getSayHelloMethod = GreeterGrpc.getSayHelloMethod) == null) {
3745
synchronized (GreeterGrpc.class) {
3846
if ((getSayHelloMethod = GreeterGrpc.getSayHelloMethod) == null) {
39-
GreeterGrpc.getSayHelloMethod = getSayHelloMethod =
47+
GreeterGrpc.getSayHelloMethod = getSayHelloMethod =
4048
io.grpc.MethodDescriptor.<io.grpc.examples.GreeterOuterClass.HelloRequest, io.grpc.examples.GreeterOuterClass.HelloReply>newBuilder()
4149
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
42-
.setFullMethodName(generateFullMethodName(
43-
"Greeter", "SayHello"))
50+
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "SayHello"))
4451
.setSampledToLocalTracing(true)
4552
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
4653
io.grpc.examples.GreeterOuterClass.HelloRequest.getDefaultInstance()))
4754
.setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
4855
io.grpc.examples.GreeterOuterClass.HelloReply.getDefaultInstance()))
49-
.setSchemaDescriptor(new GreeterMethodDescriptorSupplier("SayHello"))
50-
.build();
51-
}
56+
.setSchemaDescriptor(new GreeterMethodDescriptorSupplier("SayHello"))
57+
.build();
5258
}
53-
}
54-
return getSayHelloMethod;
59+
}
60+
}
61+
return getSayHelloMethod;
5562
}
5663

5764
/**

0 commit comments

Comments
 (0)