diff --git a/auth-center/src/main/resources/application.yml b/auth-center/src/main/resources/application.yml
index bea3bc6b..f9073b78 100644
--- a/auth-center/src/main/resources/application.yml
+++ b/auth-center/src/main/resources/application.yml
@@ -30,8 +30,28 @@ spring:
file-size-threshold: 0
datasource:
name: muscle_and_fitness
- driver-class-name: com.mysql.cj.jdbc.Driver
type: com.alibaba.druid.pool.DruidDataSource
+ druid:
+ driver-class-name: com.mysql.cj.jdbc.Driver
+ max-active: 100
+ initial-size: 5
+ max-wait: 60000
+ min-idle: 1
+ time-between-eviction-runs-millis: 60000
+ min-evictable-idle-time-millis: 30000
+ validation-query: SELECT 'X'
+ test-while-idle: true
+ test-on-borrow: false
+ test-on-return: false
+ max-pool-prepared-statement-per-connection-size: 20
+ max-open-prepared-statements: 50
+ stat-view-servlet:
+ enabled: true
+ login-username: root
+ login-password: sa
+ reset-enable: false
+ url-pattern: /druid/*
+
redis:
database: 0
timeout: 10000ms
diff --git a/exercise-mis/pom.xml b/exercise-mis/pom.xml
index 36ed3aae..60017330 100644
--- a/exercise-mis/pom.xml
+++ b/exercise-mis/pom.xml
@@ -83,23 +83,6 @@
spring-integration-sftp
-
-
- com.baomidou
- mybatis-plus-boot-starter
- ${mybatis-plus-boot-starter.version}
-
-
- mysql
- mysql-connector-java
- runtime
-
-
- com.alibaba
- druid
- ${druid.version}
-
-
org.springframework.boot
diff --git a/muscle-mis/pom.xml b/muscle-mis/pom.xml
index b702498a..8a4e9029 100644
--- a/muscle-mis/pom.xml
+++ b/muscle-mis/pom.xml
@@ -83,23 +83,6 @@
spring-integration-sftp
-
-
- com.baomidou
- mybatis-plus-boot-starter
- ${mybatis-plus-boot-starter.version}
-
-
- mysql
- mysql-connector-java
- runtime
-
-
- com.alibaba
- druid
- ${druid.version}
-
-
org.springframework.boot
diff --git a/pom.xml b/pom.xml
index dd3926da..ec131028 100644
--- a/pom.xml
+++ b/pom.xml
@@ -42,7 +42,7 @@
2020.0.0
1.0.0.M5
2.3.1
- 1.2.4
+ 1.2.4
3.4.2
5.5.7
30.0-jre
diff --git a/spring-boot-starter/pom.xml b/spring-boot-starter/pom.xml
index f604f42a..e3449769 100644
--- a/spring-boot-starter/pom.xml
+++ b/spring-boot-starter/pom.xml
@@ -36,10 +36,6 @@
org.springframework.cloud
spring-cloud-sleuth-zipkin
-
-
-
-
org.springframework.boot
spring-boot-starter-aop
@@ -94,8 +90,8 @@
com.alibaba
- druid
- ${druid.version}
+ druid-spring-boot-starter
+ ${druid-spring-boot-starter.version}