mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/per-boe/java-servers.git
synced 2025-12-12 04:16:51 +08:00
调整配置,去掉不需要的配置
This commit is contained in:
@@ -23,11 +23,7 @@
|
|||||||
<artifactId>xboe-core</artifactId>
|
<artifactId>xboe-core</artifactId>
|
||||||
<version>1.0.0</version>
|
<version>1.0.0</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
|
||||||
<groupId>com.xboe</groupId>
|
|
||||||
<artifactId>xboe-redis</artifactId>
|
|
||||||
<version>1.0.0</version>
|
|
||||||
</dependency>
|
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>com.xboe</groupId>
|
<groupId>com.xboe</groupId>
|
||||||
<artifactId>xboe-module-event</artifactId>
|
<artifactId>xboe-module-event</artifactId>
|
||||||
@@ -70,19 +66,10 @@
|
|||||||
<groupId>org.springframework.boot</groupId>
|
<groupId>org.springframework.boot</groupId>
|
||||||
<artifactId>spring-boot-starter-data-jpa</artifactId>
|
<artifactId>spring-boot-starter-data-jpa</artifactId>
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
|
||||||
<groupId>org.springframework.boot</groupId>
|
|
||||||
<artifactId>spring-boot-starter-data-redis</artifactId>
|
|
||||||
</dependency>
|
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.springframework.boot</groupId>
|
<groupId>org.springframework.boot</groupId>
|
||||||
<artifactId>spring-boot-starter-web</artifactId>
|
<artifactId>spring-boot-starter-web</artifactId>
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
|
||||||
<groupId>org.springframework.session</groupId>
|
|
||||||
<artifactId>spring-session-data-redis</artifactId>
|
|
||||||
</dependency>
|
|
||||||
|
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>mysql</groupId>
|
<groupId>mysql</groupId>
|
||||||
<artifactId>mysql-connector-java</artifactId>
|
<artifactId>mysql-connector-java</artifactId>
|
||||||
|
|||||||
@@ -1,32 +1,18 @@
|
|||||||
## redis
|
|
||||||
spring.redis.database=2
|
|
||||||
spring.redis.host=127.0.0.1
|
|
||||||
spring.redis.password=ENC(zA5LNV8xw3yEx6LMwdGGBGgNsOaD3Cg+)
|
|
||||||
spring.redis.port=6379
|
|
||||||
|
|
||||||
## datasource config
|
## datasource config
|
||||||
spring.datasource.driverClassName=com.mysql.jdbc.Driver
|
spring.datasource.driverClassName=com.mysql.jdbc.Driver
|
||||||
# spring.datasource.driverClassName=com.mysql.cj.jdbc.Driver
|
# spring.datasource.driverClassName=com.mysql.cj.jdbc.Driver
|
||||||
spring.datasource.url=jdbc:mysql://127.0.0.1:3306/boe_base3?useSSL=false&useUnicode=true&characterEncoding=UTF8&zeroDateTimeBehavior=convertToNull
|
spring.datasource.url=jdbc:mysql://127.0.0.1:3306/boeu_base?useSSL=false&useUnicode=true&characterEncoding=UTF8&zeroDateTimeBehavior=convertToNull
|
||||||
spring.datasource.username=root
|
spring.datasource.username=root
|
||||||
spring.datasource.password=ENC(lAoFOYuc8CAypPtigTNLYg==)
|
spring.datasource.password=ENC(lAoFOYuc8CAypPtigTNLYg==)
|
||||||
|
|
||||||
logging.level.org.hibernate.SQL=DEBUG
|
logging.level.org.hibernate.SQL=DEBUG
|
||||||
logging.level.org.hibernate.type.descriptor.sql.BasicBinder=TRACE
|
logging.level.org.hibernate.type.descriptor.sql.BasicBinder=TRACE
|
||||||
|
|
||||||
## 静态文件目录,默认是在static下面,以后独立到nginx下面配置
|
|
||||||
spring.web.resources.static-locations=file:E:/Projects/BOE/java/static
|
|
||||||
|
|
||||||
## xboe config
|
## xboe config
|
||||||
xboe.api.cross_filter=true
|
xboe.api.cross_filter=true
|
||||||
|
|
||||||
## 上传相磁的路径配置
|
|
||||||
xboe.upload.file.temp_path=E:/Projects/BOE/java/static/temp
|
|
||||||
xboe.upload.file.save_path=E:/Projects/BOE/java/static/upload
|
|
||||||
xboe.upload.file.http_path=http://localhost:9090/cdn/upload
|
|
||||||
|
|
||||||
## 外部接口调用地址 旧系统机构及用户数据接口
|
|
||||||
xboe.externalinterface.url.system=http://localhost:9091
|
|
||||||
|
|
||||||
## 案例接口配置,init 是否需要初始化
|
## 案例接口配置,init 是否需要初始化
|
||||||
xboe.case.sync.init=true
|
xboe.case.sync.init=true
|
||||||
|
|||||||
@@ -1,9 +1,3 @@
|
|||||||
## redis
|
|
||||||
spring.redis.database=2
|
|
||||||
spring.redis.host=127.0.0.1
|
|
||||||
spring.redis.password=ENC(zA5LNV8xw3yEx6LMwdGGBGgNsOaD3Cg+)
|
|
||||||
spring.redis.port=6379
|
|
||||||
|
|
||||||
## datasource config
|
## datasource config
|
||||||
spring.datasource.driverClassName=com.mysql.jdbc.Driver
|
spring.datasource.driverClassName=com.mysql.jdbc.Driver
|
||||||
# spring.datasource.driverClassName=com.mysql.cj.jdbc.Driver
|
# spring.datasource.driverClassName=com.mysql.cj.jdbc.Driver
|
||||||
@@ -14,19 +8,10 @@ spring.datasource.password=ENC(lAoFOYuc8CAypPtigTNLYg==)
|
|||||||
logging.level.org.hibernate.SQL=ERROR
|
logging.level.org.hibernate.SQL=ERROR
|
||||||
# logging.level.org.hibernate.type.descriptor.sql.BasicBinder=TRACE
|
# logging.level.org.hibernate.type.descriptor.sql.BasicBinder=TRACE
|
||||||
|
|
||||||
## 静态文件目录,默认是在static下面,以后独立到nginx下面配置
|
|
||||||
spring.web.resources.static-locations=file:E:/Projects/BOE/java/static
|
|
||||||
|
|
||||||
## xboe config
|
## xboe config
|
||||||
xboe.api.cross_filter=true
|
xboe.api.cross_filter=true
|
||||||
|
|
||||||
## 上传相磁的路径配置
|
|
||||||
xboe.upload.file.temp_path=E:/Projects/BOE/java/static/temp
|
|
||||||
xboe.upload.file.save_path=E:/Projects/BOE/java/static/upload
|
|
||||||
xboe.upload.file.http_path=http://localhost:9090/cdn/upload
|
|
||||||
|
|
||||||
## 外部接口调用地址 旧系统机构及用户数据接口
|
|
||||||
xboe.externalinterface.url.system=http://localhost:9091
|
|
||||||
|
|
||||||
## 案例接口配置
|
## 案例接口配置
|
||||||
## 案例接口配置,init 是否需要初始化
|
## 案例接口配置,init 是否需要初始化
|
||||||
|
|||||||
@@ -1,10 +1,6 @@
|
|||||||
## redis
|
|
||||||
spring.redis.database=2
|
|
||||||
spring.redis.host=127.0.0.1
|
|
||||||
spring.redis.password=ENC(zA5LNV8xw3yEx6LMwdGGBGgNsOaD3Cg+)
|
|
||||||
spring.redis.port=6379
|
|
||||||
|
|
||||||
## datasource config
|
## datasource config
|
||||||
|
spring.jpa.show-sql = false
|
||||||
|
spring.jpa.hibernate.ddl-auto=none
|
||||||
spring.datasource.driverClassName=com.mysql.jdbc.Driver
|
spring.datasource.driverClassName=com.mysql.jdbc.Driver
|
||||||
# spring.datasource.driverClassName=com.mysql.cj.jdbc.Driver
|
# spring.datasource.driverClassName=com.mysql.cj.jdbc.Driver
|
||||||
spring.datasource.url=jdbc:mysql://127.0.0.1:3306/boe_base?useSSL=false&useUnicode=true&characterEncoding=UTF8&zeroDateTimeBehavior=convertToNull
|
spring.datasource.url=jdbc:mysql://127.0.0.1:3306/boe_base?useSSL=false&useUnicode=true&characterEncoding=UTF8&zeroDateTimeBehavior=convertToNull
|
||||||
@@ -14,19 +10,10 @@ spring.datasource.password=ENC(lAoFOYuc8CAypPtigTNLYg==)
|
|||||||
logging.level.org.hibernate.SQL=ERROR
|
logging.level.org.hibernate.SQL=ERROR
|
||||||
# logging.level.org.hibernate.type.descriptor.sql.BasicBinder=TRACE
|
# logging.level.org.hibernate.type.descriptor.sql.BasicBinder=TRACE
|
||||||
|
|
||||||
## 静态文件目录,默认是在static下面,以后独立到nginx下面配置
|
|
||||||
spring.web.resources.static-locations=file:E:/Projects/BOE/java/static
|
|
||||||
|
|
||||||
## xboe config
|
## xboe config
|
||||||
xboe.api.cross_filter=true
|
xboe.api.cross_filter=true
|
||||||
|
|
||||||
## 上传相磁的路径配置
|
|
||||||
xboe.upload.file.temp_path=E:/Projects/BOE/java/static/temp
|
|
||||||
xboe.upload.file.save_path=E:/Projects/BOE/java/static/upload
|
|
||||||
xboe.upload.file.http_path=http://localhost:9090/cdn/upload
|
|
||||||
|
|
||||||
## 外部接口调用地址 旧系统机构及用户数据接口
|
|
||||||
xboe.externalinterface.url.system=http://localhost:9091
|
|
||||||
|
|
||||||
## 案例接口配置
|
## 案例接口配置
|
||||||
## 案例接口配置,init 是否需要初始化
|
## 案例接口配置,init 是否需要初始化
|
||||||
|
|||||||
@@ -1,30 +1,17 @@
|
|||||||
## redis
|
|
||||||
spring.redis.database=2
|
|
||||||
spring.redis.host=127.0.0.1
|
|
||||||
spring.redis.password=ENC(zA5LNV8xw3yEx6LMwdGGBGgNsOaD3Cg+)
|
|
||||||
spring.redis.port=6379
|
|
||||||
|
|
||||||
## datasource config
|
## datasource config
|
||||||
|
spring.jpa.show-sql = false
|
||||||
|
spring.jpa.hibernate.ddl-auto=none
|
||||||
spring.datasource.driverClassName=com.mysql.jdbc.Driver
|
spring.datasource.driverClassName=com.mysql.jdbc.Driver
|
||||||
# spring.datasource.driverClassName=com.mysql.cj.jdbc.Driver
|
# spring.datasource.driverClassName=com.mysql.cj.jdbc.Driver
|
||||||
spring.datasource.url=jdbc:mysql://127.0.0.1:3306/boe_base?useSSL=false&useUnicode=true&characterEncoding=UTF8&zeroDateTimeBehavior=convertToNull
|
spring.datasource.url=jdbc:mysql://127.0.0.1:3306/boe_base?useSSL=false&useUnicode=true&characterEncoding=UTF8&zeroDateTimeBehavior=convertToNull
|
||||||
spring.datasource.username=boe_base
|
spring.datasource.username=boe_base
|
||||||
spring.datasource.password=ENC(MaC28GJw2JcbH8Lil0CrqSDTYxX49FJ0rxcmHH2pX0k=)
|
spring.datasource.password=ENC(MaC28GJw2JcbH8Lil0CrqSDTYxX49FJ0rxcmHH2pX0k=)
|
||||||
|
|
||||||
logging.level.org.hibernate.SQL=DEBUG
|
|
||||||
logging.level.org.hibernate.type.descriptor.sql.BasicBinder=TRACE
|
|
||||||
|
|
||||||
|
|
||||||
## xboe config
|
## xboe config
|
||||||
xboe.api.cross_filter=true
|
xboe.api.cross_filter=true
|
||||||
|
|
||||||
## 上传相磁的路径配置
|
|
||||||
xboe.upload.file.temp_path=/www/wwwroot/file/temp
|
|
||||||
xboe.upload.file.save_path=/www/wwwroot/file/upload
|
|
||||||
xboe.upload.file.http_path=http://114.115.162.187/file/upload
|
|
||||||
|
|
||||||
## 外部接口调用地址 旧系统机构及用户数据接口
|
|
||||||
xboe.externalinterface.url.system=http://127.0.0.1:9091
|
|
||||||
|
|
||||||
## 案例接口配置
|
## 案例接口配置
|
||||||
## 案例接口配置,init 是否需要初始化
|
## 案例接口配置,init 是否需要初始化
|
||||||
|
|||||||
@@ -31,10 +31,6 @@ spring.servlet.multipart.max-request-size=1024MB
|
|||||||
## 静态文件目录,默认是在static下面,以后独立到nginx下面配置
|
## 静态文件目录,默认是在static下面,以后独立到nginx下面配置
|
||||||
spring.mvc.static-path-pattern=/cdn/**
|
spring.mvc.static-path-pattern=/cdn/**
|
||||||
|
|
||||||
spring.redis.database=2
|
|
||||||
spring.redis.host=127.0.0.1
|
|
||||||
spring.redis.password=1Qaz2wsx
|
|
||||||
spring.redis.port=6379
|
|
||||||
|
|
||||||
spring.redis.lettuce.pool.max-active=8
|
spring.redis.lettuce.pool.max-active=8
|
||||||
spring.redis.lettuce.pool.min-idle=0
|
spring.redis.lettuce.pool.min-idle=0
|
||||||
@@ -47,10 +43,10 @@ spring.redis.lettuce.shutdown-timeout=100ms
|
|||||||
|
|
||||||
# jpa config
|
# jpa config
|
||||||
spring.jpa.database = MYSQL
|
spring.jpa.database = MYSQL
|
||||||
spring.jpa.show-sql = true
|
spring.jpa.show-sql = false
|
||||||
# spring.jpa.properties.hibernate.cache.use_second_level_cache=true
|
# spring.jpa.properties.hibernate.cache.use_second_level_cache=true
|
||||||
# spring.jpa.properties.hibernate.cache.region.factory_class=org.hibernate.cache.ehcache.EhCacheRegionFactory
|
# spring.jpa.properties.hibernate.cache.region.factory_class=org.hibernate.cache.ehcache.EhCacheRegionFactory
|
||||||
spring.jpa.hibernate.ddl-auto=update
|
spring.jpa.hibernate.ddl-auto=none
|
||||||
spring.jpa.properties.hibernate.naming_strategy=org.hibernate.cfg.EJB3NamingStrategy
|
spring.jpa.properties.hibernate.naming_strategy=org.hibernate.cfg.EJB3NamingStrategy
|
||||||
spring.jpa.properties.hibernate.dialect=org.hibernate.dialect.MySQL5InnoDBDialect
|
spring.jpa.properties.hibernate.dialect=org.hibernate.dialect.MySQL5InnoDBDialect
|
||||||
spring.jpa.database-platform=org.hibernate.dialect.MySQL5InnoDBDialect
|
spring.jpa.database-platform=org.hibernate.dialect.MySQL5InnoDBDialect
|
||||||
|
|||||||
Reference in New Issue
Block a user