global-autoconfig.properties 9.98 KB
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_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==

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

#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       = 192.168.102.216:9300 192.168.102.209:9300
search.index.number_of_replicas     = 1
search.index.refresh_interval       = 1
search.index.translog.flush_threshold_ops  = 5000

# search-mq
search.mq.server       = 192.168.102.216
search.mq.port         = 5672
search.mq.username     = admin1
search.mq.password     = 123qwe
search.mq.exchange     = yoho_search
search.mq.virtualHost  = /yohosearch

## 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.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 = 192.168.100.141
bigDataRedis.proxy.port = 6379
bigDataRedis.proxy.auth =



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

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


####  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

# 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

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}