Petals-SE-Flowable 1.3.1+

compared with
Key
This line was removed.
This word was removed. This word was added.
This line was added.

Changes (6)

View Page History
** in a WSDL point of view,
** and checking the compliance of the WSDL with the attendees of the component,
* to verify easily the XSL used to generate output replies.,
* to validate your process definitions.

This dedicated framework is provided by the Maven artifact {{org.ow2.petals:petals-se-flowable-junit}}:
{tip}Caution to use the same version of the Flowable engine as the one embedded into the Petals SE Flowable{tip}

Next, your database must be linked to you can configure the Flowable engine through a Spring configuration located into the file {{src/test/resources/flowable.cfg.xml}} containing something like:
{code:xml}
<beans xmlns="http://www.springframework.org/schema/beans"

<bean id="processEngineConfiguration" class="org.flowable.engine.impl.cfg.StandaloneInMemProcessEngineConfiguration">
<!-- Database configuration. By default an in-memory embeded database is used -->
<property name="jdbcUrl" value="jdbc:h2:mem:flowable;DB_CLOSE_DELAY=1000" />
<property name="jdbcDriver" value="org.h2.Driver" />
<property name="jdbcUsername" value="sa" />
<property name="jdbcPassword" value="" />

<!-- Enable and configure the async executor -->
<property name="asyncExecutorActivate" value="true"/>
<property name="asyncExecutor" ref="asyncExecutor"/>

<!-- Add custom EL function, as to parse date -->
<property name="customFlowableFunctionDelegates">
<list>
<ref bean="myFlowableDateParseFunctionDelegate" />
</list>
</property>
</bean>

<bean id="asyncExecutor" class="org.flowable.job.service.impl.asyncexecutor.DefaultAsyncJobExecutor">
<property name="defaultAsyncJobAcquireWaitTimeInMillis" value="1000"/>
<property name="defaultTimerJobAcquireWaitTimeInMillis" value="1000"/>
</bean>

<bean id="myFlowableDateParseFunctionDelegate" class="org.ow2.petals.flowable.juel.FlowableDateParseFunctionDelegate" />

</beans>
{code}