bootdo:
  uploadPath: C://Users/Fangx/work/cicdebserver/res/
  encPrival: C://Users/Fangx/work/sm2/sm2_client_enc_private.key
  crtPrival: C://Users/Fangx/work/sm2/sm2_client_enc_cert.crt
  licensePath: C://Users/Fangx/work/sm2/license.lic
#  uploadPath: /home/yangshuaifeng/SJMLBA/res
#  encPrival: /home/yangshuaifeng/SJMLBA/sm2/sm2_client_enc_private.key
#  crtPrival: /home/yangshuaifeng/SJMLBA/sm2/sm2_client_enc_cert.crt
#  licensePath: /home/yangshuaifeng/SJMLBA/sm2/license.lic
  username: test
  password: 111111

# 管理员和工细部ID
managerValue: 6,19,43

logging:
  level:
    org.apache.ibatis.logging: debug
  config: classpath:logback-spring.xml
spring:
  datasource:
    type: com.alibaba.druid.pool.DruidDataSource
    driverClassName: com.mysql.jdbc.Driver
    url: jdbc:mysql://127.0.0.1:3306/cic_data?useUnicode=true&characterEncoding=utf8&useSSL=false&allowPublicKeyRetrieval=true
    username: root
    password: Sudyw@1123##
    initialSize: 1
    minIdle: 3
    maxActive: 20
    # 配置获取连接等待超时的时间
    maxWait: 60000
    # 配置间隔多久才进行一次检测，检测需要关闭的空闲连接，单位是毫秒
    timeBetweenEvictionRunsMillis: 60000
    # 配置一个连接在池中最小生存的时间，单位是毫秒
    minEvictableIdleTimeMillis: 30000
    validationQuery: select 'x'
    testWhileIdle: true
    testOnBorrow: false
    testOnReturn: false
    # 打开PSCache，并且指定每个连接上PSCache的大小
    poolPreparedStatements: true
    maxPoolPreparedStatementPerConnectionSize: 20
    # 配置监控统计拦截的filters，去掉后监控界面sql无法统计，'wall'用于防火墙
    filters: stat,wall,slf4j
    # 通过connectProperties属性来打开mergeSql功能；慢SQL记录
    connectionProperties: druid.stat.mergeSql=true;druid.stat.slowSqlMillis=5000
    # 合并多个DruidDataSource的监控数据
    #useGlobalDataSourceStat: true
    stat-view-servlet:
      url-pattern: "/druid/*"
      allow:
      deny:
      reset-enable: false
      login-username: admin
      login-password: admin
  redis:
    host: localhost
    port: 6379
    password:
    # 连接超时时间（毫秒）
    timeout: 10000
    jedis:
      pool:
        # 连接池中的最大空闲连接
        max-idle: 8
        # 连接池中的最小空闲连接
        min-idle: 10
        # 连接池最大连接数（使用负值表示没有限制）
        max-active: 100
        # 连接池最大阻塞等待时间（使用负值表示没有限制）
        max-wait: -1

# 第三方sso配置
third-part-sso:
  # sso 开关 打开后 本系统登陆会跳至第三方sso
  switch-flag: false
  # 是否直接获取用户名 将跳过通过token再次去获取用户详情 而是直接使用获取token时获取的用户名
  directly-username: false
  # 客户端id
  client-id: records
  # 客户端秘钥
  client-secret: records
  # 本系统重定向地址
#  system-redirect-url: http://10.10.102.83:18004/sso/indexPage
  system-redirect-url: http://10.10.105.9:18004/sso/indexPage
  # 第三方sso登陆地址
  sso-redirect-url: http://10.10.105.6
  # 获取sso token url
  token-url: http://10.10.105.6:3000/oauth/token?grant_type=authorization_code&client_id=%s&client_secret=%s&redirect_uri=%s&code=%s
  # 根据token获取用户详情url
  user-url: http://10.10.105.6/admin/user/user
  # 登出sso通知地址
  loginout-url: http://10.10.105.6/auth/token/logout
  # 本体统默认接受未授权用户默认部门id
  push-dept-id: 136

# ca 证书配置
ca:
  # cert 文件路径
  file-path: C://Users/Fangx/work/ca
  # 信长城服务地址
  ra-url: http://1.202.72.10:18084/ra/pki/api/v1
  # ra授信平台id
  platform-id: d90352e30bd5427e93bd988304dcf4a4
  # ra证书模板id
  template-id: 92ecdb527da24bd782f60c1a7d6120fc
  # 通信服务器私钥
  server-private-key: MIIEvgIBADANBgkqhkiG9w0BAQEFAASCBKgwggSkAgEAAoIBAQDX3tL+vCqL6seOD3ztu+ypMZh92zEIWB8yFrLJo77riG7Nq95+QtIRBzh+Rh3Z5V+ebgr0TCuKykfH/cp9PbYoIz6/qyQm6jMKyUP/eOdFZIu0yX7sH3mpYjwO8FSUgYp/QBd6TtUuWL+JuDDLb9R0ZPJ4z0d234hv3l4o/ILG+QkORrEUyXBLrAJf4GVQyMYGOQPkbtTiusgsemL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hy9jH/YsUYA9Jw4+dqkVR0i18PYV05759RFAS/HeGcqUtY0pxjmhgCanRci+ddxvc0XbmKnnf4MTbrea40+o1EAh9+yTSLH9g1qZUNeOhAoGBAIAcRzlzQiM1ypeM1uNaJsgH+F966mbs2w8PiH+NnnpwOWjNNw/cubHXUVABh+g85q+3lw9mFd5cTjmUyYlCKm2rCx3ap5ggzTuSBKrI3d6cR1kI3bm8xnn7A/Wa99lBFiKXNBirCRmt4LP65l+k9JT/wFHZgPpRQBmK4ViGchSW
  # 通信服务器公钥
  server-public-key: MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA197S/rwqi+rHjg987bvsqTGYfdsxCFgfMhayyaO+64huzavefkLSEQc4fkYd2eVfnm4K9EwrispHx/3KfT22KCM+v6skJuozCslD/3jnRWSLtMl+7B95qWI8DvBUlIGKf0AXek7VLli/ibgwy2/UdGTyeM9Hdt+Ib95eKPyCxvkJDkaxFMlwS6wCX+BlUMjGBjkD5G7U4rrILHpi4NFzXQSohHrgqtiDF61RcxUMEzJMuV9CckmDbSuUamYnIQ/6JXO5zkiLtGsQZIZpLOin/+AcbEy4FQ24j9QOL0Lsd0ST8Y28ro10whXqcqoiAShwVBjP8Mr41FaVfl0uwvAgHQIDAQAB

#允许http api调用的IP
api-allow-ip: 127.0.0.1