global-autoconfig.properties 11.9 KB
##########111111111111111111111111111
yoho.logs.level        = INFO
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 ***********************************

##yh_push
bigdate.db.url=192.168.102.219:3306
bigdate.db.password=9nm0icOwt6bMHjMusIfMLw== 
bigdate.db.username=yh_test


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

#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.17:3306
jdbc.mysql.yhmars.slave=192.168.102.17:3306
jdbc.mysql.yhmars.username=root
jdbc.mysql.yhmars.password=Z5BMngayHLUxyWLSv6+koA==

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

# search-es
search.es.cluster.name  = yohosearch
search.es.servers       = 192.168.102.12:9300 192.168.102.13:9300
search.index.number_of_replicas     = 1
search.index.refresh_interval       = 10s
search.index.translog.flush_threshold_ops  = 5000

# 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.211:11211
cache.servers.gateway.level1.expire   = 1800
cache.servers.gateway.level2.address  = 192.168.102.211:11211 
cache.servers.gateway.level2.expire   = 43200

ip.port.search.server  = 192.168.102.224: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.notsync.twemproxy.addresses=192.168.102.12:6379,192.168.102.12:6379
redis.notsync.twemproxy.auth=

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

redis.readonly.proxy.address  = 192.168.102.12
redis.readonly.proxy.auth     = 
redis.readonly.proxy.port     = 6379

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

redis.union.proxy.address  = 192.168.102.12
redis.union.proxy.auth     =
redis.union.proxy.port     = 6379

redis.union.readonly.proxy.address  = 192.168.102.12
redis.union.readonly.proxy.auth     =
redis.union.readonly.proxy.port     = 6379

redis.brower.proxy.address=192.168.102.12
redis.brower.proxy.port=6379
redis.brower.proxy.auth=

redis.brower.readonly.proxy.address=192.168.102.12
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.102.211:5672
rabbit_user = yoho
rabbit_password = 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

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