dengzedong
2024-12-24 76743b009ca5ea67557fcab597b332f8d1947813
iailab-module-model/iailab-module-model-biz/src/main/resources/application.yml
@@ -1,3 +1,4 @@
--- #################### 注册中心 + 配置中心相关配置 ####################
spring:
  application:
    name: model-server
@@ -11,12 +12,12 @@
      username: @nacos.username@
      password: @nacos.password@
      discovery: # 【配置中心】配置项
        namespace: test
        namespace: @profiles.active@
        group: DEFAULT_GROUP # 使用的 Nacos 配置分组,默认为 DEFAULT_GROUP
        metadata:
          version: @nacos.metadata.version@ # 服务实例的版本号,可用于灰度发布
      config: # 【注册中心】配置项
        namespace: test
        namespace: @profiles.active@
        group: DEFAULT_GROUP # 使用的 Nacos 配置分组,默认为 DEFAULT_GROUP
  main:
@@ -57,7 +58,7 @@
logging:
  file:
    name: @log.path@/logs/${spring.application.name}.log # 日志文件名,全路径
    name: @log.path@/iailab-model/log/${spring.application.name}.log # 日志文件名,全路径
  level:
    org:
      springframework:
@@ -157,8 +158,8 @@
    admin-ui:
      url:  # Admin 管理后台 UI 的地址
  swagger:
    title: 数据采集
    description: 数据采集
    title: 模型管理
    description: 模型管理
    version: ${iailab.info.version}
    base-package: ${iailab.info.base-package}
  tenant: # 多租户相关配置项
@@ -192,8 +193,10 @@
      - t_mm_item_result_json
      - t_mm_item_result_last_point
      - t_mm_item_accuracy_rate
      - t_mm_item_accuracy_his
      - t_mm_predict_alarm_config
      - t_mm_predict_alarm_message
      - t_mm_sequence_num
      - t_st_schedule_scheme
      - t_st_schedule_model
      - t_st_schedule_model_param
@@ -201,6 +204,22 @@
      - t_st_schedule_suggest
      - t_st_schedule_record
      - t_st_schedule_record_detail
      - t_mpk_file
      - t_mpk_generator_code_history
      - t_mpk_method_setting
      - t_mpk_model_method
      - t_mpk_project
      - t_mpk_project_model
      - t_mpk_project_package_history
      - t_mpk_project_package_history_model
      - t_mpk_setting_select
      - t_mpk_icon
      - t_mpk_file_menu
      - t_mpk_file_group
      - t_chart_param
      - t_chart
      - t_mpk_pack
      - t_mm_item_status
  app:
    app-key: model
    app-secret: 85b0df7edc3df3611913df34ed695011