Browse Source

排除commons-io

master
jianjun 3 years ago
parent
commit
351679b1c7
  1. 6
      epmet-commons/epmet-commons-tools/pom.xml
  2. 8
      epmet-module/epmet-activiti/epmet-activiti-server/pom.xml
  3. 6
      epmet-module/epmet-oss/epmet-oss-client/pom.xml
  4. 6
      epmet-module/epmet-oss/epmet-oss-server/pom.xml
  5. 100
      epmet-user/epmet-user-server/src/main/resources/bootstrap.yml

6
epmet-commons/epmet-commons-tools/pom.xml

@ -75,6 +75,12 @@
<groupId>commons-fileupload</groupId> <groupId>commons-fileupload</groupId>
<artifactId>commons-fileupload</artifactId> <artifactId>commons-fileupload</artifactId>
<version>${commons.fileupload.version}</version> <version>${commons.fileupload.version}</version>
<exclusions>
<exclusion>
<groupId>commons-io</groupId>
<artifactId>commons-io</artifactId>
</exclusion>
</exclusions>
</dependency> </dependency>
<dependency> <dependency>
<groupId>commons-io</groupId> <groupId>commons-io</groupId>

8
epmet-module/epmet-activiti/epmet-activiti-server/pom.xml

@ -84,6 +84,10 @@
<artifactId>slf4j-log4j12</artifactId> <artifactId>slf4j-log4j12</artifactId>
<groupId>org.slf4j</groupId> <groupId>org.slf4j</groupId>
</exclusion> </exclusion>
<exclusion>
<groupId>commons-io</groupId>
<artifactId>commons-io</artifactId>
</exclusion>
</exclusions> </exclusions>
</dependency> </dependency>
<dependency> <dependency>
@ -122,6 +126,10 @@
<artifactId>spring-security-crypto</artifactId> <artifactId>spring-security-crypto</artifactId>
<groupId>org.springframework.security</groupId> <groupId>org.springframework.security</groupId>
</exclusion> </exclusion>
<exclusion>
<groupId>commons-io</groupId>
<artifactId>commons-io</artifactId>
</exclusion>
</exclusions> </exclusions>
</dependency> </dependency>
<!-- 替换Feign原生httpclient --> <!-- 替换Feign原生httpclient -->

6
epmet-module/epmet-oss/epmet-oss-client/pom.xml

@ -32,6 +32,12 @@
<groupId>commons-fileupload</groupId> <groupId>commons-fileupload</groupId>
<artifactId>commons-fileupload</artifactId> <artifactId>commons-fileupload</artifactId>
<version>1.3.3</version> <version>1.3.3</version>
<exclusions>
<exclusion>
<groupId>commons-io</groupId>
<artifactId>commons-io</artifactId>
</exclusion>
</exclusions>
</dependency> </dependency>
<dependency> <dependency>
<groupId>net.coobird</groupId> <groupId>net.coobird</groupId>

6
epmet-module/epmet-oss/epmet-oss-server/pom.xml

@ -55,6 +55,12 @@
<dependency> <dependency>
<groupId>com.alibaba.cloud</groupId> <groupId>com.alibaba.cloud</groupId>
<artifactId>spring-cloud-starter-alibaba-nacos-discovery</artifactId> <artifactId>spring-cloud-starter-alibaba-nacos-discovery</artifactId>
<exclusions>
<exclusion>
<groupId>commons-io</groupId>
<artifactId>commons-io</artifactId>
</exclusion>
</exclusions>
</dependency> </dependency>
<dependency> <dependency>
<groupId>com.alibaba.cloud</groupId> <groupId>com.alibaba.cloud</groupId>

100
epmet-user/epmet-user-server/src/main/resources/bootstrap.yml

@ -24,9 +24,23 @@ spring:
port: @spring.redis.port@ port: @spring.redis.port@
password: @spring.redis.password@ password: @spring.redis.password@
timeout: 30s timeout: 30s
shardingsphere:
props:
sql:
show: false
sharding:
default-data-source-name: master
masterslave:
name: ms
master-data-source-name: master
slave-data-source-names: slave1,slave2
#配置slave节点的负载均衡均衡策略,采用轮询机制
load-balance-algorithm-type: round_robin
datasource: datasource:
druid: names: master,slave1,slave2
master:
#MySQL #MySQL
type: com.alibaba.druid.pool.DruidDataSource
driver-class-name: com.mysql.cj.jdbc.Driver driver-class-name: com.mysql.cj.jdbc.Driver
url: @spring.datasource.druid.url@ url: @spring.datasource.druid.url@
username: @spring.datasource.druid.username@ username: @spring.datasource.druid.username@
@ -52,6 +66,90 @@ spring:
wall: wall:
config: config:
multi-statement-allow: true multi-statement-allow: true
slave1:
#MySQL
type: com.alibaba.druid.pool.DruidDataSource
driver-class-name: com.mysql.cj.jdbc.Driver
url: @spring.datasource.druid.url@
username: @spring.datasource.druid.username@
password: @spring.datasource.druid.password@
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
#Oracle需要打开注释
#validation-query: SELECT 1 FROM DUAL
test-while-idle: true
test-on-borrow: false
test-on-return: false
filter:
stat:
log-slow-sql: true
slow-sql-millis: 1000
merge-sql: false
wall:
config:
multi-statement-allow: true
slave2:
#MySQL
type: com.alibaba.druid.pool.DruidDataSource
driver-class-name: com.mysql.cj.jdbc.Driver
url: @spring.datasource.druid.url@
username: @spring.datasource.druid.username@
password: @spring.datasource.druid.password@
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
#Oracle需要打开注释
#validation-query: SELECT 1 FROM DUAL
test-while-idle: true
test-on-borrow: false
test-on-return: false
filter:
stat:
log-slow-sql: true
slow-sql-millis: 1000
merge-sql: false
wall:
config:
multi-statement-allow: true
# datasource:
# druid:
# #MySQL
# driver-class-name: com.mysql.cj.jdbc.Driver
# url: @spring.datasource.druid.url@
# username: @spring.datasource.druid.username@
# password: @spring.datasource.druid.password@
# 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
# #Oracle需要打开注释
# #validation-query: SELECT 1 FROM DUAL
# test-while-idle: true
# test-on-borrow: false
# test-on-return: false
# filter:
# stat:
# log-slow-sql: true
# slow-sql-millis: 1000
# merge-sql: false
# wall:
# config:
# multi-statement-allow: true
# 数据迁移工具flyway # 数据迁移工具flyway
flyway: flyway:
enabled: @spring.flyway.enabled@ enabled: @spring.flyway.enabled@

Loading…
Cancel
Save