Merge pull request #5718 from amit2103/BAEL-10218
[BAEL-10218] - Updated code to the latest version and modified code
This commit is contained in:
commit
a66e6de800
|
@ -71,9 +71,8 @@
|
|||
</build>
|
||||
|
||||
<properties>
|
||||
<io.grpc.version>1.5.0</io.grpc.version>
|
||||
<os-maven-plugin.version>1.5.0.Final</os-maven-plugin.version>
|
||||
<protobuf-maven-plugin.version>0.5.0</protobuf-maven-plugin.version>
|
||||
<io.grpc.version>1.16.1</io.grpc.version>
|
||||
<os-maven-plugin.version>1.6.1</os-maven-plugin.version>
|
||||
<protobuf-maven-plugin.version>0.6.1</protobuf-maven-plugin.version>
|
||||
</properties>
|
||||
|
||||
</project>
|
||||
|
|
|
@ -10,7 +10,7 @@ import io.grpc.ManagedChannelBuilder;
|
|||
public class GrpcClient {
|
||||
public static void main(String[] args) throws InterruptedException {
|
||||
ManagedChannel channel = ManagedChannelBuilder.forAddress("localhost", 8080)
|
||||
.usePlaintext(true)
|
||||
.usePlaintext()
|
||||
.build();
|
||||
|
||||
HelloServiceGrpc.HelloServiceBlockingStub stub
|
||||
|
|
Loading…
Reference in New Issue