JBossWS SVN: r19739 - in stack/cxf/trunk/modules/testsuite/shared-tests/src/test/java/org/jboss/test/ws/jaxws: date and 1 other directory.
by jbossws-commits@lists.jboss.org
Author: asoldano
Date: 2015-04-30 06:43:38 -0400 (Thu, 30 Apr 2015)
New Revision: 19739
Added:
stack/cxf/trunk/modules/testsuite/shared-tests/src/test/java/org/jboss/test/ws/jaxws/date/
stack/cxf/trunk/modules/testsuite/shared-tests/src/test/java/org/jboss/test/ws/jaxws/date/DateAdapter.java
stack/cxf/trunk/modules/testsuite/shared-tests/src/test/java/org/jboss/test/ws/jaxws/date/DateTestCase.java
stack/cxf/trunk/modules/testsuite/shared-tests/src/test/java/org/jboss/test/ws/jaxws/date/Endpoint.java
stack/cxf/trunk/modules/testsuite/shared-tests/src/test/java/org/jboss/test/ws/jaxws/date/EndpointImpl.java
stack/cxf/trunk/modules/testsuite/shared-tests/src/test/java/org/jboss/test/ws/jaxws/date/package-info.java
Log:
Adding a simple test on exchanging dates with a given format
Added: stack/cxf/trunk/modules/testsuite/shared-tests/src/test/java/org/jboss/test/ws/jaxws/date/DateAdapter.java
===================================================================
--- stack/cxf/trunk/modules/testsuite/shared-tests/src/test/java/org/jboss/test/ws/jaxws/date/DateAdapter.java (rev 0)
+++ stack/cxf/trunk/modules/testsuite/shared-tests/src/test/java/org/jboss/test/ws/jaxws/date/DateAdapter.java 2015-04-30 10:43:38 UTC (rev 19739)
@@ -0,0 +1,44 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2012, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags. See the copyright.txt file in the
+ * distribution for a full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+package org.jboss.test.ws.jaxws.date;
+
+import java.text.SimpleDateFormat;
+import java.util.Date;
+
+import javax.xml.bind.annotation.adapters.XmlAdapter;
+
+public class DateAdapter extends XmlAdapter<String, Date>
+{
+ @Override
+ public String marshal(Date v) throws Exception
+ {
+ SimpleDateFormat dateFormat = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
+ return dateFormat.format(v);
+ }
+
+ @Override
+ public Date unmarshal(String v) throws Exception
+ {
+ SimpleDateFormat dateFormat = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
+ return dateFormat.parse(v);
+ }
+}
Property changes on: stack/cxf/trunk/modules/testsuite/shared-tests/src/test/java/org/jboss/test/ws/jaxws/date/DateAdapter.java
___________________________________________________________________
Added: svn:keywords
+ Rev Date
Added: svn:eol-style
+ native
Added: stack/cxf/trunk/modules/testsuite/shared-tests/src/test/java/org/jboss/test/ws/jaxws/date/DateTestCase.java
===================================================================
--- stack/cxf/trunk/modules/testsuite/shared-tests/src/test/java/org/jboss/test/ws/jaxws/date/DateTestCase.java (rev 0)
+++ stack/cxf/trunk/modules/testsuite/shared-tests/src/test/java/org/jboss/test/ws/jaxws/date/DateTestCase.java 2015-04-30 10:43:38 UTC (rev 19739)
@@ -0,0 +1,85 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2006, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags. See the copyright.txt file in the
+ * distribution for a full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+package org.jboss.test.ws.jaxws.date;
+
+import java.net.URL;
+import java.util.Date;
+
+import javax.xml.namespace.QName;
+import javax.xml.ws.Service;
+
+import org.jboss.arquillian.container.test.api.Deployment;
+import org.jboss.arquillian.container.test.api.RunAsClient;
+import org.jboss.arquillian.junit.Arquillian;
+import org.jboss.arquillian.test.api.ArquillianResource;
+import org.jboss.shrinkwrap.api.ArchivePath;
+import org.jboss.shrinkwrap.api.Filter;
+import org.jboss.shrinkwrap.api.ShrinkWrap;
+import org.jboss.shrinkwrap.api.spec.WebArchive;
+import org.jboss.wsf.test.JBossWSTest;
+import org.junit.Test;
+import org.junit.runner.RunWith;
+
+/**
+ * A simple test with endpoint getting/sending Date objects marshalled
+ * to siple yyyy-MM-dd HH:mm:ss format.
+ *
+ * @author alessio.soldano(a)jboss.com
+ * @since 30-Apr-2015
+ */
+(a)RunWith(Arquillian.class)
+public class DateTestCase extends JBossWSTest
+{
+ @ArquillianResource
+ private URL baseURL;
+
+ @Deployment(testable = false)
+ public static WebArchive createDeployments() {
+ WebArchive archive = ShrinkWrap.create(WebArchive.class, "jaxws-date.war");
+ archive
+ .addManifest()
+ .addPackages(false, new Filter<ArchivePath>() {
+ @Override
+ public boolean include(ArchivePath path)
+ {
+ return !path.get().contains("TestCase");
+ }
+ }, "org.jboss.test.ws.jaxws.date");
+ return archive;
+ }
+
+ @Test
+ @RunAsClient
+ public void testDate() throws Exception
+ {
+ URL wsdlURL = new URL(baseURL + "/MyService?wsdl");
+ QName qname = new QName("http://date.jaxws.ws.test.jboss.org/", "MyService");
+ Service service = Service.create(wsdlURL, qname);
+ Endpoint port = service.getPort(Endpoint.class);
+
+ Date date = new Date();
+
+ Date response = port.echoDate(date);
+ assertEquals(date.toString(), response.toString());
+
+ }
+}
Property changes on: stack/cxf/trunk/modules/testsuite/shared-tests/src/test/java/org/jboss/test/ws/jaxws/date/DateTestCase.java
___________________________________________________________________
Added: svn:keywords
+ Rev Date
Added: svn:eol-style
+ native
Added: stack/cxf/trunk/modules/testsuite/shared-tests/src/test/java/org/jboss/test/ws/jaxws/date/Endpoint.java
===================================================================
--- stack/cxf/trunk/modules/testsuite/shared-tests/src/test/java/org/jboss/test/ws/jaxws/date/Endpoint.java (rev 0)
+++ stack/cxf/trunk/modules/testsuite/shared-tests/src/test/java/org/jboss/test/ws/jaxws/date/Endpoint.java 2015-04-30 10:43:38 UTC (rev 19739)
@@ -0,0 +1,33 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2006, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags. See the copyright.txt file in the
+ * distribution for a full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+package org.jboss.test.ws.jaxws.date;
+
+import java.util.Date;
+
+import javax.jws.WebService;
+
+@WebService
+public interface Endpoint
+{
+ public String echo(String message);
+ public Date echoDate(Date date);
+}
Property changes on: stack/cxf/trunk/modules/testsuite/shared-tests/src/test/java/org/jboss/test/ws/jaxws/date/Endpoint.java
___________________________________________________________________
Added: svn:keywords
+ Rev Date
Added: svn:eol-style
+ native
Added: stack/cxf/trunk/modules/testsuite/shared-tests/src/test/java/org/jboss/test/ws/jaxws/date/EndpointImpl.java
===================================================================
--- stack/cxf/trunk/modules/testsuite/shared-tests/src/test/java/org/jboss/test/ws/jaxws/date/EndpointImpl.java (rev 0)
+++ stack/cxf/trunk/modules/testsuite/shared-tests/src/test/java/org/jboss/test/ws/jaxws/date/EndpointImpl.java 2015-04-30 10:43:38 UTC (rev 19739)
@@ -0,0 +1,42 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2006, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags. See the copyright.txt file in the
+ * distribution for a full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+package org.jboss.test.ws.jaxws.date;
+
+import java.util.Date;
+
+import javax.jws.WebService;
+
+@WebService(serviceName="MyService", endpointInterface="org.jboss.test.ws.jaxws.date.Endpoint")
+public class EndpointImpl implements Endpoint
+{
+ @Override
+ public String echo(String message)
+ {
+ return message;
+ }
+
+ @Override
+ public Date echoDate(Date date)
+ {
+ return date;
+ }
+}
Property changes on: stack/cxf/trunk/modules/testsuite/shared-tests/src/test/java/org/jboss/test/ws/jaxws/date/EndpointImpl.java
___________________________________________________________________
Added: svn:keywords
+ Rev Date
Added: svn:eol-style
+ native
Added: stack/cxf/trunk/modules/testsuite/shared-tests/src/test/java/org/jboss/test/ws/jaxws/date/package-info.java
===================================================================
--- stack/cxf/trunk/modules/testsuite/shared-tests/src/test/java/org/jboss/test/ws/jaxws/date/package-info.java (rev 0)
+++ stack/cxf/trunk/modules/testsuite/shared-tests/src/test/java/org/jboss/test/ws/jaxws/date/package-info.java 2015-04-30 10:43:38 UTC (rev 19739)
@@ -0,0 +1,27 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2012, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags. See the copyright.txt file in the
+ * distribution for a full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+@XmlJavaTypeAdapters({ @XmlJavaTypeAdapter(type = java.util.Date.class, value = DateAdapter.class) })
+package org.jboss.test.ws.jaxws.date;
+
+import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
+import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapters;
+
Property changes on: stack/cxf/trunk/modules/testsuite/shared-tests/src/test/java/org/jboss/test/ws/jaxws/date/package-info.java
___________________________________________________________________
Added: svn:keywords
+ Rev Date
Added: svn:eol-style
+ native
9 years, 8 months
JBossWS SVN: r19738 - stack/cxf/trunk/modules/testsuite/cxf-tests/src/test/java/org/jboss/test/ws/jaxws/samples/wsrm/store.
by jbossws-commits@lists.jboss.org
Author: jim.ma
Date: 2015-04-29 03:03:33 -0400 (Wed, 29 Apr 2015)
New Revision: 19738
Modified:
stack/cxf/trunk/modules/testsuite/cxf-tests/src/test/java/org/jboss/test/ws/jaxws/samples/wsrm/store/RMStoreCheckInterceptor.java
Log:
Minor change to make this test more reliable
Modified: stack/cxf/trunk/modules/testsuite/cxf-tests/src/test/java/org/jboss/test/ws/jaxws/samples/wsrm/store/RMStoreCheckInterceptor.java
===================================================================
--- stack/cxf/trunk/modules/testsuite/cxf-tests/src/test/java/org/jboss/test/ws/jaxws/samples/wsrm/store/RMStoreCheckInterceptor.java 2015-04-29 04:15:02 UTC (rev 19737)
+++ stack/cxf/trunk/modules/testsuite/cxf-tests/src/test/java/org/jboss/test/ws/jaxws/samples/wsrm/store/RMStoreCheckInterceptor.java 2015-04-29 07:03:33 UTC (rev 19738)
@@ -29,7 +29,6 @@
import org.apache.cxf.phase.Phase;
import org.apache.cxf.ws.rm.RMDeliveryInterceptor;
import org.apache.cxf.ws.rm.RMManager;
-import org.apache.cxf.ws.rm.RMUtils;
import org.apache.cxf.ws.rm.SourceSequence;
/**
* Interceptor to check if the RMStore is enabled and stores data
@@ -39,7 +38,7 @@
public class RMStoreCheckInterceptor extends AbstractPhaseInterceptor<Message>
{
- public static int seqSize;
+ public static volatile int seqSize;
private String endpointIdentifier = "{http://www.jboss.org/jbossws/ws-extensions/wsrm}RMService.{http://www.jboss.org/jbossws/ws-extensions/wsrm}RMEndpointPort@cxf";
public RMStoreCheckInterceptor()
{
9 years, 8 months
JBossWS SVN: r19737 - in stack/cxf/trunk: modules/testsuite/cxf-tests and 5 other directories.
by jbossws-commits@lists.jboss.org
Author: jim.ma
Date: 2015-04-29 00:15:02 -0400 (Wed, 29 Apr 2015)
New Revision: 19737
Added:
stack/cxf/trunk/modules/testsuite/cxf-tests/src/test/java/org/jboss/test/ws/jaxws/samples/wsrm/store/
stack/cxf/trunk/modules/testsuite/cxf-tests/src/test/java/org/jboss/test/ws/jaxws/samples/wsrm/store/Endpoint.java
stack/cxf/trunk/modules/testsuite/cxf-tests/src/test/java/org/jboss/test/ws/jaxws/samples/wsrm/store/EndpointImpl.java
stack/cxf/trunk/modules/testsuite/cxf-tests/src/test/java/org/jboss/test/ws/jaxws/samples/wsrm/store/RMStoreCheckInterceptor.java
stack/cxf/trunk/modules/testsuite/cxf-tests/src/test/java/org/jboss/test/ws/jaxws/samples/wsrm/store/RMStoreFeature.java
stack/cxf/trunk/modules/testsuite/cxf-tests/src/test/java/org/jboss/test/ws/jaxws/samples/wsrm/store/WSRMStoreFeatureTestCase.java
stack/cxf/trunk/modules/testsuite/cxf-tests/src/test/resources/jaxws/samples/wsrm-store/
stack/cxf/trunk/modules/testsuite/cxf-tests/src/test/resources/jaxws/samples/wsrm-store/WEB-INF/
stack/cxf/trunk/modules/testsuite/cxf-tests/src/test/resources/jaxws/samples/wsrm-store/WEB-INF/web.xml
stack/cxf/trunk/modules/testsuite/cxf-tests/src/test/resources/jaxws/samples/wsrm-store/rmstore-ds.xml
Modified:
stack/cxf/trunk/modules/testsuite/cxf-tests/pom.xml
stack/cxf/trunk/pom.xml
Log:
[JBWS-3907]:Add ws-rm test which configures RMManager/RMStore without spring
Modified: stack/cxf/trunk/modules/testsuite/cxf-tests/pom.xml
===================================================================
--- stack/cxf/trunk/modules/testsuite/cxf-tests/pom.xml 2015-04-24 20:04:52 UTC (rev 19736)
+++ stack/cxf/trunk/modules/testsuite/cxf-tests/pom.xml 2015-04-29 04:15:02 UTC (rev 19737)
@@ -51,6 +51,11 @@
<scope>test</scope>
</dependency>
<dependency>
+ <groupId>org.apache.derby</groupId>
+ <artifactId>derby</artifactId>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<scope>provided</scope>
Added: stack/cxf/trunk/modules/testsuite/cxf-tests/src/test/java/org/jboss/test/ws/jaxws/samples/wsrm/store/Endpoint.java
===================================================================
--- stack/cxf/trunk/modules/testsuite/cxf-tests/src/test/java/org/jboss/test/ws/jaxws/samples/wsrm/store/Endpoint.java (rev 0)
+++ stack/cxf/trunk/modules/testsuite/cxf-tests/src/test/java/org/jboss/test/ws/jaxws/samples/wsrm/store/Endpoint.java 2015-04-29 04:15:02 UTC (rev 19737)
@@ -0,0 +1,43 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2015, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags. See the copyright.txt file in the
+ * distribution for a full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+package org.jboss.test.ws.jaxws.samples.wsrm.store;
+
+import javax.jws.WebMethod;
+import javax.jws.WebService;
+import javax.xml.ws.soap.Addressing;
+
+import org.apache.cxf.annotations.Logging;
+import org.apache.cxf.interceptor.InInterceptors;
+/**
+ *
+ * @author <a herf="mailto:ema@redhat.com">Jim Ma</a>
+ *
+ */
+@WebService(name = "RMEndpoint", targetNamespace = "http://www.jboss.org/jbossws/ws-extensions/wsrm")
+@Logging
+@Addressing(required=true)
+@InInterceptors(interceptors = {"org.jboss.test.ws.jaxws.samples.wsrm.store.RMStoreCheckInterceptor"})
+public interface Endpoint {
+ @WebMethod
+ String checkPersistent(String arg0);
+
+}
Property changes on: stack/cxf/trunk/modules/testsuite/cxf-tests/src/test/java/org/jboss/test/ws/jaxws/samples/wsrm/store/Endpoint.java
___________________________________________________________________
Added: svn:keywords
+ Rev Date
Added: svn:eol-style
+ native
Added: stack/cxf/trunk/modules/testsuite/cxf-tests/src/test/java/org/jboss/test/ws/jaxws/samples/wsrm/store/EndpointImpl.java
===================================================================
--- stack/cxf/trunk/modules/testsuite/cxf-tests/src/test/java/org/jboss/test/ws/jaxws/samples/wsrm/store/EndpointImpl.java (rev 0)
+++ stack/cxf/trunk/modules/testsuite/cxf-tests/src/test/java/org/jboss/test/ws/jaxws/samples/wsrm/store/EndpointImpl.java 2015-04-29 04:15:02 UTC (rev 19737)
@@ -0,0 +1,47 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2015, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags. See the copyright.txt file in the
+ * distribution for a full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+package org.jboss.test.ws.jaxws.samples.wsrm.store;
+
+import javax.jws.WebMethod;
+import javax.jws.WebService;
+
+import org.apache.cxf.feature.Features;
+/**
+ *
+ * @author <a herf="mailto:ema@redhat.com">Jim Ma</a>
+ *
+ */
+@WebService(name = "RMEndpoint",
+ targetNamespace = "http://www.jboss.org/jbossws/ws-extensions/wsrm",
+ serviceName = "RMService")
+@Features (classes = {RMStoreFeature.class})
+public class EndpointImpl implements Endpoint
+{
+ @WebMethod
+ public String checkPersistent(String input)
+ {
+ if (RMStoreCheckInterceptor.seqSize > 0) {
+ return input + " with RMStore";
+ }
+ return input;
+ }
+}
\ No newline at end of file
Property changes on: stack/cxf/trunk/modules/testsuite/cxf-tests/src/test/java/org/jboss/test/ws/jaxws/samples/wsrm/store/EndpointImpl.java
___________________________________________________________________
Added: svn:keywords
+ Rev Date
Added: svn:eol-style
+ native
Added: stack/cxf/trunk/modules/testsuite/cxf-tests/src/test/java/org/jboss/test/ws/jaxws/samples/wsrm/store/RMStoreCheckInterceptor.java
===================================================================
--- stack/cxf/trunk/modules/testsuite/cxf-tests/src/test/java/org/jboss/test/ws/jaxws/samples/wsrm/store/RMStoreCheckInterceptor.java (rev 0)
+++ stack/cxf/trunk/modules/testsuite/cxf-tests/src/test/java/org/jboss/test/ws/jaxws/samples/wsrm/store/RMStoreCheckInterceptor.java 2015-04-29 04:15:02 UTC (rev 19737)
@@ -0,0 +1,61 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2015, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags. See the copyright.txt file in the
+ * distribution for a full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+package org.jboss.test.ws.jaxws.samples.wsrm.store;
+
+import java.util.Collection;
+
+import org.apache.cxf.interceptor.Fault;
+import org.apache.cxf.message.Message;
+import org.apache.cxf.phase.AbstractPhaseInterceptor;
+import org.apache.cxf.phase.Phase;
+import org.apache.cxf.ws.rm.RMDeliveryInterceptor;
+import org.apache.cxf.ws.rm.RMManager;
+import org.apache.cxf.ws.rm.RMUtils;
+import org.apache.cxf.ws.rm.SourceSequence;
+/**
+ * Interceptor to check if the RMStore is enabled and stores data
+ * @author <a herf="mailto:ema@redhat.com">Jim Ma</a>
+ *
+ */
+public class RMStoreCheckInterceptor extends AbstractPhaseInterceptor<Message>
+{
+
+ public static int seqSize;
+ private String endpointIdentifier = "{http://www.jboss.org/jbossws/ws-extensions/wsrm}RMService.{http://www.jboss.org/jbossws/ws-extensions/wsrm}RMEndpointPort@cxf";
+ public RMStoreCheckInterceptor()
+ {
+ super(Phase.POST_INVOKE);
+ this.addBefore(RMDeliveryInterceptor.class.getName());
+ }
+
+ @Override
+ public void handleMessage(Message message) throws Fault
+ {
+ RMManager rmManager = message.getExchange().getBus().getExtension(RMManager.class);
+ Collection<SourceSequence> seqs = rmManager.getStore().getSourceSequences(endpointIdentifier);
+ if (seqs != null) {
+ seqSize = seqs.size();
+ }
+ }
+
+}
+
\ No newline at end of file
Property changes on: stack/cxf/trunk/modules/testsuite/cxf-tests/src/test/java/org/jboss/test/ws/jaxws/samples/wsrm/store/RMStoreCheckInterceptor.java
___________________________________________________________________
Added: svn:keywords
+ Rev Date
Added: svn:eol-style
+ native
Added: stack/cxf/trunk/modules/testsuite/cxf-tests/src/test/java/org/jboss/test/ws/jaxws/samples/wsrm/store/RMStoreFeature.java
===================================================================
--- stack/cxf/trunk/modules/testsuite/cxf-tests/src/test/java/org/jboss/test/ws/jaxws/samples/wsrm/store/RMStoreFeature.java (rev 0)
+++ stack/cxf/trunk/modules/testsuite/cxf-tests/src/test/java/org/jboss/test/ws/jaxws/samples/wsrm/store/RMStoreFeature.java 2015-04-29 04:15:02 UTC (rev 19737)
@@ -0,0 +1,124 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2015, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags. See the copyright.txt file in the
+ * distribution for a full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+package org.jboss.test.ws.jaxws.samples.wsrm.store;
+
+import java.sql.Connection;
+import java.sql.DriverManager;
+import java.sql.SQLException;
+
+import javax.naming.InitialContext;
+import javax.naming.NamingException;
+import javax.sql.DataSource;
+
+import org.apache.cxf.Bus;
+import org.apache.cxf.endpoint.Client;
+import org.apache.cxf.interceptor.InterceptorProvider;
+import org.apache.cxf.ws.rm.RM11Constants;
+import org.apache.cxf.ws.rm.feature.RMFeature;
+import org.apache.cxf.ws.rm.persistence.jdbc.RMTxStore;
+import org.apache.cxf.ws.rmp.v200502.RMAssertion;
+import org.apache.cxf.ws.rmp.v200502.RMAssertion.BaseRetransmissionInterval;
+import org.jboss.logging.Logger.Level;
+import org.jboss.ws.common.Loggers;
+import org.jboss.wsf.spi.WSFException;
+
+/**
+ * Another {@link RMFeature} which allows set {@link Connection} or {@link DataSource} to store
+ * RMSequence or DestionationSequence message
+ * @author <a herf="mailto:ema@redhat.com">Jim Ma</a>
+ *
+ */
+public class RMStoreFeature extends RMFeature
+{
+ public static final String serverDataSource = "java:jboss/datasources/rmdb";
+ private InitialContext ctx;
+
+ protected void initializeProvider(InterceptorProvider provider, Bus bus)
+ {
+ String dataSource = serverDataSource;
+ RMTxStore rmStore = new RMDataSourceStore();
+ if (provider instanceof Client)
+ {
+ try
+ {
+ Connection con = DriverManager.getConnection("jdbc:derby:./target/wsrmdb;create=true", rmStore.getUserName(), rmStore.getPassword());
+ rmStore.setConnection(con);
+ }
+ catch (SQLException e)
+ {
+ Loggers.ROOT_LOGGER.log(Level.FATAL, "Can't create connection from " + rmStore.getUrl(), e);
+ throw new WSFException(e);
+ }
+ }
+ else
+ {
+ //server side
+ if (ctx == null)
+ {
+ try
+ {
+ ctx = new InitialContext();
+ DataSource rmDs = (DataSource)ctx.lookup(dataSource);
+ rmStore.setDataSource(rmDs);
+ }
+ catch (NamingException e)
+ {
+ Loggers.DEPLOYMENT_LOGGER.log(Level.FATAL, "Can't create datasource with " + dataSource, e);
+ throw new WSFException(e);
+ }
+ }
+
+ }
+ rmStore.init();
+ this.setStore(rmStore);
+ //force to use RM11 and it can only work with wsa200508 (http://www.w3.org/2005/08/addressing) which is enabled with @Addressing
+ this.setRMNamespace(RM11Constants.NAMESPACE_URI);
+ RMAssertion assertion = new RMAssertion();
+ BaseRetransmissionInterval retransMissionInveral = new BaseRetransmissionInterval();
+ retransMissionInveral.setMilliseconds(10000L);
+ assertion.setBaseRetransmissionInterval(retransMissionInveral);
+ this.setRMAssertion(assertion);
+ super.initializeProvider(provider, bus);
+ }
+
+ class RMDataSourceStore extends RMTxStore
+ {
+ protected Connection verifyConnection()
+ {
+ Connection con = super.verifyConnection();
+ try
+ {
+ if (con.getAutoCommit())
+ {
+ con.setAutoCommit(false);
+ }
+ }
+ catch (SQLException e)
+ {
+
+ Loggers.ROOT_LOGGER.log(Level.ERROR, "Can't setAutoCommit(false) for RMStore connection", e);
+ throw new WSFException(e);
+ }
+ return con;
+ }
+ }
+}
Property changes on: stack/cxf/trunk/modules/testsuite/cxf-tests/src/test/java/org/jboss/test/ws/jaxws/samples/wsrm/store/RMStoreFeature.java
___________________________________________________________________
Added: svn:keywords
+ Rev Date
Added: svn:eol-style
+ native
Added: stack/cxf/trunk/modules/testsuite/cxf-tests/src/test/java/org/jboss/test/ws/jaxws/samples/wsrm/store/WSRMStoreFeatureTestCase.java
===================================================================
--- stack/cxf/trunk/modules/testsuite/cxf-tests/src/test/java/org/jboss/test/ws/jaxws/samples/wsrm/store/WSRMStoreFeatureTestCase.java (rev 0)
+++ stack/cxf/trunk/modules/testsuite/cxf-tests/src/test/java/org/jboss/test/ws/jaxws/samples/wsrm/store/WSRMStoreFeatureTestCase.java 2015-04-29 04:15:02 UTC (rev 19737)
@@ -0,0 +1,82 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2015, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags. See the copyright.txt file in the
+ * distribution for a full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+package org.jboss.test.ws.jaxws.samples.wsrm.store;
+
+import java.io.File;
+import java.net.URL;
+
+import javax.naming.InitialContext;
+import javax.xml.namespace.QName;
+import javax.xml.ws.Service;
+
+import org.jboss.arquillian.container.test.api.Deployment;
+import org.jboss.arquillian.container.test.api.RunAsClient;
+import org.jboss.arquillian.junit.Arquillian;
+import org.jboss.arquillian.test.api.ArquillianResource;
+import org.jboss.shrinkwrap.api.ShrinkWrap;
+import org.jboss.shrinkwrap.api.asset.StringAsset;
+import org.jboss.shrinkwrap.api.spec.WebArchive;
+import org.jboss.wsf.test.JBossWSTest;
+import org.jboss.wsf.test.JBossWSTestHelper;
+import org.junit.Test;
+import org.junit.runner.RunWith;
+
+(a)RunWith(Arquillian.class)
+/**
+ * @author <a herf="mailto:ema@redhat.com">Jim Ma</a>
+ *
+ */
+public class WSRMStoreFeatureTestCase extends JBossWSTest
+{
+ @ArquillianResource
+ private URL baseURL;
+ @ArquillianResource
+ private InitialContext ctx;
+
+ @Deployment(testable = false)
+ public static WebArchive createDeployment()
+ {
+ WebArchive archive = ShrinkWrap.create(WebArchive.class, "jaxws-samples-wsrm-store.war");
+ archive.addAsManifestResource(new StringAsset("Manifest-Version: 1.0\n" + "Dependencies: org.apache.cxf.impl\n"), "MANIFEST.MF")
+ .addAsManifestResource(new File(JBossWSTestHelper.getTestResourcesDir() + "/jaxws/samples/wsrm-store/rmstore-ds.xml"), "rmstore-ds.xml")
+ .addClass(org.jboss.test.ws.jaxws.samples.wsrm.store.Endpoint.class).addClass(org.jboss.test.ws.jaxws.samples.wsrm.store.EndpointImpl.class)
+ .addClass(org.jboss.test.ws.jaxws.samples.wsrm.store.RMStoreFeature.class)
+ .addClass(org.jboss.test.ws.jaxws.samples.wsrm.store.RMStoreCheckInterceptor.class)
+ .setWebXML(new File(JBossWSTestHelper.getTestResourcesDir() + "/jaxws/samples/wsrm-store/WEB-INF/web.xml"));
+ JBossWSTestHelper.writeToFile(archive);
+ return archive;
+ }
+
+ @Test
+ @RunAsClient
+ public void test() throws Exception
+ {
+ QName serviceName = new QName("http://www.jboss.org/jbossws/ws-extensions/wsrm", "RMService");
+ Service service = Service.create(new URL(baseURL + "?wsdl"), serviceName);
+ Endpoint proxy = (Endpoint)service.getPort(Endpoint.class, new RMStoreFeature());
+ assertEquals("Hello World! with RMStore", proxy.checkPersistent("Hello World!"));
+ //check client RMStore enabled
+ assertTrue("RMStore is not enabled and stores data for client side", RMStoreCheckInterceptor.seqSize > 0);
+ }
+
+
+}
Property changes on: stack/cxf/trunk/modules/testsuite/cxf-tests/src/test/java/org/jboss/test/ws/jaxws/samples/wsrm/store/WSRMStoreFeatureTestCase.java
___________________________________________________________________
Added: svn:keywords
+ Rev Date
Added: svn:eol-style
+ native
Added: stack/cxf/trunk/modules/testsuite/cxf-tests/src/test/resources/jaxws/samples/wsrm-store/WEB-INF/web.xml
===================================================================
--- stack/cxf/trunk/modules/testsuite/cxf-tests/src/test/resources/jaxws/samples/wsrm-store/WEB-INF/web.xml (rev 0)
+++ stack/cxf/trunk/modules/testsuite/cxf-tests/src/test/resources/jaxws/samples/wsrm-store/WEB-INF/web.xml 2015-04-29 04:15:02 UTC (rev 19737)
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<web-app
+ version="2.5" xmlns="http://java.sun.com/xml/ns/javaee"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd">
+ <servlet>
+ <servlet-name>SimpleService</servlet-name>
+ <servlet-class>org.jboss.test.ws.jaxws.samples.wsrm.store.EndpointImpl</servlet-class>
+ </servlet>
+ <servlet-mapping>
+ <servlet-name>SimpleService</servlet-name>
+ <url-pattern>/*</url-pattern>
+ </servlet-mapping>
+</web-app>
Property changes on: stack/cxf/trunk/modules/testsuite/cxf-tests/src/test/resources/jaxws/samples/wsrm-store/WEB-INF/web.xml
___________________________________________________________________
Added: svn:mime-type
+ text/xml
Added: svn:keywords
+ Rev Date
Added: svn:eol-style
+ native
Added: stack/cxf/trunk/modules/testsuite/cxf-tests/src/test/resources/jaxws/samples/wsrm-store/rmstore-ds.xml
===================================================================
--- stack/cxf/trunk/modules/testsuite/cxf-tests/src/test/resources/jaxws/samples/wsrm-store/rmstore-ds.xml (rev 0)
+++ stack/cxf/trunk/modules/testsuite/cxf-tests/src/test/resources/jaxws/samples/wsrm-store/rmstore-ds.xml 2015-04-29 04:15:02 UTC (rev 19737)
@@ -0,0 +1,23 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<datasources xmlns="http://www.jboss.org/ironjacamar/schema">
+ <datasource jndi-name="java:jboss/datasources/rmdb" enabled="true" use-java-context="true"
+ pool-name="H2DS">
+ <connection-url>jdbc:h2:mem:rmdb;DB_CLOSE_DELAY=-1</connection-url>
+ <driver>h2</driver>
+ <pool></pool>
+ <security>
+ <user-name>sa</user-name>
+ <password>sa</password>
+ </security>
+ </datasource>
+ <datasource jndi-name="java:jboss/datasources/rmclientdb" enabled="true" use-java-context="true"
+ pool-name="H2DS">
+ <connection-url>jdbc:h2:mem:rmclientdb;DB_CLOSE_DELAY=-1</connection-url>
+ <driver>h2</driver>
+ <pool></pool>
+ <security>
+ <user-name>sa</user-name>
+ <password>sa</password>
+ </security>
+ </datasource>
+</datasources>
\ No newline at end of file
Property changes on: stack/cxf/trunk/modules/testsuite/cxf-tests/src/test/resources/jaxws/samples/wsrm-store/rmstore-ds.xml
___________________________________________________________________
Added: svn:mime-type
+ text/xml
Added: svn:keywords
+ Rev Date
Added: svn:eol-style
+ native
Modified: stack/cxf/trunk/pom.xml
===================================================================
--- stack/cxf/trunk/pom.xml 2015-04-24 20:04:52 UTC (rev 19736)
+++ stack/cxf/trunk/pom.xml 2015-04-29 04:15:02 UTC (rev 19737)
@@ -109,6 +109,7 @@
<wstx.version>4.4.1</wstx.version>
<spring.version>3.2.8.RELEASE</spring.version>
<shrinkwrap.version>1.1.3</shrinkwrap.version>
+ <derby.version>10.2.2.0</derby.version>
<arquillian.version>1.1.7.Final</arquillian.version>
<arquillian-wildfly-container.version>1.0.0.Alpha5</arquillian-wildfly-container.version>
<jaspi.api.version>1.0.0.Alpha1</jaspi.api.version>
@@ -1158,12 +1159,17 @@
<version>${javax.inject.version}</version>
</dependency>
<dependency>
+ <groupId>org.apache.derby</groupId>
+ <artifactId>derby</artifactId>
+ <version>${derby.version}</version>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
<groupId>org.jboss.shrinkwrap</groupId>
<artifactId>shrinkwrap-depchain</artifactId>
<version>${shrinkwrap.version}</version>
<type>pom</type>
</dependency>
-
<dependency>
<groupId>org.wildfly.arquillian</groupId>
<artifactId>wildfly-arquillian-container-managed</artifactId>
9 years, 8 months
JBossWS SVN: r19736 - projects/plugins/maven/archetypes/jaxws-codefirst/trunk.
by jbossws-commits@lists.jboss.org
Author: asoldano
Date: 2015-04-24 16:04:52 -0400 (Fri, 24 Apr 2015)
New Revision: 19736
Modified:
projects/plugins/maven/archetypes/jaxws-codefirst/trunk/pom.xml
Log:
Preparing for next dev cycle
Modified: projects/plugins/maven/archetypes/jaxws-codefirst/trunk/pom.xml
===================================================================
--- projects/plugins/maven/archetypes/jaxws-codefirst/trunk/pom.xml 2015-04-24 20:03:35 UTC (rev 19735)
+++ projects/plugins/maven/archetypes/jaxws-codefirst/trunk/pom.xml 2015-04-24 20:04:52 UTC (rev 19736)
@@ -9,7 +9,7 @@
</parent>
<groupId>org.jboss.ws.plugins.archetypes</groupId>
<artifactId>jaxws-codefirst</artifactId>
- <version>1.1.0.Final</version>
+ <version>1.1.1-SNAPSHOT</version>
<packaging>maven-archetype</packaging>
<name>JBossWS-CXF Archetype - Simple JAX-WS Code First</name>
9 years, 8 months
JBossWS SVN: r19734 - in stack/cxf/trunk: modules/addons and 13 other directories.
by jbossws-commits@lists.jboss.org
Author: asoldano
Date: 2015-04-24 15:59:37 -0400 (Fri, 24 Apr 2015)
New Revision: 19734
Modified:
stack/cxf/trunk/modules/addons/pom.xml
stack/cxf/trunk/modules/addons/transports/http/undertow/pom.xml
stack/cxf/trunk/modules/addons/transports/udp/pom.xml
stack/cxf/trunk/modules/client/pom.xml
stack/cxf/trunk/modules/dist/pom.xml
stack/cxf/trunk/modules/endorsed/pom.xml
stack/cxf/trunk/modules/jaspi/pom.xml
stack/cxf/trunk/modules/resources/pom.xml
stack/cxf/trunk/modules/server/pom.xml
stack/cxf/trunk/modules/test-utils/pom.xml
stack/cxf/trunk/modules/testsuite/cxf-spring-tests/pom.xml
stack/cxf/trunk/modules/testsuite/cxf-tests/pom.xml
stack/cxf/trunk/modules/testsuite/pom.xml
stack/cxf/trunk/modules/testsuite/shared-tests/pom.xml
stack/cxf/trunk/pom.xml
Log:
Prepare for next dev cycle
Modified: stack/cxf/trunk/modules/addons/pom.xml
===================================================================
--- stack/cxf/trunk/modules/addons/pom.xml 2015-04-24 19:38:06 UTC (rev 19733)
+++ stack/cxf/trunk/modules/addons/pom.xml 2015-04-24 19:59:37 UTC (rev 19734)
@@ -10,7 +10,7 @@
<parent>
<groupId>org.jboss.ws.cxf</groupId>
<artifactId>jbossws-cxf</artifactId>
- <version>5.0.0.Final</version>
+ <version>5.1.0-SNAPSHOT</version>
<relativePath>../../pom.xml</relativePath>
</parent>
Modified: stack/cxf/trunk/modules/addons/transports/http/undertow/pom.xml
===================================================================
--- stack/cxf/trunk/modules/addons/transports/http/undertow/pom.xml 2015-04-24 19:38:06 UTC (rev 19733)
+++ stack/cxf/trunk/modules/addons/transports/http/undertow/pom.xml 2015-04-24 19:59:37 UTC (rev 19734)
@@ -8,7 +8,7 @@
<parent>
<groupId>org.jboss.ws.cxf</groupId>
<artifactId>jbossws-cxf-addons</artifactId>
- <version>5.0.0.Final</version>
+ <version>5.1.0-SNAPSHOT</version>
<relativePath>../../../pom.xml</relativePath>
</parent>
Modified: stack/cxf/trunk/modules/addons/transports/udp/pom.xml
===================================================================
--- stack/cxf/trunk/modules/addons/transports/udp/pom.xml 2015-04-24 19:38:06 UTC (rev 19733)
+++ stack/cxf/trunk/modules/addons/transports/udp/pom.xml 2015-04-24 19:59:37 UTC (rev 19734)
@@ -8,7 +8,7 @@
<parent>
<groupId>org.jboss.ws.cxf</groupId>
<artifactId>jbossws-cxf-addons</artifactId>
- <version>5.0.0.Final</version>
+ <version>5.1.0-SNAPSHOT</version>
<relativePath>../../pom.xml</relativePath>
</parent>
Modified: stack/cxf/trunk/modules/client/pom.xml
===================================================================
--- stack/cxf/trunk/modules/client/pom.xml 2015-04-24 19:38:06 UTC (rev 19733)
+++ stack/cxf/trunk/modules/client/pom.xml 2015-04-24 19:59:37 UTC (rev 19734)
@@ -8,7 +8,7 @@
<parent>
<groupId>org.jboss.ws.cxf</groupId>
<artifactId>jbossws-cxf</artifactId>
- <version>5.0.0.Final</version>
+ <version>5.1.0-SNAPSHOT</version>
<relativePath>../../pom.xml</relativePath>
</parent>
Modified: stack/cxf/trunk/modules/dist/pom.xml
===================================================================
--- stack/cxf/trunk/modules/dist/pom.xml 2015-04-24 19:38:06 UTC (rev 19733)
+++ stack/cxf/trunk/modules/dist/pom.xml 2015-04-24 19:59:37 UTC (rev 19734)
@@ -8,7 +8,7 @@
<parent>
<groupId>org.jboss.ws.cxf</groupId>
<artifactId>jbossws-cxf</artifactId>
- <version>5.0.0.Final</version>
+ <version>5.1.0-SNAPSHOT</version>
<relativePath>../../pom.xml</relativePath>
</parent>
Modified: stack/cxf/trunk/modules/endorsed/pom.xml
===================================================================
--- stack/cxf/trunk/modules/endorsed/pom.xml 2015-04-24 19:38:06 UTC (rev 19733)
+++ stack/cxf/trunk/modules/endorsed/pom.xml 2015-04-24 19:59:37 UTC (rev 19734)
@@ -9,7 +9,7 @@
<parent>
<groupId>org.jboss.ws.cxf</groupId>
<artifactId>jbossws-cxf</artifactId>
- <version>5.0.0.Final</version>
+ <version>5.1.0-SNAPSHOT</version>
<relativePath>../../pom.xml</relativePath>
</parent>
Modified: stack/cxf/trunk/modules/jaspi/pom.xml
===================================================================
--- stack/cxf/trunk/modules/jaspi/pom.xml 2015-04-24 19:38:06 UTC (rev 19733)
+++ stack/cxf/trunk/modules/jaspi/pom.xml 2015-04-24 19:59:37 UTC (rev 19734)
@@ -9,7 +9,7 @@
<parent>
<groupId>org.jboss.ws.cxf</groupId>
<artifactId>jbossws-cxf</artifactId>
- <version>5.0.0.Final</version>
+ <version>5.1.0-SNAPSHOT</version>
<relativePath>../../pom.xml</relativePath>
</parent>
Modified: stack/cxf/trunk/modules/resources/pom.xml
===================================================================
--- stack/cxf/trunk/modules/resources/pom.xml 2015-04-24 19:38:06 UTC (rev 19733)
+++ stack/cxf/trunk/modules/resources/pom.xml 2015-04-24 19:59:37 UTC (rev 19734)
@@ -9,7 +9,7 @@
<parent>
<groupId>org.jboss.ws.cxf</groupId>
<artifactId>jbossws-cxf</artifactId>
- <version>5.0.0.Final</version>
+ <version>5.1.0-SNAPSHOT</version>
<relativePath>../../pom.xml</relativePath>
</parent>
Modified: stack/cxf/trunk/modules/server/pom.xml
===================================================================
--- stack/cxf/trunk/modules/server/pom.xml 2015-04-24 19:38:06 UTC (rev 19733)
+++ stack/cxf/trunk/modules/server/pom.xml 2015-04-24 19:59:37 UTC (rev 19734)
@@ -9,7 +9,7 @@
<parent>
<groupId>org.jboss.ws.cxf</groupId>
<artifactId>jbossws-cxf</artifactId>
- <version>5.0.0.Final</version>
+ <version>5.1.0-SNAPSHOT</version>
<relativePath>../../pom.xml</relativePath>
</parent>
Modified: stack/cxf/trunk/modules/test-utils/pom.xml
===================================================================
--- stack/cxf/trunk/modules/test-utils/pom.xml 2015-04-24 19:38:06 UTC (rev 19733)
+++ stack/cxf/trunk/modules/test-utils/pom.xml 2015-04-24 19:59:37 UTC (rev 19734)
@@ -10,7 +10,7 @@
<parent>
<groupId>org.jboss.ws.cxf</groupId>
<artifactId>jbossws-cxf</artifactId>
- <version>5.0.0.Final</version>
+ <version>5.1.0-SNAPSHOT</version>
<relativePath>../../pom.xml</relativePath>
</parent>
Modified: stack/cxf/trunk/modules/testsuite/cxf-spring-tests/pom.xml
===================================================================
--- stack/cxf/trunk/modules/testsuite/cxf-spring-tests/pom.xml 2015-04-24 19:38:06 UTC (rev 19733)
+++ stack/cxf/trunk/modules/testsuite/cxf-spring-tests/pom.xml 2015-04-24 19:59:37 UTC (rev 19734)
@@ -10,7 +10,7 @@
<parent>
<groupId>org.jboss.ws.cxf</groupId>
<artifactId>jbossws-cxf-testsuite</artifactId>
- <version>5.0.0.Final</version>
+ <version>5.1.0-SNAPSHOT</version>
<relativePath>../pom.xml</relativePath>
</parent>
Modified: stack/cxf/trunk/modules/testsuite/cxf-tests/pom.xml
===================================================================
--- stack/cxf/trunk/modules/testsuite/cxf-tests/pom.xml 2015-04-24 19:38:06 UTC (rev 19733)
+++ stack/cxf/trunk/modules/testsuite/cxf-tests/pom.xml 2015-04-24 19:59:37 UTC (rev 19734)
@@ -10,7 +10,7 @@
<parent>
<groupId>org.jboss.ws.cxf</groupId>
<artifactId>jbossws-cxf-testsuite</artifactId>
- <version>5.0.0.Final</version>
+ <version>5.1.0-SNAPSHOT</version>
<relativePath>../pom.xml</relativePath>
</parent>
Modified: stack/cxf/trunk/modules/testsuite/pom.xml
===================================================================
--- stack/cxf/trunk/modules/testsuite/pom.xml 2015-04-24 19:38:06 UTC (rev 19733)
+++ stack/cxf/trunk/modules/testsuite/pom.xml 2015-04-24 19:59:37 UTC (rev 19734)
@@ -10,7 +10,7 @@
<parent>
<groupId>org.jboss.ws.cxf</groupId>
<artifactId>jbossws-cxf</artifactId>
- <version>5.0.0.Final</version>
+ <version>5.1.0-SNAPSHOT</version>
<relativePath>../../pom.xml</relativePath>
</parent>
Modified: stack/cxf/trunk/modules/testsuite/shared-tests/pom.xml
===================================================================
--- stack/cxf/trunk/modules/testsuite/shared-tests/pom.xml 2015-04-24 19:38:06 UTC (rev 19733)
+++ stack/cxf/trunk/modules/testsuite/shared-tests/pom.xml 2015-04-24 19:59:37 UTC (rev 19734)
@@ -10,7 +10,7 @@
<parent>
<groupId>org.jboss.ws.cxf</groupId>
<artifactId>jbossws-cxf-testsuite</artifactId>
- <version>5.0.0.Final</version>
+ <version>5.1.0-SNAPSHOT</version>
<relativePath>../pom.xml</relativePath>
</parent>
Modified: stack/cxf/trunk/pom.xml
===================================================================
--- stack/cxf/trunk/pom.xml 2015-04-24 19:38:06 UTC (rev 19733)
+++ stack/cxf/trunk/pom.xml 2015-04-24 19:59:37 UTC (rev 19734)
@@ -32,7 +32,7 @@
<description>JBossWS CXF stack</description>
- <version>5.0.0.Final</version>
+ <version>5.1.0-SNAPSHOT</version>
<!-- Parent -->
<parent>
9 years, 8 months
JBossWS SVN: r19732 - projects/plugins/maven/archetypes/jaxws-codefirst/trunk.
by jbossws-commits@lists.jboss.org
Author: asoldano
Date: 2015-04-24 15:36:56 -0400 (Fri, 24 Apr 2015)
New Revision: 19732
Modified:
projects/plugins/maven/archetypes/jaxws-codefirst/trunk/pom.xml
Log:
Preparing for tagging
Modified: projects/plugins/maven/archetypes/jaxws-codefirst/trunk/pom.xml
===================================================================
--- projects/plugins/maven/archetypes/jaxws-codefirst/trunk/pom.xml 2015-04-24 19:35:41 UTC (rev 19731)
+++ projects/plugins/maven/archetypes/jaxws-codefirst/trunk/pom.xml 2015-04-24 19:36:56 UTC (rev 19732)
@@ -9,7 +9,7 @@
</parent>
<groupId>org.jboss.ws.plugins.archetypes</groupId>
<artifactId>jaxws-codefirst</artifactId>
- <version>1.1.0-SNAPSHOT</version>
+ <version>1.1.0.Final</version>
<packaging>maven-archetype</packaging>
<name>JBossWS-CXF Archetype - Simple JAX-WS Code First</name>
9 years, 8 months
JBossWS SVN: r19731 - in projects/plugins/maven/archetypes/jaxws-codefirst/trunk: src/main/resources/META-INF/maven and 1 other directories.
by jbossws-commits@lists.jboss.org
Author: asoldano
Date: 2015-04-24 15:35:41 -0400 (Fri, 24 Apr 2015)
New Revision: 19731
Modified:
projects/plugins/maven/archetypes/jaxws-codefirst/trunk/pom.xml
projects/plugins/maven/archetypes/jaxws-codefirst/trunk/src/main/resources/META-INF/maven/archetype-metadata.xml
projects/plugins/maven/archetypes/jaxws-codefirst/trunk/src/main/resources/archetype-resources/pom.xml
Log:
Use latest components
Modified: projects/plugins/maven/archetypes/jaxws-codefirst/trunk/pom.xml
===================================================================
--- projects/plugins/maven/archetypes/jaxws-codefirst/trunk/pom.xml 2015-04-24 19:32:08 UTC (rev 19730)
+++ projects/plugins/maven/archetypes/jaxws-codefirst/trunk/pom.xml 2015-04-24 19:35:41 UTC (rev 19731)
@@ -5,7 +5,7 @@
<parent>
<groupId>org.jboss.ws</groupId>
<artifactId>jbossws-parent</artifactId>
- <version>1.2.0.CR1</version>
+ <version>1.2.0.Final</version>
</parent>
<groupId>org.jboss.ws.plugins.archetypes</groupId>
<artifactId>jaxws-codefirst</artifactId>
Modified: projects/plugins/maven/archetypes/jaxws-codefirst/trunk/src/main/resources/META-INF/maven/archetype-metadata.xml
===================================================================
--- projects/plugins/maven/archetypes/jaxws-codefirst/trunk/src/main/resources/META-INF/maven/archetype-metadata.xml 2015-04-24 19:32:08 UTC (rev 19730)
+++ projects/plugins/maven/archetypes/jaxws-codefirst/trunk/src/main/resources/META-INF/maven/archetype-metadata.xml 2015-04-24 19:35:41 UTC (rev 19731)
@@ -4,7 +4,7 @@
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<requiredProperties>
<requiredProperty key="jbosswscxf" >
- <defaultValue>5.0.0.Beta2</defaultValue>
+ <defaultValue>5.0.0.Final</defaultValue>
</requiredProperty>
</requiredProperties>
<fileSets>
Modified: projects/plugins/maven/archetypes/jaxws-codefirst/trunk/src/main/resources/archetype-resources/pom.xml
===================================================================
--- projects/plugins/maven/archetypes/jaxws-codefirst/trunk/src/main/resources/archetype-resources/pom.xml 2015-04-24 19:32:08 UTC (rev 19730)
+++ projects/plugins/maven/archetypes/jaxws-codefirst/trunk/src/main/resources/archetype-resources/pom.xml 2015-04-24 19:35:41 UTC (rev 19731)
@@ -101,7 +101,7 @@
<plugin>
<groupId>org.jboss.ws.plugins</groupId>
<artifactId>jaxws-tools-maven-plugin</artifactId>
- <version>1.2.0.Beta1</version>
+ <version>1.2.0.Final</version>
<configuration>
<verbose>true</verbose>
</configuration>
9 years, 8 months