From b32486bd6b280d1f7349ccaa6f8bec92ad981ab0 Mon Sep 17 00:00:00 2001 From: jitendra007 Date: Fri, 21 Aug 2020 14:41:45 +0530 Subject: Upgraded grpc-netty for vulnerabilities and removed boilerplate code Issue-ID: CLI-313 Signed-off-by: jitendra007 Change-Id: I653328c56e49fcaef6dffa3cbd48d89f4a2eafb4 --- .../infc/grpc/client/OpenInterfaceGrpcClient.java | 2 +- grpc/pom.xml | 35 +--------------------- 2 files changed, 2 insertions(+), 35 deletions(-) (limited to 'grpc') diff --git a/grpc/grpc-client/src/main/java/org/open/infc/grpc/client/OpenInterfaceGrpcClient.java b/grpc/grpc-client/src/main/java/org/open/infc/grpc/client/OpenInterfaceGrpcClient.java index d50f6143..13d2f97e 100644 --- a/grpc/grpc-client/src/main/java/org/open/infc/grpc/client/OpenInterfaceGrpcClient.java +++ b/grpc/grpc-client/src/main/java/org/open/infc/grpc/client/OpenInterfaceGrpcClient.java @@ -62,7 +62,7 @@ public class OpenInterfaceGrpcClient { this(ManagedChannelBuilder.forAddress(host, port) // Channels are secure by default (via SSL/TLS). For the example we disable TLS to avoid // needing certificates. - .usePlaintext(true) + .usePlaintext() .build()); } diff --git a/grpc/pom.xml b/grpc/pom.xml index 84a508f8..91d5d623 100644 --- a/grpc/pom.xml +++ b/grpc/pom.xml @@ -31,7 +31,7 @@ UTF-8 - 1.8.0 + 1.29.0