forked from operaton/operaton
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(engine): check transaction isolation level on init (#4526)
- Loading branch information
Showing
4 changed files
with
176 additions
and
2 deletions.
There are no files selected for viewing
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
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
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
49 changes: 49 additions & 0 deletions
49
engine/src/test/resources/operaton.cfg.skipIsolationLevelCheckEnabled.xml
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
<?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.operaton.bpm.engine.impl.cfg.StandaloneInMemProcessEngineConfiguration"> | ||
|
||
<property name="jdbcUrl" value="${database.url}" /> | ||
<property name="jdbcDriver" value="${database.driver}" /> | ||
<property name="jdbcUsername" value="${database.username}" /> | ||
<property name="jdbcPassword" value="${database.password}" /> | ||
|
||
<!-- Database configurations --> | ||
<property name="databaseSchemaUpdate" value="true" /> | ||
|
||
<!-- Empty beans map to for testing purpose --> | ||
<property name="beans"> | ||
<map/> | ||
</property> | ||
|
||
<!-- job executor configurations --> | ||
<property name="jobExecutorActivate" value="false" /> | ||
|
||
<property name="bpmnStacktraceVerbose" value="false" /> | ||
|
||
<!-- turn off metrics reporter --> | ||
<property name="dbMetricsReporterActivate" value="false" /> | ||
<property name="taskMetricsEnabled" value="false" /> | ||
|
||
<!-- mail server configurations --> | ||
<property name="mailServerPort" value="${mail.server.port}" /> | ||
<property name="history" value="${history.level}" /> | ||
|
||
<property name="authorizationCheckRevokes" value="${authorizationCheckRevokes}"/> | ||
|
||
<property name="jdbcBatchProcessing" value="${jdbcBatchProcessing}"/> | ||
|
||
<!--<property name="idGenerator" ref="uuidGenerator" />--> | ||
|
||
<property name="enforceHistoryTimeToLive" value="false" /> | ||
|
||
<property name="skipIsolationLevelCheck" value="true" /> | ||
|
||
</bean> | ||
|
||
<!--<bean id="uuidGenerator" class="org.operaton.bpm.engine.impl.persistence.StrongUuidGenerator" />--> | ||
|
||
</beans> |