From 582fc1084a3016d047539b8be841d83a0a558b31 Mon Sep 17 00:00:00 2001 From: PoffyZhang <99775271@qq.com> Date: Sat, 14 Jan 2023 17:28:25 +0800 Subject: [PATCH] kingbase --- pmapi/pom.xml | 30 +++++++++++++-- pmapi/src/main/resources/application-dev.yml | 56 +++++++++++++++++++++++----- pom.xml | 17 +++++++++ 3 files changed, 89 insertions(+), 14 deletions(-) diff --git a/pmapi/pom.xml b/pmapi/pom.xml index 2f59b89..8c6cd23 100644 --- a/pmapi/pom.xml +++ b/pmapi/pom.xml @@ -204,10 +204,10 @@ - - - - + + com.ningdatech + nd-flowable-starter + com.ningdatech @@ -228,6 +228,28 @@ system ${project.basedir}/src/lib/kingbase8-8.2.0.jar + + + com.kingbase.dialect + kingbase8-8.2.0 + system + ${project.basedir}/src/lib/kingbase8-8.2.0.jar + + + + org.flowable + flowable-spring-boot-starter-actuator + + + org.mybatis + mybatis + + + + + cn.dev33 + sa-token-spring-boot-starter + diff --git a/pmapi/src/main/resources/application-dev.yml b/pmapi/src/main/resources/application-dev.yml index f8f5bee..ce79ae1 100644 --- a/pmapi/src/main/resources/application-dev.yml +++ b/pmapi/src/main/resources/application-dev.yml @@ -29,15 +29,16 @@ spring: default-property-inclusion: non_null time-zone: GMT+8 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: type: com.alibaba.druid.pool.DruidDataSource driverClassName: com.kingbase8.Driver @@ -111,4 +112,39 @@ log: total-size: 50MB swagger: - enabled: true \ No newline at end of file + 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 \ No newline at end of file diff --git a/pom.xml b/pom.xml index 2f90422..3e20327 100644 --- a/pom.xml +++ b/pom.xml @@ -100,6 +100,17 @@ com.ningdatech nd-flowable-starter 1.0.0 + true + + + org.flowable + flowable-spring-boot-starter-actuator + 6.7.2 + + + cn.dev33 + sa-token-spring-boot-starter + 1.30.0 @@ -107,6 +118,12 @@ kingbase8-8.2.0 1.0 + + + com.kingbase.dialect + kingbase8-8.2.0 + 1.0 +