-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbpm-platform.xml
145 lines (124 loc) · 6.23 KB
/
bpm-platform.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
<?xml version="1.0" encoding="UTF-8"?>
<bpm-platform xmlns="http://www.camunda.org/schema/1.0/BpmPlatform" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.camunda.org/schema/1.0/BpmPlatform http://www.camunda.org/schema/1.0/BpmPlatform ">
<job-executor>
<job-acquisition name="default">
<properties>
<property name="maxJobsPerAcquisition">50</property>
<property name="waitTimeInMillis">5</property>
<property name="maxWait">50</property>
<property name="lockTimeInMillis">300000</property>
<property name="backoffTimeInMillis">30</property>
<property name="maxBackoff">150</property>
</properties>
</job-acquisition>
<properties>
<property name="queueSize">100</property>
<property name="corePoolSize">4</property>
<property name="maxPoolSize">20</property>
</properties>
</job-executor>
<process-engine name="default">
<job-acquisition>default</job-acquisition>
<configuration>org.camunda.bpm.engine.impl.cfg.StandaloneProcessEngineConfiguration</configuration>
<datasource>java:jdbc/ProcessEngine</datasource>
<properties>
<property name="history">full</property>
<property name="databaseSchemaUpdate">true</property>
<property name="authorizationEnabled">true</property>
<property name="ensureJobDueDateNotNull">true</property>
<property name="jobExecutorDeploymentAware">false</property>
<property name="jobExecutorActivate">true</property>
<property name="jobExecutorAcquireByPriority">false</property>
<property name="jobExecutorPreferTimerJobs">false</property>
<property name="jobExecutorAcquireByDueDate">false</property>
<property name="tenantCheckEnabled">false</property>
<property name="historyCleanupEnabled">true</property>
<property name="historyCleanupStrategy">removalTimeBased</property>
<property name="historyCleanupBatchWindowStartTime">00:01</property>
<property name="historyCleanupBatchWindowEndTime">08:00</property>
<property name="historyCleanupDegreeOfParallelism">1</property>
<property name="historyCleanupBatchSize">100</property>
<property name="historyTimeToLive">P14D</property>
<property name="batchOperationHistoryTimeToLive">P14D</property>
<property name="historyCleanupJobLogTimeToLive">P90D</property>
<property name="taskMetricsEnabled">true</property>
<property name="taskMetricsTimeToLive">P90D</property>
</properties>
<plugins>
<!-- plugin enabling Process Application event listener support -->
<plugin>
<class>org.camunda.bpm.application.impl.event.ProcessApplicationEventListenerPlugin</class>
</plugin>
<!-- plugin enabling integration of camunda Spin -->
<plugin>
<class>org.camunda.spin.plugin.impl.SpinProcessEnginePlugin</class>
</plugin>
<!-- plugin enabling connect support -->
<plugin>
<class>org.camunda.connect.plugin.impl.ConnectProcessEnginePlugin</class>
</plugin>
<!-- custom incident plugin -->
<plugin>
<class>camunda.plugin.incident.CamundaIncidentProcessEnginePlugin</class>
</plugin>
<!-- Auto create admin user on first Camunda start plugin -->
<plugin>
<class>io.digitalstate.camunda.plugins.AdministrativeUserPlugin</class>
<properties>
<property name="administratorUserName">admin</property>
<property name="administratorPassword">admin</property>
<property name="administratorFirstName">Admin</property>
<property name="administratorLastName">Admin</property>
<property name="administratorEmail">admin@gmail.com</property>
<property name="workerUserName">camunda</property>
<property name="workerPassword">camunda</property>
<property name="workerFirstName">camunda</property>
<property name="workerLastName">camunda</property>
</properties>
</plugin>
<!-- Listen ProcessEnd and call api process/id/ends?state=state plugin -->
<plugin>
<class>camunda.plugin.processend.CamundaProcessEndProcessEnginePlugin</class>
</plugin>
<!-- LDAP CONFIGURATION -->
<!-- Uncomment this section in order to enable LDAP support for this process engine -->
<!-- Adjust configuration, see ( http://docs.camunda.org/latest/guides/user-guide/#process-engine-identity-service-the-ldap-identity-service ) -->
<!--
<plugin>
<class>org.camunda.bpm.identity.impl.ldap.plugin.LdapIdentityProviderPlugin</class>
<properties>
<property name="serverUrl">ldaps://localhost:4334/</property>
<property name="acceptUntrustedCertificates">false</property>
<property name="managerDn">uid=jonny,ou=office-berlin,o=camunda,c=org</property>
<property name="managerPassword">s3cr3t</property>
<property name="baseDn">o=camunda,c=org</property>
<property name="userSearchBase"></property>
<property name="userSearchFilter">(objectclass=person)</property>
<property name="userIdAttribute">uid</property>
<property name="userFirstnameAttribute">cn</property>
<property name="userLastnameAttribute">sn</property>
<property name="userEmailAttribute">mail</property>
<property name="userPasswordAttribute">userpassword</property>
<property name="groupSearchBase"></property>
<property name="groupSearchFilter">(objectclass=groupOfNames)</property>
<property name="groupIdAttribute">cn</property>
<property name="groupNameAttribute">cn</property>
<property name="groupMemberAttribute">member</property>
<property name="sortControlSupported">false</property>
</properties>
</plugin>
-->
<!-- LDAP CONFIGURATION -->
<!-- The following plugin allows you to grant administrator authorizations to an existing LDAP user -->
<!--
<plugin>
<class>org.camunda.bpm.engine.impl.plugin.AdministratorAuthorizationPlugin</class>
<properties>
<property name="administratorUserName">admin</property>
</properties>
</plugin>
-->
</plugins>
</process-engine>
</bpm-platform>