config.properties
# 数据库配置db.host=10.100.2.50db.port=3306db.database=paycoredb.username=rootdb.password=mysql@123db.initialSize=1db.minIdle=1db.maxActive=100db.maxWait=60000db.timeBetweenEvictionRunsMillis=60000db.minEvictableIdleTimeMillis=300000db.testWhileIdle=truedb.testOnBorrow=falsedb.testOnReturn=falsedb.validationQuery=SELECT 1db.poolPreparedStatements=falsedb.maxOpenPreparedStatements=20db.slowSql=5000db.filters=stat db.host.bizchannel=10.193.244.78db.port.bizchannel=3306db.database.bizchannel=bizchanneldb.username.bizchannel=rootdb.password.bizchannel=123456 #validateparam.validate.rule.config.path=classpath:/config/validate/*.yml #redis#有效期为3天 ,3*24*60*60*1000 = 259200000Lredis.timeout=259200000spring.redis.pool.min-idle=0spring.redis.pool.max-idle=8spring.redis.pool.max-active=8spring.redis.pool.max-wait=-1spring.redis.cluster.nodes[0]=redis.mintrust.res:7006spring.redis.cluster.nodes[1]=redis.mintrust.res:7001spring.redis.cluster.nodes[2]=redis.mintrust.res:7002spring.redis.cluster.nodes[3]=redis.mintrust.res:7003spring.redis.cluster.nodes[4]=redis.mintrust.res:7004spring.redis.cluster.nodes[5]=redis.mintrust.res:7005#spring.redis.password=123456#redis.password=123456#spring.redis.cluster.password=123456 # redis配置redis.nodes[0]=redis.mintrust.res:7006redis.nodes[1]=redis.mintrust.res:7001redis.nodes[2]=redis.mintrust.res:7002redis.nodes[3]=redis.mintrust.res:7003redis.nodes[4]=redis.mintrust.res:7004redis.nodes[5]=redis.mintrust.res:7005redis.activepay.timeout=60000 ## sys.appName/serviceName(springcloud已配置)#spring.application.name=springbootdemo1## kms hostmsxf.kms.host=https://10.16.30.16:4443 ##申请kms颁布的授权码msxf.kms.app-secret=1234 ## 是否开启调用getter方法自动解密msxf.kms.getter.decrypt.enable=true## 是否开启调用setter方法自动加密msxf.kms.setter.encrypt.enable=true ##vault信息(springcloud默认已配置,没有配置则添加)spring.cloud.vault.port=8200spring.cloud.vault.token=328d14cc-0a22-98e6-5fe6-fbd1b7b5990fspring.cloud.vault.host=10.100.2.49 #rabbitmqspring.rabbitmq.host=10.100.2.51spring.rabbitmq.port=5672spring.rabbitmq.username=guestspring.rabbitmq.password=guestspring.rabbitmq.virtualHost=saasdevspring.rabbitmq.maxConcurrentConsumers=60spring.rabbitmq.concurrentConsumers=30 #message test configmessage.url=http://msgapi1.msxf.lotest/message.appid=paymentmessage.appkey=12345message.partnerCode=10000000message.productCode=0000 # Http/remote urlremote.cmc=http://cmc2.msxf.perf/remotingremote.cptacc=http://cptacc2.msxf.perf/remotingcoupon.lock.url =http://mock20.msxf.lotest/coupon/v2/lockCouponTicketRepaycoupon.modify.url =http://mock20.msxf.lotest/coupon/v2/modifyCouponTicketStatus # 支付鉴权记录有效期(单位:年)auth.effective.year=1# 四要素鉴权次数限制有效期(单位:天)auth.four.sms.limit.effective.day=1# 四要素鉴权发送短信最大次数auth.four.sms.limit=5 # 账务对账文件ftp配置account.ftp.url= ftp.msxf.testaccount.ftp.username=yangguang01account.ftp.password=NWJiNzE3ZjZkOGQ3MGZjYWFiMmNmOWQzaccount.ftp.port=21#代扣对账文件路径account.deduct.ftp.path=/DeductAccountTest20#代付对账文件路径account.depute.ftp.path=/DeputeAccountTest20#对账本地路径account.local.path=/home/finance/Data/paycore20.msxf.lotest/account #1.0对账文件FTP目录account.deduct.ftp.path.old=/CutAccountFileRespTest20account.depute.ftp.path.old=/PayAccountFileRespTest20#超时时间remote.readTimeout?=?60000remote.loadBalancedServices[0]=paygw msxf.onchain.url = http://10.250.60.105:10334#4coupon.query.url:http://mock20.msxf.lotest/socialActivity/getCouponByCouponId acc.url=http://innacc2.msxf.perf###趣店对接notify.ccs.url=http://10.250.60.31:8820 ###一分钱验证paycommon.url=http://10.100.2.45:8098# ftpsftps.type =FTPSftps.url =10.100.2.48ftps.port =21ftps.userName =ftpuserftps.password =123456 #警告消息通知类型 0短信,1企业微信,2邮件messageSendType=1 #商户对账文件保存目录在用中:account.mchRecon.ftp.path=/mchReconaccount.fundTransfer.ftp.path=/fundTransfer # 查询网关银行信息配置paygw.bankInfo.query.transCode=bankInfopaygw.bankInfo.query.transType=queryBankInfoByBankName # payGWpaygw.base.url=http://localhost:8092paygw.bankInfo.query.url=http://localhost:8092/inner/querypaygw.query.card.url =http://localhost:8092/inner/bank/queryBankInfopaygw.url =http://localhost:8092/inner/paycore/host.paygw=http://localhost:8092/inner/manager # payRoutepayrouter.single.route.url=/runtime/servicepayroute.url=http://10.100.2.46:8099 # payCommonhost.paycommon=http://10.100.2.45:8098# payBatchhost.paybatch=http://localhost:6080#todo 这个是需要改的host.innAccount=http://paydeputerouter1.msxf.perf
config.properties的更多相关文章
- ResourceBundle类的方式来读取config.properties配置文件参数值
//获取config.properties配置文件参数值 public static ResourceBundle resource = ResourceBundle.getBundle(" ...
- Java中获取包含变量的配置文件config.properties内容
应用场景 有些时候项目中会用到很多路径,并且很可能多个路径在同一个根目录下,那为了方便配置的修改,达到只修改根目录即可达到一改全改的效果,此时就会想到要是有变量就好了: 另外有时候路径中的文件名是不确 ...
- Java代码中获取配置文件(config.properties)中内容的两种方法
方法千千万,本人暂时只总结了两种方法. (1)config.properties中的内容如图 在applicationContext.xml中配置 <!-- 引入配置文件 --> < ...
- 一个编译可执行jar包 jar包中不包含resources下config.properties且可以读到config.properties文件且classpath中有当前路径的pom
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/20 ...
- javaEE中config.properties文件乱码解决办法
http://jingyan.baidu.com/article/ed2a5d1f3381d709f6be17f8.html ————————————————————————————————————— ...
- spring无法读取properties文件数据
只讲述异常点,关于怎么配置文件,这里不做说明. 1. controller中无法读取config.properties文件 controller中注入的@Value配置是从servlet-cont ...
- Android中使用java.util.Properties犯的错
今天尝试使用java.util.Properties来保存应用配置,然而遇到了好几个问题,对于熟悉此内容的来说可能都是猪一样的错误,但难免有像我一样的新手再次遇到,希望此文能有所帮助. 错误1 jav ...
- properties属性文件工具类
package xxx.business.utils; import org.apache.commons.configuration.ConfigurationException; import o ...
- Spring用代码来读取properties文件
我们都知道,Spring可以@Value的方式读取properties中的值,只需要在配置文件中配置org.springframework.beans.factory.config.PropertyP ...
随机推荐
- 使用jstack排查线程问题
以一个例子来演示排查服务器cpu占用率过高的问题. 准备 将下面的代码文件上传到服务器上,然后使用javac编译,并使用java命令将程序跑起来. public class JStackCase { ...
- JSP项目中使用ueditor(百度编辑器)
1. 从http://ueditor.baidu.com下载JSP版本的ueditor,注意GBK和UTF-8两种版本. 2. 在Web Project项目的WebRoot目录下新增thirdpart ...
- Tab选项卡 自动切换效果js实现
try.html <!DOCTYPE html> <html> <head> <meta charset="utf-8"> < ...
- 【学习笔记】整体二分(BZOJ2738矩阵乘法)
也是因为一道题才来学的... 然后就发现这道模板貌似是暑假初期在某校集训的时候的比赛题 并且好像没改= = 前置芝士 1.二分= = * CDQ分治[你要是知道CDQ分治的话这玩意就很好理解啦] *本 ...
- vue项目中axios的封装和使用
一.axios的功能特点 在浏览器中发送 XMLHttpRequests 请求 在 node.js 中发送 http请求 支持 Promise API 拦截请求和响应 转换请求和响应数据 支持多种请求 ...
- hdu 1451 Area in Triangle(计算几何 三角形)
Given a triangle field and a rope of a certain length (Figure-1), you are required to use the rope t ...
- 企业资源计划(ERP)
ERP(企业资源计划)一般指企业资源计划(ERP) 物资资源管理(物流).人力资源管理(人流).财务资源管理(财流).信息资源管理(信息流) 信息技术在企业管理学上的应用可分做如下发展阶段:A. MI ...
- xshell如何传输文件【转】
1.打开xshell工具,连接到服务器. 2.yum安装一款工具. #yum install lrzsz -y 3.检查是否安装成功. #rpm -qa |grep lrzsz 4.上传文件的执行命 ...
- Linux sudo 详解
简单的说,sudo 是一种权限管理机制,管理员可以授权于一些普通用户去执行一些 root 执行的操作,而不需要知道 root 的密码.严谨些说,sudo 允许一个已授权用户以超级用户或者其它用户的角色 ...
- hdu 5517 Triple
题目链接 http://acm.hdu.edu.cn/showproblem.php?pid=5517 ------------------------------------------------ ...