application-uat.yml 2.09 KB
spring:
  datasource:
    jndi-name: jdbc/icleartwDS
  profiles:
    #系统环境
    env: uat

allocation:
  nodeId: 1

export:
  mail:
    smtp:
      host: mapper.gslb.fedex.com
      port: 25
    needauth: true
    proxy:
      startFlag: true
      host: sg2-proxy.apac.fedex.com
      port: 3128
    mailAccountFlag: false
#  propertyPath:
#    redis: /opt/fedex/exporttw/redis/export-redis.properties
  language: zh_TW
  task:
    allocation:
      #定时重发送申报信息邮件
      sendDeclareInfoMail: 0 0/5 * * * ?
      #定时获取邮件发送结果回执(读取html界面)
      readHtmlReceipt: 0 0/3 * * * ?
      #定时任务处理邮件回执超时
      receiptTimout: 0 0/3 * * * ?
      #同步HTML结果到Declare
      syncHtmlToDeclare: 0 0/1 * * * ?
      #CE晚来数据补偿发送邮件
      ceCompensate: 0 0/5 * * * ?
      #EDD邮件或者清关组邮件,每一小时轮巡监控超过10票失败,发送预警邮件
      warningEmail: 0 0 0/1 * * ?
      #进口预清关补偿发送邮件(发送失败的邮件补偿发送)
      ceLogCompensate: 0 0/10 * * * ?
      #kafka补偿定时任务
      kafkaRetry: 0 0/1 * * * ?
      #推送ob zip包文件任务
      sendOb: 0 0/1 * * * ?
      #推送ob zip包文件异常重试任务
      sendObRetry: 0 0/3 * * * ?
      #定时清理文件夹
      clearFolders: 0 0 01 * * ?
url:
  proxy_hostname: sin-proxy.apac.fedex.com
  mailHtmlReceipt: http://155.161.252.18/report/silkConvListRpt/
  baseUrl: https://exportdeclarationuat-tw.apac.fedex.com/IcTw/
  fedex: fedex.png
  line: line.png

rpc:
  url:
    rpcKafkaReceive145: http://ujea0145.nonprod.apac.fedex.com:9001/icleartwkafka/rpcKafka/rpcKafkaReceive
    rpcKafkaReceive146: http://ujea0146.nonprod.apac.fedex.com:9001/icleartwkafka/rpcKafka/rpcKafkaReceive

tw001:
  path:
    #基础路径
    basePath: /var/share/icleartw/TWIMPORT/
    #json生成路径
    work: ${tw001.path.basePath}work/
    #zip输出目录
    final: ${tw001.path.basePath}sftp/Final/
    #备份目录
    bak: ${tw001.path.basePath}BAK/
    #异常目录
    error: ${tw001.path.basePath}ERROR/