[jboss-cvs] JBossAS SVN: r68395 - in trunk/testsuite: src/resources/test-configs and 3 other directories.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Tue Dec 18 23:58:44 EST 2007
Author: scott.stark at jboss.org
Date: 2007-12-18 23:58:44 -0500 (Tue, 18 Dec 2007)
New Revision: 68395
Added:
trunk/testsuite/src/resources/test-configs/profileservice/
trunk/testsuite/src/resources/test-configs/profileservice/deploy/
trunk/testsuite/src/resources/test-configs/profileservice/deploy/messaging/
trunk/testsuite/src/resources/test-configs/profileservice/deploy/messaging/destinations-service.xml
Modified:
trunk/testsuite/imports/server-config.xml
Log:
Add a profileservice test config to specify jms topics/queues
Modified: trunk/testsuite/imports/server-config.xml
===================================================================
--- trunk/testsuite/imports/server-config.xml 2007-12-19 04:25:10 UTC (rev 68394)
+++ trunk/testsuite/imports/server-config.xml 2007-12-19 04:58:44 UTC (rev 68395)
@@ -882,7 +882,7 @@
<macrodef name="create-profileservice-config"
description="Create a configuration with the full features profile service">
<attribute name="conf"/>
- <attribute name="baseconf"/>
+ <attribute name="baseconf"/>
<sequential>
<delete dir="${jboss.dist}/server/@{conf}" failonerror="false"/>
<echo message="creating @{conf} config, jboss.dist=${jboss.dist}"/>
@@ -892,13 +892,19 @@
<include name="lib/**"/>
<include name="deploy/**"/>
<include name="deployers/**"/>
- <include name="deploy-hasingleton/**"/>
</fileset>
</copy>
<copy file="${jboss.dist}/server/@{conf}/conf/bootstrap-repo-beans.xml"
tofile="${jboss.dist}/server/@{conf}/conf/bootstrap-beans.xml" overwrite="true"/>
<copy file="${jboss.dist}/server/@{conf}/deployers/profileservice-beans.xml.bak"
tofile="${jboss.dist}/server/@{conf}/deployers/profileservice-beans.xml" overwrite="true"/>
+ <!-- Overwrite any config content with that from the
+ resources/test-configs/@{conf}
+ -->
+ <echo message="Overwriting config descriptors" />
+ <copy todir="${jboss.dist}/server/@{conf}" overwrite="true" failonerror="false">
+ <fileset dir="${build.resources}/test-configs/@{conf}" />
+ </copy>
</sequential>
</macrodef>
Added: trunk/testsuite/src/resources/test-configs/profileservice/deploy/messaging/destinations-service.xml
===================================================================
--- trunk/testsuite/src/resources/test-configs/profileservice/deploy/messaging/destinations-service.xml (rev 0)
+++ trunk/testsuite/src/resources/test-configs/profileservice/deploy/messaging/destinations-service.xml 2007-12-19 04:58:44 UTC (rev 68395)
@@ -0,0 +1,43 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!--
+ Messaging Destinations deployment descriptor.
+
+ $Id$
+-->
+
+<server>
+
+ <!--
+ The Default Dead Letter Queue. This destination is a dependency of an EJB MDB container.
+ -->
+
+ <mbean code="org.jboss.jms.server.destination.QueueService"
+ name="jboss.messaging.destination:service=Queue,name=DLQ"
+ xmbean-dd="xmdesc/Queue-xmbean.xml">
+ <annotation>@org.jboss.system.deployers.managed.ManagementObjectClass(code=org.jboss.jms.server.destination.QueueServiceMO)</annotation>
+ <depends optional-attribute-name="ServerPeer">jboss.messaging:service=ServerPeer</depends>
+ <depends>jboss.messaging:service=PostOffice</depends>
+ </mbean>
+
+ <!--
+ The Default Expiry Queue.
+ -->
+
+ <mbean code="org.jboss.jms.server.destination.QueueService"
+ name="jboss.messaging.destination:service=Queue,name=ExpiryQueue"
+ xmbean-dd="xmdesc/Queue-xmbean.xml">
+ <annotation>@org.jboss.system.deployers.managed.ManagementObjectClass(code=org.jboss.jms.server.destination.QueueServiceMO)</annotation>
+ <depends optional-attribute-name="ServerPeer">jboss.messaging:service=ServerPeer</depends>
+ <depends>jboss.messaging:service=PostOffice</depends>
+ </mbean>
+
+ <mbean code="org.jboss.jms.server.destination.TopicService"
+ name="jboss.messaging.destination:service=Topic,name=TestTopic"
+ xmbean-dd="xmdesc/Topic-xmbean.xml">
+ <annotation>@org.jboss.system.deployers.managed.ManagementObjectClass(code=org.jboss.jms.server.destination.TopicServiceMO)</annotation>
+ <depends optional-attribute-name="ServerPeer">jboss.messaging:service=ServerPeer</depends>
+ <depends>jboss.messaging:service=PostOffice</depends>
+ </mbean>
+
+</server>
Property changes on: trunk/testsuite/src/resources/test-configs/profileservice/deploy/messaging/destinations-service.xml
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ native
More information about the jboss-cvs-commits
mailing list