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
yoho.logs.level = INFO
yoho.logs.basedir = /home/test/logs
yoho.logs.maxHistory = 7
yoho.logs.maxFileSize = 100MB
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 ***********************************
##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.username=yh_test
jdbc.mysql.yhorderssplit.password=9nm0icOwt6bMHjMusIfMLw==
jdbc.mysql.yhorderssplit.slave2=192.168.102.202:8066
jdbc.mysql.yhorderssplit.slave3=192.168.102.202:8066
#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.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
#yhb_promotion platform split db
jdbc.mysql.yhbpromotionsplitplatform.master=192.168.102.202:8066
jdbc.mysql.yhbpromotionsplitplatform.slave=192.168.102.202:8066
jdbc.mysql.yhbpromotionsplitplatform.username=yh_test
jdbc.mysql.yhbpromotionsplitplatform.password=9nm0icOwt6bMHjMusIfMLw==
jdbc.mysql.yhfrontcobar.username=yh_test
jdbc.mysql.yhfrontcobar.password=9nm0icOwt6bMHjMusIfMLw==
jdbc.mysql.yhplatformcobar.username=yh_test
jdbc.mysql.yhplatformcobar.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-message配置读写分离
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==
readOnlyInSlave=false
#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==
#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==
#yh_guang
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==
#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==
jdbc.mysql.platform.erp_supplier.master = 192.168.102.219:3306
jdbc.mysql.platform.erp_supplier.password = 9nm0icOwt6bMHjMusIfMLw==
jdbc.mysql.platform.erp_supplier.slave = 192.168.102.219:3306
jdbc.mysql.platform.erp_supplier.username = yh_test
#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==
#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==
#cms_push_db
jdbc.mysql.cmspush.master=192.168.102.17:3306
jdbc.mysql.cmspush.slave=192.168.102.17:3306
jdbc.mysql.cmspush.username=root
jdbc.mysql.cmspush.password=Z5BMngayHLUxyWLSv6+koA==
#mars_push_db
jdbc.mysql.marspush.master=192.168.102.216:3306
jdbc.mysql.marspush.slave=192.168.102.216:3306
jdbc.mysql.marspush.username=yh_test
jdbc.mysql.marspush.password=9nm0icOwt6bMHjMusIfMLw==
#yh_cms
jdbc.mysql.yh_cms.master=192.168.102.219:3306
jdbc.mysql.yh_cms.slave=192.168.102.219:3306
jdbc.mysql.yh_cms.username=yh_test
jdbc.mysql.yh_cms.password=9nm0icOwt6bMHjMusIfMLw==
#yoho-message配置读写分离
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==
#search-db
jdbc.mysql.yhbsearch.datasources = yhb_search_2016
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==
# search-es
search.es.cluster.name = yohosearch_test
search.es.servers = es.node1.yohoops.org:9300 es.node2.yohoops.org:9300
search.index.number_of_replicas = 1
search.index.refresh_interval = 10s
search.index.translog.flush_threshold_ops = 10000
# 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
#search-redis
redis.search.proxy.address =localhost
redis.search.proxy.port =6379
redis.search.proxy.auth =
#mars-search-db
jdbc.mysql.yohomarssearch.datasources = yh_mars
jdbc.mysql.yohomarssearch.master = 192.168.102.216:3306
jdbc.mysql.yohomarssearch.slave = 192.168.102.216:3306
jdbc.mysql.yohomarssearch.username = yh_test
jdbc.mysql.yohomarssearch.password = 9nm0icOwt6bMHjMusIfMLw==
#mars-search-es
yohomarssearch.es.cluster.name = yohosearch_test
yohomarssearch.es.servers = 192.168.102.216:9300 192.168.102.209:9300
yohomarssearch.index.number_of_replicas = 0
yohomarssearch.index.refresh_interval = 10s
yohomarssearch.index.translog.flush_threshold_ops = 10000
## mq or call erp
erp.message.sync.type=MQ
#yhcommunity
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==
#yh social
jdbc.mysql.yhsocial.master=192.168.102.219:3306
jdbc.mysql.yhsocial.slave=192.168.102.219:3306
jdbc.mysql.yhsocial.username=yh_test
jdbc.mysql.yhsocial.password=9nm0icOwt6bMHjMusIfMLw==
#yh cms
jdbc.mysql.yhcms.master=192.168.102.219:3306
jdbc.mysql.yhcms.slave=192.168.102.219:3306
jdbc.mysql.yhcms.username=yh_test
jdbc.mysql.yhcms.password=9nm0icOwt6bMHjMusIfMLw==
#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==
#yhlottery
jdbc.mysql.yhlottery.master=192.168.102.219:3306
jdbc.mysql.yhlottery.slave=192.168.102.219:3306
jdbc.mysql.yhlottery.username=yh_test
jdbc.mysql.yhlottery.password=9nm0icOwt6bMHjMusIfMLw==
#bigdataunion
#jdbc.mysql.bigdataunion.slave=read.bigdata.yohoops.org:3306
#jdbc.mysql.bigdataunion.username=yh_vpc_bak
#jdbc.mysql.bigdataunion.password=+BfhVxZQ4LuPKt+QxSy9naMwEu/zaKV31I9S8xDJIUA=
jdbc.mysql.bigdataunion.slave=118.89.235.30:3306
jdbc.mysql.bigdataunion.username=yh_test_bigdata
jdbc.mysql.bigdataunion.password=rALdkYPZCr4QyzBfVCGdXA==
readOnlyInSlave=true
##### **************************************** common properties ******************************************************
users.browse.expire=7776000
is_debug_enable = true
crf.service.url=https://osprec-ci.crfchina.com
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.211:11211
cache.servers.gateway.level1.expire = 1800
cache.servers.gateway.level2.address = 192.168.102.211:11211
cache.servers.gateway.level2.expire = 1800
cache.servers.union.address = 192.168.102.211:11211
ip.port.search.server = 192.168.102.216:8080
qiniu.domain=http://yhfair.qiniudn.com
qiniu.accesskey=atSf7xxIl8alEnsXbhC1bOD1GWVW3qYffz8SlB4m
qiniu.secretkey=pyoJzPygXIkFWrc1BAsH6tAJ0yweTchpJwGKEwhm
qiniu.bucket=yhfair
redis.notsync.twemproxy.addresses=192.168.102.211:6379
redis.notsync.twemproxy.auth=
redis.new.proxy.address = 192.168.102.211
redis.new.proxy.auth =
redis.new.proxy.port = 6379
redis.proxy.address = 192.168.102.211
redis.proxy.auth =
redis.proxy.port = 6379
redis.readonly.proxy.address = 192.168.102.211
redis.readonly.proxy.auth =
redis.readonly.proxy.port = 6379
redis.union.address = 192.168.102.211
redis.union.auth =
redis.union.port = 6379
redis.union.proxy.address=192.168.102.211
redis.union.proxy.port=6379
redis.union.proxy.auth=
redis.union.readonly.proxy.address=192.168.102.211
redis.union.readonly.proxy.port=6379
redis.union.readonly.proxy.auth=
redis.brower.proxy.address=192.168.102.202
redis.brower.proxy.port=6379
redis.brower.proxy.auth=
redis.brower.readonly.proxy.address=192.168.102.202
redis.brower.readonly.proxy.port=6379
redis.brower.readonly.proxy.auth=
# outter big data redis
#bigDataRedis.proxy.address = test-bigdata-redis-1903805580.cn-north-1.elb.amazonaws.com.cn
#bigDataRedis.proxy.port = 6379
#bigDataRedis.proxy.auth =
bigDataRedis.proxy.address = 123.206.17.17
bigDataRedis.proxy.port = 16379
bigDataRedis.proxy.auth =
# outter big data redis push
#bigDataRedis-push.proxy.address=test-bigdata-redis-1903805580.cn-north-1.elb.amazonaws.com.cn
#bigDataRedis-push.proxy.port=6379
#bigDataRedis-push.proxy.auth=
bigDataRedis-push.proxy.address=123.206.17.17
bigDataRedis-push.proxy.port=16379
bigDataRedis-push.proxy.auth=
#bigDataRedis-search
#bigDataRedis-search.proxy.address=test-bigdata-redis-1903805580.cn-north-1.elb.amazonaws.com.cn
#bigDataRedis-search.proxy.port= 6379
#bigDataRedis-search.proxy.auth=
bigDataRedis-search.proxy.address=123.206.17.17
bigDataRedis-search.proxy.port=16379
bigDataRedis-search.proxy.auth=
#single cloud not sync redis
single.cloud.redis.proxy.address=192.168.102.211
single.cloud.redis.proxy.port=6379
single.cloud.redis.proxy.auth=
#single cloud not sync redis
single.cloud.redis.readonly.proxy.address=192.168.102.211
single.cloud.redis.readonly.proxy.port=6379
single.cloud.redis.readonly.proxy.auth=
gateway.domain.url=http://api-test1.yohops.com:9999
zkAddress=192.168.102.211:2181
order.task.host=192.168.102.207
APP_KEY = 1392109259
APP_SECRET = 1e87e46f115cc813e27ef52eb9915f1e
UUC_DOMAIN = http://passport.test.yoho.cn
Gateway_URL=http://192.168.102.202:8080/gateway
alarm.influxdb.url=http://192.168.102.162:8086
alarm.influxdb.user=root
alarm.influxdb.password=root
yoho.message.controller.url=http://192.168.102.202:8087/yoho-message-controller
#### rabbit config ####
rabbit_host = 192.168.102.211:5672
rabbit_user = yoho
rabbit_password = yoho
rabbit_vhost = yoho
########## common rabbitmq ##########
#aws
rabbit_common_aws = 192.168.102.211:5672
rabbit_common_aws_user = yoho
rabbit_common_aws_password = yoho
#qq
rabbit_common_qq = 192.168.102.211:5672
rabbit_common_qq_user = yoho
rabbit_common_qq_password = yoho
# test
# local, maybe producer using this.
rabbit_common = 192.168.102.211:5672
rabbit_common_user = yoho
rabbit_common_password = yoho
##########common rabbitmq ##########
#cache clear rabbitmq
rabbit.cacheclean.producer.host = 192.168.102.211:5672
rabbit.cacheclean.consumer.host = 192.168.102.211: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
trace.exporter.enable = true
###push log name,keep ${} in logback.xml
android_pushlog_name = android_push.${local_ip}
ios_pushlog_name = ios_push.${local_ip}
default.http.type = http