c94e32e686c9ee3fc1c433e902b71a2a1eb56487
[so.git] / bpmn / MSOCommonBPMN / src / test / resources / camunda.cfg.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2
3 <beans xmlns="http://www.springframework.org/schema/beans" 
4        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
5        xsi:schemaLocation="http://www.springframework.org/schema/beans   http://www.springframework.org/schema/beans/spring-beans.xsd">
6
7   <bean id="processEngineConfiguration" class="org.camunda.bpm.engine.impl.cfg.StandaloneInMemProcessEngineConfiguration">
8
9     <property name="jdbcUrl" value="jdbc:h2:mem:camunda;DB_CLOSE_DELAY=1000" />
10     <property name="jdbcDriver" value="org.h2.Driver" />
11     <property name="jdbcUsername" value="sa" />
12     <property name="jdbcPassword" value="" />
13
14     <!-- Database configurations -->
15     <property name="databaseSchemaUpdate" value="true" />
16
17     <!-- job executor configurations -->
18     <property name="jobExecutorActivate" value="true" />
19
20     <property name="history" value="full" />
21
22     <property name="customPostBPMNParseListeners">
23       <list>
24         <bean class="org.camunda.bpm.engine.impl.bpmn.parser.FoxFailedJobParseListener" />
25       </list>
26     </property>
27
28     <property name="failedJobCommandFactory" ref="foxFailedJobCommandFactory" />
29
30     <!--<property name="idGenerator" ref="uuidGenerator" />-->
31
32     <!-- engine plugins -->
33     <property name="processEnginePlugins">
34       <list>
35         <ref bean="connectProcessEnginePlugin" />
36         <ref bean="spinProcessEnginePlugin" />
37         <ref bean="loggingPlugin" />
38         <ref bean="workflowExceptionPlugin" />
39         <ref bean="workbenchPlugin" />
40           </list>
41     </property>
42   </bean>
43
44   <bean id="workbenchPlugin" class="org.camunda.bpm.debugger.server.EmbeddableDebugWebsocketBootstrap">
45                 <property name="httpPort" value="28088"/>
46   </bean>          
47
48   <bean id="loggingPlugin" class="org.openecomp.mso.bpmn.core.plugins.LoggingAndURNMappingPlugin" />
49   
50   <!-- Needed until all subflows generate MSOWorkflowException events --> 
51   <bean id="workflowExceptionPlugin" class="org.openecomp.mso.bpmn.core.plugins.WorkflowExceptionPlugin" />
52
53   <bean id="foxFailedJobCommandFactory" class="org.camunda.bpm.engine.impl.jobexecutor.FoxFailedJobCommandFactory" />
54
55   <!--<bean id="uuidGenerator" class="org.camunda.bpm.engine.impl.persistence.StrongUuidGenerator" />-->
56
57   <!-- engine plugin beans -->
58   <bean id="connectProcessEnginePlugin" class="org.camunda.connect.plugin.impl.ConnectProcessEnginePlugin" />
59   <bean id="spinProcessEnginePlugin" class="org.camunda.spin.plugin.impl.SpinProcessEnginePlugin" />
60
61 </beans>