kafka-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ewe...@apache.org
Subject [kafka] branch trunk updated: KAFKA-7031: Connect API shouldn't depend on Jersey (KIP-285)
Date Wed, 13 Jun 2018 05:15:59 GMT
This is an automated email from the ASF dual-hosted git repository.

ewencp pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/kafka.git


The following commit(s) were added to refs/heads/trunk by this push:
     new ee3d3f1  KAFKA-7031: Connect API shouldn't depend on Jersey (KIP-285)
ee3d3f1 is described below

commit ee3d3f1b27c4f456c6ccf28d1f4b62cc45beaed8
Author: Magesh Nandakumar <magesh.n.kumar@gmail.com>
AuthorDate: Tue Jun 12 22:15:18 2018 -0700

    KAFKA-7031: Connect API shouldn't depend on Jersey (KIP-285)
    
    Connect API currently depends on Jersey API as a side-effect of KIP-285. It should only
depend on the JAX RS API.
    
    Author: Magesh Nandakumar <magesh.n.kumar@gmail.com>
    
    Reviewers: Randall Hauch <rhauch@gmail.com>, Ewen Cheslack-Postava <ewen@confluent.io>
    
    Closes #5190 from mageshn/KAFKA-7031
    
    (cherry picked from commit 51ac53d9037e703507c4b6bdf7658a8793c3c7ec)
    Signed-off-by: Ewen Cheslack-Postava <me@ewencp.org>
---
 build.gradle               | 3 ++-
 gradle/dependencies.gradle | 2 ++
 2 files changed, 4 insertions(+), 1 deletion(-)

diff --git a/build.gradle b/build.gradle
index d016fef..2a9730f 100644
--- a/build.gradle
+++ b/build.gradle
@@ -1223,7 +1223,7 @@ project(':connect:api') {
   dependencies {
     compile project(':clients')
     compile libs.slf4jApi
-    compile libs.jerseyContainerServlet
+    compile libs.jaxrsApi
 
     testCompile libs.junit
 
@@ -1463,6 +1463,7 @@ project(':connect:basic-auth-extension') {
     testCompile project(':clients').sourceSets.test.output
 
     testRuntime libs.slf4jlog4j
+    testRuntime libs.jerseyContainerServlet
   }
 
   javadoc {
diff --git a/gradle/dependencies.gradle b/gradle/dependencies.gradle
index 29b15e3..6ebbfab 100644
--- a/gradle/dependencies.gradle
+++ b/gradle/dependencies.gradle
@@ -60,6 +60,7 @@ versions += [
   log4j: "1.2.17",
   scalaLogging: "3.9.0",
   jaxb: "2.3.0",
+  jaxrs: "2.1",
   jfreechart: "1.0.0",
   jopt: "5.0.4",
   junit: "4.12",
@@ -101,6 +102,7 @@ libs += [
   jacksonDatabind: "com.fasterxml.jackson.core:jackson-databind:$versions.jackson",
   jacksonJaxrsJsonProvider: "com.fasterxml.jackson.jaxrs:jackson-jaxrs-json-provider:$versions.jackson",
   jaxbApi: "javax.xml.bind:jaxb-api:$versions.jaxb",
+  jaxrsApi: "javax.ws.rs:javax.ws.rs-api:$versions.jaxrs",
   jettyServer: "org.eclipse.jetty:jetty-server:$versions.jetty",
   jettyClient: "org.eclipse.jetty:jetty-client:$versions.jetty",
   jettyServlet: "org.eclipse.jetty:jetty-servlet:$versions.jetty",

-- 
To stop receiving notification emails like this one, please contact
ewencp@apache.org.

Mime
View raw message