global-autoconfig.properties
15.6 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
yoho.logs.level = WARN
yoho.logs.basedir = /home/test/yohoJavaLogs
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 = TEST
file.saveDir=/home/test/yohoJavaLogs
### ****************************** database ***********************************
# cobar
jdbc.mysql.cobar.username=yh_vpc_bak
jdbc.mysql.cobar.password=t5/oMgwUCmO/GeMHBAQ2Cg==
jdbc.mysql.yhwechat.master=write.passport.yohoops.org:3306
jdbc.mysql.yhwechat.slave=write.passport.yohoops.org:3306
jdbc.mysql.yhwechat.username=yh_vpc_bak
jdbc.mysql.yhwechat.password=t5/oMgwUCmO/GeMHBAQ2Cg==
jdbc.mysql.yhresource.username=yh_vpc_bak
jdbc.mysql.yhresource.password=t5/oMgwUCmO/GeMHBAQ2Cg==
jdbc.mysql.yhshops.username=yh_vpc_bak
jdbc.mysql.yhshops.password=t5/oMgwUCmO/GeMHBAQ2Cg==
# yh_orders
jdbc.mysql.yhorders.username=yh_vpc_bak
jdbc.mysql.yhorders.password=t5/oMgwUCmO/GeMHBAQ2Cg==
# yhb_operations
jdbc.mysql.yhboperations.username=yh_vpc_bak
jdbc.mysql.yhboperations.password=t5/oMgwUCmO/GeMHBAQ2Cg==
# yh_comment
jdbc.mysql.yhcomment.username=yh_vpc_bak
jdbc.mysql.yhcomment.password=t5/oMgwUCmO/GeMHBAQ2Cg==
#yhb_promotion
jdbc.mysql.yhbpromotion.username=yh_vpc_bak
jdbc.mysql.yhbpromotion.password=t5/oMgwUCmO/GeMHBAQ2Cg==
#yoho_sms配置读写分离
jdbc.mysql.yohosms.username=yh_vpc_bak
jdbc.mysql.yohosms.password=t5/oMgwUCmO/GeMHBAQ2Cg==
#yh_inbox配置读写分离
jdbc.mysql.yhinbox.username=yh_vpc_bak
jdbc.mysql.yhinbox.password=t5/oMgwUCmO/GeMHBAQ2Cg==
#yoho_logs配置读写分离, 暂时将表存在yoho_sms中
jdbc.mysql.yohologs.username=yh_vpc_bak
jdbc.mysql.yohologs.password=t5/oMgwUCmO/GeMHBAQ2Cg==
#yoho_passport读写数据分离
jdbc.mysql.yohopassport.username=yh_vpc_bak
jdbc.mysql.yohopassport.password=t5/oMgwUCmO/GeMHBAQ2Cg==
#yh_operations配置读写分离
jdbc.mysql.yhoperations.username=yh_vpc_bak
jdbc.mysql.yhoperations.password=t5/oMgwUCmO/GeMHBAQ2Cg==
#yh_passport读写分离
jdbc.mysql.yhpassport.username=yh_vpc_bak
jdbc.mysql.yhpassport.password=t5/oMgwUCmO/GeMHBAQ2Cg==
#yh_setting读写分离
jdbc.mysql.yhsetting.username=yh_vpc_bak
jdbc.mysql.yhsetting.password=t5/oMgwUCmO/GeMHBAQ2Cg==
#yh_pay
jdbc.mysql.pay.username=yh_vpc_bak
jdbc.mysql.pay.password=t5/oMgwUCmO/GeMHBAQ2Cg==
#event
jdbc.mysql.yhevents.username=yh_vpc_bak
jdbc.mysql.yhevents.password=t5/oMgwUCmO/GeMHBAQ2Cg==
#event
jdbc.mysql.yhcoupons.username=yh_vpc_bak
jdbc.mysql.yhcoupons.password=t5/oMgwUCmO/GeMHBAQ2Cg==
#yh_consult
jdbc.mysql.yhconsult.username=yh_vpc_bak
jdbc.mysql.yhconsult.password=t5/oMgwUCmO/GeMHBAQ2Cg==
#unions
jdbc.mysql.unions.username=yh_vpc_bak
jdbc.mysql.unions.password=t5/oMgwUCmO/GeMHBAQ2Cg==
#model
jdbc.mysql.yohopushcenter.username=yh_vpc_bak
jdbc.mysql.yohopushcenter.password=t5/oMgwUCmO/GeMHBAQ2Cg==
jdbc.mysql.yhpush.username=yh_vpc_bak
jdbc.mysql.yhpush.password=t5/oMgwUCmO/GeMHBAQ2Cg==
#yoho-activity
jdbc.mysql.yohoactivity.username=yh_vpc_bak
jdbc.mysql.yohoactivity.password=t5/oMgwUCmO/GeMHBAQ2Cg==
#yh_guang
jdbc.mysql.yhguang.username=yh_vpc_bak
jdbc.mysql.yhguang.password=t5/oMgwUCmO/GeMHBAQ2Cg==
#yhspecial
jdbc.mysql.yhspecial.username=yh_vpc_bak
jdbc.mysql.yhspecial.password=t5/oMgwUCmO/GeMHBAQ2Cg==
#yohood
jdbc.mysql.yohood.username=yh_vpc_bak
jdbc.mysql.yohood.password=t5/oMgwUCmO/GeMHBAQ2Cg==
#yohocrm
jdbc.mysql.yohocrm.username=yh_vpc_bak
jdbc.mysql.yohocrm.password=t5/oMgwUCmO/GeMHBAQ2Cg==
#erppassport
jdbc.mysql.erppassport.username=yh_vpc_bak
jdbc.mysql.erppassport.password=t5/oMgwUCmO/GeMHBAQ2Cg==
# ================
# yh_orders db split cobar的地址
jdbc.mysql.yhorderssplit.master=cobar1.yohoops.org:8066
jdbc.mysql.yhorderssplit.slave=cobar2.yohoops.org:8066
jdbc.mysql.yhorderssplit.slave2=cobar1.yohoops.org:8066
jdbc.mysql.yhorderssplit.slave3=cobar2.yohoops.org:8066
jdbc.mysql.yhorderssplit.username=yh_vpc_bak
jdbc.mysql.yhorderssplit.password=t5/oMgwUCmO/GeMHBAQ2Cg==
jdbc.mysql.yhresource.master=write.cms.yohoops.org:3307
jdbc.mysql.yhresource.slave=read.cms.yohoops.org:3307
jdbc.mysql.yhshops.master=write.shops.yohoops.org:3306
jdbc.mysql.yhshops.slave=read.shops.yohoops.org:3306
#yhb_promotion_split db split
jdbc.mysql.yhbpromotionsplit.master=cobar1.yohoops.org:8066
jdbc.mysql.yhbpromotionsplit.slave=cobar2.yohoops.org:8066
jdbc.mysql.yhbpromotionsplit.slave2=cobar1.yohoops.org:8066
jdbc.mysql.yhbpromotionsplit.slave3=cobar2.yohoops.org:8066
jdbc.mysql.yhbpromotionsplit.username=yh_vpc_bak
jdbc.mysql.yhbpromotionsplit.password=t5/oMgwUCmO/GeMHBAQ2Cg==
# yh_orders
jdbc.mysql.yhorders.master=write.orders.yohoops.org:3307
jdbc.mysql.yhorders.slave=read.orders.yohoops.org:3307
# yhb_operations
jdbc.mysql.yhboperations.master=write.cms.yohoops.org:3307
jdbc.mysql.yhboperations.slave=read.cms.yohoops.org:3307
# yh_comment
jdbc.mysql.yhcomment.master=write.cms.yohoops.org:3307
jdbc.mysql.yhcomment.slave=read.cms.yohoops.org:3307
#yhb_promotion
jdbc.mysql.yhbpromotion.master=write.orders.yohoops.org:3307
jdbc.mysql.yhbpromotion.slave=read.orders.yohoops.org:3307
#yoho_sms配置读写分离
jdbc.mysql.yohosms.master=write.passport.yohoops.org:3306
jdbc.mysql.yohosms.slave=read.passport.yohoops.org:3306
#yh_inbox配置读写分离
jdbc.mysql.yhinbox.master=write.passport.yohoops.org:3306
jdbc.mysql.yhinbox.slave=read.passport.yohoops.org:3306
#yoho_logs配置读写分离, 暂时将表存在yoho_sms中
jdbc.mysql.yohologs.master=yohologs.yohoops.org:3306
#yoho_passport读写数据分离
jdbc.mysql.yohopassport.master=write.passport.yohoops.org:3306
jdbc.mysql.yohopassport.slave=read.passport.yohoops.org:3306
#yh_operations配置读写分离
jdbc.mysql.yhoperations.master=write.cms.yohoops.org:3307
jdbc.mysql.yhoperations.slave=read.cms.yohoops.org:3307
#yh_passport读写分离
jdbc.mysql.yhpassport.master=write.passport.yohoops.org:3306
jdbc.mysql.yhpassport.slave=read.passport.yohoops.org:3306
#yh_setting读写分离
jdbc.mysql.yhsetting.master=write.cms.yohoops.org:3307
jdbc.mysql.yhsetting.slave=read.cms.yohoops.org:3307
#yh_pay
jdbc.mysql.pay.master=write.orders.yohoops.org:3307
jdbc.mysql.pay.slave=read.orders.yohoops.org:3307
#event
jdbc.mysql.yhevents.master=write.cms.yohoops.org:3307
jdbc.mysql.yhevents.slave=read.cms.yohoops.org:3307
#event
jdbc.mysql.yhcoupons.master=write.orders.yohoops.org:3307
jdbc.mysql.yhcoupons.slave=read.orders.yohoops.org:3307
#yh_consult
jdbc.mysql.yhconsult.master=write.cms.yohoops.org:3307
jdbc.mysql.yhconsult.slave=read.cms.yohoops.org:3307
#unions
jdbc.mysql.unions.master=write.cms.yohoops.org:3307
jdbc.mysql.unions.slave=read.cms.yohoops.org:3307
#push center
jdbc.mysql.yohopushcenter.master=write.passport.yohoops.org:3306
jdbc.mysql.yohopushcenter.slave=read.passport.yohoops.org:3306
#q_msg_system
jdbc.mysql.yhpush.master=write.passport.yohoops.org:3306
jdbc.mysql.yhpush.slave=read.passport.yohoops.org:3306
#yoho_activity
jdbc.mysql.yohoactivity.master=write.passport.yohoops.org:3306
jdbc.mysql.yohoactivity.slave=read.passport.yohoops.org:3306
#yh_guang
jdbc.mysql.yhguang.master=write.cms.yohoops.org:3307
jdbc.mysql.yhguang.slave=read.cms.yohoops.org:3307
#yh_special
jdbc.mysql.yhspecial.master=write.cms.yohoops.org:3307
jdbc.mysql.yhspecial.slave=read.cms.yohoops.org:3307
#yh_special
jdbc.mysql.yhspecial.master=write.cms.yohoops.org:3307
jdbc.mysql.yhspecial.slave=read.cms.yohoops.org:3307
#yohood
jdbc.mysql.yohood.master=write.yohood.yohoops.org:3307
jdbc.mysql.yohood.slave=read.yohood.yohoops.org:3307
#yohocrm
jdbc.mysql.yohocrm.master=write.passport.yohoops.org:3306
jdbc.mysql.yohocrm.slave=read.passport.yohoops.org:3306
#erppassport
jdbc.mysql.erppassport.master=write.erp.yohoops.org:3306
jdbc.mysql.erppassport.slave=write.erp.yohoops.org:3306
#erp_supplier
jdbc.mysql.platform.erp_supplier.master = write.erp.yohoops.org:3306
jdbc.mysql.platform.erp_supplier.password = t5/oMgwUCmO/GeMHBAQ2Cg==
jdbc.mysql.platform.erp_supplier.slave = read.erp.yohoops.org:3306
jdbc.mysql.platform.erp_supplier.username = yh_vpc_bak
#yohobuy_task
jdbc.mysql.kisjob.datasources=yh_distributed_task
jdbc.mysql.kisjob.master=write.cms.yohoops.org:3307
jdbc.mysql.kisjob.slave=read.cms.yohoops.org:3307
#yhcommunity
jdbc.mysql.yhcommunity.master=write.uic.yohoops.org:3306
jdbc.mysql.yhcommunity.slave=read.uic.yohoops.org:3306
jdbc.mysql.yhcommunity.username=yh_vpc_bak
jdbc.mysql.yhcommunity.password=t5/oMgwUCmO/GeMHBAQ2Cg==
#yh social
jdbc.mysql.yhsocial.master=write.social.yohoops.org:3308
jdbc.mysql.yhsocial.slave=read.social.yohoops.org:3308
jdbc.mysql.yhsocial.username=yh_vpc_bak
jdbc.mysql.yhsocial.password=t5/oMgwUCmO/GeMHBAQ2Cg==
#yh_cms
jdbc.mysql.yh_cms.master=write.cms.yohoops.org:3307
jdbc.mysql.yh_cms.slave=read.cms.yohoops.org:3307
jdbc.mysql.yh_cms.username=yh_vpc_bak
jdbc.mysql.yh_cms.password=t5/oMgwUCmO/GeMHBAQ2Cg==
#yhlottery
jdbc.mysql.yhlottery.master=write.yhlottery.yohoops.org:3307
jdbc.mysql.yhlottery.slave=read.yhlottery.yohoops.org:3307
jdbc.mysql.yhlottery.username=yh_vpc_bak
jdbc.mysql.yhlottery.password=t5/oMgwUCmO/GeMHBAQ2Cg==
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=write.search.yohoops.org:3306
jdbc.mysql.yhbsearch.slave=read.search.yohoops.org:3306
jdbc.mysql.yhbsearch.username=yh_vpc_bak
jdbc.mysql.yhbsearch.password=t5/oMgwUCmO/GeMHBAQ2Cg==
# search-es
search.es.cluster.name = yohosearch_test
search.es.servers = 192.168.104.55:9300 192.168.104.54:9300 192.168.104.53:9300 192.168.104.51:9300
search.index.number_of_replicas = 0
search.index.refresh_interval = 10s
search.index.translog.flush_threshold_ops = 5000
# search-mq
search.mq.server=rabbitmq01.yohoops.org
search.mq.port=5672
search.mq.username=yhb_mq
search.mq.password=yhb_mq
search.mq.exchange=yoho_search
search.mq.virtualHost=/
#for crm read db
jdbc.mysql.yohopassport.onlyslave=read.passport.yohoops.org:3306
jdbc.mysql.yhpassport.onlyslave=read.passport.yohoops.org:3306
jdbc.mysql.yhshops.onlyslave=read.passport.yohoops.org:3306
jdbc.mysql.yhoperations.onlyslave=read.passport.yohoops.org:3306
jdbc.mysql.yh.username=yh_vpc_bak
jdbc.mysql.yh.password=t5/oMgwUCmO/GeMHBAQ2Cg==
##### **************************************** common properties ******************************************************
cache.servers.gateway.level1.address = mem01.l1.yohoops.org:12111,mem02.l1.yohoops.org:12111,mem03.l1.yohoops.org:12111,mem04.l1.yohoops.org:12111
cache.servers.gateway.level1.expire = 1800
cache.servers.gateway.level2.address = mem01.l2.yohoops.org:12112,mem02.l2.yohoops.org:12112,mem03.l2.yohoops.org:12112,mem04.l2.yohoops.org:12112
cache.servers.gateway.level2.expire = 43200
cache.servers.union.address = memcache.union.yohoops.org:12111
ip.port.search.server = search.yohoops.org
qiniu.accesskey = atSf7xxIl8alEnsXbhC1bOD1GWVW3qYffz8SlB4m
qiniu.bucket = yhfair
qiniu.domain = http://yhfair.qiniudn.com
qiniu.secretkey = pyoJzPygXIkFWrc1BAsH6tAJ0yweTchpJwGKEwhm
yoho.service.domain.url=http://service-test4.yohops.com:9999
# old redis
redis.proxy.address = write.redis.yohoops.org
redis.proxy.auth =
redis.proxy.port = 63790
redis.readonly.proxy.address = read.redis.yohoops.org
redis.readonly.proxy.auth =
redis.readonly.proxy.port = 63790
redis.notsync.twemproxy.addresses = redis-no-sync-1.yohoops.org:63790,redis-no-sync-2.yohoops.org:63790,redis-no-sync-3.yohoops.org:63790,redis-no-sync-4.yohoops.org:63790
redis.notsync.twemproxy.auth=
# union redis
redis.union.address = classic.union-redis.yohoops.org
redis.union.auth =
redis.union.port = 63790
# outter big data redis
bigDataRedis.proxy.address=bigdata.redis.yohoops.org
bigDataRedis.proxy.port=63790
bigDataRedis.proxy.auth=
# outter big data redis push
bigDataRedis-push.proxy.address=bigdata.redis.push.yohoops.org
bigDataRedis-push.proxy.port=63790
bigDataRedis-push.proxy.auth=
redis.union.proxy.address=union.write.yohoops.org
redis.union.proxy.port=63790
redis.union.proxy.auth=
redis.union.readonly.proxy.address=union.read.yohoops.org
redis.union.readonly.proxy.port=63790
redis.union.readonly.proxy.auth=
# search-redis
redis.search.proxy.address=127.0.0.1
redis.search.proxy.port=163790
redis.search.proxy.auth=
#bigDataRedis-search
bigDataRedis-search.proxy.address=bigdata.redis.yohoops.org
bigDataRedis-search.proxy.port= 63790
bigDataRedis-search.proxy.auth=
## rabbitmq configure
rabbit_host = rabbitmq01.yohoops.org:5672,rabbitmq02.yohoops.org:5672
rabbit_user = yoho
rabbit_password = yoho
########## common rabbitmq ##########
#aws
rabbit_common_aws = rabbitmq-common-aws.yohoops.org:5672
rabbit_common_aws_user = yoho
rabbit_common_aws_password = yoho
#qq
rabbit_common_qq = rabbitmq-common-qq.yohoops.org:5672
rabbit_common_qq_user = yoho
rabbit_common_qq_password = yoho
# local, maybe producer using this.
rabbit_common = rabbitmq-common.yohoops.org:5672
rabbit_common_user = yoho
rabbit_common_password = yoho
##########common rabbitmq ##########
#cache clear rabbitmq
rabbit.cacheclean.producer.host = rabbitmq-common-qq.yohoops.org:5672
rabbit.cacheclean.consumer.host = rabbitmq-common-aws.yohoops.org:5672
# message center rabbit host
rabbit_message_center = rabbitmq-common-aws.yohoops.org:5672
rabbit_message_center_user = yoho
rabbit_message_center_password = yoho
rabbit_message_center_vhost = yoho
rabbit_union=rabbitmq-common.yohoops.org: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://api.yoho.cn
Gateway_URL=http://gateway.yohoops.org:8080/gateway
yoho.message.controller.url=http://message-controller.yohoops.org:8087/yoho-message-controller
zkAddress=zk01.yohoops.org:2181,zk02.yohoops.org:2181,zk03.yohoops.org:2181,zk04.yohoops.org:2181,zk05.yohoops.org:2181
# change to order.run-host.yohoops.org later
order.task.host=192.168.104.20
APP_KEY = 1392109259
APP_SECRET = 1e87e46f115cc813e27ef52eb9915f1e
UUC_DOMAIN = http://passport.test.yoho.cn
#从qcloud拷贝而来
redis.brower.proxy.address = redis-brower.yohoops.org
redis.brower.proxy.port = 63790
redis.brower.proxy.auth =
redis.brower.readonly.proxy.address = redis-brower.yohoops.org
redis.brower.readonly.proxy.port = 63790
redis.brower.readonly.proxy.auth =
#single cloud not sync redis
single.cloud.redis.proxy.address=redis-no-sync-1.yohoops.org
single.cloud.redis.proxy.port=63790
single.cloud.redis.proxy.auth=
#single cloud not sync redis
single.cloud.redis.readonly.proxy.address=redis-no-sync-1.yohoops.org
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://192.168.104.44:9098
#yoho-message配置读写分离
jdbc.mysql.yhmessage.master=write.message.yohoops.org:3306
jdbc.mysql.yhmessage.slave=read.message.yohoops.org:3306
jdbc.mysql.yhmessage.username=yh_vpc_bak
jdbc.mysql.yhmessage.password=t5/oMgwUCmO/GeMHBAQ2Cg==
jdbc.mysql.platform.erp_orders.slave=read.orders.yohoops.org:3307
#erp-orders配置读写分离
jdbc.mysql.platform.erp_orders.master=write.orders.yohoops.org:3307
jdbc.mysql.platform.erp_orders.slave=read.orders.yohoops.org:3307
jdbc.mysql.platform.erp_orders.username=yh_vpc_bak
jdbc.mysql.platform.erp_orders.password=t5/oMgwUCmO/GeMHBAQ2Cg==