@@ -204,10 +204,10 @@ | |||||
</exclusion> | </exclusion> | ||||
</exclusions> | </exclusions> | ||||
</dependency> | </dependency> | ||||
<!-- <dependency>--> | |||||
<!-- <groupId>com.ningdatech</groupId>--> | |||||
<!-- <artifactId>nd-flowable-starter</artifactId>--> | |||||
<!-- </dependency>--> | |||||
<dependency> | |||||
<groupId>com.ningdatech</groupId> | |||||
<artifactId>nd-flowable-starter</artifactId> | |||||
</dependency> | |||||
<dependency> | <dependency> | ||||
<groupId>com.ningdatech</groupId> | <groupId>com.ningdatech</groupId> | ||||
@@ -228,6 +228,28 @@ | |||||
<scope>system</scope> | <scope>system</scope> | ||||
<systemPath>${project.basedir}/src/lib/kingbase8-8.2.0.jar</systemPath> | <systemPath>${project.basedir}/src/lib/kingbase8-8.2.0.jar</systemPath> | ||||
</dependency> | </dependency> | ||||
<dependency> | |||||
<groupId>com.kingbase.dialect</groupId> | |||||
<artifactId>kingbase8-8.2.0</artifactId> | |||||
<scope>system</scope> | |||||
<systemPath>${project.basedir}/src/lib/kingbase8-8.2.0.jar</systemPath> | |||||
</dependency> | |||||
<dependency> | |||||
<groupId>org.flowable</groupId> | |||||
<artifactId>flowable-spring-boot-starter-actuator</artifactId> | |||||
<exclusions> | |||||
<exclusion> | |||||
<groupId>org.mybatis</groupId> | |||||
<artifactId>mybatis</artifactId> | |||||
</exclusion> | |||||
</exclusions> | |||||
</dependency> | |||||
<dependency> | |||||
<groupId>cn.dev33</groupId> | |||||
<artifactId>sa-token-spring-boot-starter</artifactId> | |||||
</dependency> | |||||
</dependencies> | </dependencies> | ||||
<!-- 打包 --> | <!-- 打包 --> | ||||
<!--配置环境的profile--> | <!--配置环境的profile--> | ||||
@@ -29,15 +29,16 @@ spring: | |||||
default-property-inclusion: non_null | default-property-inclusion: non_null | ||||
time-zone: GMT+8 | time-zone: GMT+8 | ||||
date-format: yyyy-MM-dd HH:mm:ss | date-format: yyyy-MM-dd HH:mm:ss | ||||
# datasource: | |||||
# url: jdbc:mysql://47.98.125.47:3306/nd_project_management?serverTimezone=Asia/Shanghai&characterEncoding=utf8&allowPublicKeyRetrieval=true&useSSL=false | |||||
# driverClassName: com.mysql.jdbc.Driver | |||||
# username: root | |||||
# password: NingdaKeji123! | |||||
# druid: | |||||
# max-wait: 10000 | |||||
# min-idle: 5 | |||||
# max-active: 100 | |||||
jpa: | |||||
properties: | |||||
hibernate: | |||||
default_schema: PUBLIC | |||||
hbm2ddl: | |||||
auto: update | |||||
show_sql: true | |||||
show-sql: true | |||||
hibernate: | |||||
ddl-auto: update | |||||
datasource: | datasource: | ||||
type: com.alibaba.druid.pool.DruidDataSource | type: com.alibaba.druid.pool.DruidDataSource | ||||
driverClassName: com.kingbase8.Driver | driverClassName: com.kingbase8.Driver | ||||
@@ -111,4 +112,39 @@ log: | |||||
total-size: 50MB | total-size: 50MB | ||||
swagger: | swagger: | ||||
enabled: true | |||||
enabled: true | |||||
flowable: | |||||
async-executor-activate: true | |||||
#关闭一些不需要的功能服务 | |||||
rest-api-enabled: false | |||||
idm: | |||||
enabled: false | |||||
cmmn: | |||||
enabled: false | |||||
dmn: | |||||
enabled: false | |||||
form: | |||||
enabled: false | |||||
app: | |||||
enabled: false | |||||
wflow: | |||||
file: | |||||
max-size: 20 #最大文件上传大小,MB | |||||
sa-token: | |||||
# token 名称 (同时也是cookie名称) | |||||
token-name: wflowToken | |||||
# token 有效期,单位s 默认30天, -1代表永不过期 | |||||
timeout: 172800 | |||||
# token 临时有效期 (指定时间内无操作就视为token过期) 单位: 秒 | |||||
activity-timeout: -1 | |||||
# 是否允许同一账号并发登录 (为true时允许一起登录, 为false时新登录挤掉旧登录) | |||||
is-concurrent: true | |||||
# 在多人登录同一账号时,是否共用一个token (为true时所有登录共用一个token, 为false时每次登录新建一个token) | |||||
is-share: false | |||||
# token风格 | |||||
token-style: uuid | |||||
# 是否输出操作日志 | |||||
is-log: false |
@@ -100,6 +100,17 @@ | |||||
<groupId>com.ningdatech</groupId> | <groupId>com.ningdatech</groupId> | ||||
<artifactId>nd-flowable-starter</artifactId> | <artifactId>nd-flowable-starter</artifactId> | ||||
<version>1.0.0</version> | <version>1.0.0</version> | ||||
<scope>true</scope> | |||||
</dependency> | |||||
<dependency> | |||||
<groupId>org.flowable</groupId> | |||||
<artifactId>flowable-spring-boot-starter-actuator</artifactId> | |||||
<version>6.7.2</version> | |||||
</dependency> | |||||
<dependency> | |||||
<groupId>cn.dev33</groupId> | |||||
<artifactId>sa-token-spring-boot-starter</artifactId> | |||||
<version>1.30.0</version> | |||||
</dependency> | </dependency> | ||||
<!--KingBase--> | <!--KingBase--> | ||||
<dependency> | <dependency> | ||||
@@ -107,6 +118,12 @@ | |||||
<artifactId>kingbase8-8.2.0</artifactId> | <artifactId>kingbase8-8.2.0</artifactId> | ||||
<version>1.0</version> | <version>1.0</version> | ||||
</dependency> | </dependency> | ||||
<dependency> | |||||
<groupId>com.kingbase.dialect</groupId> | |||||
<artifactId>kingbase8-8.2.0</artifactId> | |||||
<version>1.0</version> | |||||
</dependency> | |||||
</dependencies> | </dependencies> | ||||
</dependencyManagement> | </dependencyManagement> | ||||