diff --git a/drift-integration-tests/src/test/java/io/airlift/drift/integration/LegacyApacheThriftTesterUtil.java b/drift-integration-tests/src/test/java/io/airlift/drift/integration/LegacyApacheThriftTesterUtil.java index c3fd1b275..9e1430f00 100644 --- a/drift-integration-tests/src/test/java/io/airlift/drift/integration/LegacyApacheThriftTesterUtil.java +++ b/drift-integration-tests/src/test/java/io/airlift/drift/integration/LegacyApacheThriftTesterUtil.java @@ -27,11 +27,11 @@ import org.apache.thrift.protocol.TBinaryProtocol; import org.apache.thrift.protocol.TCompactProtocol; import org.apache.thrift.protocol.TProtocol; -import org.apache.thrift.transport.TFramedTransport; import org.apache.thrift.transport.TSocket; import org.apache.thrift.transport.TTransport; import org.apache.thrift.transport.TTransportException; import org.apache.thrift.transport.TTransportFactory; +import org.apache.thrift.transport.layered.TFramedTransport; import javax.net.ssl.SSLContext; import javax.net.ssl.SSLSocket; diff --git a/drift-integration-tests/src/test/java/io/airlift/drift/integration/TestClientsWithApacheServer.java b/drift-integration-tests/src/test/java/io/airlift/drift/integration/TestClientsWithApacheServer.java index 5115fcb54..70fe377cb 100644 --- a/drift-integration-tests/src/test/java/io/airlift/drift/integration/TestClientsWithApacheServer.java +++ b/drift-integration-tests/src/test/java/io/airlift/drift/integration/TestClientsWithApacheServer.java @@ -29,10 +29,10 @@ import org.apache.thrift.server.TServer; import org.apache.thrift.server.TServer.Args; import org.apache.thrift.server.TSimpleServer; -import org.apache.thrift.transport.TFramedTransport; import org.apache.thrift.transport.TServerSocket; import org.apache.thrift.transport.TTransportException; import org.apache.thrift.transport.TTransportFactory; +import org.apache.thrift.transport.layered.TFramedTransport; import org.testng.annotations.Test; import javax.net.ssl.SSLContext; diff --git a/drift-transport-apache/src/main/java/io/airlift/drift/transport/apache/client/ApacheThriftMethodInvokerFactory.java b/drift-transport-apache/src/main/java/io/airlift/drift/transport/apache/client/ApacheThriftMethodInvokerFactory.java index c88431b0e..01133126f 100644 --- a/drift-transport-apache/src/main/java/io/airlift/drift/transport/apache/client/ApacheThriftMethodInvokerFactory.java +++ b/drift-transport-apache/src/main/java/io/airlift/drift/transport/apache/client/ApacheThriftMethodInvokerFactory.java @@ -26,8 +26,8 @@ import org.apache.thrift.protocol.TBinaryProtocol; import org.apache.thrift.protocol.TCompactProtocol; import org.apache.thrift.protocol.TProtocolFactory; -import org.apache.thrift.transport.TFramedTransport; import org.apache.thrift.transport.TTransportFactory; +import org.apache.thrift.transport.layered.TFramedTransport; import javax.net.ssl.KeyManager; import javax.net.ssl.KeyManagerFactory; diff --git a/drift-transport-apache/src/test/java/io/airlift/drift/transport/apache/TestApacheThriftMethodInvoker.java b/drift-transport-apache/src/test/java/io/airlift/drift/transport/apache/TestApacheThriftMethodInvoker.java index 2e2c83792..45c441500 100644 --- a/drift-transport-apache/src/test/java/io/airlift/drift/transport/apache/TestApacheThriftMethodInvoker.java +++ b/drift-transport-apache/src/test/java/io/airlift/drift/transport/apache/TestApacheThriftMethodInvoker.java @@ -47,11 +47,11 @@ import org.apache.thrift.server.TServer; import org.apache.thrift.server.TServer.Args; import org.apache.thrift.server.TSimpleServer; -import org.apache.thrift.transport.TFramedTransport; import org.apache.thrift.transport.TNonblockingSocket; import org.apache.thrift.transport.TServerSocket; import org.apache.thrift.transport.TSocket; import org.apache.thrift.transport.TTransportFactory; +import org.apache.thrift.transport.layered.TFramedTransport; import org.testng.annotations.Test; import java.util.List; diff --git a/drift-transport-netty/src/test/java/io/airlift/drift/transport/netty/client/TestDriftNettyMethodInvoker.java b/drift-transport-netty/src/test/java/io/airlift/drift/transport/netty/client/TestDriftNettyMethodInvoker.java index 1313d9e03..661517d8d 100644 --- a/drift-transport-netty/src/test/java/io/airlift/drift/transport/netty/client/TestDriftNettyMethodInvoker.java +++ b/drift-transport-netty/src/test/java/io/airlift/drift/transport/netty/client/TestDriftNettyMethodInvoker.java @@ -64,11 +64,11 @@ import org.apache.thrift.server.TServer; import org.apache.thrift.server.TServer.Args; import org.apache.thrift.server.TSimpleServer; -import org.apache.thrift.transport.TFramedTransport; import org.apache.thrift.transport.TNonblockingSocket; import org.apache.thrift.transport.TServerSocket; import org.apache.thrift.transport.TSocket; import org.apache.thrift.transport.TTransportFactory; +import org.apache.thrift.transport.layered.TFramedTransport; import org.testng.annotations.Test; import java.util.List; diff --git a/drift-transport-netty/src/test/java/io/airlift/drift/transport/netty/server/TestDriftNettyServerTransport.java b/drift-transport-netty/src/test/java/io/airlift/drift/transport/netty/server/TestDriftNettyServerTransport.java index 92fa4c18d..b287b6cc5 100644 --- a/drift-transport-netty/src/test/java/io/airlift/drift/transport/netty/server/TestDriftNettyServerTransport.java +++ b/drift-transport-netty/src/test/java/io/airlift/drift/transport/netty/server/TestDriftNettyServerTransport.java @@ -43,9 +43,9 @@ import org.apache.thrift.protocol.TMessageType; import org.apache.thrift.protocol.TProtocol; import org.apache.thrift.protocol.TProtocolFactory; -import org.apache.thrift.transport.TFramedTransport; import org.apache.thrift.transport.TSocket; import org.apache.thrift.transport.TTransportFactory; +import org.apache.thrift.transport.layered.TFramedTransport; import org.testng.annotations.Test; import java.util.List; diff --git a/pom.xml b/pom.xml index dd87a9bec..adc484620 100644 --- a/pom.xml +++ b/pom.xml @@ -235,17 +235,7 @@ org.apache.thrift libthrift - 0.12.0 - - - org.apache.httpcomponents - httpclient - - - org.apache.httpcomponents - httpcore - - + 0.20.0