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>