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 |   70 +++++++++++++++++++++++-----------
 1 files changed, 47 insertions(+), 23 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 a0441fb..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: ${spring.profiles.active}
+        namespace: @profiles.active@
         group: DEFAULT_GROUP # 使用的 Nacos 配置分组,默认为 DEFAULT_GROUP
         metadata:
           version: @nacos.metadata.version@ # 服务实例的版本号,可用于灰度发布
       config: # 【注册中心】配置项
-        namespace: ${spring.profiles.active}
+        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: # 多租户相关配置项
@@ -177,26 +178,49 @@
       - 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_item
-      - t_ind_item_atom
+      - t_dm_module
+      - t_dm_module_item
+      - t_mm_item_output
+      - t_mm_item_result
+      - t_mm_item_type
+      - t_mm_model_arith_settings
+      - t_mm_model_param
+      - t_mm_model_resultstr
+      - t_mm_predict_item
+      - t_mm_predict_merge_item
+      - t_mm_predict_model
+      - t_mm_result_table
+      - t_mm_item_result_json
+      - t_mm_item_result_last_point
+      - 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
+      - t_st_schedule_model_setting
+      - 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: data
+    app-key: model
     app-secret: 85b0df7edc3df3611913df34ed695011
     core-host: 127.0.0.1
 

--
Gitblit v1.9.3