Skip to content

Commit 95b27d4

Browse files
wip
1 parent 11d0ed3 commit 95b27d4

File tree

7 files changed

+42
-4
lines changed

7 files changed

+42
-4
lines changed
252 KB
Binary file not shown.

pom.xml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -306,6 +306,20 @@
306306
<scope>test</scope>
307307
</dependency>
308308

309+
<!-- <dependency>-->
310+
<!-- <groupId>io.grpc</groupId>-->
311+
<!-- <artifactId>grpc-okhttp</artifactId>-->
312+
<!-- <version>1.72.0-SNAPSHOT</version>-->
313+
<!-- </dependency>-->
314+
315+
<dependency>
316+
<groupId>com.yourgroup</groupId>
317+
<artifactId>your-artifact</artifactId>
318+
<version>1.0.0</version>
319+
<scope>system</scope>
320+
<systemPath>${basedir}/repo/com/yourgroup/your-artifact/1.0.0/your-artifact-1.0.0.jar</systemPath>
321+
</dependency>
322+
309323
<dependency>
310324
<groupId>org.slf4j</groupId>
311325
<artifactId>slf4j-simple</artifactId>
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
#NOTE: This is a Maven Resolver internal implementation file, its format can be changed without prior notice.
2+
#Sun Dec 14 16:26:54 ICT 2025
3+
your-artifact-1.0.0.pom>=
4+
your-artifact-1.0.0.jar>=
252 KB
Binary file not shown.
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0"
3+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
4+
<modelVersion>4.0.0</modelVersion>
5+
<groupId>com.yourgroup</groupId>
6+
<artifactId>your-artifact</artifactId>
7+
<version>1.0.0</version>
8+
<description>POM was created from install:install-file</description>
9+
</project>
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<metadata>
3+
<groupId>com.yourgroup</groupId>
4+
<artifactId>your-artifact</artifactId>
5+
<versioning>
6+
<release>1.0.0</release>
7+
<versions>
8+
<version>1.0.0</version>
9+
</versions>
10+
<lastUpdated>20251214092653</lastUpdated>
11+
</versioning>
12+
</metadata>

src/main/java/com/influxdb/v3/client/internal/FlightSqlClient.java

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747
import io.grpc.Metadata;
4848
import io.grpc.ProxyDetector;
4949
import io.grpc.netty.GrpcSslContexts;
50-
import io.grpc.netty.NettyChannelBuilder;
50+
import io.grpc.okhttp.OkHttpChannelBuilder;
5151
import io.netty.handler.ssl.SslContext;
5252
import io.netty.handler.ssl.SslContextBuilder;
5353
import io.netty.handler.ssl.util.InsecureTrustManagerFactory;
@@ -146,15 +146,14 @@ public void close() throws Exception {
146146
@Nonnull
147147
private FlightClient createFlightClient(@Nonnull final ClientConfig config) {
148148
URI uri = createLocation(config).getUri();
149-
final NettyChannelBuilder nettyChannelBuilder = NettyChannelBuilder.forAddress(uri.getHost(), uri.getPort());
150-
149+
final OkHttpChannelBuilder nettyChannelBuilder = OkHttpChannelBuilder.forAddress(uri.getHost(), uri.getPort());
151150
nettyChannelBuilder.userAgent(Identity.getUserAgent());
152151

153152
if (LocationSchemes.GRPC_TLS.equals(uri.getScheme())) {
154153
nettyChannelBuilder.useTransportSecurity();
155154

156155
SslContext nettySslContext = createNettySslContext(config);
157-
nettyChannelBuilder.sslContext(nettySslContext);
156+
// nettyChannelBuilder.sslSocketFactory(nettySslContext);
158157
} else {
159158
nettyChannelBuilder.usePlaintext();
160159
}

0 commit comments

Comments
 (0)