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
504
505
##########111111111111111111111111111
yoho.logs.level = INFO
yoho.logs.basedir = /Data/logs
yoho.logs.maxHistory = 7
yoho.logs.maxFileSize = 10MB
search.logs.maxHistory = 7
yoho.env.javahome = /usr/local/java
yoho.env.serverhome = /usr/local/tomcat
yoho.env.servertype = tomcat
yoho.env.productmode = TEST
redis.global.address=redis-no-sync-1.yohoops.org:6379
redis.global.auth=redis9646
### ****************************** database ***********************************
jdbc.mysql.cobar.username=yh_test
jdbc.mysql.cobar.password=9nm0icOwt6bMHjMusIfMLw==
#yohocrm
jdbc.mysql.yohocrm.master=192.168.102.219:3306
jdbc.mysql.yohocrm.slave=192.168.102.219:3306
jdbc.mysql.yohocrm.username=yh_test
jdbc.mysql.yohocrm.password=9nm0icOwt6bMHjMusIfMLw==
#for crm read db
jdbc.mysql.yohopassport.onlyslave=192.168.102.219:3306
jdbc.mysql.yhpassport.onlyslave=192.168.102.219:3306
jdbc.mysql.yhshops.onlyslave=192.168.102.219:3306
jdbc.mysql.yhoperations.onlyslave=192.168.102.219:3306
jdbc.mysql.yh.username=yh_test
jdbc.mysql.yh.password=9nm0icOwt6bMHjMusIfMLw==
##yh_push
bigdate.db.url=192.168.102.219:3306
bigdate.db.password=9nm0icOwt6bMHjMusIfMLw==
bigdate.db.username=yh_test
#yhvalue
jdbc.mysql.yhvalue.master=118.89.235.30:3306
jdbc.mysql.yhvalue.slave=118.89.235.30:3306
jdbc.mysql.yhvalue.username=root
jdbc.mysql.yhvalue.password=t5/oMgwUCmO/GeMHBAQ2Cg==
##yh_push
jdbc.mysql.yhpush.master=192.168.102.219:3306
jdbc.mysql.yhpush.slave=192.168.102.219:3306
jdbc.mysql.yhpush.password=9nm0icOwt6bMHjMusIfMLw==
jdbc.mysql.yhpush.username=yh_test
##YH_RESOURCE
jdbc.mysql.yhresource.master=192.168.102.219:3306
jdbc.mysql.yhresource.slave=192.168.102.219:3306
jdbc.mysql.yhresource.username=yh_test
jdbc.mysql.yhresource.password=9nm0icOwt6bMHjMusIfMLw==
# yh_shops
jdbc.mysql.yhshops.master=192.168.102.219:3306
jdbc.mysql.yhshops.slave=192.168.102.219:3306
jdbc.mysql.yhshops.username=yh_test
jdbc.mysql.yhshops.password=9nm0icOwt6bMHjMusIfMLw==
# yh_orders
jdbc.mysql.yhorders.master=192.168.102.219:3306
jdbc.mysql.yhorders.slave=192.168.102.219:3306
jdbc.mysql.yhorders.username=yh_test
jdbc.mysql.yhorders.password=9nm0icOwt6bMHjMusIfMLw==
# yh_orders db split
jdbc.mysql.yhorderssplit.master=192.168.102.202:8066
jdbc.mysql.yhorderssplit.slave=192.168.102.202:8066
jdbc.mysql.yhorderssplit.slave2=192.168.102.202:8066
jdbc.mysql.yhorderssplit.slave3=192.168.102.202:8066
jdbc.mysql.yhorderssplit.username=yh_test
jdbc.mysql.yhorderssplit.password=9nm0icOwt6bMHjMusIfMLw==
# yh_sns
jdbc.mysql.yhsns.master=192.168.102.219:3306
jdbc.mysql.yhsns.slave=192.168.102.219:3306
jdbc.mysql.yhsns.username=yh_test
jdbc.mysql.yhsns.password=9nm0icOwt6bMHjMusIfMLw==
# yh_comment
jdbc.mysql.yhcomment.master=192.168.102.219:3306
jdbc.mysql.yhcomment.slave=192.168.102.219:3306
jdbc.mysql.yhcomment.username=yh_test
jdbc.mysql.yhcomment.password=9nm0icOwt6bMHjMusIfMLw==
#yh_passport
jdbc.mysql.yhpassport.master=192.168.102.219:3306
jdbc.mysql.yhpassport.slave=192.168.102.219:3306
jdbc.mysql.yhpassport.username=yh_test
jdbc.mysql.yhpassport.password=9nm0icOwt6bMHjMusIfMLw==
#yoho_passport读写数据分离
jdbc.mysql.yohopassport.master=192.168.102.219:3306
jdbc.mysql.yohopassport.slave=192.168.102.219:3306
jdbc.mysql.yohopassport.username=yh_test
jdbc.mysql.yohopassport.password=9nm0icOwt6bMHjMusIfMLw==
#yh_operations读写数据分离
jdbc.mysql.yhoperations.master=192.168.102.219:3306
jdbc.mysql.yhoperations.slave=192.168.102.219:3306
jdbc.mysql.yhoperations.username=yh_test
jdbc.mysql.yhoperations.password=9nm0icOwt6bMHjMusIfMLw==
#yhb_promotion
jdbc.mysql.yhbpromotion.master=192.168.102.219:3306
jdbc.mysql.yhbpromotion.slave=192.168.102.219:3306
jdbc.mysql.yhbpromotion.username=yh_test
jdbc.mysql.yhbpromotion.password=9nm0icOwt6bMHjMusIfMLw==
#yh_setting
jdbc.mysql.yhsetting.master=192.168.102.219:3306
jdbc.mysql.yhsetting.slave=192.168.102.219:3306
jdbc.mysql.yhsetting.username=yh_test
jdbc.mysql.yhsetting.password=9nm0icOwt6bMHjMusIfMLw==
#yoho_sms
jdbc.mysql.yohosms.master=192.168.102.219:3306
jdbc.mysql.yohosms.slave=192.168.102.219:3306
jdbc.mysql.yohosms.username=yh_test
jdbc.mysql.yohosms.password=9nm0icOwt6bMHjMusIfMLw==
#yh_inbox
jdbc.mysql.yhinbox.master=192.168.102.219:3306
jdbc.mysql.yhinbox.slave=192.168.102.219:3306
jdbc.mysql.yhinbox.username=yh_test
jdbc.mysql.yhinbox.password=9nm0icOwt6bMHjMusIfMLw==
jdbc.mysql.yhmessage.master=192.168.102.219:3306
jdbc.mysql.yhmessage.slave=192.168.102.219:3306
jdbc.mysql.yhmessage.username=yh_test
jdbc.mysql.yhmessage.password=9nm0icOwt6bMHjMusIfMLw==
#yoho_logs
jdbc.mysql.yohologs.master=192.168.102.219:3306
jdbc.mysql.yohologs.username=yh_test
jdbc.mysql.yohologs.password=9nm0icOwt6bMHjMusIfMLw==
#yh_pay
jdbc.mysql.pay.master=192.168.102.219:3306
jdbc.mysql.pay.slave=192.168.102.219:3306
jdbc.mysql.pay.username=yh_test
jdbc.mysql.pay.password=9nm0icOwt6bMHjMusIfMLw==
#yh_coupons
jdbc.mysql.yhcoupons.master=192.168.102.219:3306
jdbc.mysql.yhcoupons.slave=192.168.102.219:3306
jdbc.mysql.yhcoupons.username=yh_test
jdbc.mysql.yhcoupons.password=9nm0icOwt6bMHjMusIfMLw==
#yh_events
jdbc.mysql.yhevents.master=192.168.102.219:3306
jdbc.mysql.yhevents.slave=192.168.102.219:3306
jdbc.mysql.yhevents.username=yh_test
jdbc.mysql.yhevents.password=9nm0icOwt6bMHjMusIfMLw==
#yh_consult
jdbc.mysql.yhconsult.master=192.168.102.219:3306
jdbc.mysql.yhconsult.slave=192.168.102.219:3306
jdbc.mysql.yhconsult.username=yh_test
jdbc.mysql.yhconsult.password=9nm0icOwt6bMHjMusIfMLw==
#yhb_operations
jdbc.mysql.yhboperations.master=192.168.102.219:3306
jdbc.mysql.yhboperations.slave=192.168.102.219:3306
jdbc.mysql.yhboperations.username=yh_test
jdbc.mysql.yhboperations.password=9nm0icOwt6bMHjMusIfMLw==
#unions
jdbc.mysql.unions.master=192.168.102.219:3306
jdbc.mysql.unions.slave=192.168.102.219:3306
jdbc.mysql.unions.username=yh_test
jdbc.mysql.unions.password=9nm0icOwt6bMHjMusIfMLw==
#push center
jdbc.mysql.yohopushcenter.master=192.168.102.219:3306
jdbc.mysql.yohopushcenter.slave=192.168.102.219:3306
jdbc.mysql.yohopushcenter.username=yh_test
jdbc.mysql.yohopushcenter.password=9nm0icOwt6bMHjMusIfMLw==
#yoho-activity
jdbc.mysql.yohoactivity.master=192.168.102.219:3306
jdbc.mysql.yohoactivity.slave=192.168.102.219:3306
jdbc.mysql.yohoactivity.username=yh_test
jdbc.mysql.yohoactivity.password=9nm0icOwt6bMHjMusIfMLw==
#yh_special
jdbc.mysql.yhspecial.master=192.168.102.219:3306
jdbc.mysql.yhspecial.slave=192.168.102.219:3306
jdbc.mysql.yhspecial.username=yh_test
jdbc.mysql.yhspecial.password=9nm0icOwt6bMHjMusIfMLw==
#yh_guang
jdbc.mysql.yhguang.master=192.168.102.219:3306
jdbc.mysql.yhguang.slave=192.168.102.219:3306
jdbc.mysql.yhguang.username=yh_test
jdbc.mysql.yhguang.password=9nm0icOwt6bMHjMusIfMLw==
#erp_finance
jdbc.mysql.erpfinance.master=192.168.102.219:3306
jdbc.mysql.erpfinance.slave=192.168.102.219:3306
jdbc.mysql.erpfinance.username=yh_test
jdbc.mysql.erpfinance.password=9nm0icOwt6bMHjMusIfMLw==
#yohood
jdbc.mysql.yohood.master=192.168.102.219:3306
jdbc.mysql.yohood.slave=192.168.102.219:3306
jdbc.mysql.yohood.username=yh_test
jdbc.mysql.yohood.password=9nm0icOwt6bMHjMusIfMLw==
#yh_community
jdbc.mysql.yhcommunity.master=192.168.102.219:3306
jdbc.mysql.yhcommunity.slave=192.168.102.219:3306
jdbc.mysql.yhcommunity.username=yh_test
jdbc.mysql.yhcommunity.password=9nm0icOwt6bMHjMusIfMLw==
#erp_passport
jdbc.mysql.erppassport.master=192.168.102.219:3306
jdbc.mysql.erppassport.slave=192.168.102.219:3306
jdbc.mysql.erppassport.username=yh_test
jdbc.mysql.erppassport.password=9nm0icOwt6bMHjMusIfMLw==
#search-db
jdbc.mysql.yhbsearch.datasources = yhb_search_dev
jdbc.mysql.yhbsearch.master = 192.168.102.216:3306
jdbc.mysql.yhbsearch.slave = 192.168.102.216:3306
jdbc.mysql.yhbsearch.username = yh_test
jdbc.mysql.yhbsearch.password = 9nm0icOwt6bMHjMusIfMLw==
#erp_supplier
jdbc.mysql.platform.erp_supplier.master=192.168.102.219:3306
jdbc.mysql.platform.erp_supplier.slave=192.168.102.219:3306
jdbc.mysql.platform.erp_supplier.username=yh_test
jdbc.mysql.platform.erp_supplier.password=9nm0icOwt6bMHjMusIfMLw==
#yhnow
jdbc.mysql.yhnow.master=192.168.102.17:3306
jdbc.mysql.yhnow.slave=192.168.102.17:3306
jdbc.mysql.yhnow.username=root
jdbc.mysql.yhnow.password=Z5BMngayHLUxyWLSv6+koA==
#yh-lineshops-db
jdbc.mysql.lineshops.master=192.168.102.219:3306
jdbc.mysql.lineshops.slave=192.168.102.219:3306
jdbc.mysql.lineshops.username=yh_test
jdbc.mysql.lineshops.password=9nm0icOwt6bMHjMusIfMLw==
# yh_mars
jdbc.mysql.yhmars.master=192.168.102.216:3306
jdbc.mysql.yhmars.slave=192.168.102.216:3306
jdbc.mysql.yhmars.username=yh_test
jdbc.mysql.yhmars.password=9nm0icOwt6bMHjMusIfMLw==
#yhgorder
jdbc.mysql.yhgorder.master=192.168.102.214:5511
jdbc.mysql.yhgorder.slave=192.168.102.214:5511
jdbc.mysql.yhgorder.username=yohodb
jdbc.mysql.yhgorder.password=sptsRfIfzmZJ0JPOnHKN9BIqqFRmY3+jrks0lQGi164=
#yhgproduct
jdbc.mysql.yhgproduct.master=192.168.102.214:5511
jdbc.mysql.yhgproduct.slave=192.168.102.214:5511
jdbc.mysql.yhgproduct.username=yohodb
jdbc.mysql.yhgproduct.password=sptsRfIfzmZJ0JPOnHKN9BIqqFRmY3+jrks0lQGi164=
#yhgspider
jdbc.mysql.yhgspider.master=192.168.102.214:5511
jdbc.mysql.yhgspider.slave=192.168.102.214:5511
jdbc.mysql.yhgspider.username=yohodb
jdbc.mysql.yhgspider.password=sptsRfIfzmZJ0JPOnHKN9BIqqFRmY3+jrks0lQGi164=
#yhgeditor
jdbc.mysql.yhgeditor.master=192.168.102.214:5511
jdbc.mysql.yhgeditor.slave=192.168.102.214:5511
jdbc.mysql.yhgeditor.username=yohodb
jdbc.mysql.yhgeditor.password=sptsRfIfzmZJ0JPOnHKN9BIqqFRmY3+jrks0lQGi164=
#yhextendstore
jdbc.mysql.yhextendstore.master=192.168.102.219:3306
jdbc.mysql.yhextendstore.slave=192.168.102.219:3306
jdbc.mysql.yhextendstore.username=yh_test
jdbc.mysql.yhextendstore.password=9nm0icOwt6bMHjMusIfMLw==
search.es.cluster.name = yohosearch_test
search.es.servers = 192.168.104.36:9300 192.168.104.46:9300
search.index.number_of_replicas = 1
search.index.refresh_interval = 10s
search.index.translog.flush_threshold_size = 512mb
#search-redis
redis.search.proxy.address =localhost
redis.search.proxy.port =6379
redis.search.proxy.auth =
#search-redis-cluster
redis.search.cluster.address0=192.168.103.35:6379
redis.search.cluster.address1=192.168.103.35:6379
redis.search.cluster.address2=192.168.103.35:6379
#yhb_promotion_split db split
jdbc.mysql.yhbpromotionsplit.master=192.168.102.202:8066
jdbc.mysql.yhbpromotionsplit.slave=192.168.102.202:8066
jdbc.mysql.yhbpromotionsplit.slave2=192.168.102.202:8066
jdbc.mysql.yhbpromotionsplit.slave3=192.168.102.202:8066
jdbc.mysql.yhbpromotionsplit.username=yh_test
jdbc.mysql.yhbpromotionsplit.password=9nm0icOwt6bMHjMusIfMLw==
jdbc.mysql.yhbpromotionsplit.slave2=192.168.102.202:8066
jdbc.mysql.yhbpromotionsplit.slave3=192.168.102.202:8066
#bigdataunion
jdbc.mysql.bigdataunion.slave=118.89.235.30:3306
jdbc.mysql.bigdataunion.username=yh_test_bigdata
jdbc.mysql.bigdataunion.password=rALdkYPZCr4QyzBfVCGdXA==
#yh_bigdata_erp
jdbc.mysql.bigdata.erp.master=192.168.102.219:3306
jdbc.mysql.bigdata.erp.slave=192.168.102.219:3306
jdbc.mysql.bigdata.erp.username=yh_test
jdbc.mysql.bigdata.erp.password=9nm0icOwt6bMHjMusIfMLw==
# search-mq
search.mq.server = 192.168.102.224
search.mq.port = 5672
search.mq.username = admin1
search.mq.password = 123qwe
search.mq.exchange = yoho_search
search.mq.virtualHost = /yohosearch
##### **************************************** common properties ******************************************************
readOnlyInSlave=true
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.45:21211
cache.servers.gateway.level1.expire = 1800
cache.servers.gateway.level2.address = 192.168.102.45:21211
cache.servers.gateway.level2.expire = 43200
yoho.service.domain.url=http://192.168.103.60:8094/
ip.port.search.server = 192.168.102.216:8080
ip.port.search.photo.vectors.server = 58.87.82.152:8080
qiniu.accesskey = atSf7xxIl8alEnsXbhC1bOD1GWVW3qYffz8SlB4m
qiniu.bucket = yhfair
qiniu.domain = http://yhfair.qiniudn.com
qiniu.secretkey = pyoJzPygXIkFWrc1BAsH6tAJ0yweTchpJwGKEwhm
# outter big data redis
bigDataRedis.proxy.address = 123.206.17.17
bigDataRedis.proxy.port = 16379
bigDataRedis.proxy.auth =
# outter big data redis push
bigDataRedis-push.proxy.address=123.206.17.17
bigDataRedis-push.proxy.port=16379
bigDataRedis-push.proxy.auth=
#bigDataRedis-search
bigDataRedis-search.proxy.address=123.206.17.17
bigDataRedis-search.proxy.port= 16379
bigDataRedis-search.proxy.auth=
redis.gateway.twemproxy.addresses=192.168.103.58:6379
redis.notsync.twemproxy.addresses=192.168.103.58:6379
redis.notsync.twemproxy.auth=
redis.proxy.address = 192.168.103.58
redis.proxy.auth =
redis.proxy.port = 6379
redis.readonly.proxy.address = 192.168.103.58
redis.readonly.proxy.auth =
redis.readonly.proxy.port = 6379
redis.union.address = 192.168.103.58
redis.union.auth =
redis.union.port = 6379
redis.union.proxy.address = 192.168.103.58
redis.union.proxy.auth =
redis.union.proxy.port = 6379
redis.union.readonly.proxy.address = 192.168.103.58
redis.union.readonly.proxy.auth =
redis.union.readonly.proxy.port = 6379
redis.brower.proxy.address=192.168.103.58
redis.brower.proxy.port=6379
redis.brower.proxy.auth=
redis.brower.readonly.proxy.address=192.168.103.58
redis.brower.readonly.proxy.port=6379
redis.brower.readonly.proxy.auth=
zkAddress=192.168.103.58:2181
gateway.domain.url=http://192.168.103.59:8080/gateway/
yoho.message.controller.url=http://192.168.102.202:8087/yoho-message-controller
APP_KEY = 1392109259
APP_SECRET = 1e87e46f115cc813e27ef52eb9915f1e
UUC_DOMAIN = http://passport.test.yoho.cn
#### rabbit config ####
rabbit_host = 192.168.103.58:5672
rabbit_user = yoho
rabbit_password = yoho
#### rabbit config ####
rabbit_order_host = 192.168.103.58:5672
rabbit_order_user = yoho
rabbit_order_password = yoho
## order rabbitmq
rabbit_order = 192.168.103.58:5672
rabbit_order_user = yoho
rabbit_order_password = yoho
#### rabbit_crm config ####
rabbit_crm_host = 192.168.103.58:5672
rabbit_crm_user = yoho
rabbit_crm_password = yoho
########## common rabbitmq ##########
#aws
rabbit_common_aws = 192.168.103.58:5672
rabbit_common_aws_user = yoho
rabbit_common_aws_password = yoho
#qq
rabbit_common_qq = 192.168.103.58:5672
rabbit_common_qq_user = yoho
rabbit_common_qq_password = yoho
# local, maybe producer using this.
rabbit_common = 192.168.103.58:5672
rabbit_common_user = yoho
rabbit_common_password = yoho
##########common rabbitmq ##########
#cache clear rabbitmq
rabbit.cacheclean.producer.host = 192.168.103.58:5672
rabbit.cacheclean.consumer.host = 192.168.103.58:5672
## mq or call erp
erp.message.sync.type=MQ
sendSMS.password=7jVEde87bLffoTnt6tGxmw==
trace.exporter.enable = true
student.discount.rate=0.9
crf.service.url=https://osprec-ci.crfchina.com
default.http.type = http
#message-center rabbitmq
rabbit_message_center = 192.168.103.58:5672
rabbit_message_center_user = yoho
rabbit_message_center_password = yoho
rabbit_message_center_vhost = yoho
jdbc.mysql.yhwechat.master=192.168.102.219:3306
jdbc.mysql.yhwechat.slave=192.168.102.219:3306
jdbc.mysql.yhwechat.username=yh_test
jdbc.mysql.yhwechat.password=9nm0icOwt6bMHjMusIfMLw==
#redis config
redis.sync.address1=192.168.103.58:6379
redis.sync.address2=192.168.103.58:6379
redis.sync.address3=192.168.103.58:6379
redis.sync.auth=
redis.sync.readonly.address1=192.168.103.58:6379
redis.sync.readonly.address2=192.168.103.58:6379
redis.sync.readonly.address3=192.168.103.58:6379
redis.nosync.address1=192.168.103.58:6379
redis.nosync.auth=
erp.shop.web.url=http://192.168.103.82:9098
trace.enabled=true
cloud=test
yoho.single.center.domain=http://single.yohoops.org