config.properties 9.41 KB
# ********************  gateway common configs ********************
# if true,   client_security check may be disabled.
is_debug_enable=true
is_checksession_enable=false
file.maxsize=5400000
file.uploadTempDir=/Users/ming/source/logs
#file.saveDir=/Users/apple/Documents/uploadFile
file.saveDir=E:\\tmp\\image

# ********************  cloud  storage config ********************
# qiniu config
qiniu.domain=http://yhfair.qiniudn.com
qiniu.accesskey=atSf7xxIl8alEnsXbhC1bOD1GWVW3qYffz8SlB4m
qiniu.secretkey=pyoJzPygXIkFWrc1BAsH6tAJ0yweTchpJwGKEwhm
qiniu.bucket=yhfair

#self own brand
self.own.brand=208,518,350,443,450,444,256,396,257,302,560,591,598,261,583,550,614,562,570,678,672,481,464,397,520,543,701,751,689,467,153,516,335

# ********************  redis servers  ********************
redis.proxy.address=192.168.102.45
redis.proxy.port=6379
#password, can be empty
redis.proxy.auth=

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

redis.pool.maxTotal=100
redis.pool.maxIdle=100
redis.pool.maxWaitMillis=2000
redis.pool.minIdle=50
redis.pool.testOnBorrow=false
redis.pool.testWhileIdle=true

# ********************  bigData redis servers  ********************
#bigDataRedis.proxy.address=123.57.14.54
bigDataRedis.proxy.address=172.31.57.56
bigDataRedis.proxy.port=6379
#password, can be empty
bigDataRedis.proxy.auth=

bigDataRedis.pool.maxTotal=100
bigDataRedis.pool.maxIdle=100
bigDataRedis.pool.maxWaitMillis=2000
bigDataRedis.pool.minIdle=50
bigDataRedis.pool.testOnBorrow=false
bigDataRedis.pool.testWhileIdle=true

# ********************  service call timeout in mil-seconds  ********************
service.call.connectReqTimeout=6000
service.call.socketTimeout=6000
service.call.connectTimeout=6000

yoho.logs.basedir=Data
yoho.gateway.env.namespace=logs
yoho.logs.maxFileSize=100MB
yoho.logs.maxHistory=15



