Skip to content

Commit

Permalink
closes #37, release v2.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexander Furer committed Mar 30, 2017
1 parent 2955db6 commit 1389fb9
Show file tree
Hide file tree
Showing 5 changed files with 37 additions and 13 deletions.
4 changes: 4 additions & 0 deletions ReleaseNotes.adoc
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
== Version 2.0.1
- gRPC version upgraded to 1.2.0
- Spring Boot version upgraded to 1.4.5
== Version 2.0.0
- gRPC version upgraded to 1.1.1
- Spring Boot version upgraded to 1.4.4
Expand Down
4 changes: 2 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
apply plugin: 'idea'
buildscript {
ext {
springBootVersion = '1.4.4.RELEASE'
grpcVersion = '1.1.1'
springBootVersion = '1.4.5.RELEASE'
grpcVersion = '1.2.0'
}
repositories {
mavenCentral()
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version=2.0.1-SNAPSHOT
version=2.0.1
group=org.lognet
description=Spring Boot starter for Google RPC.
gitHubUrl=https\://github.com/LogNet/grpc-spring-boot-starter
Expand Down
Original file line number Diff line number Diff line change
@@ -1,16 +1,26 @@
package io.grpc.examples;

import static io.grpc.stub.ClientCalls.asyncUnaryCall;
import static io.grpc.stub.ClientCalls.asyncServerStreamingCall;
import static io.grpc.stub.ClientCalls.asyncClientStreamingCall;
import static io.grpc.stub.ClientCalls.asyncBidiStreamingCall;
import static io.grpc.stub.ClientCalls.blockingUnaryCall;
import static io.grpc.stub.ClientCalls.blockingServerStreamingCall;
import static io.grpc.stub.ClientCalls.futureUnaryCall;
import static io.grpc.MethodDescriptor.generateFullMethodName;
import static io.grpc.stub.ClientCalls.*;
import static io.grpc.stub.ServerCalls.asyncUnaryCall;
import static io.grpc.stub.ServerCalls.asyncServerStreamingCall;
import static io.grpc.stub.ServerCalls.asyncClientStreamingCall;
import static io.grpc.stub.ServerCalls.asyncBidiStreamingCall;
import static io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall;
import static io.grpc.stub.ServerCalls.asyncUnimplementedStreamingCall;

/**
*/
@javax.annotation.Generated(
value = "by gRPC proto compiler (version 1.1.1)",
value = "by gRPC proto compiler (version 1.2.0)",
comments = "Source: calculator.proto")
public class CalculatorGrpc {
public final class CalculatorGrpc {

private CalculatorGrpc() {}

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

private static final int METHODID_CALCULATE = 0;

private static class MethodHandlers<Req, Resp> implements
private static final class MethodHandlers<Req, Resp> implements
io.grpc.stub.ServerCalls.UnaryMethod<Req, Resp>,
io.grpc.stub.ServerCalls.ServerStreamingMethod<Req, Resp>,
io.grpc.stub.ServerCalls.ClientStreamingMethod<Req, Resp>,
io.grpc.stub.ServerCalls.BidiStreamingMethod<Req, Resp> {
private final CalculatorImplBase serviceImpl;
private final int methodId;

public MethodHandlers(CalculatorImplBase serviceImpl, int methodId) {
MethodHandlers(CalculatorImplBase serviceImpl, int methodId) {
this.serviceImpl = serviceImpl;
this.methodId = methodId;
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,19 +1,29 @@
package io.grpc.examples;

import static io.grpc.stub.ClientCalls.asyncUnaryCall;
import static io.grpc.stub.ClientCalls.asyncServerStreamingCall;
import static io.grpc.stub.ClientCalls.asyncClientStreamingCall;
import static io.grpc.stub.ClientCalls.asyncBidiStreamingCall;
import static io.grpc.stub.ClientCalls.blockingUnaryCall;
import static io.grpc.stub.ClientCalls.blockingServerStreamingCall;
import static io.grpc.stub.ClientCalls.futureUnaryCall;
import static io.grpc.MethodDescriptor.generateFullMethodName;
import static io.grpc.stub.ClientCalls.*;
import static io.grpc.stub.ServerCalls.asyncUnaryCall;
import static io.grpc.stub.ServerCalls.asyncServerStreamingCall;
import static io.grpc.stub.ServerCalls.asyncClientStreamingCall;
import static io.grpc.stub.ServerCalls.asyncBidiStreamingCall;
import static io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall;
import static io.grpc.stub.ServerCalls.asyncUnimplementedStreamingCall;

/**
* <pre>
* The greeter service definition.
* </pre>
*/
@javax.annotation.Generated(
value = "by gRPC proto compiler (version 1.1.1)",
value = "by gRPC proto compiler (version 1.2.0)",
comments = "Source: greeter.proto")
public class GreeterGrpc {
public final class GreeterGrpc {

private GreeterGrpc() {}

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

private static final int METHODID_SAY_HELLO = 0;

private static class MethodHandlers<Req, Resp> implements
private static final class MethodHandlers<Req, Resp> implements
io.grpc.stub.ServerCalls.UnaryMethod<Req, Resp>,
io.grpc.stub.ServerCalls.ServerStreamingMethod<Req, Resp>,
io.grpc.stub.ServerCalls.ClientStreamingMethod<Req, Resp>,
io.grpc.stub.ServerCalls.BidiStreamingMethod<Req, Resp> {
private final GreeterImplBase serviceImpl;
private final int methodId;

public MethodHandlers(GreeterImplBase serviceImpl, int methodId) {
MethodHandlers(GreeterImplBase serviceImpl, int methodId) {
this.serviceImpl = serviceImpl;
this.methodId = methodId;
}
Expand Down

0 comments on commit 1389fb9

Please sign in to comment.