#服务器端口
server:
  port: 8502

#数据源配置
spring:
  main:
    allow-bean-definition-overriding: true
  profiles:
    active: dev
  #排除DruidDataSourceAutoConfigure
  autoconfigure:
    exclude: com.alibaba.druid.spring.boot.autoconfigure.DruidDataSourceAutoConfigure
  datasource:
     url: jdbc:mysql://175.6.40.67:5816/dev_hzims_operation?useSSL=false&useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull&transformedBitIsBoolean=true&tinyInt1isBit=false&allowMultiQueries=true&serverTimezone=GMT%2B8&nullCatalogMeansCurrent=true&allowPublicKeyRetrieval=true
     username: root
     password: 123
  redis:
    ##redis 单机环境配置
    host: 175.6.40.67
    port: 5814
    password:
    database: 0
    ssl: false
  cloud:
    config:
      allow-override: true
      override-none: true
      override-system-properties: true
    nacos:
      discovery:
        server-addr: 175.6.40.67:3301
      config:
        server-addr: 175.6.40.67:3301
    inetutils:
      preferred-networks: 10.8.0.6


xxl:
  job:
    accessToken: ''
    admin:
      addresses: http://175.6.40.67:3579//xxl-job-admin
    executor:
      appname: hzims-operational
      ip: 10.8.0.6
      logpath: /data/applogs/xxl-job/jobhandler
      logretentiondays: -1
      port: 28501

#mybatis-plus配置
mybatis-plus:
  mapper-locations: classpath:com/hnac/hzims/**/mapper/*Mapper.xml
  #实体扫描,多个package用逗号或者分号分隔
  typeAliasesPackage: com.hnac.hzims.**.entity
  configuration:
    log-impl: org.apache.ibatis.logging.stdout.StdOutImpl

#swagger扫描路径配置
swagger:
  base-packages:
    - org.springbalde
    - com.hnac

hzims:
    alert:
      # 接收告警的websocket url
      ws-url: wss://175.6.40.67:9300/api/hzinfo-data-socket/websocket/soe
    pdf:
      # pdf文件存储路径,请配置绝对路径
      #file-path: /data/inspect/pdf/file
      file-path: D:/data/hzinfo/file # windows
     # 消息推送存入redis的key值
    operation:
      task:
        templateCode:
          maintenance:
            taskDispose: aliyun-maintenace-task-dispose
        # 消息推送code
        jgPushCode: hzims-operational

category:
    id: 1384429129110360065

sanya:
  one: 2000000101001001001
  tow: 2000000101001001002
  hoop: 2000000101001001003

defect:
  #   超时自动甄别时间间隔:单位(小时)
  discriminateDeadline: 1
  #   默认计划工时:单位(小时)
  defaultPlanHoure: 8

blade:
  data-scope:
    enabled: false
  lock:
    enabled: true
    address: redis://175.6.40.67:5814
    password:
    database: 0
    ssl: false