You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cxf.apache.org by am...@apache.org on 2020/01/16 20:27:08 UTC

[cxf] branch master updated: CXF-8194: MP Rest Client 1.4-RC1

This is an automated email from the ASF dual-hosted git repository.

amccright pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/cxf.git


The following commit(s) were added to refs/heads/master by this push:
     new d8619b1  CXF-8194: MP Rest Client 1.4-RC1
d8619b1 is described below

commit d8619b13cd9ff375590946c1349f6fe374959f30
Author: Andy McCright <j....@gmail.com>
AuthorDate: Mon Jan 13 09:08:18 2020 -0600

    CXF-8194: MP Rest Client 1.4-RC1
---
 parent/pom.xml                                                       | 2 +-
 .../apache/cxf/microprofile/client/CxfTypeSafeClientBuilderTest.java | 5 +++--
 2 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/parent/pom.xml b/parent/pom.xml
index 7adccab..74148de 100644
--- a/parent/pom.xml
+++ b/parent/pom.xml
@@ -163,7 +163,7 @@
         <cxf.lucene.version>8.2.0</cxf.lucene.version>
         <cxf.maven.core.version>3.6.2</cxf.maven.core.version>
         <cxf.microprofile.config.version>1.2</cxf.microprofile.config.version>
-        <cxf.microprofile.rest.client.version>1.3.3</cxf.microprofile.rest.client.version>
+        <cxf.microprofile.rest.client.version>1.4-RC1</cxf.microprofile.rest.client.version>
         <cxf.microprofile.openapi.version>1.1.2</cxf.microprofile.openapi.version>        
         <cxf.mina.version>2.0.21</cxf.mina.version>
         <cxf.mockito.version>3.1.0</cxf.mockito.version>
diff --git a/rt/rs/microprofile-client/src/test/java/org/apache/cxf/microprofile/client/CxfTypeSafeClientBuilderTest.java b/rt/rs/microprofile-client/src/test/java/org/apache/cxf/microprofile/client/CxfTypeSafeClientBuilderTest.java
index 76b5060..8ee16ac 100644
--- a/rt/rs/microprofile-client/src/test/java/org/apache/cxf/microprofile/client/CxfTypeSafeClientBuilderTest.java
+++ b/rt/rs/microprofile-client/src/test/java/org/apache/cxf/microprofile/client/CxfTypeSafeClientBuilderTest.java
@@ -46,6 +46,7 @@ import org.eclipse.microprofile.rest.client.tck.providers.TestMessageBodyWriter;
 import org.eclipse.microprofile.rest.client.tck.providers.TestParamConverterProvider;
 import org.eclipse.microprofile.rest.client.tck.providers.TestReaderInterceptor;
 import org.eclipse.microprofile.rest.client.tck.providers.TestWriterInterceptor;
+import org.eclipse.microprofile.rest.client.tck.providers.Widget;
 
 import org.junit.Assert;
 import org.junit.Test;
@@ -146,12 +147,12 @@ public class CxfTypeSafeClientBuilderTest {
             .baseUri(new URI("http://localhost:8080/neverUsed"))
             .build(InterfaceWithoutProvidersDefined.class);
 
-        Response response = client.executePut("foo", "bar");
+        Response response = client.executePut(new Widget("foo", 7), "bar");
         assertEquals(200, response.getStatus());
         assertEquals(Response.class.getName(), response.getHeaderString("ReturnType"));
         assertEquals("PUT", response.getHeaderString("PUT"));
         assertEquals("/{id}", response.getHeaderString("Path"));
-        assertEquals(String.class.getName(), response.getHeaderString("Parm1"));
+        assertEquals(Widget.class.getName(), response.getHeaderString("Parm1"));
         assertEquals(PathParam.class.getName(), response.getHeaderString("Parm1Annotation"));
         assertEquals(String.class.getName(), response.getHeaderString("Parm2"));
     }