Skip to content

Commit 68645b6

Browse files
author
Alexander Furer
committed
Release version 2.0.5
1 parent 297a964 commit 68645b6

File tree

6 files changed

+28
-20
lines changed

6 files changed

+28
-20
lines changed

README.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ repositories {
1616
1717
}
1818
dependencies {
19-
compile('org.lognet:grpc-spring-boot-starter:2.0.4')
19+
compile('org.lognet:grpc-spring-boot-starter:2.0.5')
2020
}
2121
----
2222

ReleaseNotes.adoc

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
1-
== Version 2.0.5-SNAPSHOT
1+
== Version 2.0.5
22
- HealthStatusManager exposed as Spring bean
3+
- gRPC version upgraded to 1.5.0
4+
- Ordered execution support of global server interceptors.
35
46
== Version 2.0.4
57
- gRPC version upgraded to 1.4.0

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
buildscript {
33
ext {
44
springBootVersion = '1.5.2.RELEASE'
5-
grpcVersion = '1.4.0'
5+
grpcVersion = '1.5.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.5-SNAPSHOT
1+
version=2.0.5
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: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
/**
1919
*/
2020
@javax.annotation.Generated(
21-
value = "by gRPC proto compiler (version 1.3.0)",
21+
value = "by gRPC proto compiler (version 1.5.0)",
2222
comments = "Source: calculator.proto")
2323
public final class CalculatorGrpc {
2424

@@ -30,12 +30,15 @@ private CalculatorGrpc() {}
3030
@io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901")
3131
public static final io.grpc.MethodDescriptor<io.grpc.examples.CalculatorOuterClass.CalculatorRequest,
3232
io.grpc.examples.CalculatorOuterClass.CalculatorResponse> METHOD_CALCULATE =
33-
io.grpc.MethodDescriptor.create(
34-
io.grpc.MethodDescriptor.MethodType.UNARY,
35-
generateFullMethodName(
36-
"Calculator", "Calculate"),
37-
io.grpc.protobuf.ProtoUtils.marshaller(io.grpc.examples.CalculatorOuterClass.CalculatorRequest.getDefaultInstance()),
38-
io.grpc.protobuf.ProtoUtils.marshaller(io.grpc.examples.CalculatorOuterClass.CalculatorResponse.getDefaultInstance()));
33+
io.grpc.MethodDescriptor.<io.grpc.examples.CalculatorOuterClass.CalculatorRequest, io.grpc.examples.CalculatorOuterClass.CalculatorResponse>newBuilder()
34+
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
35+
.setFullMethodName(generateFullMethodName(
36+
"Calculator", "Calculate"))
37+
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
38+
io.grpc.examples.CalculatorOuterClass.CalculatorRequest.getDefaultInstance()))
39+
.setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
40+
io.grpc.examples.CalculatorOuterClass.CalculatorResponse.getDefaultInstance()))
41+
.build();
3942

4043
/**
4144
* Creates a new async stub that supports all call types for the service
@@ -53,7 +56,7 @@ public static CalculatorBlockingStub newBlockingStub(
5356
}
5457

5558
/**
56-
* Creates a new ListenableFuture-style stub that supports unary and streaming output calls on the service
59+
* Creates a new ListenableFuture-style stub that supports unary calls on the service
5760
*/
5861
public static CalculatorFutureStub newFutureStub(
5962
io.grpc.Channel channel) {

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

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
* </pre>
2222
*/
2323
@javax.annotation.Generated(
24-
value = "by gRPC proto compiler (version 1.3.0)",
24+
value = "by gRPC proto compiler (version 1.5.0)",
2525
comments = "Source: greeter.proto")
2626
public final class GreeterGrpc {
2727

@@ -33,12 +33,15 @@ private GreeterGrpc() {}
3333
@io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901")
3434
public static final io.grpc.MethodDescriptor<io.grpc.examples.GreeterOuterClass.HelloRequest,
3535
io.grpc.examples.GreeterOuterClass.HelloReply> METHOD_SAY_HELLO =
36-
io.grpc.MethodDescriptor.create(
37-
io.grpc.MethodDescriptor.MethodType.UNARY,
38-
generateFullMethodName(
39-
"Greeter", "SayHello"),
40-
io.grpc.protobuf.ProtoUtils.marshaller(io.grpc.examples.GreeterOuterClass.HelloRequest.getDefaultInstance()),
41-
io.grpc.protobuf.ProtoUtils.marshaller(io.grpc.examples.GreeterOuterClass.HelloReply.getDefaultInstance()));
36+
io.grpc.MethodDescriptor.<io.grpc.examples.GreeterOuterClass.HelloRequest, io.grpc.examples.GreeterOuterClass.HelloReply>newBuilder()
37+
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
38+
.setFullMethodName(generateFullMethodName(
39+
"Greeter", "SayHello"))
40+
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
41+
io.grpc.examples.GreeterOuterClass.HelloRequest.getDefaultInstance()))
42+
.setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
43+
io.grpc.examples.GreeterOuterClass.HelloReply.getDefaultInstance()))
44+
.build();
4245

4346
/**
4447
* Creates a new async stub that supports all call types for the service
@@ -56,7 +59,7 @@ public static GreeterBlockingStub newBlockingStub(
5659
}
5760

5861
/**
59-
* Creates a new ListenableFuture-style stub that supports unary and streaming output calls on the service
62+
* Creates a new ListenableFuture-style stub that supports unary calls on the service
6063
*/
6164
public static GreeterFutureStub newFutureStub(
6265
io.grpc.Channel channel) {

0 commit comments

Comments
 (0)