[jboss-svn-commits] JBL Code SVN: r10983 - in labs/jbossesb/trunk/product/services/jbpm: src/test/java/org/jboss/soa/esb/services/jbpm/actions and 1 other directory.
jboss-svn-commits at lists.jboss.org
jboss-svn-commits at lists.jboss.org
Sun Apr 15 18:32:49 EDT 2007
Author: estebanschifman
Date: 2007-04-15 18:32:49 -0400 (Sun, 15 Apr 2007)
New Revision: 10983
Added:
labs/jbossesb/trunk/product/services/jbpm/src/test/java/org/jboss/soa/esb/services/jbpm/actions/hibernate.cfg.xml
labs/jbossesb/trunk/product/services/jbpm/src/test/java/org/jboss/soa/esb/services/jbpm/actions/jbpm.cfg.xml
Modified:
labs/jbossesb/trunk/product/services/jbpm/jboss-esb.xml
labs/jbossesb/trunk/product/services/jbpm/src/test/java/org/jboss/soa/esb/services/jbpm/actions/CommandInterpreterUnitTest.java
Log:
Use file transport for jbpm service (/tmp) - Add more unit tests
Modified: labs/jbossesb/trunk/product/services/jbpm/jboss-esb.xml
===================================================================
--- labs/jbossesb/trunk/product/services/jbpm/jboss-esb.xml 2007-04-15 22:31:05 UTC (rev 10982)
+++ labs/jbossesb/trunk/product/services/jbpm/jboss-esb.xml 2007-04-15 22:32:49 UTC (rev 10983)
@@ -2,6 +2,18 @@
<jbossesb xmlns="http://anonsvn.labs.jboss.com/labs/jbossesb/trunk/product/etc/schemas/xml/jbossesb-1.0.1.xsd" parameterReloadSecs="5">
<providers>
+ <fs-provider name="FSprovider1">
+ <fs-bus busid="jbpmFileChannel" >
+ <fs-message-filter
+ directory="/tmp"
+ input-suffix=".toJbpm"
+ work-suffix=".esbWorking"
+ post-delete="true"
+ error-delete="true"
+ />
+ </fs-bus>
+ </fs-provider>
+
<jms-provider name="JBossESB-JBM" connection-factory="ConnectionFactory">
<jms-bus busid="toJbpmJmsChannel">
@@ -20,10 +32,17 @@
name="nameJbpmService"
description="jBPM-ESB Service">
<listeners>
+ <!--
<jms-listener name="jmsToJbpmInterface"
busidref="toJbpmJmsChannel"
maxThreads="1"
/>
+ -->
+ <fs-listener name="jbpmThroughFile"
+ busidref="jbpmFileChannel"
+ maxThreads="1"
+ poll-frequency-seconds="5"
+ />
</listeners>
<actions>
<action name="jbpmCommand"
Modified: labs/jbossesb/trunk/product/services/jbpm/src/test/java/org/jboss/soa/esb/services/jbpm/actions/CommandInterpreterUnitTest.java
===================================================================
--- labs/jbossesb/trunk/product/services/jbpm/src/test/java/org/jboss/soa/esb/services/jbpm/actions/CommandInterpreterUnitTest.java 2007-04-15 22:31:05 UTC (rev 10982)
+++ labs/jbossesb/trunk/product/services/jbpm/src/test/java/org/jboss/soa/esb/services/jbpm/actions/CommandInterpreterUnitTest.java 2007-04-15 22:32:49 UTC (rev 10983)
@@ -26,17 +26,24 @@
import java.io.ByteArrayOutputStream;
import java.io.File;
import java.io.FileInputStream;
+import java.io.IOException;
import java.io.InputStream;
import junit.framework.JUnit4TestAdapter;
import org.apache.log4j.Logger;
+import org.jboss.soa.esb.common.Environment;
+import org.jboss.soa.esb.common.ModulePropertyManager;
import org.jboss.soa.esb.helpers.ConfigTree;
+import org.jboss.soa.esb.listeners.message.Invoker;
+import org.jboss.soa.esb.message.Message;
import org.jboss.soa.esb.services.jbpm.util.CommandVehicle;
import org.junit.AfterClass;
import org.junit.BeforeClass;
import org.junit.Test;
+import com.arjuna.common.util.propertyservice.PropertyManager;
+
/**
* Test the jBPM command interpreter class
*
@@ -49,7 +56,9 @@
private static Class thisClass = CommandInterpreterUnitTest.class;
static Logger _logger = Logger.getLogger(thisClass);
- static CommandInterpreter _interpreter;
+ static CommandInterpreter _interp;
+ static String _processDefinitionXml;
+ private static final String PROCESS_DEFINITION_NAME = "simple";
public static junit.framework.Test suite()
{
@@ -68,13 +77,10 @@
public static void runBeforeAllTests()
{
_logger.info("@BeforeClass invoked");
- try
+ try { _processDefinitionXml = stringFromFile("processdefinition.xml"); }
+ catch (IOException e)
{
- _interpreter = new CommandInterpreter(new ConfigTree("empty"));
- }
- catch (Exception e)
- {
- _logger.fatal("Unable to instantiate jbpm command interpreter",e);
+ _logger.fatal("Unable to load process definition ",e);
assertTrue(false);
}
}
@@ -94,35 +100,108 @@
assertTrue(true);
}
-// @Test
- public void testDeployProcessDefinition()
+// Once the hibernate.cfg.xml and jbpm.cfg.xml are properly located
+// the following line can be uncommented
+// @Test
+ public void testFullProcessLifecycle()
{
- _logger.info("testDeployProcessDefinition() invoked");
+ long instanceId=0 , tokenId=0;
+ CommandVehicle vhc = null ,response=null;
+ CommandVehicle.Operation operation=null;
+ Exception excJbpm;
+
+ _logger.info("testFullProcessLifecycle() invoked");
try
{
- CommandVehicle vhc = new CommandVehicle(CommandVehicle.Operation.deployProcessDefinition);
- vhc.setProcessDefinitionXml(stringFromFile("processdefinition.xml"));
- CommandVehicle response = new CommandVehicle
- (_interpreter.process(vhc.toCommandMessage()));
- if (null!=response)
- {
- _logger.info("Invoked : "+vhc.getOperator().toString());
- _logger.info("Return code = "+response.getReturnCode());
- _logger.info("Error messg = "+response.getErrorMessage());
- Exception e = response.getException();
- if (null==e)
- {
- _logger.info("PrcDef name = "+response.getProcessDefinitionName());
- _logger.info("PrcDef vers = "+response.getProcessVersion());
- }
- else
- _logger.error("Problems in jbpm.CommandInterpreter",e);
+ vhc = new CommandVehicle(CommandVehicle.Operation.deployProcessDefinition);
+ vhc.setProcessDefinitionXml(_processDefinitionXml);
+
+ response = invokeJbpm(vhc);
+
+ _logger.info("Invoked : "+vhc.getOperator().toString());
+ _logger.info("Return code = "+response.getReturnCode());
+ _logger.info("Error messg = "+response.getErrorMessage());
+ Exception e = response.getException();
+ if (null==e)
+ {
+ _logger.info("PrcDef name = "+response.getProcessDefinitionName());
+ _logger.info("PrcDef vers = "+response.getProcessVersion());
}
- else
- _logger.info("Response was not received");
- _logger.info("_______________________________________________________________________");
+ else
+ _logger.error("Problems in jbpm.CommandInterpreter",e);
+ _logger.info("_______________________________________________________________________");
assertTrue(CommandVehicle.RETCODE_OK.equals(response.getReturnCode()));
+
+ vhc = new CommandVehicle(CommandVehicle.Operation.newProcessInstance);
+ vhc.setProcessDefinitionName(PROCESS_DEFINITION_NAME);
+
+ response = invokeJbpm(vhc);
+
+ _logger.info("Invoked : "+vhc.getOperator().toString());
+ _logger.info("Return code = "+response.getReturnCode());
+ _logger.info("Error messg = "+response.getErrorMessage());
+ excJbpm = response.getException();
+ if (null==excJbpm)
+ {
+ _logger.info("PrcDef name = "+response.getProcessDefinitionName());
+ _logger.info("PrcDef vers = "+response.getProcessVersion());
+ _logger.info("Instance id = "+response.getInstanceId());
+ _logger.info("Token id = "+response.getTokenId());
+ _logger.info("Current node= "+response.getCurrentNodeName());
+
+ instanceId = response.getInstanceId();
+ tokenId = response.getTokenId();
+ }
+ else
+ _logger.error("Problems in jbpm.CommandInterpreter",excJbpm);
+ _logger.info("_______________________________________________________________________");
+
+ assertTrue(CommandVehicle.RETCODE_OK.equals(response.getReturnCode()));
+ boolean signalToken = true;
+ for (boolean continueLooping = true; continueLooping;)
+ {
+ operation = (signalToken) ? CommandVehicle.Operation.signalToken
+ : CommandVehicle.Operation.signalProcess;
+ // for this test, alternatively signal: token - process - token ...
+ signalToken = ! signalToken;
+
+ vhc = new CommandVehicle(operation);
+ if (CommandVehicle.Operation.signalToken.equals(vhc.getOperator()))
+ vhc.setTokenId(tokenId);
+ else
+ vhc.setInstanceId(instanceId);
+
+ response = invokeJbpm(vhc);
+
+ if (null!=response)
+ {
+ _logger.info("Invoked : "+operation.toString());
+ _logger.info("Return code = "+response.getReturnCode());
+ _logger.info("Error messg = "+response.getErrorMessage());
+ excJbpm = response.getException();
+ if (null==excJbpm)
+ {
+ _logger.info("PrcDef name = "+response.getProcessDefinitionName());
+ _logger.info("PrcDef vers = "+response.getProcessVersion());
+ _logger.info("Instance id = "+response.getInstanceId());
+ _logger.info("Token id = "+response.getTokenId());
+ _logger.info("Current node= "+response.getCurrentNodeName());
+ Object obj = response.getUserObject();
+ String ended = (null==obj)?"<null>":obj.toString();
+ _logger.info("Has ended = "+ ended);
+ continueLooping = "false".equals(ended);
+ }
+ else
+ _logger.error("Problems in jbpm.CommandInterpreter",excJbpm);
+ }
+ else
+ _logger.info("Response was not received");
+ _logger.info("_______________________________________________________________________");
+
+ assertTrue(CommandVehicle.RETCODE_OK.equals(response.getReturnCode()));
+ }
+
}
catch (Exception _ex)
{
@@ -130,13 +209,15 @@
assertTrue(false);
}
- }
- protected String stringFromFile(String pFileName) throws Exception
+ } //________________________________
+
+ protected static String stringFromFile(String pFileName) throws IOException
{
String userDir = System.getProperty("user.dir");
- String baseDir = (userDir.endsWith("jbpm_simple1"))
- ? userDir
- : userDir + "/product/services/jbpm/src/test/java";
+ String baseDir = (userDir.endsWith("product"))
+ ? userDir +"/services/jbpm/src/test/java"
+ : userDir +"/product/services/jbpm/src/test/java";
+ System.out.println("Base dir=<"+baseDir+">");
InputStream in = new FileInputStream(new File(baseDir,pFileName));
ByteArrayOutputStream out = new ByteArrayOutputStream();
byte[]ba = new byte[1000];
@@ -146,5 +227,46 @@
return out.toString();
}
+ protected CommandVehicle invokeJbpm(CommandVehicle vhc) throws Exception
+ {
+ return jbpmViaService(vhc);
+ }
+ protected CommandVehicle jbpmStraight(CommandVehicle vhc) throws Exception
+ {
+ if (null==_interp)
+ _interp = new CommandInterpreter(new ConfigTree("empty"));
+ return new CommandVehicle (_interp.process(vhc.toCommandMessage()));
+ }
+
+
+ //TODO Once the test is able to locate hibernate.cfg.xml in the path
+ // get rid of what follows, and change invokeJbpm so it uses jbpmStraight()
+ protected CommandVehicle jbpmViaService(CommandVehicle vhc) throws Exception
+ {
+ if (! _registrySet)
+ setupRegistry();
+ Message response = Invoker.invokeAndAwaitResponse
+ (vhc, "categoryJbpmService","nameJbpmService" , 20000);
+ return (null==response)?null:new CommandVehicle(response);
+ } //_______________________________
+
+ private static boolean _registrySet = false;
+ protected static void setupRegistry()
+ {
+ _registrySet = true;
+ PropertyManager mgr = null;
+ mgr = ModulePropertyManager.getPropertyManager("registry");
+ mgr.setProperty(Environment.REGISTRY_IMPEMENTATION_CLASS,"org.jboss.internal.soa.esb.services.registry.JAXRRegistryImpl");
+ mgr.setProperty(Environment.REGISTRY_QUERY_MANAGER_URI,"jnp://localhost:1099/InquiryService?org.apache.juddi.registry.rmi.Inquiry#inquire");
+ mgr.setProperty(Environment.REGISTRY_LIFECYCLE_MANAGER_URI,"jnp://localhost:1099/PublishService?org.apache.juddi.registry.rmi.Publish#publish");
+ mgr.setProperty(Environment.REGISTRY_FACTORY_CLASS,"org.apache.ws.scout.registry.ConnectionFactoryImpl");
+ mgr.setProperty(Environment.REGISTRY_SCOUT_TRANSPORT_CLASS,"org.apache.ws.scout.transport.RMITransport");
+ mgr.setProperty(Environment.REGISTRY_USER,"jbossesb");
+ mgr.setProperty(Environment.REGISTRY_PASSWORD,"password");
+ System.setProperty("javax.xml.registry.ConnectionFactoryClass", "org.apache.ws.scout.registry.ConnectionFactoryImpl");
+ mgr = ModulePropertyManager.getPropertyManager(ModulePropertyManager.CORE_MODULE) ;
+ mgr.setProperty(Environment.REGISTRY_FILE_HELPER_DIR, System.getProperty("java.io.tmpdir","/tmp")) ;
+ }
+
}
\ No newline at end of file
Added: labs/jbossesb/trunk/product/services/jbpm/src/test/java/org/jboss/soa/esb/services/jbpm/actions/hibernate.cfg.xml
===================================================================
--- labs/jbossesb/trunk/product/services/jbpm/src/test/java/org/jboss/soa/esb/services/jbpm/actions/hibernate.cfg.xml (rev 0)
+++ labs/jbossesb/trunk/product/services/jbpm/src/test/java/org/jboss/soa/esb/services/jbpm/actions/hibernate.cfg.xml 2007-04-15 22:32:49 UTC (rev 10983)
@@ -0,0 +1,179 @@
+<?xml version='1.0' encoding='utf-8'?>
+
+<!DOCTYPE hibernate-configuration PUBLIC
+ "-//Hibernate/Hibernate Configuration DTD 3.0//EN"
+ "http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd">
+
+<hibernate-configuration>
+ <session-factory>
+ <!-- jdbc connection properties -->
+ <property name="hibernate.dialect">org.hibernate.dialect.HSQLDialect</property>
+ <property name="hibernate.connection.driver_class">org.hsqldb.jdbcDriver</property>
+ <property name="hibernate.connection.url">jdbc:hsqldb:mem:.;sql.enforce_strict_size=true</property>
+ <property name="hibernate.hbm2ddl.auto">create</property>
+<!--
+ <property name="hibernate.connection.url">jdbc:hsqldb:hsql://localhost/juddi</property>
+-->
+ <property name="hibernate.connection.username">sa</property>
+ <property name="hibernate.connection.password"></property>
+<!--
+ <property name="hibernate.dialect">org.hibernate.dialect.PostgreSQLDialect</property>
+ <property name="hibernate.connection.driver_class">org.postgresql.Driver</property>
+ <property name="hibernate.connection.url">jdbc:postgresql://localhost:5432/JbpmDB</property>
+ <property name="hibernate.connection.username">postgres</property>
+ <property name="hibernate.connection.password"></property>
+-->
+
+
+ <property name="hibernate.cache.provider_class">org.hibernate.cache.HashtableCacheProvider</property>
+
+ <!-- other hibernate properties
+ <property name="hibernate.show_sql">true</property>
+ <property name="hibernate.format_sql">true</property>
+ <property name="hibernate.use_sql_comments">true</property>
+ -->
+
+ <!-- ############################################ -->
+ <!-- # mapping files with external dependencies # -->
+ <!-- ############################################ -->
+
+ <!-- following mapping file has a dependendy on -->
+ <!-- 'bsh-{version}.jar'. -->
+ <!-- uncomment this if you don't have bsh on your -->
+ <!-- classpath. you won't be able to use the -->
+ <!-- script element in process definition files -->
+ <mapping resource="org/jbpm/graph/action/Script.hbm.xml"/>
+
+ <!-- following mapping files have a dependendy on -->
+ <!-- 'jbpm-identity-{version}.jar', mapping files -->
+ <!-- of the pluggable jbpm identity component. -->
+ <!-- comment out the following 3 lines if you don't-->
+ <!-- want to use the default jBPM identity mgmgt -->
+ <!-- component -->
+ <mapping resource="org/jbpm/identity/User.hbm.xml"/>
+ <mapping resource="org/jbpm/identity/Group.hbm.xml"/>
+ <mapping resource="org/jbpm/identity/Membership.hbm.xml"/>
+
+ <!-- ###################### -->
+ <!-- # jbpm mapping files # -->
+ <!-- ###################### -->
+
+ <!-- hql queries and type defs -->
+ <mapping resource="org/jbpm/db/hibernate.queries.hbm.xml" />
+
+ <!-- graph.def mapping files -->
+ <mapping resource="org/jbpm/graph/def/ProcessDefinition.hbm.xml"/>
+ <mapping resource="org/jbpm/graph/def/Node.hbm.xml"/>
+ <mapping resource="org/jbpm/graph/def/Transition.hbm.xml"/>
+ <mapping resource="org/jbpm/graph/def/Event.hbm.xml"/>
+ <mapping resource="org/jbpm/graph/def/Action.hbm.xml"/>
+ <mapping resource="org/jbpm/graph/def/SuperState.hbm.xml"/>
+ <mapping resource="org/jbpm/graph/def/ExceptionHandler.hbm.xml"/>
+ <mapping resource="org/jbpm/instantiation/Delegation.hbm.xml"/>
+
+ <!-- graph.node mapping files -->
+ <mapping resource="org/jbpm/graph/node/StartState.hbm.xml"/>
+ <mapping resource="org/jbpm/graph/node/EndState.hbm.xml"/>
+ <mapping resource="org/jbpm/graph/node/ProcessState.hbm.xml"/>
+ <mapping resource="org/jbpm/graph/node/Decision.hbm.xml"/>
+ <mapping resource="org/jbpm/graph/node/Fork.hbm.xml"/>
+ <mapping resource="org/jbpm/graph/node/Join.hbm.xml"/>
+ <mapping resource="org/jbpm/graph/node/State.hbm.xml"/>
+ <mapping resource="org/jbpm/graph/node/TaskNode.hbm.xml"/>
+
+ <!-- context.def mapping files -->
+ <mapping resource="org/jbpm/context/def/ContextDefinition.hbm.xml"/>
+ <mapping resource="org/jbpm/context/def/VariableAccess.hbm.xml"/>
+
+ <!-- taskmgmt.def mapping files -->
+ <mapping resource="org/jbpm/taskmgmt/def/TaskMgmtDefinition.hbm.xml"/>
+ <mapping resource="org/jbpm/taskmgmt/def/Swimlane.hbm.xml"/>
+ <mapping resource="org/jbpm/taskmgmt/def/Task.hbm.xml"/>
+ <mapping resource="org/jbpm/taskmgmt/def/TaskController.hbm.xml"/>
+
+ <!-- module.def mapping files -->
+ <mapping resource="org/jbpm/module/def/ModuleDefinition.hbm.xml"/>
+
+ <!-- bytes mapping files -->
+ <mapping resource="org/jbpm/bytes/ByteArray.hbm.xml"/>
+
+ <!-- file.def mapping files -->
+ <mapping resource="org/jbpm/file/def/FileDefinition.hbm.xml"/>
+
+ <!-- scheduler.def mapping files -->
+ <mapping resource="org/jbpm/scheduler/def/CreateTimerAction.hbm.xml"/>
+ <mapping resource="org/jbpm/scheduler/def/CancelTimerAction.hbm.xml"/>
+
+ <!-- graph.exe mapping files -->
+ <mapping resource="org/jbpm/graph/exe/Comment.hbm.xml"/>
+ <mapping resource="org/jbpm/graph/exe/ProcessInstance.hbm.xml"/>
+ <mapping resource="org/jbpm/graph/exe/Token.hbm.xml"/>
+ <mapping resource="org/jbpm/graph/exe/RuntimeAction.hbm.xml"/>
+
+ <!-- module.exe mapping files -->
+ <mapping resource="org/jbpm/module/exe/ModuleInstance.hbm.xml"/>
+
+ <!-- context.exe mapping files -->
+ <mapping resource="org/jbpm/context/exe/ContextInstance.hbm.xml"/>
+ <mapping resource="org/jbpm/context/exe/TokenVariableMap.hbm.xml"/>
+ <mapping resource="org/jbpm/context/exe/VariableInstance.hbm.xml"/>
+ <mapping resource="org/jbpm/context/exe/variableinstance/ByteArrayInstance.hbm.xml"/>
+ <mapping resource="org/jbpm/context/exe/variableinstance/DateInstance.hbm.xml"/>
+ <mapping resource="org/jbpm/context/exe/variableinstance/DoubleInstance.hbm.xml"/>
+ <mapping resource="org/jbpm/context/exe/variableinstance/HibernateLongInstance.hbm.xml"/>
+ <mapping resource="org/jbpm/context/exe/variableinstance/HibernateStringInstance.hbm.xml"/>
+ <mapping resource="org/jbpm/context/exe/variableinstance/LongInstance.hbm.xml"/>
+ <mapping resource="org/jbpm/context/exe/variableinstance/NullInstance.hbm.xml"/>
+ <mapping resource="org/jbpm/context/exe/variableinstance/StringInstance.hbm.xml"/>
+
+ <!-- msg.db mapping files -->
+ <mapping resource="org/jbpm/msg/Message.hbm.xml"/>
+ <mapping resource="org/jbpm/msg/db/TextMessage.hbm.xml"/>
+ <mapping resource="org/jbpm/command/ExecuteActionCommand.hbm.xml"/>
+ <mapping resource="org/jbpm/command/ExecuteNodeCommand.hbm.xml"/>
+ <mapping resource="org/jbpm/command/SignalCommand.hbm.xml"/>
+ <mapping resource="org/jbpm/command/TaskInstanceEndCommand.hbm.xml"/>
+
+ <!-- taskmgmt.exe mapping files -->
+ <mapping resource="org/jbpm/taskmgmt/exe/TaskMgmtInstance.hbm.xml"/>
+ <mapping resource="org/jbpm/taskmgmt/exe/TaskInstance.hbm.xml"/>
+ <mapping resource="org/jbpm/taskmgmt/exe/PooledActor.hbm.xml"/>
+ <mapping resource="org/jbpm/taskmgmt/exe/SwimlaneInstance.hbm.xml"/>
+
+ <!-- scheduler.exe mapping files -->
+ <mapping resource="org/jbpm/scheduler/exe/Timer.hbm.xml"/>
+
+ <!-- logging mapping files -->
+ <mapping resource="org/jbpm/logging/log/ProcessLog.hbm.xml"/>
+ <mapping resource="org/jbpm/logging/log/MessageLog.hbm.xml"/>
+ <mapping resource="org/jbpm/logging/log/CompositeLog.hbm.xml"/>
+ <mapping resource="org/jbpm/graph/log/ActionLog.hbm.xml"/>
+ <mapping resource="org/jbpm/graph/log/NodeLog.hbm.xml"/>
+ <mapping resource="org/jbpm/graph/log/ProcessInstanceCreateLog.hbm.xml"/>
+ <mapping resource="org/jbpm/graph/log/ProcessInstanceEndLog.hbm.xml"/>
+ <mapping resource="org/jbpm/graph/log/ProcessStateLog.hbm.xml"/>
+ <mapping resource="org/jbpm/graph/log/SignalLog.hbm.xml"/>
+ <mapping resource="org/jbpm/graph/log/TokenCreateLog.hbm.xml"/>
+ <mapping resource="org/jbpm/graph/log/TokenEndLog.hbm.xml"/>
+ <mapping resource="org/jbpm/graph/log/TransitionLog.hbm.xml"/>
+ <mapping resource="org/jbpm/context/log/VariableLog.hbm.xml"/>
+ <mapping resource="org/jbpm/context/log/VariableCreateLog.hbm.xml"/>
+ <mapping resource="org/jbpm/context/log/VariableDeleteLog.hbm.xml"/>
+ <mapping resource="org/jbpm/context/log/VariableUpdateLog.hbm.xml"/>
+ <mapping resource="org/jbpm/context/log/variableinstance/ByteArrayUpdateLog.hbm.xml"/>
+ <mapping resource="org/jbpm/context/log/variableinstance/DateUpdateLog.hbm.xml"/>
+ <mapping resource="org/jbpm/context/log/variableinstance/DoubleUpdateLog.hbm.xml"/>
+ <mapping resource="org/jbpm/context/log/variableinstance/HibernateLongUpdateLog.hbm.xml"/>
+ <mapping resource="org/jbpm/context/log/variableinstance/HibernateStringUpdateLog.hbm.xml"/>
+ <mapping resource="org/jbpm/context/log/variableinstance/LongUpdateLog.hbm.xml"/>
+ <mapping resource="org/jbpm/context/log/variableinstance/StringUpdateLog.hbm.xml"/>
+ <mapping resource="org/jbpm/taskmgmt/log/TaskLog.hbm.xml"/>
+ <mapping resource="org/jbpm/taskmgmt/log/TaskCreateLog.hbm.xml"/>
+ <mapping resource="org/jbpm/taskmgmt/log/TaskAssignLog.hbm.xml"/>
+ <mapping resource="org/jbpm/taskmgmt/log/TaskEndLog.hbm.xml"/>
+ <mapping resource="org/jbpm/taskmgmt/log/SwimlaneLog.hbm.xml"/>
+ <mapping resource="org/jbpm/taskmgmt/log/SwimlaneCreateLog.hbm.xml"/>
+ <mapping resource="org/jbpm/taskmgmt/log/SwimlaneAssignLog.hbm.xml"/>
+
+ </session-factory>
+</hibernate-configuration>
Property changes on: labs/jbossesb/trunk/product/services/jbpm/src/test/java/org/jboss/soa/esb/services/jbpm/actions/hibernate.cfg.xml
___________________________________________________________________
Name: svn:mime-type
+ text/xml
Added: labs/jbossesb/trunk/product/services/jbpm/src/test/java/org/jboss/soa/esb/services/jbpm/actions/jbpm.cfg.xml
===================================================================
--- labs/jbossesb/trunk/product/services/jbpm/src/test/java/org/jboss/soa/esb/services/jbpm/actions/jbpm.cfg.xml (rev 0)
+++ labs/jbossesb/trunk/product/services/jbpm/src/test/java/org/jboss/soa/esb/services/jbpm/actions/jbpm.cfg.xml 2007-04-15 22:32:49 UTC (rev 10983)
@@ -0,0 +1,9 @@
+<jbpm-configuration>
+
+ <!--
+ The default configurations can be found in org/jbpm/default.jbpm.cfg.xml
+ Those configurations can be overwritten by putting this file called
+ jbpm.cfg.xml on the root of the classpath and put in the customized values.
+ -->
+
+</jbpm-configuration>
Property changes on: labs/jbossesb/trunk/product/services/jbpm/src/test/java/org/jboss/soa/esb/services/jbpm/actions/jbpm.cfg.xml
___________________________________________________________________
Name: svn:mime-type
+ text/xml
More information about the jboss-svn-commits
mailing list