`
# ******************** search restful ********************
#search server ip and port(if hava)
#ip.port.search.server=182.92.99.119:8080

ip.port.search.server=192.168.102.216:8080
ip.port.search.photo.search=172.16.9.115:8888
ip.port.search.photo.search.new=10.67.90.13:8000


# ********************  product html5 ********************
h5.version=1.0.7
gateway.domain.url=http://testapi.yoho.cn:28078
limitProduct.desc.version=1.3
default.http.type=http

#product Fashioncode config
fashioncode.product=\u590d\u5236\u8fd9\u6761\u6d88\u606f,\u6253\u5f00Yoho!Buy\u6709\u8d27\u5ba2\u6237\u7aef,\u5373\u53ef\u67e5\u770b\u5546\u54c1
fashioncode.brand=\u590d\u5236\u8fd9\u6761\u6d88\u606f,\u6253\u5f00Yoho!Buy\u6709\u8d27\u5ba2\u6237\u7aef,\u5373\u53ef\u67e5\u770b\u5546\u54c1\u724c


#\u914d\u7f6e\u5b89\u5168\u7684\u9650\u5236\u6b21\u6570
login.ip.limit.times=-1
login.loginfailed.limit.time=10
login.skip.modify.weakPwd=Y

#\u5546\u5bb6\u7aef-\u914d\u7f6e\u5b89\u5168\u7684\u9650\u5236\u6b21\u6570
login.shops.ip.limit.times=-1
login.shops.loginfailed.limit.time=10


# ******************** hystrix**********************
#his property sets the time in milliseconds after which the caller will observe a timeout and walk away from the command execution.
hystrix.command.default.execution.isolation.thread.timeoutInMilliseconds=10000
hystrix.command.default.circuitBreaker.requestVolumeThreshold=100
#This property sets the error percentage at or above which the circuit should trip open and start short-circuiting requests to fallback logic.
hystrix.command.default.circuitBreaker.errorThresholdPercentage=75


hystrix.threadpool.default.coreSize=30
hystrix.threadpool.default.maxQueueSize=50000
# an artificial maximum queue size at which rejections will occur even if maxQueueSize has not been reached
hystrix.threadpool.default.queueSizeRejectionThreshold=45000

#zookeeper address
zkAddress=192.168.102.45:2181
#zkAddress=192.168.102.45:2181
# web context
web.context=gateway

########## common rabbitmq  ##########
# local, maybe producer using this.
rabbit_common = 192.168.102.45:5672
rabbit_common_user = yoho
rabbit_common_password = yoho
##########common rabbitmq  ##########

rabbit_host=192.168.102.45:5672
rabbit_user=yoho
rabbit_password=yoho


# ERP service
erp.order.status.url=http://portal.admin.yohobuy.com/api/orders/status
# Payment config
# Alipay


# WechatAPP
wechat.app.notifyurl=http://testservice.yoho.cn:28077/payment/wechat_notify
wechat.app.newnotifyurl=http://testservice.yoho.cn:28077/payment/weixin_notify
wechat.app.partnerid=1218934901
wechat.app.partnerkey=b22de5cfd0ded341e0516505f72649a9
wechat.app.appid=wx049fdaa3ba9cdd7a
wechat.app.appsecret=f973fdb412307ea7b97d0252fd675104
wechat.app.paysignkey=wGwAsgU5SeeM62glYaoC6ALBKhtOrF7Ek9LzE8trEuUG7jHeFdnSlyA1jblOYYS57QzWr8dYVsWGdeWhzeonnrKFZakgwFWPYVtyeP4XqSu9Qvxps8LEgxoFBEpRPm6C

# WechatWAP
wechat.wap.notifyurl=http://testservice.yoho.cn:28077/payment/wechatwap_notify
wechat.wap.mchid=1227694201
wechat.wap.key=7e6f3307b64cc87c79c472814b88f7fb
wechat.wap.appid=wx75e5a7c0c88e45c2
wechat.wap.appsecret=ce21ae4a3f93852279175a167e54509b

# Unionpay
unionpay.env=00
unionpay.merid=898111453110482
unionpay.sign.cert=PM_898111453110482.pfx
unionpay.notifyurl=http://testservice.yoho.cn:28077/payment/unionpay_notify

wechat.access.appid   = wx1e6997242bcfcdfb
wechat.access.secret  = d6fa51581e4c11ee312a1990c2ebf0bd

# ApplePay
applepay.env=01
applepay.sign.cert=acp_test_sign.pfx
applepay.merid=777290058110097
applepay.notifyurl=http://testservice.yoho.cn:28077/payment/applepay_notify

## QQwallet
qq.partnerid=1284612001
qq.partnerkey=bfa7410caf55ba1c86ec5781c9180e66
qq.appid=100898104
qq.appkey=1ab633a3c8c73947961b27f461312567
qq.notifyurl=http://testservice.yoho.cn:28077/payment/qqpay_notify

# ************************    sync browse on-off    **************************
users.browse.sync=true
# ************************    browse expire time    **************************
users.browse.expire=7776000
# ************************    one user browse's num    **************************
users.browse.numPerUser=100
# ************************    browse cache client app_version    **************************
users.browse.appVersion=4.1.0.***
# ************************  temporary max  browse cache number   **************************
users.browse.maxTemBrowse = 5
# ************************  send mq interval  time **************************
users.browse.sendtime = 10
# ************************    inboxNum expire time    **************************
message.inboxNum.expire=10

erp.message.sync.type=CALL

#*******************Redis\u7f13\u5b58\u76f8\u5173**************************#

#\u6d4f\u89c8\u8bb0\u5f55\u5fae\u670d\u52a1URL

redis.timeout=50

alarm.write.enable=true

redis.notsync.twemproxy.addresses=192.168.102.211:6379
redis.notsync.twemproxy.auth=
#\u5bc6\u7801AES\u52a0\u5bc6\u5bc6\u94a5
password.aes.key=yoho9646yoho9646

##\u5b66\u751f\u4ef7\u6298\u6263
student.discount.rate=0.9

portalGateway.ipad.key = ad9fcda2e679cf9229e37feae2cdcf80
erp.gateway.url = http://192.168.102.47:9098/erp-gateway-web/
erp.shops.url = http://192.168.102.47:9098/erp-gateway-web/stock/get_stock

portalGateway.service.url = http://192.168.102.47:8080/portal-gateway/erp
erp.shops.batch.url = http://192.168.102.47:9098/erp-gateway-web/stock/get_batch_stock
erp.shops.batch.center.url = http://192.168.102.47:9098/erp-gateway-web/stock/get_batch_center_stock

hystrix.threadpool.promotionThreadInsulate.coreSize=20
hystrix.threadpool.promotionThreadInsulate.maxQueueSize=2000

hystrix.threadpool.shoppingEdit.coreSize=30
hystrix.threadpool.shoppingEdit.maxQueueSize=5000

hystrix.threadpool.shoppingPayment.coreSize=30
hystrix.threadpool.shoppingPayment.maxQueueSize=5000

hystrix.threadpool.shoppingSubmit.coreSize=30
hystrix.threadpool.shoppingSubmit.maxQueueSize=5000

hystrix.threadpool.orderPaymentGroup1.coreSize=30
hystrix.threadpool.orderPaymentGroup1.maxQueueSize=5000

hystrix.threadpool.orderPaymentGroup2.coreSize=30
hystrix.threadpool.orderPaymentGroup2.maxQueueSize=5000

hystrix.threadpool.newProduct.coreSize=30
hystrix.threadpool.newProduct.maxQueueSize=5000

hystrix.threadpool.myOrders.coreSize=30
hystrix.threadpool.myOrders.maxQueueSize=5000

hystrix.threadpool.userLogin.coreSize=20
hystrix.threadpool.userLogin.maxQueueSize=3000

hystrix.threadpool.resourcesPrimary.coreSize=30
hystrix.threadpool.resourcesPrimary.maxQueueSize=5000


platform.service.url=http://localhost:8088/platform

yoho.message.controller.url=http://192.168.102.202:8087/yoho-message-controller

#photoSearch
photoSearch.access.key.id=7343a192140f25a59c53dab5652f5f47
photoSearch.secret.key=45c1ce98ee6b4701d55802989ba240f4
photoSearch.service.id=rdbehn3x



service.online.type=1
# live800
service.online.type.live800=http://chat8.live800.com/live800/chatClient/chatbox.jsp?companyID=620092&configID=149091&jid=8732423409
# h5
service.online.type.h5=http://m.yohobuy.com/service/im
# native
service.online.type.native=


#erp-shop-web address
erp.shop.web.url=http://192.168.103.82:9098

gateway.screen.mobilestart=[ \"147\", \"170\", \"171\"]

cloud=qcloud

#用户uic服务地址
uic.service.url=http://192.168.103.73:8096/uic

#signature encrypt key salt
gateway.signature.key.salt=mQyMTMwZjlmZTZmYjY4UjkNmYwZGM0OTk0Y
trace.enabled=true

# yoho api docs
yoho.api.docs.switch=off
yoho.api.docs.filter=^.*$

#qZone request token
qZone.request.token=w5Rfz6sDZGn52cWq2a

sdk.ak=LTAIekrpZAi32NJP
sdk.aks=7PFg0ZW4rX7ViGQ3jNghHvL7G5E2pU
sdk.instanceId=ba35b368-b0ae-4019-8509-c538aaf4a790
sdk.instanceName=yohopic


yoho.recovery.zkPath=/yh/config/recovery
union.service.url=http://union.yohoops.org/union

malicious.service.url=http://malicious.yohops.com/outer/delMaliciousBannedIp