Explorar el Código

kingbase

master
PoffyZhang hace 1 año
padre
commit
582fc1084a
Se han modificado 3 ficheros con 89 adiciones y 14 borrados
  1. +26
    -4
      pmapi/pom.xml
  2. +46
    -10
      pmapi/src/main/resources/application-dev.yml
  3. +17
    -0
      pom.xml

+ 26
- 4
pmapi/pom.xml Ver fichero

@@ -204,10 +204,10 @@
</exclusion>
</exclusions>
</dependency>
<!-- <dependency>-->
<!-- <groupId>com.ningdatech</groupId>-->
<!-- <artifactId>nd-flowable-starter</artifactId>-->
<!-- </dependency>-->
<dependency>
<groupId>com.ningdatech</groupId>
<artifactId>nd-flowable-starter</artifactId>
</dependency>

<dependency>
<groupId>com.ningdatech</groupId>
@@ -228,6 +228,28 @@
<scope>system</scope>
<systemPath>${project.basedir}/src/lib/kingbase8-8.2.0.jar</systemPath>
</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>
<!-- 打包 -->
<!--配置环境的profile-->


+ 46
- 10
pmapi/src/main/resources/application-dev.yml Ver fichero

@@ -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
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

+ 17
- 0
pom.xml Ver fichero

@@ -100,6 +100,17 @@
<groupId>com.ningdatech</groupId>
<artifactId>nd-flowable-starter</artifactId>
<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>
<!--KingBase-->
<dependency>
@@ -107,6 +118,12 @@
<artifactId>kingbase8-8.2.0</artifactId>
<version>1.0</version>
</dependency>

<dependency>
<groupId>com.kingbase.dialect</groupId>
<artifactId>kingbase8-8.2.0</artifactId>
<version>1.0</version>
</dependency>
</dependencies>
</dependencyManagement>



Cargando…
Cancelar
Guardar