Jay
2024-10-08 79914dabac38d83676ea16ff65da8d941a099285
iailab-module-data/iailab-module-data-biz/src/main/resources/application.yml
@@ -58,6 +58,12 @@
logging:
  file:
    name: @log.path@/logs/${spring.application.name}.log # 日志文件名,全路径
  level:
    org:
      springframework:
        boot:
          autoconfigure:
            logging: info
--- #################### 接口文档配置 ####################
@@ -68,7 +74,7 @@
  swagger-ui:
    enabled: true # 2.1 是否开启 Swagger 文档的官方 UI 界面
    path: /swagger-ui.html
  default-flat-param-object: true # 参见 https://doc.xiaominfo.com/docs/faq/v4/knife4j-parameterobject-flat-param 文档
  default-flat-param-object: true
knife4j:
  enable: true
@@ -140,15 +146,6 @@
    listener:
      missing-topics-fatal: false # 消费监听接口监听的主题不存在时,默认会报错。所以通过设置为 false ,解决报错
--- #################### 定时任务相关配置 ####################
xxl:
  job:
    executor:
      appname: ${spring.application.name} # 执行器 AppName
      logpath: @log.path@/logs/xxl-job/${spring.application.name} # 执行器运行日志文件存储磁盘路径
    accessToken: default_token # 执行器通讯TOKEN
--- #################### 平台相关配置 ####################
@@ -158,23 +155,55 @@
    base-package: com.iailab.module.data
  web:
    admin-ui:
      url: http://dashboard.iailab.iocoder.cn # Admin 管理后台 UI 的地址
      url:  # Admin 管理后台 UI 的地址
  swagger:
    title: 数据采集
    description: 数据采集
    version: ${iailab.info.version}
    base-package: ${iailab.info.base-package}
  tenant: # 多租户相关配置项
    enable: false
#    ignore-urls:
#    ignore-tables:
    enable: true
    ignore-tables:
      - qrtz_blob_triggers
      - qrtz_calendars
      - qrtz_cron_triggers
      - qrtz_fired_triggers
      - qrtz_job_details
      - qrtz_locks
      - qrtz_paused_trigger_grps
      - qrtz_scheduler_state
      - qrtz_simple_triggers
      - qrtz_simprop_triggers
      - qrtz_triggers
      - schedule_job
      - schedule_job_log
      - t_channel_kio_device
      - t_channel_kio_tag
      - t_channel_modbus_device
      - t_channel_modbus_tag
      - t_channel_opcda_device
      - t_channel_opcda_tag
      - t_channel_opcua_device
      - t_channel_opcua_tag
      - t_da_math_point
      - t_da_measure_point
      - t_da_point
      - t_da_point_value
      - t_da_sequence_num
      - t_http_api
      - t_http_tag
      - t_http_token
      - t_ind_data_set
      - t_ind_data_set_field
      - t_ind_item_category
      - t_ind_item
      - t_ind_item_atom
      - t_ind_item_der
      - t_ind_item_cal
  app:
    app-key: data
    app-secret: 85b0df7edc3df3611913df34ed695011
    core-host: 127.0.0.1
# Open Automation Data Platform
oadp:
  config-gui-data:
    configinfo: /api/v1/configinfo
  tags:
    get-tags: /api/v1/tags
    tags-values: /api/v1/tags/values
debug: true