mirror of
https://github.com/jlengrand/helidon.git
synced 2026-03-10 08:21:17 +00:00
Upgrade grpc to follow Netty version used by Helidon. (#1614)
* Upgrade grpc to follow Netty version used by Helidon.
This commit is contained in:
@@ -63,7 +63,7 @@ public class EtcdV3Client implements EtcdClient {
|
||||
*/
|
||||
public EtcdV3Client(URI uri) {
|
||||
ManagedChannelBuilder mcb = ManagedChannelBuilder.forAddress(uri.getHost(), uri.getPort());
|
||||
this.channel = mcb.usePlaintext(true).build();
|
||||
this.channel = mcb.usePlaintext().build();
|
||||
|
||||
kvStub = KVGrpc.newBlockingStub(channel);
|
||||
watchStub = WatchGrpc.newStub(channel);
|
||||
|
||||
2
dependencies/pom.xml
vendored
2
dependencies/pom.xml
vendored
@@ -49,7 +49,7 @@
|
||||
<version.lib.failsafe>2.3.1</version.lib.failsafe>
|
||||
<version.lib.google-api-client>1.30.5</version.lib.google-api-client>
|
||||
<version.lib.graalvm>19.2.0</version.lib.graalvm>
|
||||
<version.lib.grpc>1.25.0</version.lib.grpc>
|
||||
<version.lib.grpc>1.27.1</version.lib.grpc>
|
||||
<version.lib.guava>28.1-jre</version.lib.guava>
|
||||
<version.lib.h2>1.4.199</version.lib.h2>
|
||||
<version.lib.hamcrest>1.3</version.lib.hamcrest>
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2019 Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2019, 2020 Oracle and/or its affiliates.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@@ -27,7 +27,6 @@ module io.grpc {
|
||||
requires java.naming;
|
||||
|
||||
requires static com.google.common;
|
||||
requires static error.prone.annotations;
|
||||
|
||||
uses io.grpc.ManagedChannelProvider;
|
||||
uses io.grpc.NameResolverProvider;
|
||||
|
||||
Reference in New Issue
Block a user