Last active
January 8, 2018 16:44
-
-
Save pingkunga/1d8c35389732c2b7c0cbf96cd087a2ce to your computer and use it in GitHub Desktop.
unit test with bpmn - activiti
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<beans xmlns="http://www.springframework.org/schema/beans" | |
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
xsi:schemaLocation="http://www.springframework.org/schema/beans | |
http://www.springframework.org/schema/beans/spring-beans.xsd"> | |
<!-- | |
<bean id="processEngineConfiguration" class="org.activiti.engine.impl.cfg.StandaloneInMemProcessEngineConfiguration"> | |
<property name="databaseSchemaUpdate" value="true"/> | |
</bean> | |
--> | |
<bean id="mysqlDataSource" class="org.apache.commons.dbcp.BasicDataSource" > | |
<property name="driverClassName" value="com.mysql.jdbc.Driver" /> | |
<property name="url" value="jdbc:mysql://localhost:3306/activiti" /> | |
<property name="username" value="root" /> | |
<property name="password" value="" /> | |
<property name="defaultAutoCommit" value="false" /> | |
</bean> | |
<bean id="processEngineConfiguration" class="org.activiti.engine.impl.cfg.StandaloneProcessEngineConfiguration"> | |
<property name="jdbcUrl" value="jdbc:h2:mem:activiti;DB_CLOSE_DELAY=1000" /> | |
<property name="jdbcDriver" value="org.h2.Driver" /> | |
<property name="jdbcUsername" value="sa" /> | |
<property name="jdbcPassword" value="" /> | |
<!-- | |
<property name="dataSource" ref="mysqlDataSource" /> | |
--> | |
<property name="databaseSchemaUpdate" value="true" /> | |
<property name="asyncExecutorActivate" value="false" /> | |
<property name="mailServerHost" value="mail.my-corp.com" /> | |
<property name="mailServerPort" value="5025" /> | |
</bean> | |
</beans> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment