global-autoconfig.properties 6.85 KB
yoho.logs.level        = DEBUG
yoho.logs.basedir      = /Data/logs
yoho.logs.maxHistory   = 7
yoho.logs.maxFileSize  = 10MB

yoho.env.javahome     = /usr/local/java
yoho.env.serverhome   = /usr/local/tomcat
yoho.env.servertype   = tomcat
yoho.env.productmode  = TEST


###  ******************************  database ***********************************

jdbc.mysql.yhresource.master.url=jdbc:mysql://192.168.50.69:9980/yh_resource
jdbc.mysql.yhresource.slave.url=jdbc:mysql://192.168.102.219:3306/yh_resource
jdbc.mysql.yhresource.username=yh_test
jdbc.mysql.yhresource.password=yh_test

jdbc.mysql.yhshops.master.url=jdbc:mysql://192.168.50.69:9980/yh_shops
jdbc.mysql.yhshops.slave.url=jdbc:mysql://192.168.102.219:3306/yh_shops
jdbc.mysql.yhshops.username=yh_test
jdbc.mysql.yhshops.password=yh_test

# yh_orders
jdbc.mysql.yhorders.master.url=jdbc:mysql://192.168.50.69:9980/yh_orders
jdbc.mysql.yhorders.slave.url=jdbc:mysql://192.168.50.69:9980/yh_orders
jdbc.mysql.yhorders.username=yh_test
jdbc.mysql.yhorders.password=yh_test

# yhb_operations
jdbc.mysql.yhboperations.master.url=jdbc:mysql://192.168.50.69:9980/yhb_operations
jdbc.mysql.yhboperations.slave.url=jdbc:mysql://192.168.50.69:9980/yhb_operations
jdbc.mysql.yhboperations.username=yh_test
jdbc.mysql.yhboperations.password=yh_test

# yh_sns
jdbc.mysql.yhsns.master.url=jdbc:mysql://192.168.50.69:9980/yh_sns
jdbc.mysql.yhsns.slave.url=jdbc:mysql://192.168.50.69:9980/yh_sns
jdbc.mysql.yhsns.username=yh_test
jdbc.mysql.yhsns.password=yh_test

# yh_comment
jdbc.mysql.yhcomment.master.url=jdbc:mysql://192.168.50.69:9980/yh_comment
jdbc.mysql.yhcomment.slave.url=jdbc:mysql://192.168.102.219:3306/yh_comment
jdbc.mysql.yhcomment.username=yh_test
jdbc.mysql.yhcomment.password=yh_test

#yh_passport
jdbc.mysql.yhpassport.master.url=jdbc:mysql://192.168.50.69:9980/yh_passport
jdbc.mysql.yhpassport.slave.url=jdbc:mysql://192.168.102.219:3306/yh_passport
jdbc.mysql.yhpassport.username=yh_test
jdbc.mysql.yhpassport.password=yh_test

#yoho_passport读写数据分离
jdbc.mysql.yohopassport.master.url=jdbc:mysql://192.168.50.69:9980/yoho_passport
jdbc.mysql.yohopassport.slave.url=jdbc:mysql://192.168.102.219:3306/yoho_passport
jdbc.mysql.yohopassport.username=yh_test
jdbc.mysql.yohopassport.password=yh_test

#yh_operations读写数据分离
jdbc.mysql.yhoperations.master.url=jdbc:mysql://192.168.50.69:9980/yh_operations
jdbc.mysql.yhoperations.slave.url=jdbc:mysql://192.168.102.219:3306/yh_operations
jdbc.mysql.yhoperations.username=yh_test
jdbc.mysql.yhoperations.password=yh_test

#yhb_promotion
jdbc.mysql.yhbpromotion.master.url=jdbc:mysql://192.168.50.69:9980/yhb_promotion
jdbc.mysql.yhbpromotion.slave.url=jdbc:mysql://192.168.102.219:3306/yhb_promotion
jdbc.mysql.yhbpromotion.username=yh_test
jdbc.mysql.yhbpromotion.password=yh_test

#yh_setting
jdbc.mysql.yhsetting.master.url=jdbc:mysql://192.168.50.69:9980/yh_setting
jdbc.mysql.yhsetting.slave.url=jdbc:mysql://192.168.102.219:3306/yh_setting
jdbc.mysql.yhsetting.username=yh_test
jdbc.mysql.yhsetting.password=yh_test

#yoho_sms
jdbc.mysql.yohosms.master.url=jdbc:mysql://192.168.50.69:9980/yoho_sms
jdbc.mysql.yohosms.slave.url=jdbc:mysql://192.168.102.219:3306/yoho_sms
jdbc.mysql.yohosms.username=yh_test
jdbc.mysql.yohosms.password=yh_test

