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 ...
随机推荐
- python2和python3同时存在电脑时,安装包时的的命令行
若是在Python2中使用pip操作时,用pip2或是pip2.7相关命令. 例:给Python2安装selenium,在cmd中输入 pip2 install selenium 或是 pip2.7 ...
- python的main函数
代码示例:test.py import sys if __name__ == '__main__' size = len(sys.argv) p1 = sys.argv[] p2 = sys.argv ...
- StatefulWidget 有状态组件
在 Flutter 中自定义组件其实就是一个类,这个类需要继承 StatelessWidget/StatefulWidget: StatelessWidget 是无状态组件,状态不可变的 widget ...
- JAVA(JDK,JRE)更改目录安装及环境变量配置
重温一下 JAVA(JDK,JRE)更改目录安装及环境变量配置 https://jingyan.baidu.com/article/e2284b2b5b7ae5e2e7118d11.html 备注:随 ...
- 树结构遍历节点名字提取,这里提取的是el-tree数据结构,封装成函数
/** * 树形数据提取节点 * @param {*} data */ export function treeDataGetnode (data) { var res = [] var child= ...
- CTF | bugku | 字符?正则?
做题链接 一个详细讲正则的网址1 一个详细讲正则的网址2 代码如下 <?php highlight_file('2.php'); $key='KEY{********************** ...
- windows防火墙批量开放端口
windows自带的防火墙没有增加端口范围的功能,这让一些常见的配置变得非常麻烦(比如FTP被动模式下,就需要在防火墙上开启端口范围),经过查询资料,使用以下cmd批处理内容,即可增加端口范围: ec ...
- python中的open()函数
定义: python open() 函数用于打开一个文件,创建一个 file 对象,相关的方法才可以调用它进行读写 参数: 模式 描述 r 以只读方式打开文件.文件的指针将会放在文件的开头.这是默认模 ...
- python的map、reduce和filter(过滤器)函数(廖雪峰老师python基础)
1.map 语法: map(func,Iterable) map()函数接收两个参数,一个是函数,一个是Iterable,map将传入的函数依次作用到序列的每个元素,并把结果作为新的Iterator返 ...
- day 107radis非关系型数据库
http://www.cnblogs.com/wupeiqi/articles/5132791.html 参考邮件. radis : 1. NoSql 2. 缓存在内存中 3.支持数据持久化 二. ...