mirror of
https://gitee.com/ssssssss-team/magic-boot.git
synced 2025-01-18 19:42:49 +08:00
<feat>提交代码,引入Camunda 7.21.0以及相关SQL脚本
This commit is contained in:
parent
5751422614
commit
909d91a8d8
1394
db/camunda/mysql_engine_7.21.0.sql
Normal file
1394
db/camunda/mysql_engine_7.21.0.sql
Normal file
File diff suppressed because it is too large
Load Diff
104
db/camunda/mysql_identity_7.21.0.sql
Normal file
104
db/camunda/mysql_identity_7.21.0.sql
Normal file
@ -0,0 +1,104 @@
|
|||||||
|
--
|
||||||
|
-- Copyright Camunda Services GmbH and/or licensed to Camunda Services GmbH
|
||||||
|
-- under one or more contributor license agreements. See the NOTICE file
|
||||||
|
-- distributed with this work for additional information regarding copyright
|
||||||
|
-- ownership. Camunda licenses this file to you under the Apache License,
|
||||||
|
-- Version 2.0; you may not use this file except in compliance with the License.
|
||||||
|
-- You may obtain a copy of the License at
|
||||||
|
--
|
||||||
|
-- http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
--
|
||||||
|
-- Unless required by applicable law or agreed to in writing, software
|
||||||
|
-- distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
-- See the License for the specific language governing permissions and
|
||||||
|
-- limitations under the License.
|
||||||
|
--
|
||||||
|
|
||||||
|
create table ACT_ID_GROUP (
|
||||||
|
ID_ varchar(64),
|
||||||
|
REV_ integer,
|
||||||
|
NAME_ varchar(255),
|
||||||
|
TYPE_ varchar(255),
|
||||||
|
primary key (ID_)
|
||||||
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE utf8_bin;
|
||||||
|
|
||||||
|
create table ACT_ID_MEMBERSHIP (
|
||||||
|
USER_ID_ varchar(64),
|
||||||
|
GROUP_ID_ varchar(64),
|
||||||
|
primary key (USER_ID_, GROUP_ID_)
|
||||||
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE utf8_bin;
|
||||||
|
|
||||||
|
create table ACT_ID_USER (
|
||||||
|
ID_ varchar(64),
|
||||||
|
REV_ integer,
|
||||||
|
FIRST_ varchar(255),
|
||||||
|
LAST_ varchar(255),
|
||||||
|
EMAIL_ varchar(255),
|
||||||
|
PWD_ varchar(255),
|
||||||
|
SALT_ varchar(255),
|
||||||
|
LOCK_EXP_TIME_ datetime NULL,
|
||||||
|
ATTEMPTS_ integer,
|
||||||
|
PICTURE_ID_ varchar(64),
|
||||||
|
primary key (ID_)
|
||||||
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE utf8_bin;
|
||||||
|
|
||||||
|
create table ACT_ID_INFO (
|
||||||
|
ID_ varchar(64),
|
||||||
|
REV_ integer,
|
||||||
|
USER_ID_ varchar(64),
|
||||||
|
TYPE_ varchar(64),
|
||||||
|
KEY_ varchar(255),
|
||||||
|
VALUE_ varchar(255),
|
||||||
|
PASSWORD_ LONGBLOB,
|
||||||
|
PARENT_ID_ varchar(255),
|
||||||
|
primary key (ID_)
|
||||||
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE utf8_bin;
|
||||||
|
|
||||||
|
create table ACT_ID_TENANT (
|
||||||
|
ID_ varchar(64),
|
||||||
|
REV_ integer,
|
||||||
|
NAME_ varchar(255),
|
||||||
|
primary key (ID_)
|
||||||
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE utf8_bin;
|
||||||
|
|
||||||
|
create table ACT_ID_TENANT_MEMBER (
|
||||||
|
ID_ varchar(64) not null,
|
||||||
|
TENANT_ID_ varchar(64) not null,
|
||||||
|
USER_ID_ varchar(64),
|
||||||
|
GROUP_ID_ varchar(64),
|
||||||
|
primary key (ID_)
|
||||||
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE utf8_bin;
|
||||||
|
|
||||||
|
alter table ACT_ID_MEMBERSHIP
|
||||||
|
add constraint ACT_FK_MEMB_GROUP
|
||||||
|
foreign key (GROUP_ID_)
|
||||||
|
references ACT_ID_GROUP (ID_);
|
||||||
|
|
||||||
|
alter table ACT_ID_MEMBERSHIP
|
||||||
|
add constraint ACT_FK_MEMB_USER
|
||||||
|
foreign key (USER_ID_)
|
||||||
|
references ACT_ID_USER (ID_);
|
||||||
|
|
||||||
|
alter table ACT_ID_TENANT_MEMBER
|
||||||
|
add constraint ACT_UNIQ_TENANT_MEMB_USER
|
||||||
|
unique (TENANT_ID_, USER_ID_);
|
||||||
|
|
||||||
|
alter table ACT_ID_TENANT_MEMBER
|
||||||
|
add constraint ACT_UNIQ_TENANT_MEMB_GROUP
|
||||||
|
unique (TENANT_ID_, GROUP_ID_);
|
||||||
|
|
||||||
|
alter table ACT_ID_TENANT_MEMBER
|
||||||
|
add constraint ACT_FK_TENANT_MEMB
|
||||||
|
foreign key (TENANT_ID_)
|
||||||
|
references ACT_ID_TENANT (ID_);
|
||||||
|
|
||||||
|
alter table ACT_ID_TENANT_MEMBER
|
||||||
|
add constraint ACT_FK_TENANT_MEMB_USER
|
||||||
|
foreign key (USER_ID_)
|
||||||
|
references ACT_ID_USER (ID_);
|
||||||
|
|
||||||
|
alter table ACT_ID_TENANT_MEMBER
|
||||||
|
add constraint ACT_FK_TENANT_MEMB_GROUP
|
||||||
|
foreign key (GROUP_ID_)
|
||||||
|
references ACT_ID_GROUP (ID_);
|
16
pom.xml
16
pom.xml
@ -24,6 +24,7 @@
|
|||||||
<poi.version>4.1.2</poi.version>
|
<poi.version>4.1.2</poi.version>
|
||||||
<mysql.connector.version>8.0.32</mysql.connector.version>
|
<mysql.connector.version>8.0.32</mysql.connector.version>
|
||||||
<aliyun-core.version>4.6.0</aliyun-core.version>
|
<aliyun-core.version>4.6.0</aliyun-core.version>
|
||||||
|
<camunda.spring-boot.version>7.21.0</camunda.spring-boot.version>
|
||||||
</properties>
|
</properties>
|
||||||
<dependencies>
|
<dependencies>
|
||||||
<dependency>
|
<dependency>
|
||||||
@ -74,6 +75,21 @@
|
|||||||
<artifactId>aliyun-java-sdk-core</artifactId>
|
<artifactId>aliyun-java-sdk-core</artifactId>
|
||||||
<version>${aliyun-core.version}</version>
|
<version>${aliyun-core.version}</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
<dependency>
|
||||||
|
<groupId>org.camunda.bpm.springboot</groupId>
|
||||||
|
<artifactId>camunda-bpm-spring-boot-starter-webapp</artifactId>
|
||||||
|
<version>${camunda.spring-boot.version}</version>
|
||||||
|
</dependency>
|
||||||
|
<dependency>
|
||||||
|
<groupId>org.camunda.bpm.springboot</groupId>
|
||||||
|
<artifactId>camunda-bpm-spring-boot-starter</artifactId>
|
||||||
|
<version>${camunda.spring-boot.version}</version>
|
||||||
|
</dependency>
|
||||||
|
<dependency>
|
||||||
|
<groupId>org.camunda.bpm.springboot</groupId>
|
||||||
|
<artifactId>camunda-bpm-spring-boot-starter-rest</artifactId>
|
||||||
|
<version>${camunda.spring-boot.version}</version>
|
||||||
|
</dependency>
|
||||||
</dependencies>
|
</dependencies>
|
||||||
|
|
||||||
<build>
|
<build>
|
||||||
|
16
src/main/resources/application-workflow.yml
Normal file
16
src/main/resources/application-workflow.yml
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
camunda:
|
||||||
|
bpm:
|
||||||
|
generic-properties:
|
||||||
|
properties:
|
||||||
|
enforceHistoryTimeToLive: false
|
||||||
|
admin-user:
|
||||||
|
id: admin
|
||||||
|
password: 123456
|
||||||
|
first-name: Admin
|
||||||
|
last-name: MB
|
||||||
|
email: workflow@magicboot.net
|
||||||
|
filter:
|
||||||
|
create: All tasks
|
||||||
|
database:
|
||||||
|
type: mysql
|
||||||
|
auto-deployment-enabled: false
|
@ -6,7 +6,8 @@ server:
|
|||||||
|
|
||||||
spring:
|
spring:
|
||||||
profiles:
|
profiles:
|
||||||
active: dev
|
active: xbs
|
||||||
|
includes: workflow
|
||||||
servlet:
|
servlet:
|
||||||
multipart:
|
multipart:
|
||||||
max-file-size: 200MB
|
max-file-size: 200MB
|
||||||
|
Loading…
Reference in New Issue
Block a user