|
@ -26,17 +26,21 @@ spring:
|
|
|
hibernate:
|
|
|
dialect: org.hibernate.dialect.MySQL5Dialect
|
|
|
show_sql: true
|
|
|
ejb:
|
|
|
naming_strategy: org.hibernate.cfg.ImprovedNamingStrategy #springJPA使用驼峰式
|
|
|
|
|
|
|
|
|
# ejb:
|
|
|
# naming_strategy: org.hibernate.cfg.ImprovedNamingStrategy #springJPA使用驼峰式(hibernate4以下使用)
|
|
|
physical_naming_strategy: org.springframework.boot.orm.jpa.hibernate.SpringPhysicalNamingStrategy #springJPA使用驼峰式(hibernate5以上使用)
|
|
|
implicit_naming_strategy: org.hibernate.boot.model.naming.ImplicitNamingStrategyLegacyHbmImpl
|
|
|
|
|
|
yihu:
|
|
|
admin:
|
|
|
client:
|
|
|
advice:
|
|
|
sql: true
|
|
|
---
|
|
|
spring:
|
|
|
profiles: jwdev
|
|
|
|
|
|
datasource:
|
|
|
url: jdbc:mysql://172.19.103.77/jw2?useUnicode:true&characterEncoding=utf-8&autoReconnect=true
|
|
|
url: jdbc:mysql://172.19.103.77/base?useUnicode:true&characterEncoding=utf-8&autoReconnect=true
|
|
|
username: root
|
|
|
password: 123456
|
|
|
zipkin:
|
|
@ -46,14 +50,20 @@ spring:
|
|
|
sampler:
|
|
|
percentage: 1.0 ##采用需要的请求的百分比 默认是0.1 即 10%
|
|
|
|
|
|
yihu:
|
|
|
admin:
|
|
|
client:
|
|
|
server:
|
|
|
ip: 192.168.131.102
|
|
|
port: 8082
|
|
|
|
|
|
---
|
|
|
spring:
|
|
|
profiles: jwtest
|
|
|
datasource:
|
|
|
url: jdbc:mysql://172.19.103.77/jw2?useUnicode:true&characterEncoding=utf-8&autoReconnect=true
|
|
|
username: root
|
|
|
password: 123456
|
|
|
url: jdbc:mysql://172.17.110.160/base?useUnicode:true&characterEncoding=utf-8&autoReconnect=true
|
|
|
username: ssgg
|
|
|
password: ssgg
|
|
|
zipkin:
|
|
|
base-url: http://192.168.131.173:${server.svr-logServer-port} #日志追踪的地址
|
|
|
|
|
@ -61,7 +71,12 @@ spring:
|
|
|
sampler:
|
|
|
percentage: 1.0 ##采用需要的请求的百分比 默认是0.1 即 10%
|
|
|
|
|
|
|
|
|
yihu:
|
|
|
admin:
|
|
|
client:
|
|
|
server:
|
|
|
ip: 192.168.131.102
|
|
|
port: 8082
|
|
|
---
|
|
|
spring:
|
|
|
profiles: jwprod
|
|
@ -74,4 +89,11 @@ spring:
|
|
|
|
|
|
sleuth:
|
|
|
sampler:
|
|
|
percentage: 1.0 ##采用需要的请求的百分比 默认是0.1 即 10%
|
|
|
percentage: 1.0 ##采用需要的请求的百分比 默认是0.1 即 10%
|
|
|
|
|
|
yihu:
|
|
|
admin:
|
|
|
client:
|
|
|
server:
|
|
|
ip: 192.168.131.102
|
|
|
port: 8082
|