global-autoconfig.properties
6.85 KB
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
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
yoho.logs.level = DEBUG
yoho.logs.basedir = /Data/logs
yoho.logs.maxHistory = 7
yoho.logs.maxFileSize = 10MB
yoho.env.javahome = /usr/local/java
yoho.env.serverhome = /usr/local/tomcat
yoho.env.servertype = tomcat
yoho.env.productmode = TEST
### ****************************** database ***********************************
jdbc.mysql.yhresource.master.url=jdbc:mysql://192.168.50.69:9980/yh_resource
jdbc.mysql.yhresource.slave.url=jdbc:mysql://192.168.102.219:3306/yh_resource
jdbc.mysql.yhresource.username=yh_test
jdbc.mysql.yhresource.password=yh_test
jdbc.mysql.yhshops.master.url=jdbc:mysql://192.168.50.69:9980/yh_shops
jdbc.mysql.yhshops.slave.url=jdbc:mysql://192.168.102.219:3306/yh_shops
jdbc.mysql.yhshops.username=yh_test
jdbc.mysql.yhshops.password=yh_test
# yh_orders
jdbc.mysql.yhorders.master.url=jdbc:mysql://192.168.50.69:9980/yh_orders
jdbc.mysql.yhorders.slave.url=jdbc:mysql://192.168.50.69:9980/yh_orders
jdbc.mysql.yhorders.username=yh_test
jdbc.mysql.yhorders.password=yh_test
# yhb_operations
jdbc.mysql.yhboperations.master.url=jdbc:mysql://192.168.50.69:9980/yhb_operations
jdbc.mysql.yhboperations.slave.url=jdbc:mysql://192.168.50.69:9980/yhb_operations
jdbc.mysql.yhboperations.username=yh_test
jdbc.mysql.yhboperations.password=yh_test
# yh_sns
jdbc.mysql.yhsns.master.url=jdbc:mysql://192.168.50.69:9980/yh_sns
jdbc.mysql.yhsns.slave.url=jdbc:mysql://192.168.50.69:9980/yh_sns
jdbc.mysql.yhsns.username=yh_test
jdbc.mysql.yhsns.password=yh_test
# yh_comment
jdbc.mysql.yhcomment.master.url=jdbc:mysql://192.168.50.69:9980/yh_comment
jdbc.mysql.yhcomment.slave.url=jdbc:mysql://192.168.102.219:3306/yh_comment
jdbc.mysql.yhcomment.username=yh_test
jdbc.mysql.yhcomment.password=yh_test
#yh_passport
jdbc.mysql.yhpassport.master.url=jdbc:mysql://192.168.50.69:9980/yh_passport
jdbc.mysql.yhpassport.slave.url=jdbc:mysql://192.168.102.219:3306/yh_passport
jdbc.mysql.yhpassport.username=yh_test
jdbc.mysql.yhpassport.password=yh_test
#yoho_passport读写数据分离
jdbc.mysql.yohopassport.master.url=jdbc:mysql://192.168.50.69:9980/yoho_passport
jdbc.mysql.yohopassport.slave.url=jdbc:mysql://192.168.102.219:3306/yoho_passport
jdbc.mysql.yohopassport.username=yh_test
jdbc.mysql.yohopassport.password=yh_test
#yh_operations读写数据分离
jdbc.mysql.yhoperations.master.url=jdbc:mysql://192.168.50.69:9980/yh_operations
jdbc.mysql.yhoperations.slave.url=jdbc:mysql://192.168.102.219:3306/yh_operations
jdbc.mysql.yhoperations.username=yh_test
jdbc.mysql.yhoperations.password=yh_test
#yhb_promotion
jdbc.mysql.yhbpromotion.master.url=jdbc:mysql://192.168.50.69:9980/yhb_promotion
jdbc.mysql.yhbpromotion.slave.url=jdbc:mysql://192.168.102.219:3306/yhb_promotion
jdbc.mysql.yhbpromotion.username=yh_test
jdbc.mysql.yhbpromotion.password=yh_test
#yh_setting
jdbc.mysql.yhsetting.master.url=jdbc:mysql://192.168.50.69:9980/yh_setting
jdbc.mysql.yhsetting.slave.url=jdbc:mysql://192.168.102.219:3306/yh_setting
jdbc.mysql.yhsetting.username=yh_test
jdbc.mysql.yhsetting.password=yh_test
#yoho_sms
jdbc.mysql.yohosms.master.url=jdbc:mysql://192.168.50.69:9980/yoho_sms
jdbc.mysql.yohosms.slave.url=jdbc:mysql://192.168.102.219:3306/yoho_sms
jdbc.mysql.yohosms.username=yh_test
jdbc.mysql.yohosms.password=yh_test
#yh_inbox
jdbc.mysql.yhinbox.master.url=jdbc:mysql://192.168.50.69:9980/yh_inbox
jdbc.mysql.yhinbox.slave.url=jdbc:mysql://192.168.102.219:3306/yh_inbox
jdbc.mysql.yhinbox.username=yh_test
jdbc.mysql.yhinbox.password=yh_test
#yoho_logs
jdbc.mysql.yohologs.master.url=jdbc:mysql://192.168.50.69:9980/yoho_sms
jdbc.mysql.yohologs.username=yh_test
jdbc.mysql.yohologs.password=yh_test
#yh_pay
jdbc.mysql.pay.master.url=jdbc:mysql://192.168.50.69:9980/yoho_pay
jdbc.mysql.pay.slave.url=jdbc:mysql://192.168.102.219:3306/yoho_pay
jdbc.mysql.pay.username=yh_test
jdbc.mysql.pay.password=yh_test
#yh_coupons
jdbc.mysql.yhcoupons.master.url=jdbc:mysql://192.168.50.69:9980/yh_coupons
jdbc.mysql.yhcoupons.slave.url=jdbc:mysql://192.168.102.219:3306/yh_coupons
jdbc.mysql.yhcoupons.username=yh_test
jdbc.mysql.yhcoupons.password=yh_test
jdbc.mysql.yhevents.master.url=jdbc:mysql://192.168.50.69:9980/yh_events
jdbc.mysql.yhevents.slave.url=jdbc:mysql://192.168.102.219:3306/yh_events
jdbc.mysql.yhevents.username=yh_test
jdbc.mysql.yhevents.password=yh_test
#yh_consult
jdbc.mysql.yhconsult.master.url=jdbc:mysql://192.168.50.69:9980/yh_consult
jdbc.mysql.yhconsult.slave.url=jdbc:mysql://192.168.102.219:3306/yh_consult
jdbc.mysql.yhconsult.username=yh_test
jdbc.mysql.yhconsult.password=yh_test
#yhb_operations
jdbc.mysql.yhboperations.master.url=jdbc:mysql://192.168.50.69:9980/yhb_operations
jdbc.mysql.yhboperations.slave.url=jdbc:mysql://192.168.102.219:3306/yhb_operations
jdbc.mysql.yhboperations.username=yh_test
jdbc.mysql.yhboperations.password=yh_test
##### **************************************** common properties ******************************************************
is_debug_enable = true
aliyun.accessid = mkb5KaMTUeAnfHI5
aliyun.bucket = yohotest
aliyun.domain = http://7xnrdp.com1.z0.glb.clouddn.com
aliyun.endpoint = oss-cn-shanghai.aliyuncs.com
cache.servers.gateway.level1.address = 192.168.102.162:32768
cache.servers.gateway.level1.expire = 1800
cache.servers.gateway.level2.address = 192.168.102.162:32768
cache.servers.gateway.level2.expire = 43200
ip.port.search.server = 192.168.10.64:8080
qiniu.accesskey = iGA6XzOicfWLttJZ9dIyE9ELL2dOCNkd7qmIdt7
qiniu.bucket = test
qiniu.domain = http://7xnrdp.com1.z0.glb.clouddn.com
qiniu.secretkey = 0GjWmT53UbIzzCQ5ev6sqrq0O5a-bdv0xkNY2s9T
redis.proxy.address = 192.168.102.216
redis.proxy.auth =
redis.proxy.port = 6379
redis.union.address = 192.168.50.69
redis.union.auth =
redis.union.port = 6379
zkAddress=192.168.102.205:2181
gateway.domain.url=http://testapi.yoho.cn:28078
##### **************************************** services.yml ******************************************************
message.server.a = 192.168.102.205
message.server.b = 192.168.102.205
message.server.c = 192.168.102.205
message.server.d = 192.168.102.205
order.server.a = 192.168.102.205
order.server.b = 192.168.102.205
order.server.c = 192.168.102.205
order.server.d = 192.168.102.205
product.server.a = 192.168.102.205
product.server.b = 192.168.102.205
product.server.c = 192.168.102.205
product.server.d = 192.168.102.205
promotion.server.a = 192.168.102.205
promotion.server.b = 192.168.102.205
promotion.server.c = 192.168.102.205
promotion.server.d = 192.168.102.205
resources.server.a = 192.168.102.205
resources.server.b = 192.168.102.205
resources.server.c = 192.168.102.205
resources.server.d = 192.168.102.205
sns.server.a = 192.168.102.205
sns.server.b = 192.168.102.205
sns.server.c = 192.168.102.205
sns.server.d = 192.168.102.205
users.server.a = 192.168.102.205
users.server.b = 192.168.102.205
users.server.c = 192.168.102.205
users.server.d = 192.168.102.205