From a13dc8843bbf54dacca27254000865a539a87231 Mon Sep 17 00:00:00 2001
From: 潘志宝 <979469083@qq.com>
Date: 星期三, 13 十一月 2024 09:15:55 +0800
Subject: [PATCH] 预测项调用问题修复

---
 iailab-module-model/iailab-module-model-biz/src/main/resources/application.yml |   26 ++++++++++++++++++++++----
 1 files changed, 22 insertions(+), 4 deletions(-)

diff --git a/iailab-module-model/iailab-module-model-biz/src/main/resources/application.yml b/iailab-module-model/iailab-module-model-biz/src/main/resources/application.yml
index 983a693..61cdbda 100644
--- a/iailab-module-model/iailab-module-model-biz/src/main/resources/application.yml
+++ b/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:
@@ -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: # 多租户相关配置项
@@ -194,6 +195,7 @@
       - t_mm_item_accuracy_rate
       - 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 +203,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

--
Gitblit v1.9.3