summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBansal, Nitin (nb121v) <nitin.bansal@amdocs.com>2018-01-25 15:18:19 -0500
committerBansal, Nitin (nb121v) <nitin.bansal@amdocs.com>2018-01-25 15:21:59 -0500
commit3435321e01b7c997bd92b18c8681a870f9451d6c (patch)
tree3855cd01679fa8628217958d14d57db93015aa84
parentd8b5c7ec53e0ae80c7aecd4c33e0c63e172b2544 (diff)
Update gizmo to set jersey impl for ClientBuilder
Update gizmo to specify the jersey impl for javax.ws.rs.client.ClientBuilder to resolve http chunking issue while publishing to dmaap Change-Id: If74dad209ca47db8a3c4eaf362659137e24d1103 Issue-ID: AAI-695 Signed-off-by: Bansal, Nitin (nb121v) <nitin.bansal@amdocs.com>
-rw-r--r--pom.xml9
-rw-r--r--src/main/config/ajsc-jetty.xml2
-rw-r--r--src/main/resources/META-INF/services/javax.ws.rs.client.ClientBuilder1
3 files changed, 9 insertions, 3 deletions
diff --git a/pom.xml b/pom.xml
index ef500b4..e5686f3 100644
--- a/pom.xml
+++ b/pom.xml
@@ -81,7 +81,11 @@
<artifactId>common-logging</artifactId>
<version>1.1.0</version>
</dependency>
-
+ <dependency>
+ <groupId>org.glassfish.jersey.core</groupId>
+ <artifactId>jersey-client</artifactId>
+ <version>2.23</version>
+ </dependency>
<dependency>
<groupId>ch.qos.logback</groupId>
<artifactId>logback-core</artifactId>
@@ -166,7 +170,7 @@
<dependency>
<groupId>org.json</groupId>
<artifactId>json</artifactId>
- <version>20131018</version>
+ <version>20160212</version>
</dependency>
<dependency>
<groupId>junit</groupId>
@@ -201,6 +205,7 @@
</repositories>
<build>
+ <finalName>${project.artifactId}</finalName>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
diff --git a/src/main/config/ajsc-jetty.xml b/src/main/config/ajsc-jetty.xml
index 17814f8..4ad6fcc 100644
--- a/src/main/config/ajsc-jetty.xml
+++ b/src/main/config/ajsc-jetty.xml
@@ -16,7 +16,7 @@
<Set name="startWithUnavailable">false</Set>
</New>
</Set>
- <Set name="extraClasspath"><SystemProperty name="AJSC_HOME" />/extJars/json-20131018.jar</Set>
+ <Set name="extraClasspath"><SystemProperty name="AJSC_HOME" />/extJars/gizmo.jar,<SystemProperty name="AJSC_HOME" />/extJars/json-20160212.jar,<SystemProperty name="AJSC_HOME" />/extJars/javax.ws.rs-api-2.0.1.jar,<SystemProperty name="AJSC_HOME" />/extJars/jersey-client-2.23.jar</Set>
</New>
<Set name="handler">
diff --git a/src/main/resources/META-INF/services/javax.ws.rs.client.ClientBuilder b/src/main/resources/META-INF/services/javax.ws.rs.client.ClientBuilder
new file mode 100644
index 0000000..48b9fa5
--- /dev/null
+++ b/src/main/resources/META-INF/services/javax.ws.rs.client.ClientBuilder
@@ -0,0 +1 @@
+org.glassfish.jersey.client.JerseyClientBuilder \ No newline at end of file