Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
老丢丢
SpringBoot2Demo
提交
55b4ee0c
S
SpringBoot2Demo
项目概览
老丢丢
/
SpringBoot2Demo
通知
3
Star
1
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
S
SpringBoot2Demo
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
前往新版Gitcode,体验更适合开发者的 AI 搜索 >>
提交
55b4ee0c
编写于
12月 04, 2020
作者:
Q
qinxiaodong@pannk.com
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
activiti
上级
363116e1
变更
6
隐藏空白更改
内联
并排
Showing
6 changed file
with
212 addition
and
0 deletion
+212
-0
integrate-activiti/pom.xml
integrate-activiti/pom.xml
+65
-0
integrate-activiti/src/main/java/com/pannk/App.java
integrate-activiti/src/main/java/com/pannk/App.java
+17
-0
integrate-activiti/src/main/resources/application-dev.yml
integrate-activiti/src/main/resources/application-dev.yml
+43
-0
integrate-activiti/src/main/resources/application.yml
integrate-activiti/src/main/resources/application.yml
+25
-0
integrate-activiti/src/main/resources/processes/first.bpmn
integrate-activiti/src/main/resources/processes/first.bpmn
+61
-0
pom.xml
pom.xml
+1
-0
未找到文件。
integrate-activiti/pom.xml
0 → 100644
浏览文件 @
55b4ee0c
<?xml version="1.0" encoding="UTF-8"?>
<project
xmlns=
"http://maven.apache.org/POM/4.0.0"
xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation=
"http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
>
<parent>
<artifactId>
springboot-demo
</artifactId>
<groupId>
com.pannk
</groupId>
<version>
1.0
</version>
</parent>
<modelVersion>
4.0.0
</modelVersion>
<artifactId>
integrate-activiti
</artifactId>
<dependencies>
<dependency>
<groupId>
org.springframework.boot
</groupId>
<artifactId>
spring-boot-starter-web
</artifactId>
</dependency>
<dependency>
<groupId>
mysql
</groupId>
<artifactId>
mysql-connector-java
</artifactId>
<version>
5.1.49
</version>
</dependency>
<dependency>
<groupId>
org.springframework.boot
</groupId>
<artifactId>
spring-boot-starter-test
</artifactId>
<scope>
test
</scope>
</dependency>
<dependency>
<groupId>
com.baomidou
</groupId>
<artifactId>
mybatis-plus-boot-starter
</artifactId>
<version>
3.4.0
</version>
</dependency>
<dependency>
<groupId>
org.projectlombok
</groupId>
<artifactId>
lombok
</artifactId>
<version>
1.18.4
</version>
</dependency>
<dependency>
<groupId>
com.alibaba
</groupId>
<artifactId>
druid-spring-boot-starter
</artifactId>
<version>
1.2.3
</version>
</dependency>
<dependency>
<groupId>
org.activiti
</groupId>
<artifactId>
activiti-spring-boot-starter
</artifactId>
<version>
7.1.0.M4
</version>
<!--<exclusions>
<exclusion>
<artifactId>joda-time</artifactId>
<groupId>joda-time</groupId>
</exclusion>
<exclusion>
<artifactId>commons-io</artifactId>
<groupId>commons-io</groupId>
</exclusion>
<exclusion>
<artifactId>mybatis</artifactId>
<groupId>org.mybatis</groupId>
</exclusion>
</exclusions>-->
</dependency>
</dependencies>
</project>
\ No newline at end of file
integrate-activiti/src/main/java/com/pannk/App.java
0 → 100644
浏览文件 @
55b4ee0c
package
com.pannk
;
import
org.springframework.boot.SpringApplication
;
import
org.springframework.boot.actuate.autoconfigure.security.servlet.ManagementWebSecurityAutoConfiguration
;
import
org.springframework.boot.autoconfigure.SpringBootApplication
;
import
org.springframework.boot.autoconfigure.security.servlet.SecurityAutoConfiguration
;
/**
* Created by wolf on 20-12-4.
*/
@SpringBootApplication
(
exclude
=
{
SecurityAutoConfiguration
.
class
,
ManagementWebSecurityAutoConfiguration
.
class
})
public
class
App
{
public
static
void
main
(
String
[]
args
)
{
SpringApplication
.
run
(
App
.
class
,
args
);
}
}
integrate-activiti/src/main/resources/application-dev.yml
0 → 100644
浏览文件 @
55b4ee0c
spring
:
datasource
:
type
:
com.alibaba.druid.pool.DruidDataSource
druid
:
driver-class-name
:
com.mysql.jdbc.Driver
url
:
jdbc:mysql://localhost:3306/mms?userUnicode=true&characterEncoding=UTF-8&useSSL=false
username
:
root
password
:
123456
initial-size
:
10
max-active
:
100
min-idle
:
10
max-wait
:
60000
pool-prepared-statements
:
true
max-pool-prepared-statement-per-connection-size
:
20
time-between-eviction-runs-millis
:
60000
min-evictable-idle-time-millis
:
300000
test-while-idle
:
true
test-on-borrow
:
false
test-on-return
:
false
stat-view-servlet
:
enabled
:
true
url-pattern
:
/druid/*
filter
:
stat
:
log-slow-sql
:
true
slow-sql-millis
:
1000
merge-sql
:
true
wall
:
config
:
multi-statement-allow
:
true
redis
:
host
:
localhost
port
:
6379
database
:
0
timeout
:
6000ms
jedis
:
pool
:
max-active
:
100
max-wait
:
-1ms
max-idle
:
10
min-idle
:
5
debug
:
true
\ No newline at end of file
integrate-activiti/src/main/resources/application.yml
0 → 100644
浏览文件 @
55b4ee0c
server
:
port
:
9999
servlet
:
context-path
:
/
spring
:
profiles
:
active
:
dev
activiti
:
database-schema-update
:
true
db-history-used
:
true
history-level
:
full
mybatis-plus
:
mapper-locations
:
classpath*:/mapper/**/*.xml
type-aliases-package
:
com.pannk.*.entity
global-config
:
db-config
:
id-type
:
auto
logic-delete-value
:
-1
logic-not-delete-value
:
0
banner
:
false
configuration
:
map-underscore-to-camel-case
:
true
cache-enabled
:
false
call-setters-on-nulls
:
true
jdbc-type-for-null
:
'
null'
integrate-activiti/src/main/resources/processes/first.bpmn
0 → 100644
浏览文件 @
55b4ee0c
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<definitions
xmlns=
"http://www.omg.org/spec/BPMN/20100524/MODEL"
xmlns:activiti=
"http://activiti.org/bpmn"
xmlns:bpmndi=
"http://www.omg.org/spec/BPMN/20100524/DI"
xmlns:omgdc=
"http://www.omg.org/spec/DD/20100524/DC"
xmlns:omgdi=
"http://www.omg.org/spec/DD/20100524/DI"
xmlns:tns=
"http://www.activiti.org/test"
xmlns:xsd=
"http://www.w3.org/2001/XMLSchema"
xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"
expressionLanguage=
"http://www.w3.org/1999/XPath"
id=
"m1607073953163"
name=
""
targetNamespace=
"http://www.activiti.org/test"
typeLanguage=
"http://www.w3.org/2001/XMLSchema"
>
<process
id=
"qj"
isClosed=
"false"
isExecutable=
"true"
processType=
"None"
>
<startEvent
id=
"_2"
name=
"StartEvent"
/>
<userTask
activiti:exclusive=
"true"
id=
"_3"
name=
"UserTask"
/>
<userTask
activiti:exclusive=
"true"
id=
"_5"
name=
"UserTask"
/>
<sequenceFlow
id=
"_6"
sourceRef=
"_2"
targetRef=
"_5"
/>
<sequenceFlow
id=
"_7"
sourceRef=
"_5"
targetRef=
"_3"
/>
<endEvent
id=
"_8"
name=
"EndEvent"
/>
<sequenceFlow
id=
"_9"
sourceRef=
"_3"
targetRef=
"_8"
/>
</process>
<bpmndi:BPMNDiagram
documentation=
"background=#3C3F41;count=1;horizontalcount=1;orientation=0;width=842.4;height=1195.2;imageableWidth=832.4;imageableHeight=1185.2;imageableX=5.0;imageableY=5.0"
id=
"Diagram-_1"
name=
"New Diagram"
>
<bpmndi:BPMNPlane
bpmnElement=
"qj"
>
<bpmndi:BPMNShape
bpmnElement=
"_2"
id=
"Shape-_2"
>
<omgdc:Bounds
height=
"32.0"
width=
"32.0"
x=
"65.0"
y=
"65.0"
/>
<bpmndi:BPMNLabel>
<omgdc:Bounds
height=
"32.0"
width=
"32.0"
x=
"-2.0"
y=
"4.0"
/>
</bpmndi:BPMNLabel>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape
bpmnElement=
"_3"
id=
"Shape-_3"
>
<omgdc:Bounds
height=
"55.0"
width=
"85.0"
x=
"130.0"
y=
"280.0"
/>
<bpmndi:BPMNLabel>
<omgdc:Bounds
height=
"55.0"
width=
"85.0"
x=
"0.0"
y=
"0.0"
/>
</bpmndi:BPMNLabel>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape
bpmnElement=
"_5"
id=
"Shape-_5"
>
<omgdc:Bounds
height=
"65.0"
width=
"85.0"
x=
"180.0"
y=
"115.0"
/>
<bpmndi:BPMNLabel>
<omgdc:Bounds
height=
"65.0"
width=
"85.0"
x=
"0.0"
y=
"0.0"
/>
</bpmndi:BPMNLabel>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape
bpmnElement=
"_8"
id=
"Shape-_8"
>
<omgdc:Bounds
height=
"32.0"
width=
"32.0"
x=
"165.0"
y=
"520.0"
/>
<bpmndi:BPMNLabel>
<omgdc:Bounds
height=
"32.0"
width=
"32.0"
x=
"0.0"
y=
"0.0"
/>
</bpmndi:BPMNLabel>
</bpmndi:BPMNShape>
<bpmndi:BPMNEdge
bpmnElement=
"_6"
id=
"BPMNEdge__6"
sourceElement=
"_2"
targetElement=
"_5"
>
<omgdi:waypoint
x=
"97.0"
y=
"81.0"
/>
<omgdi:waypoint
x=
"180.0"
y=
"147.5"
/>
<bpmndi:BPMNLabel>
<omgdc:Bounds
height=
"0.0"
width=
"0.0"
x=
"0.0"
y=
"0.0"
/>
</bpmndi:BPMNLabel>
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge
bpmnElement=
"_7"
id=
"BPMNEdge__7"
sourceElement=
"_5"
targetElement=
"_3"
>
<omgdi:waypoint
x=
"197.5"
y=
"180.0"
/>
<omgdi:waypoint
x=
"197.5"
y=
"280.0"
/>
<bpmndi:BPMNLabel>
<omgdc:Bounds
height=
"0.0"
width=
"0.0"
x=
"0.0"
y=
"0.0"
/>
</bpmndi:BPMNLabel>
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge
bpmnElement=
"_9"
id=
"BPMNEdge__9"
sourceElement=
"_3"
targetElement=
"_8"
>
<omgdi:waypoint
x=
"181.0"
y=
"335.0"
/>
<omgdi:waypoint
x=
"181.0"
y=
"520.0"
/>
<bpmndi:BPMNLabel>
<omgdc:Bounds
height=
"0.0"
width=
"0.0"
x=
"0.0"
y=
"0.0"
/>
</bpmndi:BPMNLabel>
</bpmndi:BPMNEdge>
</bpmndi:BPMNPlane>
</bpmndi:BPMNDiagram>
</definitions>
pom.xml
浏览文件 @
55b4ee0c
...
...
@@ -21,6 +21,7 @@
<module>
integrate-mq
</module>
<module>
integrate-swagger
</module>
<module>
integrate-shiro
</module>
<module>
integrate-activiti
</module>
</modules>
<parent>
<groupId>
org.springframework.boot
</groupId>
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录