global-autoconfig.properties
15 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
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
yoho.logs.level = WARN
yoho.logs.basedir = /Data/logs/java
yoho.logs.maxHistory = 2
yoho.logs.maxFileSize = 50MB
yoho.env.javahome = /usr/local/java
yoho.env.serverhome = /usr/local/tomcat
yoho.env.servertype = tomcat
yoho.env.productmode = PRODUCT
file.saveDir=/Data/logs/java
### ****************************** database ***********************************
# cobar
jdbc.mysql.cobar.username=yh_vpc_bak
jdbc.mysql.cobar.password=2isqwknXJfq533hWvl2gdkyskUgfAavYFe/7VV/U9MujMBLv82ild9SPUvMQySFA
jdbc.mysql.yhwechat.master=mysql:3306
jdbc.mysql.yhwechat.slave=mysql:3306
jdbc.mysql.yhwechat.username=yh_vpc_bak
jdbc.mysql.yhwechat.password=2isqwknXJfq533hWvl2gdkyskUgfAavYFe/7VV/U9MujMBLv82ild9SPUvMQySFA
jdbc.mysql.yhresource.username=yh_vpc_bak
jdbc.mysql.yhresource.password=2isqwknXJfq533hWvl2gdkyskUgfAavYFe/7VV/U9MujMBLv82ild9SPUvMQySFA
jdbc.mysql.yhshops.username=yh_vpc_bak
jdbc.mysql.yhshops.password=2isqwknXJfq533hWvl2gdkyskUgfAavYFe/7VV/U9MujMBLv82ild9SPUvMQySFA
# yh_orders
jdbc.mysql.yhorders.username=yh_vpc_bak
jdbc.mysql.yhorders.password=2isqwknXJfq533hWvl2gdkyskUgfAavYFe/7VV/U9MujMBLv82ild9SPUvMQySFA
# yhb_operations
jdbc.mysql.yhboperations.username=yh_vpc_bak
jdbc.mysql.yhboperations.password=2isqwknXJfq533hWvl2gdkyskUgfAavYFe/7VV/U9MujMBLv82ild9SPUvMQySFA
# yh_comment
jdbc.mysql.yhcomment.username=yh_vpc_bak
jdbc.mysql.yhcomment.password=2isqwknXJfq533hWvl2gdkyskUgfAavYFe/7VV/U9MujMBLv82ild9SPUvMQySFA
#yhb_promotion
jdbc.mysql.yhbpromotion.username=yh_vpc_bak
jdbc.mysql.yhbpromotion.password=2isqwknXJfq533hWvl2gdkyskUgfAavYFe/7VV/U9MujMBLv82ild9SPUvMQySFA
#yoho_sms配置读写分离
jdbc.mysql.yohosms.username=yh_vpc_bak
jdbc.mysql.yohosms.password=2isqwknXJfq533hWvl2gdkyskUgfAavYFe/7VV/U9MujMBLv82ild9SPUvMQySFA
#yh_inbox配置读写分离
jdbc.mysql.yhinbox.username=yh_vpc_bak
jdbc.mysql.yhinbox.password=2isqwknXJfq533hWvl2gdkyskUgfAavYFe/7VV/U9MujMBLv82ild9SPUvMQySFA
#yoho_logs配置读写分离, 暂时将表存在yoho_sms中
jdbc.mysql.yohologs.username=yh_vpc_bak
jdbc.mysql.yohologs.password=2isqwknXJfq533hWvl2gdkyskUgfAavYFe/7VV/U9MujMBLv82ild9SPUvMQySFA
#yoho_passport读写数据分离
jdbc.mysql.yohopassport.username=yh_vpc_bak
jdbc.mysql.yohopassport.password=2isqwknXJfq533hWvl2gdkyskUgfAavYFe/7VV/U9MujMBLv82ild9SPUvMQySFA
#yh_operations配置读写分离
jdbc.mysql.yhoperations.username=yh_vpc_bak
jdbc.mysql.yhoperations.password=2isqwknXJfq533hWvl2gdkyskUgfAavYFe/7VV/U9MujMBLv82ild9SPUvMQySFA
#yh_passport读写分离
jdbc.mysql.yhpassport.username=yh_vpc_bak
jdbc.mysql.yhpassport.password=2isqwknXJfq533hWvl2gdkyskUgfAavYFe/7VV/U9MujMBLv82ild9SPUvMQySFA
#yh_setting读写分离
jdbc.mysql.yhsetting.username=yh_vpc_bak
jdbc.mysql.yhsetting.password=2isqwknXJfq533hWvl2gdkyskUgfAavYFe/7VV/U9MujMBLv82ild9SPUvMQySFA
#yh_pay
jdbc.mysql.pay.username=yh_vpc_bak
jdbc.mysql.pay.password=2isqwknXJfq533hWvl2gdkyskUgfAavYFe/7VV/U9MujMBLv82ild9SPUvMQySFA
#event
jdbc.mysql.yhevents.username=yh_vpc_bak
jdbc.mysql.yhevents.password=2isqwknXJfq533hWvl2gdkyskUgfAavYFe/7VV/U9MujMBLv82ild9SPUvMQySFA
#event
jdbc.mysql.yhcoupons.username=yh_vpc_bak
jdbc.mysql.yhcoupons.password=2isqwknXJfq533hWvl2gdkyskUgfAavYFe/7VV/U9MujMBLv82ild9SPUvMQySFA
#yh_consult
jdbc.mysql.yhconsult.username=yh_vpc_bak
jdbc.mysql.yhconsult.password=2isqwknXJfq533hWvl2gdkyskUgfAavYFe/7VV/U9MujMBLv82ild9SPUvMQySFA
#unions
jdbc.mysql.unions.username=yh_vpc_bak
jdbc.mysql.unions.password=2isqwknXJfq533hWvl2gdkyskUgfAavYFe/7VV/U9MujMBLv82ild9SPUvMQySFA
#model
jdbc.mysql.yohopushcenter.username=yh_vpc_bak
jdbc.mysql.yohopushcenter.password=2isqwknXJfq533hWvl2gdkyskUgfAavYFe/7VV/U9MujMBLv82ild9SPUvMQySFA
jdbc.mysql.yhpush.username=yh_vpc_bak
jdbc.mysql.yhpush.password=2isqwknXJfq533hWvl2gdkyskUgfAavYFe/7VV/U9MujMBLv82ild9SPUvMQySFA
#yoho-activity
jdbc.mysql.yohoactivity.username=yh_vpc_bak
jdbc.mysql.yohoactivity.password=2isqwknXJfq533hWvl2gdkyskUgfAavYFe/7VV/U9MujMBLv82ild9SPUvMQySFA
#yh_guang
jdbc.mysql.yhguang.username=yh_vpc_bak
jdbc.mysql.yhguang.password=2isqwknXJfq533hWvl2gdkyskUgfAavYFe/7VV/U9MujMBLv82ild9SPUvMQySFA
#yhspecial
jdbc.mysql.yhspecial.username=yh_vpc_bak
jdbc.mysql.yhspecial.password=2isqwknXJfq533hWvl2gdkyskUgfAavYFe/7VV/U9MujMBLv82ild9SPUvMQySFA
#yohood
jdbc.mysql.yohood.username=yh_vpc_bak
jdbc.mysql.yohood.password=2isqwknXJfq533hWvl2gdkyskUgfAavYFe/7VV/U9MujMBLv82ild9SPUvMQySFA
#yohocrm
jdbc.mysql.yohocrm.username=yh_vpc_bak
jdbc.mysql.yohocrm.password=2isqwknXJfq533hWvl2gdkyskUgfAavYFe/7VV/U9MujMBLv82ild9SPUvMQySFA
#erppassport
jdbc.mysql.erppassport.username=yh_vpc_bak
jdbc.mysql.erppassport.password=2isqwknXJfq533hWvl2gdkyskUgfAavYFe/7VV/U9MujMBLv82ild9SPUvMQySFA
# ================
# yh_orders db split cobar的地址
jdbc.mysql.yhorderssplit.master=cobar:8066
jdbc.mysql.yhorderssplit.slave=cobar:8066
jdbc.mysql.yhorderssplit.slave2=cobar:8066
jdbc.mysql.yhorderssplit.slave3=cobar:8066
jdbc.mysql.yhorderssplit.username=yh_vpc_bak
jdbc.mysql.yhorderssplit.password=2isqwknXJfq533hWvl2gdkyskUgfAavYFe/7VV/U9MujMBLv82ild9SPUvMQySFA
jdbc.mysql.yhresource.master=mysql:3306
jdbc.mysql.yhresource.slave=mysql:3306
jdbc.mysql.yhshops.master=mysql:3306
jdbc.mysql.yhshops.slave=mysql:3306
#yhb_promotion_split db split
jdbc.mysql.yhbpromotionsplit.master=cobar:8066
jdbc.mysql.yhbpromotionsplit.slave=cobar:8066
jdbc.mysql.yhbpromotionsplit.slave2=cobar:8066
jdbc.mysql.yhbpromotionsplit.slave3=cobar:8066
jdbc.mysql.yhbpromotionsplit.username=yh_vpc_bak
jdbc.mysql.yhbpromotionsplit.password=2isqwknXJfq533hWvl2gdkyskUgfAavYFe/7VV/U9MujMBLv82ild9SPUvMQySFA
# yh_orders
jdbc.mysql.yhorders.master=mysql:3306
jdbc.mysql.yhorders.slave=mysql:3306
# yhb_operations
jdbc.mysql.yhboperations.master=mysql:3306
jdbc.mysql.yhboperations.slave=mysql:3306
# yh_comment
jdbc.mysql.yhcomment.master=mysql:3306
jdbc.mysql.yhcomment.slave=mysql:3306
#yhb_promotion
jdbc.mysql.yhbpromotion.master=mysql:3306
jdbc.mysql.yhbpromotion.slave=mysql:3306
#yoho_sms配置读写分离
jdbc.mysql.yohosms.master=mysql:3306
jdbc.mysql.yohosms.slave=mysql:3306
#yh_inbox配置读写分离
jdbc.mysql.yhinbox.master=mysql:3306
jdbc.mysql.yhinbox.slave=mysql:3306
#yoho_logs配置读写分离, 暂时将表存在yoho_sms中
jdbc.mysql.yohologs.master=mysql:3306
#yoho_passport读写数据分离
jdbc.mysql.yohopassport.master=mysql:3306
jdbc.mysql.yohopassport.slave=mysql:3306
#yh_operations配置读写分离
jdbc.mysql.yhoperations.master=mysql:3306
jdbc.mysql.yhoperations.slave=mysql:3306
#yh_passport读写分离
jdbc.mysql.yhpassport.master=mysql:3306
jdbc.mysql.yhpassport.slave=mysql:3306
#yh_setting读写分离
jdbc.mysql.yhsetting.master=mysql:3306
jdbc.mysql.yhsetting.slave=mysql:3306
#yh_pay
jdbc.mysql.pay.master=mysql:3306
jdbc.mysql.pay.slave=mysql:3306
#event
jdbc.mysql.yhevents.master=mysql:3306
jdbc.mysql.yhevents.slave=mysql:3306
#event
jdbc.mysql.yhcoupons.master=mysql:3306
jdbc.mysql.yhcoupons.slave=mysql:3306
#yh_consult
jdbc.mysql.yhconsult.master=mysql:3306
jdbc.mysql.yhconsult.slave=mysql:3306
#unions
jdbc.mysql.unions.master=mysql:3306
jdbc.mysql.unions.slave=mysql:3306
#push center
jdbc.mysql.yohopushcenter.master=mysql:3306
jdbc.mysql.yohopushcenter.slave=mysql:3306
#q_msg_system
jdbc.mysql.yhpush.master=mysql:3306
jdbc.mysql.yhpush.slave=mysql:3306
#yoho_activity
jdbc.mysql.yohoactivity.master=mysql:3306
jdbc.mysql.yohoactivity.slave=mysql:3306
#yh_guang
jdbc.mysql.yhguang.master=mysql:3306
jdbc.mysql.yhguang.slave=mysql:3306
#yh_special
jdbc.mysql.yhspecial.master=mysql:3306
jdbc.mysql.yhspecial.slave=mysql:3306
#yh_special
jdbc.mysql.yhspecial.master=mysql:3306
jdbc.mysql.yhspecial.slave=mysql:3306
#yohood
jdbc.mysql.yohood.master=mysql:3306
jdbc.mysql.yohood.slave=mysql:3306
#yohocrm
jdbc.mysql.yohocrm.master=mysql:3306
jdbc.mysql.yohocrm.slave=mysql:3306
#erppassport
jdbc.mysql.erppassport.master=mysql:3306
jdbc.mysql.erppassport.slave=mysql:3306
#erp_supplier
jdbc.mysql.platform.erp_supplier.master = mysql:3306
jdbc.mysql.platform.erp_supplier.password = 2isqwknXJfq533hWvl2gdkyskUgfAavYFe/7VV/U9MujMBLv82ild9SPUvMQySFA
jdbc.mysql.platform.erp_supplier.slave = mysql:3306
jdbc.mysql.platform.erp_supplier.username = yh_vpc_bak
#yohobuy_task
jdbc.mysql.kisjob.datasources=yh_distributed_task
jdbc.mysql.kisjob.master=mysql:3306
jdbc.mysql.kisjob.slave=mysql:3306
#yhcommunity
jdbc.mysql.yhcommunity.master=mysql:3306
jdbc.mysql.yhcommunity.slave=mysql:3306
jdbc.mysql.yhcommunity.username=yh_vpc_bak
jdbc.mysql.yhcommunity.password=2isqwknXJfq533hWvl2gdkyskUgfAavYFe/7VV/U9MujMBLv82ild9SPUvMQySFA
#yh social
jdbc.mysql.yhsocial.master=mysql:3306
jdbc.mysql.yhsocial.slave=mysql:3306
jdbc.mysql.yhsocial.username=yh_vpc_bak
jdbc.mysql.yhsocial.password=2isqwknXJfq533hWvl2gdkyskUgfAavYFe/7VV/U9MujMBLv82ild9SPUvMQySFA
#yh_cms
jdbc.mysql.yh_cms.master=mysql:3306
jdbc.mysql.yh_cms.slave=mysql:3306
jdbc.mysql.yh_cms.username=yh_vpc_bak
jdbc.mysql.yh_cms.password=2isqwknXJfq533hWvl2gdkyskUgfAavYFe/7VV/U9MujMBLv82ild9SPUvMQySFA
#sso
jdbc.mysql.yhuuc.master=mysql:3306
jdbc.mysql.yhuuc.slave=mysql:3306
jdbc.mysql.yhuuc.username=yh_vpc_bak
jdbc.mysql.yhuuc.password=2isqwknXJfq533hWvl2gdkyskUgfAavYFe/7VV/U9MujMBLv82ild9SPUvMQySFA
#yhlottery
jdbc.mysql.yhlottery.master=mysql:3306
jdbc.mysql.yhlottery.slave=mysql:3306
jdbc.mysql.yhlottery.username=yh_vpc_bak
jdbc.mysql.yhlottery.password=2isqwknXJfq533hWvl2gdkyskUgfAavYFe/7VV/U9MujMBLv82ild9SPUvMQySFA
readOnlyInSlave=false
# monogdb
mongo.inbox.dbname = inbox
mongo.inbox.host = mongo.yohoops.org
mongo.inbox.port = 27017
#search-db
jdbc.mysql.yhbsearch.datasources=yhb_search
jdbc.mysql.yhbsearch.master=mysql:3306
jdbc.mysql.yhbsearch.slave=mysql:3306
jdbc.mysql.yhbsearch.username=yh_vpc_bak
jdbc.mysql.yhbsearch.password=2isqwknXJfq533hWvl2gdkyskUgfAavYFe/7VV/U9MujMBLv82ild9SPUvMQySFA
# search-es
search.es.cluster.name = yohosearch_test
search.es.servers = es:9300
search.index.number_of_replicas = 4
search.index.refresh_interval = 10s
search.index.translog.flush_threshold_ops = 5000
search.index.translog.flush_threshold_size = 1000mb
# search-mq
search.mq.server=mq-common
search.mq.port=5672
search.mq.username=yoho
search.mq.password=yoho
search.mq.exchange=yoho_search
search.mq.virtualHost=/
#for crm read db
jdbc.mysql.yohopassport.onlyslave=mysql:3306
jdbc.mysql.yhpassport.onlyslave=mysql:3306
jdbc.mysql.yhshops.onlyslave=mysql-shops:3306
jdbc.mysql.yhoperations.onlyslave=mysql:3306
jdbc.mysql.yh.username=yh_vpc_bak
jdbc.mysql.yh.password=2isqwknXJfq533hWvl2gdkyskUgfAavYFe/7VV/U9MujMBLv82ild9SPUvMQySFA
##### **************************************** common properties ******************************************************
cache.servers.gateway.level1.address = java-yoho-gateway:21211
cache.servers.gateway.level1.expire = 1800
cache.servers.gateway.level2.address = java-yoho-gateway:21212
cache.servers.gateway.level2.expire = 43200
cache.servers.union.address = java-yoho-gateway:21211
ip.port.search.server = java-yoho-search-service:8080
qiniu.accesskey = atSf7xxIl8alEnsXbhC1bOD1GWVW3qYffz8SlB4m
qiniu.bucket = yhfair
qiniu.domain = http://yhfair.qiniudn.com
qiniu.secretkey = pyoJzPygXIkFWrc1BAsH6tAJ0yweTchpJwGKEwhm
# old redis
redis.proxy.address = twemproxy-nosync
redis.proxy.auth =
redis.proxy.port = 63790
redis.readonly.proxy.address = twemproxy-nosync
redis.readonly.proxy.auth =
redis.readonly.proxy.port = 63790
redis.notsync.twemproxy.addresses = twemproxy-nosync:63790
redis.notsync.twemproxy.auth=
# union redis
redis.union.address = twemproxy-nosync
redis.union.auth =
redis.union.port = 63790
# outter big data redis
bigDataRedis.proxy.address=twemproxy-bigdata
bigDataRedis.proxy.port=63790
bigDataRedis.proxy.auth=
# outter big data redis push
bigDataRedis-push.proxy.address=twemproxy-bigdata
bigDataRedis-push.proxy.port=63790
bigDataRedis-push.proxy.auth=
redis.union.proxy.address=twemproxy-nosync
redis.union.proxy.port=63790
redis.union.proxy.auth=
redis.union.readonly.proxy.address=twemproxy-nosync
redis.union.readonly.proxy.port=63790
redis.union.readonly.proxy.auth=
# search-redis
redis.search.proxy.address=twemproxy-nosync
redis.search.proxy.port=63790
redis.search.proxy.auth=
#bigDataRedis-search
bigDataRedis-search.proxy.address=twemproxy-bigdata
bigDataRedis-search.proxy.port= 63790
bigDataRedis-search.proxy.auth=
## rabbitmq configure
rabbit_host = mq-cluster:5672
rabbit_user = yoho
rabbit_password = yoho
########## common rabbitmq ##########
#aws
rabbit_common_aws = mq-common:5672
rabbit_common_aws_user = yoho
rabbit_common_aws_password = yoho
#qq
rabbit_common_qq = mq-common:5672
rabbit_common_qq_user = yoho
rabbit_common_qq_password = yoho
# local, maybe producer using this.
rabbit_common = mq-common:5672
rabbit_common_user = yoho
rabbit_common_password = yoho
##########common rabbitmq ##########
#cache clear rabbitmq
rabbit.cacheclean.producer.host = mq-common:5672
rabbit.cacheclean.consumer.host = mq-common:5672
# message center rabbit host
rabbit_message_center = mq-common:5672
rabbit_message_center_user = yoho
rabbit_message_center_password = yoho
rabbit_message_center_vhost = yoho
rabbit_union=mq-common:5672
rabbit_union_user=yoho
rabbit_union_password=yoho
rabbit_union_vhost=yoho
crf.service.url=https://osprec-ci.crfchina.com
gateway.domain.url = http://openresty-java
Gateway_URL=http://java-yoho-gateway:8080/gateway
yoho.message.controller.url=http://java-yoho-message:8087/yoho-message-controller
zkAddress=zk:2181
# change to order.run-host.yohoops.org later
order.task.host=java-yohobuy-order
APP_KEY = 1392109259
APP_SECRET = 1e87e46f115cc813e27ef52eb9915f1e
UUC_DOMAIN = http://java-uic
#从qcloud拷贝而来
redis.brower.proxy.address = twemproxy-brower
redis.brower.proxy.port = 63790
redis.brower.proxy.auth =
redis.brower.readonly.proxy.address = twemproxy-brower
redis.brower.readonly.proxy.port = 63790
redis.brower.readonly.proxy.auth =
#single cloud not sync redis
single.cloud.redis.proxy.address=twemproxy-nosync
single.cloud.redis.proxy.port=63790
single.cloud.redis.proxy.auth=
#single cloud not sync redis
single.cloud.redis.readonly.proxy.address=twemproxy-nosync
single.cloud.redis.readonly.proxy.port=63790
single.cloud.redis.readonly.proxy.auth=
## mq or call erp
erp.message.sync.type=MQ
#发短信配置项
sendSMS.password=7jVEde87bLffoTnt6tGxmw==
## service call timeout
service.call.connectReqTimeout=30000
service.call.socketTimeout=30000
service.call.connectTimeout=30000
hystrix.timeout=30000
trace.exporter.enable = false
exhibition.ticket.couponid=13272
package.ticket.couponid=13270
package.ticket.more.couponid=13268
default.http.type = http
erp.shop.web.url=http://erp-api:9098
#yoho-message配置读写分离
jdbc.mysql.yhmessage.master=mysql:3306
jdbc.mysql.yhmessage.slave=mysql:3306
jdbc.mysql.yhmessage.username=yh_vpc_bak
jdbc.mysql.yhmessage.password=2isqwknXJfq533hWvl2gdkyskUgfAavYFe/7VV/U9MujMBLv82ild9SPUvMQySFA
jdbc.mysql.platform.erp_orders.slave=mysql:3306
#erp-orders配置读写分离
jdbc.mysql.platform.erp_orders.master=mysql:3306
jdbc.mysql.platform.erp_orders.slave=mysql:3306
jdbc.mysql.platform.erp_orders.username=yh_vpc_bak
jdbc.mysql.platform.erp_orders.password=2isqwknXJfq533hWvl2gdkyskUgfAavYFe/7VV/U9MujMBLv82ild9SPUvMQySFA