-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathprovider-appinfo-test.yml
74 lines (74 loc) · 2.07 KB
/
provider-appinfo-test.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
server:
port: 10200
error:
path: /exception/error
eureka:
client:
service-url:
defaultZone : http://10.1.129.197:7001/eureka/
instance:
prefer-ip-address: true
ip-address: 10.1.129.197
#spring:
# #cloud:
# # stream:
# # kafka:
# # binder:
# # brokers: 192.168.20.112:9092
# # zk-nodes: 192.168.20.112:2181
# # bindings:
# # input:
# # destination: provider-order
# # output:
# # destination: provider-appinfo
# datasource:
# type: com.zaxxer.hikari.HikariDataSource
# hikari:
# max-lifetime: 1800000
# maximum-pool-size: 20
# read-only: false
# connection-timeout: 30000
# idle-timeout: 600000
# minimum-idle: 10
# driver-class-name: com.mysql.jdbc.Driver
# url: jdbc:mysql://10.1.4.74:3306/foreign_appinfo?useUnicode=true&characterEncoding=utf-8&useSSL=false
# username: root
# password: hoolai
# zipkin:
# base-url: http://zipkin-server:10400
datasource:
type: com.zaxxer.hikari.HikariDataSource
write:
driver-class-name: com.mysql.jdbc.Driver
jdbc-url: jdbc:mysql://10.1.4.74:3306/foreign_appinfo?useUnicode=true&characterEncoding=utf-8&useSSL=false
username: root
password: hoolai
max-lifetime: 1800000
maximum-pool-size: 32
read-only: false
connection-timeout: 30000
idle-timeout: 600000
minimum-idle: 20
read:
driver-class-name: com.mysql.jdbc.Driver
jdbc-url: jdbc:mysql://10.1.4.74:3306/foreign_appinfo?useUnicode=true&characterEncoding=utf-8&useSSL=false
username: root
password: hoolai
max-lifetime: 1800000
maximum-pool-size: 32
read-only: false
connection-timeout: 30000
idle-timeout: 600000
minimum-idle: 20
hystrix:
command:
default:
execution:
timeout:
enabled: true
isolation:
thread:
timeoutInMilliseconds: 60000
mybatis:
type-aliases-package: com.hoolai.access.foreign.provider.appinfo.dao.mybatis.vo
mapper-locations: classpath:com/hoolai/access/foreign/provider/appinfo/dao/mybatis/mapper/*Mapper.xml