global-autoconfig.properties 10.6 KB
yoho.logs.level        = DEBUG
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

###  ******************************  database ***********************************
jdbc.mysql.yhpush.password=9nm0icOwt6bMHjMusIfMLw== 
jdbc.mysql.yhpush.master.url=jdbc:mysql://192.168.50.69:9980/q_msg_system
jdbc.mysql.yhpush.username=yh_test
jdbc.mysql.yhpush.slave.url=jdbc:mysql://192.168.102.219:3306/q_msg_system

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=9nm0icOwt6bMHjMusIfMLw==

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=9nm0icOwt6bMHjMusIfMLw==

# 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=9nm0icOwt6bMHjMusIfMLw==

# 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=9nm0icOwt6bMHjMusIfMLw==

# 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=9nm0icOwt6bMHjMusIfMLw==

#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=9nm0icOwt6bMHjMusIfMLw==

#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=9nm0icOwt6bMHjMusIfMLw==

#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=9nm0icOwt6bMHjMusIfMLw==

#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=9nm0icOwt6bMHjMusIfMLw==

#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=9nm0icOwt6bMHjMusIfMLw==

#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=9nm0icOwt6bMHjMusIfMLw==

#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=9nm0icOwt6bMHjMusIfMLw==

#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=9nm0icOwt6bMHjMusIfMLw==

#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=9nm0icOwt6bMHjMusIfMLw==

#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=9nm0icOwt6bMHjMusIfMLw==

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=9nm0icOwt6bMHjMusIfMLw==

#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=9nm0icOwt6bMHjMusIfMLw==

#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=9nm0icOwt6bMHjMusIfMLw==


#unions
jdbc.mysql.unions.master.url=jdbc:mysql://192.168.50.69:9980/yh_unions
jdbc.mysql.unions.slave.url=jdbc:mysql://192.168.102.219:3306/yh_unions
jdbc.mysql.unions.username=yh_test
jdbc.mysql.unions.password=9nm0icOwt6bMHjMusIfMLw==

jdbc.mysql.yohopushcenter.username=yh_test
jdbc.mysql.yohopushcenter.password=9nm0icOwt6bMHjMusIfMLw==




###  ******************************  database new ***********************************

jdbc.mysql.yhresource.master=192.168.50.69:9980
jdbc.mysql.yhresource.slave=192.168.102.219:3306

jdbc.mysql.yhshops.master=192.168.50.69:9980
jdbc.mysql.yhshops.slave=192.168.102.219:3306

# yh_orders
jdbc.mysql.yhorders.master=192.168.50.69:9980
jdbc.mysql.yhorders.slave=192.168.50.69:9980

# yh_sns
jdbc.mysql.yhsns.master=192.168.50.69:9980
jdbc.mysql.yhsns.slave=192.168.50.69:9980

# yh_comment
jdbc.mysql.yhcomment.master=192.168.50.69:9980
jdbc.mysql.yhcomment.slave=192.168.102.219:3306

#yh_passport
jdbc.mysql.yhpassport.master=192.168.50.69:9980
jdbc.mysql.yhpassport.slave=192.168.102.219:3306

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

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

#yhb_promotion
jdbc.mysql.yhbpromotion.master=192.168.50.69:9980
jdbc.mysql.yhbpromotion.slave=192.168.102.219:3306

#yh_setting
jdbc.mysql.yhsetting.master=192.168.50.69:9980
jdbc.mysql.yhsetting.slave=192.168.102.219:3306

#yoho_sms
jdbc.mysql.yohosms.master=192.168.50.69:9980
jdbc.mysql.yohosms.slave=192.168.102.219:3306

#yh_inbox
jdbc.mysql.yhinbox.master=192.168.50.69:9980
jdbc.mysql.yhinbox.slave=192.168.102.219:3306

#yoho_logs
jdbc.mysql.yohologs.master=192.168.50.69:9980

#yh_pay
jdbc.mysql.pay.master=192.168.50.69:9980
jdbc.mysql.pay.slave=192.168.102.219:3306

#yh_coupons
jdbc.mysql.yhcoupons.master=192.168.50.69:9980
jdbc.mysql.yhcoupons.slave=192.168.102.219:3306

jdbc.mysql.yhevents.master=192.168.50.69:9980
jdbc.mysql.yhevents.slave=192.168.102.219:3306

#yh_consult
jdbc.mysql.yhconsult.master=192.168.50.69:9980
jdbc.mysql.yhconsult.slave=192.168.102.219:3306

#yhb_operations
jdbc.mysql.yhboperations.master=192.168.50.69:9980
jdbc.mysql.yhboperations.slave=192.168.102.219:3306

#unions
jdbc.mysql.unions.master=192.168.50.69:9980
jdbc.mysql.unions.slave=192.168.102.219:3306

#push center
jdbc.mysql.yohopushcenter.master=192.168.50.69:9980
jdbc.mysql.yohopushcenter.slave=192.168.102.219:3306

## mq or call erp
erp.message.sync.type=MQ

readOnlyInSlave=true

#####  ****************************************  common properties ******************************************************
users.browse.expire=7776000

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.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.10.64:8080

qiniu.domain=http://yhfair.qiniudn.com
qiniu.accesskey=atSf7xxIl8alEnsXbhC1bOD1GWVW3qYffz8SlB4m
qiniu.secretkey=pyoJzPygXIkFWrc1BAsH6tAJ0yweTchpJwGKEwhm
qiniu.bucket=yhfair

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     = 6479

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


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

zkAddress=192.168.102.211:2181 

order.task.host=202.102.110.203

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


####  rabbit config #### 
rabbit_host = 192.168.102.162:35672
rabbit_user = yoho
rabbit_password = yoho

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

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

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

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

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


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

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

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