You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ni...@apache.org on 2015/05/27 15:36:15 UTC

[2/2] camel git commit: CAMEL-8802 Upgraded CXF version to 3.0.5

CAMEL-8802 Upgraded CXF version to 3.0.5


Project: http://git-wip-us.apache.org/repos/asf/camel/repo
Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/ae8a0668
Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/ae8a0668
Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/ae8a0668

Branch: refs/heads/master
Commit: ae8a06682c2ca9884b61890c51e06b014bf10cc0
Parents: 3c9634b
Author: Willem Jiang <wi...@gmail.com>
Authored: Wed May 27 21:35:09 2015 +0800
Committer: Willem Jiang <wi...@gmail.com>
Committed: Wed May 27 21:35:28 2015 +0800

----------------------------------------------------------------------
 .../cxf/jaxrs/simplebinding/CxfRsConsumerSimpleBindingTest.java   | 2 +-
 .../cxf/jaxrs/simplebinding/testbean/MultipartCustomer.java       | 3 ++-
 2 files changed, 3 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/ae8a0668/components/camel-cxf/src/test/java/org/apache/camel/component/cxf/jaxrs/simplebinding/CxfRsConsumerSimpleBindingTest.java
----------------------------------------------------------------------
diff --git a/components/camel-cxf/src/test/java/org/apache/camel/component/cxf/jaxrs/simplebinding/CxfRsConsumerSimpleBindingTest.java b/components/camel-cxf/src/test/java/org/apache/camel/component/cxf/jaxrs/simplebinding/CxfRsConsumerSimpleBindingTest.java
index 8cfe283..be3c9d8 100644
--- a/components/camel-cxf/src/test/java/org/apache/camel/component/cxf/jaxrs/simplebinding/CxfRsConsumerSimpleBindingTest.java
+++ b/components/camel-cxf/src/test/java/org/apache/camel/component/cxf/jaxrs/simplebinding/CxfRsConsumerSimpleBindingTest.java
@@ -307,7 +307,7 @@ public class CxfRsConsumerSimpleBindingTest extends CamelTestSupport {
     
     @Test
     public void testMultipartPostWithoutParameters() throws Exception {
-        HttpPost post = new HttpPost("http://localhost:" + PORT_PATH + "/rest/customerservice/customers/multipart");
+        HttpPost post = new HttpPost("http://localhost:" + PORT_PATH + "/rest/customerservice/customers/multipart/withoutParameters");
         MultipartEntityBuilder builder = MultipartEntityBuilder.create().setMode(HttpMultipartMode.STRICT);
         builder.addBinaryBody("part1", new File(this.getClass().getClassLoader().getResource("java.jpg").toURI()), ContentType.create("image/jpeg"), "java.jpg");
         builder.addBinaryBody("part2", new File(this.getClass().getClassLoader().getResource("java.jpg").toURI()), ContentType.create("image/jpeg"), "java.jpg");

http://git-wip-us.apache.org/repos/asf/camel/blob/ae8a0668/components/camel-cxf/src/test/java/org/apache/camel/component/cxf/jaxrs/simplebinding/testbean/MultipartCustomer.java
----------------------------------------------------------------------
diff --git a/components/camel-cxf/src/test/java/org/apache/camel/component/cxf/jaxrs/simplebinding/testbean/MultipartCustomer.java b/components/camel-cxf/src/test/java/org/apache/camel/component/cxf/jaxrs/simplebinding/testbean/MultipartCustomer.java
index 7281e6e..66f08ab 100644
--- a/components/camel-cxf/src/test/java/org/apache/camel/component/cxf/jaxrs/simplebinding/testbean/MultipartCustomer.java
+++ b/components/camel-cxf/src/test/java/org/apache/camel/component/cxf/jaxrs/simplebinding/testbean/MultipartCustomer.java
@@ -36,7 +36,8 @@ public class MultipartCustomer {
         return null;
     }
     
-    @POST
+    @POST @Path("/withoutParameters")
+    // Added the path due to change of CXF-6321
     public Response multipartPostWithoutParameters(
             @Multipart(value = "part1", type = "image/jpeg") DataHandler dh1, 
             @Multipart(value = "part2", type = "image/jpeg") DataHandler dh2,