server: servlet: context-path: /exchange session: timeout: PT2H encoding: charset: UTF-8 force: true enabled: true port: 8081 spring: application: name: gsl_exchange datasource: driver-class-name: dm.jdbc.driver.DmDriver url: jdbc:dm://10.8.11.164:3307/GSLEXCHANGE username: GSLEXCHANGE password: GSLEXCHANGE # driver-class-name: com.mysql.cj.jdbc.Driver # url: jdbc:mysql://127.0.0.1:3306/gslexchange?useUnicode=true&characterEncoding=utf-8&useSSL=false&serverTimezone=GMT%2B8 # username: root # password: 123456 type: com.zaxxer.hikari.HikariDataSource hikari: maximum-pool-size: 1000 #最大连接数,默认值10. minimum-idle: 200 #最小空闲连接,默认值10. connection-timeout: 60000 #连接超时时间(毫秒),默认值30秒. #空闲连接超时时间,默认值600000(10分钟),只有空闲连接数大于最大连接数且空闲时间超过该值,才会被释放 #如果大于等于 max-lifetime 且 max-lifetime>0,则会被重置为0. idle-timeout: 600000 max-lifetime: 3000000 #连接最大存活时间,默认值30分钟.设置应该比mysql设置的超时时间短 connection-test-query: select 1 #连接测试查询 jackson: date-format: yyyy-MM-dd HH:mm:ss time-zone: GMT+8 serialization: write-dates-as-timestamps: false # thymeleaf: # prefix: classpath:/templates/pages/ # suffix: .html # mode: HTML5 # encoding: UTF-8 # cache: false # servlet: # content-type: text/html web: resources: static-locations: classpath: # 图片上传 servlet: multipart: # 单文件上传限制10M max-file-size: 10MB # 多文件上传限制10M max-request-size: 10MB activemq: #activemq的url broker-url: failover://tcp://10.8.8.104:7043 #用户名 user: nmgsl #密码 password: EtDRPjdSVU queue-name: trs_nmgsl pool: enabled: false #是否使用线程池 max-connections: 100 #最大连接数 #是否信任所有包 packages: trust-all: true #默认情况下,activemq使用的是queue模式,如果要使用topic模式,必须设置为true jms: pub-sub-domain: true # Mybatis-plus mybatis-plus: mapper-locations: classpath*:mapper/*.xml #log-impl: org.apache.ibatis.logging.stdout.StdOutImpl logging: # 输出级别 level: root: info org.springframework.web: INFO com.github.binarywang.demo.wx.mp: DEBUG me.chanjar.weixin: DEBUG file: # 指定路径 path: exchange-logs # 最大保存天数 max-history: 7 # 每个文件最大大小 max-size: 10MB gsl: keyUrl: http://10.8.8.104:7041/datahub/external/api/getMD5 requestUrl: http://10.8.8.104:7041/datahub/external/api/request key: RSCxZ5zN4z7cP3LVQebhcZGO/PcONtYm uid: mongolia_api fileURL: /TRS/dataexchange/file/ ftp: host: 10.8.8.104 port: 7042 username: nmgsl password: EtDRPjdSVU targetUrl: /data/trs_cust/data/ENT fileURL: /TRS/dataexchange/file/ # 三个任务的定时器配置 timer: cron116: 0 0 1 ? * 1 cron5000: 0 0 1 ? * 2 cronFTP: 0 59 23 L * ?