-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathprovider-code-test.yml
63 lines (63 loc) · 1.78 KB
/
provider-code-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
server:
port: 10300
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:
# 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_code?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_code?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_code?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.code.dao.mybatis.vo
mapper-locations: classpath:com/hoolai/access/foreign/provider/code/dao/mybatis/mapper/*Mapper.xml