You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by pe...@apache.org on 2020/10/14 07:29:30 UTC
[pulsar] 04/04: Replace com.ning.asynchttpclient with
org.asynchttpclient (#8099)
This is an automated email from the ASF dual-hosted git repository.
penghui pushed a commit to branch branch-2.6
in repository https://gitbox.apache.org/repos/asf/pulsar.git
commit 3e65a6c94f117e667ce1673c34f0434d77bf9bc2
Author: Yong Zhang <zh...@gmail.com>
AuthorDate: Fri Sep 25 11:13:42 2020 +0800
Replace com.ning.asynchttpclient with org.asynchttpclient (#8099)
* Replace com.ning.asynchttpclient with org.ayschttpclient
---
Fixes #8061
Motivation
Replace com.ning.asynchttpclient with org.ayschttpclient
==========
Fixes #8061
*Motivation*
Replace com.ning.asynchttpclient with org.ayschttpclient
* Add version info in the pom file
* Fix the license issue
(cherry picked from commit fecd8712e71202de5551897378c89b96e5d89219)
---
pulsar-sql/presto-distribution/LICENSE | 3 +--
pulsar-sql/presto-distribution/pom.xml | 6 +++---
2 files changed, 4 insertions(+), 5 deletions(-)
diff --git a/pulsar-sql/presto-distribution/LICENSE b/pulsar-sql/presto-distribution/LICENSE
index aa46588..256359a 100644
--- a/pulsar-sql/presto-distribution/LICENSE
+++ b/pulsar-sql/presto-distribution/LICENSE
@@ -269,8 +269,6 @@ The Apache Software License, Version 2.0
- jetty-server-9.4.27.v20200227.jar
- jetty-servlet-9.4.27.v20200227.jar
- jetty-util-9.4.27.v20200227.jar
- * Asynchronous Http Client
- - async-http-client-1.9.40.jar
* Apache BVal
- bval-core-1.1.1.jar
- bval-jsr-1.1.1.jar
@@ -412,6 +410,7 @@ The Apache Software License, Version 2.0
* JCTools
- jctools-core-2.1.2.jar
* Asynchronous Http Client
+ - async-http-client-1.6.5.jar
- async-http-client-2.12.1.jar
- async-http-client-netty-utils-2.12.1.jar
* Apache Bookkeeper
diff --git a/pulsar-sql/presto-distribution/pom.xml b/pulsar-sql/presto-distribution/pom.xml
index 3dbcf4a..db25e88 100644
--- a/pulsar-sql/presto-distribution/pom.xml
+++ b/pulsar-sql/presto-distribution/pom.xml
@@ -46,9 +46,9 @@
<!--fix Security Vulnerabilities-->
<!--https://www.cvedetails.com/vulnerability-list/vendor_id-15866/product_id-42991/Fasterxml-Jackson-databind.html-->
<jackson.databind.version>2.11.1</jackson.databind.version>
- <com.ning.async.http.client.version>1.9.40</com.ning.async.http.client.version>
<maven.version>3.0.5</maven.version>
<guava.version>25.1-jre</guava.version>
+ <asynchttpclient.version>2.12.1</asynchttpclient.version>
</properties>
<dependencies>
@@ -184,9 +184,9 @@
<dependencyManagement>
<dependencies>
<dependency>
- <groupId>com.ning</groupId>
+ <groupId>org.asynchttpclient</groupId>
<artifactId>async-http-client</artifactId>
- <version>${com.ning.async.http.client.version}</version>
+ <version>${asynchttpclient.version}</version>
</dependency>
<dependency>
<groupId>io.netty</groupId>