[exo-jcr-commits] exo-jcr SVN: r2413 - jcr/trunk/exo.jcr.component.ext/src/test/resources/conf/standalone.

do-not-reply at jboss.org do-not-reply at jboss.org
Thu May 20 09:26:23 EDT 2010


Author: areshetnyak
Date: 2010-05-20 09:26:22 -0400 (Thu, 20 May 2010)
New Revision: 2413

Modified:
   jcr/trunk/exo.jcr.component.ext/src/test/resources/conf/standalone/test-configuration.xml
Log:
EXOJCR-737 : Use case was added to that issue.

Modified: jcr/trunk/exo.jcr.component.ext/src/test/resources/conf/standalone/test-configuration.xml
===================================================================
--- jcr/trunk/exo.jcr.component.ext/src/test/resources/conf/standalone/test-configuration.xml	2010-05-20 13:25:49 UTC (rev 2412)
+++ jcr/trunk/exo.jcr.component.ext/src/test/resources/conf/standalone/test-configuration.xml	2010-05-20 13:26:22 UTC (rev 2413)
@@ -1838,6 +1838,33 @@
          <init-params>
             <value-param>
                <name>bind-name</name>
+               <value>jdbcjcr25</value>
+            </value-param>
+            <value-param>
+               <name>class-name</name>
+               <value>javax.sql.DataSource</value>
+            </value-param>
+            <value-param>
+               <name>factory</name>
+               <value>org.apache.commons.dbcp.BasicDataSourceFactory</value>
+            </value-param>
+            <properties-param>
+               <name>ref-addresses</name>
+               <description>ref-addresses</description>
+               <property name="driverClassName" value="org.hsqldb.jdbcDriver" />
+               <property name="url" value="jdbc:hsqldb:file:target/temp/data/jcr25" />
+               <property name="username" value="sa" />
+               <property name="password" value="" />
+            </properties-param>
+         </init-params>
+      </component-plugin>
+      <component-plugin>
+         <name>bind.datasource</name>
+         <set-method>addPlugin</set-method>
+         <type>org.exoplatform.services.naming.BindReferencePlugin</type>
+         <init-params>
+            <value-param>
+               <name>bind-name</name>
                <value>jdbcjcr_to_rest_repo_1</value>
             </value-param>
             <value-param>



More information about the exo-jcr-commits mailing list