#yh_inbox
jdbc.mysql.yhinbox.master.url=jdbc:mysql://192.168.50.69:9980/yh_inbox
jdbc.mysql.yhinbox.slave.url=jdbc:mysql://192.168.102.219:3306/yh_inbox
jdbc.mysql.yhinbox.username=yh_test
jdbc.mysql.yhinbox.password=yh_test

#yoho_logs
jdbc.mysql.yohologs.master.url=jdbc:mysql://192.168.50.69:9980/yoho_sms
jdbc.mysql.yohologs.username=yh_test
jdbc.mysql.yohologs.password=yh_test

#yh_pay
jdbc.mysql.pay.master.url=jdbc:mysql://192.168.50.69:9980/yoho_pay
jdbc.mysql.pay.slave.url=jdbc:mysql://192.168.102.219:3306/yoho_pay
jdbc.mysql.pay.username=yh_test
jdbc.mysql.pay.password=yh_test

#yh_coupons
jdbc.mysql.yhcoupons.master.url=jdbc:mysql://192.168.50.69:9980/yh_coupons
jdbc.mysql.yhcoupons.slave.url=jdbc:mysql://192.168.102.219:3306/yh_coupons
jdbc.mysql.yhcoupons.username=yh_test
jdbc.mysql.yhcoupons.password=yh_test

jdbc.mysql.yhevents.master.url=jdbc:mysql://192.168.50.69:9980/yh_events
jdbc.mysql.yhevents.slave.url=jdbc:mysql://192.168.102.219:3306/yh_events
jdbc.mysql.yhevents.username=yh_test
jdbc.mysql.yhevents.password=yh_test

#yh_consult
jdbc.mysql.yhconsult.master.url=jdbc:mysql://192.168.50.69:9980/yh_consult
jdbc.mysql.yhconsult.slave.url=jdbc:mysql://192.168.102.219:3306/yh_consult
jdbc.mysql.yhconsult.username=yh_test
jdbc.mysql.yhconsult.password=yh_test

#yhb_operations
jdbc.mysql.yhboperations.master.url=jdbc:mysql://192.168.50.69:9980/yhb_operations
jdbc.mysql.yhboperations.slave.url=jdbc:mysql://192.168.102.219:3306/yhb_operations
jdbc.mysql.yhboperations.username=yh_test
jdbc.mysql.yhboperations.password=yh_test


#####  ****************************************  common properties ******************************************************

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.162:32768 
cache.servers.gateway.level1.expire   = 1800
cache.servers.gateway.level2.address  = 192.168.102.162:32768 
cache.servers.gateway.level2.expire   = 43200

ip.port.search.server  = 192.168.10.64:8080

qiniu.accesskey  = iGA6XzOicfWLttJZ9dIyE9ELL2dOCNkd7qmIdt7
qiniu.bucket     = test
qiniu.domain     = http://7xnrdp.com1.z0.glb.clouddn.com
qiniu.secretkey  = 0GjWmT53UbIzzCQ5ev6sqrq0O5a-bdv0xkNY2s9T

redis.proxy.address  = 192.168.102.216
redis.proxy.auth     = 
redis.proxy.port     = 6379

redis.union.address  = 192.168.50.69
redis.union.auth     = 
redis.union.port     = 6379

zkAddress=192.168.102.205:2181

gateway.domain.url=http://testapi.yoho.cn:28078


#####  ****************************************  services.yml ******************************************************

message.server.a  = 192.168.102.205
message.server.b  = 192.168.102.205
message.server.c  = 192.168.102.205
message.server.d  = 192.168.102.205

order.server.a  = 192.168.102.205
order.server.b  = 192.168.102.205
order.server.c  = 192.168.102.205
order.server.d  = 192.168.102.205

product.server.a  = 192.168.102.205
product.server.b  = 192.168.102.205
product.server.c  = 192.168.102.205
product.server.d  = 192.168.102.205

promotion.server.a  = 192.168.102.205
promotion.server.b  = 192.168.102.205
promotion.server.c  = 192.168.102.205
promotion.server.d  = 192.168.102.205


resources.server.a  = 192.168.102.205
resources.server.b  = 192.168.102.205
resources.server.c  = 192.168.102.205
resources.server.d  = 192.168.102.205

sns.server.a  = 192.168.102.205
sns.server.b  = 192.168.102.205
sns.server.c  = 192.168.102.205
sns.server.d  = 192.168.102.205

users.server.a  = 192.168.102.205
users.server.b  = 192.168.102.205
users.server.c  = 192.168.102.205
users.server.d  = 192.168.102.205