Update gizmo to set jersey impl for ClientBuilder 13/29213/1
authorBansal, Nitin (nb121v) <nitin.bansal@amdocs.com>
Thu, 25 Jan 2018 20:18:19 +0000 (15:18 -0500)
committerBansal, Nitin (nb121v) <nitin.bansal@amdocs.com>
Thu, 25 Jan 2018 20:21:59 +0000 (15:21 -0500)
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>
pom.xml
src/main/config/ajsc-jetty.xml
src/main/resources/META-INF/services/javax.ws.rs.client.ClientBuilder [new file with mode: 0644]

diff --git a/pom.xml b/pom.xml
index ef500b4..e5686f3 100644 (file)
--- a/pom.xml
+++ b/pom.xml
           <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>
         <dependency>
             <groupId>org.json</groupId>
             <artifactId>json</artifactId>
-            <version>20131018</version>
+            <version>20160212</version>
         </dependency>
         <dependency>
             <groupId>junit</groupId>
     </repositories>
 
     <build>
+      <finalName>${project.artifactId}</finalName>
         <plugins>
             <plugin>
                 <groupId>org.apache.maven.plugins</groupId>
index 17814f8..4ad6fcc 100644 (file)
@@ -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 (file)
index 0000000..48b9fa5
--- /dev/null
@@ -0,0 +1 @@
+org.glassfish.jersey.client.JerseyClientBuilder
\ No newline at end of file