global-autoconfig.properties
14.7 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
yoho.logs.level = INFO
yoho.logs.basedir = /home/test
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
### ****************************** database ***********************************
# cobar
jdbc.mysql.cobar.username=yh_test
jdbc.mysql.cobar.password=9nm0icOwt6bMHjMusIfMLw==
jdbc.mysql.yhresource.username=yh_test
jdbc.mysql.yhresource.password=9nm0icOwt6bMHjMusIfMLw==
jdbc.mysql.yhshops.username=yh_test
jdbc.mysql.yhshops.password=9nm0icOwt6bMHjMusIfMLw==
# yh_orders
jdbc.mysql.yhorders.username=yh_test
jdbc.mysql.yhorders.password=9nm0icOwt6bMHjMusIfMLw==
# yhb_operations
jdbc.mysql.yhboperations.username=yh_test
jdbc.mysql.yhboperations.password=9nm0icOwt6bMHjMusIfMLw==
# yh_comment
jdbc.mysql.yhcomment.username=yh_test
jdbc.mysql.yhcomment.password=9nm0icOwt6bMHjMusIfMLw==
#yhb_promotion
jdbc.mysql.yhbpromotion.username=yh_test
jdbc.mysql.yhbpromotion.password=9nm0icOwt6bMHjMusIfMLw==
#yoho_sms配置读写分离
jdbc.mysql.yohosms.username=yh_test
jdbc.mysql.yohosms.password=9nm0icOwt6bMHjMusIfMLw==
#yh_inbox配置读写分离
jdbc.mysql.yhinbox.username=yh_test
jdbc.mysql.yhinbox.password=9nm0icOwt6bMHjMusIfMLw==
#yoho_logs配置读写分离, 暂时将表存在yoho_sms中
jdbc.mysql.yohologs.username=yh_test
jdbc.mysql.yohologs.password=9nm0icOwt6bMHjMusIfMLw==
#yoho_passport读写数据分离
jdbc.mysql.yohopassport.username=yh_test
jdbc.mysql.yohopassport.password=9nm0icOwt6bMHjMusIfMLw==
#yh_operations配置读写分离
jdbc.mysql.yhoperations.username=yh_test
jdbc.mysql.yhoperations.password=9nm0icOwt6bMHjMusIfMLw==
#yh_passport读写分离
jdbc.mysql.yhpassport.username=yh_test
jdbc.mysql.yhpassport.password=9nm0icOwt6bMHjMusIfMLw==
#yh_setting读写分离
jdbc.mysql.yhsetting.username=yh_test
jdbc.mysql.yhsetting.password=9nm0icOwt6bMHjMusIfMLw==
#yh_pay
jdbc.mysql.pay.username=yh_test
jdbc.mysql.pay.password=9nm0icOwt6bMHjMusIfMLw==
#event
jdbc.mysql.yhevents.username=yh_test
jdbc.mysql.yhevents.password=9nm0icOwt6bMHjMusIfMLw==
#event
jdbc.mysql.yhcoupons.username=yh_test
jdbc.mysql.yhcoupons.password=9nm0icOwt6bMHjMusIfMLw==
#yh_consult
jdbc.mysql.yhconsult.username=yh_test
jdbc.mysql.yhconsult.password=9nm0icOwt6bMHjMusIfMLw==
#unions
jdbc.mysql.unions.username=yh_test
jdbc.mysql.unions.password=9nm0icOwt6bMHjMusIfMLw==
#model
jdbc.mysql.yohopushcenter.username=yh_test
jdbc.mysql.yohopushcenter.password=9nm0icOwt6bMHjMusIfMLw==
jdbc.mysql.yhpush.username=yh_test
jdbc.mysql.yhpush.password=9nm0icOwt6bMHjMusIfMLw==
#yoho-activity
jdbc.mysql.yohoactivity.username=yh_test
jdbc.mysql.yohoactivity.password=9nm0icOwt6bMHjMusIfMLw==
#yh_guang
jdbc.mysql.yhguang.username=yh_test
jdbc.mysql.yhguang.password=9nm0icOwt6bMHjMusIfMLw==
#yhspecial
jdbc.mysql.yhspecial.username=yh_test
jdbc.mysql.yhspecial.password=9nm0icOwt6bMHjMusIfMLw==
#yohood
jdbc.mysql.yohood.username=yh_test
jdbc.mysql.yohood.password=9nm0icOwt6bMHjMusIfMLw==
#yohocrm
jdbc.mysql.yohocrm.username=yh_test
jdbc.mysql.yohocrm.password=9nm0icOwt6bMHjMusIfMLw==
#erppassport
jdbc.mysql.erppassport.username=yh_test
jdbc.mysql.erppassport.password=9nm0icOwt6bMHjMusIfMLw==
# ================
# yh_orders db split
jdbc.mysql.yhorderssplit.master=cobar1.yohoops.org:8066
jdbc.mysql.yhorderssplit.slave=cobar2.yohoops.org:8066
jdbc.mysql.yhorderssplit.slave2=cobar2.yohoops.org:8066
jdbc.mysql.yhorderssplit.slave3=cobar2.yohoops.org:8066
jdbc.mysql.yhorderssplit.username=yh_test
jdbc.mysql.yhorderssplit.password=9nm0icOwt6bMHjMusIfMLw==
#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=cobar2.yohoops.org:8066
jdbc.mysql.yhbpromotionsplit.slave3=cobar2.yohoops.org:8066
jdbc.mysql.yhbpromotionsplit.username=yh_test
jdbc.mysql.yhbpromotionsplit.password=9nm0icOwt6bMHjMusIfMLw==
#yhb_promotion platform split db
jdbc.mysql.yhbpromotionsplitplatform.master=cobar1.yohoops.org:8066
jdbc.mysql.yhbpromotionsplitplatform.slave=cobar2.yohoops.org:8066
jdbc.mysql.yhbpromotionsplitplatform.username=yh_test
jdbc.mysql.yhbpromotionsplitplatform.password=9nm0icOwt6bMHjMusIfMLw==
jdbc.mysql.yohopassportsplit.master=cobar1.yohoops.org:8066
jdbc.mysql.yohopassportsplit.slave=cobar2.yohoops.org:8066
jdbc.mysql.yohopassportsplit.slave2=cobar2.yohoops.org:8066
jdbc.mysql.yohopassportsplit.slave3=cobar2.yohoops.org:8066
jdbc.mysql.yohopassportsplit.username=yh_test
jdbc.mysql.yohopassportsplit.password=9nm0icOwt6bMHjMusIfMLw==
#yhb_promotion cms split db
jdbc.mysql.dncmssplit.mastercobar1.yohoops.org:8066
jdbc.mysql.dncmssplit.slave=cobar2.yohoops.org:8066
jdbc.mysql.dncmssplit.slave2=cobar2.yohoops.org:8066
jdbc.mysql.dncmssplit.slave3=cobar2.yohoops.org:8066
jdbc.mysql.dncmssplit.username=yh_test
jdbc.mysql.dncmssplit.password=9nm0icOwt6bMHjMusIfMLw==
jdbc.mysql.yhfrontcobar.username=yh_test
jdbc.mysql.yhfrontcobar.password=9nm0icOwt6bMHjMusIfMLw==
jdbc.mysql.yhplatformcobar.username=yh_test
jdbc.mysql.yhplatformcobar.password=9nm0icOwt6bMHjMusIfMLw==
jdbc.mysql.yhresource.master=write.cms.yohoops.org:3306
jdbc.mysql.yhresource.slave=read.cms.yohoops.org:3306
jdbc.mysql.yhshops.master=write.shops.yohoops.org:3306
jdbc.mysql.yhshops.slave=read.shops.yohoops.org:3306
# yh_orders
jdbc.mysql.yhorders.master=write.orders.yohoops.org:3306
jdbc.mysql.yhorders.slave=read.orders.yohoops.org:3306
# yhb_operations
jdbc.mysql.yhboperations.master=write.cms.yohoops.org:3306
jdbc.mysql.yhboperations.slave=read.cms.yohoops.org:3306
# yh_comment
jdbc.mysql.yhcomment.master=write.cms.yohoops.org:3306
jdbc.mysql.yhcomment.slave=read.cms.yohoops.org:3306
#yhb_promotion
jdbc.mysql.yhbpromotion.master=write.orders.yohoops.org:3306
jdbc.mysql.yhbpromotion.slave=read.orders.yohoops.org:3306
#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:3306
jdbc.mysql.yhoperations.slave=read.cms.yohoops.org:3306
#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:3306
jdbc.mysql.yhsetting.slave=read.cms.yohoops.org:3306
#yh_pay
jdbc.mysql.pay.master=write.orders.yohoops.org:3306
jdbc.mysql.pay.slave=read.orders.yohoops.org:3306
#event
jdbc.mysql.yhevents.master=write.cms.yohoops.org:3306
jdbc.mysql.yhevents.slave=read.cms.yohoops.org:3306
#event
jdbc.mysql.yhcoupons.master=write.orders.yohoops.org:3306
jdbc.mysql.yhcoupons.slave=read.orders.yohoops.org:3306
#yh_consult
jdbc.mysql.yhconsult.master=write.cms.yohoops.org:3306
jdbc.mysql.yhconsult.slave=read.cms.yohoops.org:3306
#unions
jdbc.mysql.unions.master=write.cms.yohoops.org:3306
jdbc.mysql.unions.slave=read.cms.yohoops.org:3306
#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:3306
jdbc.mysql.yhguang.slave=read.cms.yohoops.org:3306
#yh_special
jdbc.mysql.yhspecial.master=write.cms.yohoops.org:3306
jdbc.mysql.yhspecial.slave=read.cms.yohoops.org:3306
#yh_special
jdbc.mysql.yhspecial.master=write.cms.yohoops.org:3306
jdbc.mysql.yhspecial.slave=read.cms.yohoops.org:3306
#yohood
jdbc.mysql.yohood.master=write.yohood.yohoops.org:3306
jdbc.mysql.yohood.slave=read.yohood.yohoops.org:3306
#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 = 9nm0icOwt6bMHjMusIfMLw==
jdbc.mysql.platform.erp_supplier.slave = read1.erp.yohoops.org:3306
jdbc.mysql.platform.erp_supplier.username = yh_test
#yohobuy_task
jdbc.mysql.kisjob.datasources=yh_distributed_task
jdbc.mysql.kisjob.master=write.cms.yohoops.org:3306
jdbc.mysql.kisjob.slave=read.cms.yohoops.org:3306
#yhcommunity
jdbc.mysql.yhcommunity.master=write.uic.yohoops.org:3306
jdbc.mysql.yhcommunity.slave=read.uic.yohoops.org:3306
jdbc.mysql.yhcommunity.username=yh_test
jdbc.mysql.yhcommunity.password=9nm0icOwt6bMHjMusIfMLw==
#yh social
jdbc.mysql.yhsocial.master=write.social.yohoops.org:3306
jdbc.mysql.yhsocial.slave=read.social.yohoops.org:3306
jdbc.mysql.yhsocial.username=yh_test
jdbc.mysql.yhsocial.password=9nm0icOwt6bMHjMusIfMLw==
#yh_cms
jdbc.mysql.yh_cms.master=write.cms.yohoops.org:3306
jdbc.mysql.yh_cms.slave=read.cms.yohoops.org:3306
jdbc.mysql.yh_cms.username=yh_test
jdbc.mysql.yh_cms.password=9nm0icOwt6bMHjMusIfMLw==
jdbc.mysql.yhlottery.master=write.cms.yohoops.org:3306
jdbc.mysql.yhlottery.slave=read.cms.yohoops.org:3306
jdbc.mysql.yhlottery.username=yh_test
jdbc.mysql.yhlottery.password=9nm0icOwt6bMHjMusIfMLw==
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_test
jdbc.mysql.yhbsearch.password=9nm0icOwt6bMHjMusIfMLw==
# search-es
search.es.cluster.name = yohosearch_testQQ
search.es.servers = es.node1.yohoops.org:9300
search.index.number_of_replicas = 0
search.index.refresh_interval = 1s
search.index.translog.flush_threshold_ops = 5000
# search-mq
search.mq.server=rabbitmq01.yohoops.org
search.mq.port=5672
search.mq.username=admin1
search.mq.password=123qwe
search.mq.exchange=yoho_search
search.mq.virtualHost=yohosearch
##### **************************************** common properties ******************************************************
cache.servers.gateway.level1.address = mem01.l1.yohoops.org:21211
cache.servers.gateway.level1.expire = 1800
cache.servers.gateway.level2.address = mem01.l2.yohoops.org:21211
cache.servers.gateway.level2.expire = 43200
cache.servers.union.address = memcache.union.yohoops.org:11211
# ip.port.search.server = search.yohoops.org:8080
ip.port.search.server = 192.168.102.216:8080
qiniu.accesskey = atSf7xxIl8alEnsXbhC1bOD1GWVW3qYffz8SlB4m
qiniu.bucket = yhfair
qiniu.domain = http://yhfair.qiniudn.com
qiniu.secretkey = pyoJzPygXIkFWrc1BAsH6tAJ0yweTchpJwGKEwhm
# old redis
redis.proxy.address = write.redis.yohoops.org
redis.proxy.auth =
redis.proxy.port = 6379
redis.readonly.proxy.address = read.redis.yohoops.org
redis.readonly.proxy.auth =
redis.readonly.proxy.port = 6379
redis.notsync.twemproxy.addresses = redis-no-sync-1.yohoops.org:6379
redis.notsync.twemproxy.auth=
# union redis
redis.union.address = classic.union-redis.yohoops.org
redis.union.auth =
redis.union.port = 6379
# outter big data redis
bigDataRedis.proxy.address=bigdata.redis.yohoops.org
bigDataRedis.proxy.port=6379
bigDataRedis.proxy.auth=
# outter big data redis push
bigDataRedis-push.proxy.address=bigdata.redis.push.yohoops.org
bigDataRedis-push.proxy.port=6379
bigDataRedis-push.proxy.auth=
#bigDataRedis-search
bigDataRedis-search.proxy.address=bigdata.redis.yohoops.org
bigDataRedis-search.proxy.port= 6379
bigDataRedis-search.proxy.auth=
redis.union.proxy.address=huodong.write.yohoops.org
redis.union.proxy.port=6379
redis.union.proxy.auth=
redis.union.readonly.proxy.address=huodong.read.yohoops.org
redis.union.readonly.proxy.port=6379
redis.union.readonly.proxy.auth=
## rabbitmq configure
rabbit_host = rabbitmq01.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 rabbitmq
rabbit_message_center = 192.168.102.211:5672
rabbit_message_center_user = yoho
rabbit_message_center_password = yoho
rabbit_message_center_vhost = yoho
gateway.domain.url = http://api-test2.yohops.com:9999
Gateway_URL=http://gateway.yohoops.org:8080/gateway
yoho.message.controller.url=http://192.168.102.202:8087/yoho-message-controller
zkAddress=zk01.yohoops.org:2181
# change to order.run-host.yohoops.org later
order.task.host=192.168.102.48
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 = 6379
redis.brower.proxy.auth =
redis.brower.readonly.proxy.address = redis-brower.yohoops.org
redis.brower.readonly.proxy.port = 6379
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=6379
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=6379
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.103.82:9098