1 <beans xmlns="http://www.springframework.org/schema/beans"
2 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3 xmlns:context="http://www.springframework.org/schema/context"
4 xsi:schemaLocation="http://www.springframework.org/schema/beans
5 http://www.springframework.org/schema/beans/spring-beans.xsd
6 http://www.springframework.org/schema/context
7 http://www.springframework.org/schema/context/spring-context-2.5.xsd" >
9 <bean id="dataSource" class="org.springframework.jdbc.datasource.TransactionAwareDataSourceProxy">
10 <property name="targetDataSource">
11 <bean class="org.springframework.jdbc.datasource.SimpleDriverDataSource">
12 <property name="driverClass" value="org.h2.Driver" />
14 value="jdbc:h2:mem:process-engine;DB_CLOSE_DELAY=1000" />
15 <property name="username" value="sa" />
16 <property name="password" value="" />
21 <bean id="transactionManager" class="org.springframework.jdbc.datasource.DataSourceTransactionManager">
22 <property name="dataSource" ref="dataSource" />
25 <bean id="processEngineConfiguration" class="org.camunda.bpm.engine.spring.SpringProcessEngineConfiguration">
26 <property name="processEngineName" value="engine" />
27 <property name="dataSource" ref="dataSource" />
28 <property name="transactionManager" ref="transactionManager" />
29 <property name="databaseSchemaUpdate" value="true" />
30 <property name="jobExecutorActivate" value="false" />
31 <!--<property name="deploymentResources" value="classpath*:*.bpmn" />-->
34 <bean id="processEngine" class="org.camunda.bpm.engine.spring.ProcessEngineFactoryBean">
35 <property name="processEngineConfiguration" ref="processEngineConfiguration" />
38 <bean id="repositoryService" factory-bean="processEngine" factory-method="getRepositoryService" />
39 <bean id="runtimeService" factory-bean="processEngine" factory-method="getRuntimeService" />
40 <bean id="taskService" factory-bean="processEngine" factory-method="getTaskService" />
41 <bean id="historyService" factory-bean="processEngine" factory-method="getHistoryService" />
42 <bean id="managementService" factory-bean="processEngine" factory-method="getManagementService" />
44 <context:annotation-config />
46 <bean id="processEngineRule" class="org.camunda.bpm.engine.test.ProcessEngineRule">
47 <property name="processEngine" ref="processEngine" />
50 <bean id="aaiConnection" class="org.onap.so.bpmn.infrastructure.pnf.delegate.AaiConnectionTestImpl"/>
52 <bean id="checkAaiForCorrelationIdDelegate" class="org.onap.so.bpmn.infrastructure.pnf.delegate.CheckAaiForCorrelationIdDelegate">
53 <property name="aaiConnection" ref="aaiConnection"/>
56 <bean id="createAaiEntryWithPnfIdDelegate" class="org.onap.so.bpmn.infrastructure.pnf.delegate.CreateAaiEntryWithPnfIdDelegate">
57 <property name="aaiConnection" ref="aaiConnection"/>
60 <bean id="informDmaapClient" class="org.onap.so.bpmn.infrastructure.pnf.delegate.InformDmaapClient">
61 <property name="dmaapClient" ref="dmaapClient"/>
64 <bean id="dmaapClient" class="org.onap.so.bpmn.infrastructure.pnf.delegate.DmaapClientTestImpl"/>
67 <bean id="pnfCheckInputs" class="org.onap.so.bpmn.infrastructure.pnf.delegate.PnfCheckInputs">
68 <property name="defaultTimeout" value="PT1S"/>