zr-schsf-develop.yml 3.17 KB
server:
  port: 8071
mybatis-plus:
  mapper-locations:
    - classpath*:mapper/**/*Mapper.xml
  type-aliases-package: com.chinagas.modules.schsf.entity,com.chinagas.api.schsf.domain
  configuration:
    log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
    log-prefix: SQL
#logging:
  #level:
    #root: warn
spring:
  redis:
    host: 172.17.56.37
    port: 6379
    #password: gas*123456
    database: 0
    timeout: 30000
  datasource:
    dynamic:
      primary: zrcloud
      druid:
        #初始化时建立的连接数
        initialSize: 1
        #最小连接池数量
        minIdle: 1
        #最大连接池数
        maxActive: 20
        # 配置获取连接等待超时的时间
        maxWait: 60000
        # 配置间隔多久才进行一次检测,检测需要关闭的空闲连接,单位是毫秒
        timeBetweenEvictionRunsMillis: 60000
        # 配置一个连接在池中最小生存的时间,单位是毫秒
        minEvictableIdleTimeMillis: 300000
        # 配置一个连接在池中最大生存的时间,单位是毫秒
        maxEvictableIdleTimeMillis: 900000
        # 配置检测连接是否有效
        validationQuery: SELECT 1 FROM DUAL
        testWhileIdle: true
        testOnBorrow: false
        testOnReturn: false
        webStatFilter:
          enabled: true
        statViewServlet:
          enabled: true
          # 设置白名单,不填则允许所有访问
          allow:
          url-pattern: /druid/*
          # 控制台管理用户名和密码
          #login-username: root
          #login-password: 7614
        filter:
          stat:
            enabled: true
            # 慢SQL记录
            log-slow-sql: true
            slow-sql-millis: 1000
            merge-sql: true
          #防御sql注入
          wall:
            config:
              multi-statement-allow: true
      datasource:
        zrcloud:
          url: "jdbc:mysql://xxxxxx:xxxxxxxxxx/xxxxxxxxx?useUnicode=true&characterEncoding=utf8&useSSL=false&allowPublicKeyRetrieval=true"
          username: xxxxx
          password: xxxxxxxx
          driverClassName: com.mysql.cj.jdbc.Driver
        ysentity:
          url: "jdbc:oracle:thin:@vm3-scan.chinagasholdings.com:1521/DEVEBS"
          username: ZRCLOUD
          password: cg#Hpm230131
          driverClassName: oracle.jdbc.driver.OracleDriver

SOA:
  username: "OSB_PRD_ZRCLOUD"
  password: "ZrcdPrdCkvj#36"
  systems:
    mdm:
      url: "http://soa.chinagasholdings.com:7011/services"
      operations: "{getPubIntfApi:'2F05002000001'}"

user:
  defaultPassword: Gas#123456789
  defaultRole: 2



minio:
  endpoint: http://172.17.56.37:9000
  accessKey: minioadmin
  secretKey: minioadmin
  bucket: miniotest

dingtalk:
  corpId: dingf2f9115915afcb54a39a90f97fcb1e09
  agentId: 3129896987
  appKey: dingplin6zezdw81rqjd
  appSecret: urDzarTDCpo6A7nJfPiGUJRTGY8O-JO0pvDl0O6wm3Eih6zL92hDdThIdmeKUh2C
  callbackUrlHost:
  token: 123456
  encodingAesKey: abcdefghijabcdefghijabcdefghijabcdefghij123
  oapiHost: https://oapi.dingtalk.com
  deleteCallback: https://oapi.dingtalk.com/call_back/delete_call_back
  registerCallback: https://oapi.dingtalk.com/call_back/register_call_back
  oaBackgroundUrl:
  ssoSecret: