---
# System prepended metadata

title: DataConnect DM Release Note
tags: [DataConnect]

---

# DataConnect DM Release Note

## 2.0.5
## [New Feature]
- api-portal
	- add /healthz api
## [Update]
- api-portal
	- API Update
		- query machines 
			- 新增showGroupObject input, showGroupObject:false則不顯示與Group同名的Object
		- query Group.machines 
			- 新增showGroupObject input, showGroupObject:false則不顯示與Group同名的Object 
		- query machines.highLowEvents
			- 與Range Alarm配置同步
- dbcreator
	- machine index migration - 將group下的GroupObject的index設定為0, 其餘依序往後+1

## [Fix] 
- portal
	- [common] 首頁右上3個icon, disable Marketplace & 鈴鐺圖示
	- [common] User profile的cancel按鈕無作用, 改成回上一頁
	- [common] 更改密碼增加密碼規則提示
	- [tenant] Add Tenant 下方 name & password 需隱藏
	- [tenant] 在Switch Tenant功能下方標示當前tenant名稱
	- [Cmdc/Menu List] ”Fail to load the page“ shows under the menu list.
	- [Cmdc/Command Center] "指揮中心“ 翻譯
	- [Cmdc / iApp / Add dialog] 系統設定 > 進階設定 > 顯示語言設定, 文字誤植
	- [alarm] Range alarm沒有變更的狀態下, 按第二次Submit會報錯
	- [alarm] alarm code drawer,formula data source search功能修复
	- [alarm] alarmType值校正，range=1，complex=3，alarmCode=2
	- [alarm] complex symbol2下拉选单加上none并默认选中
	- [Parameter] radio style 跑掉
	- [Parameter] 点击左侧栏tab高亮不回显
	- [Connector] gateways懒加载后search功能修复
	- [Parameter] tags懒加载后search功能修复
	- [Parameter] edit parameter时，切换tag导致data source页面重新渲染问题
	- [general] 翻譯問題修正
	- [User] Account欄位placeholder
- api-portal
	- [alarm] Fix not trigger alarms because not provide correct paramId
	- [alarm] tagalmcfg's tagname filed should be tagname in devicetaginfo
	- [parameter] fix 有多个IO param绑定相同的tag,MQTT almflag发送错误
	- [parameter] 新增Primitive parameter跳出Enum "parameterKind" cannot represent value: "null"的錯誤
	- [token] /refreshtoken 添加IFPToken的刷新
	- [token] /refreshtoken添加sameSite: 'none'
	- [object] 处理machinetype name中带'的问题
	- [alarm config] /alarmcategory/all 根据rootorgid查询

## 2.0.3-beta.1 (20221109)
## [New Feature]
N/A
## [Update]
- api-portal
	- [API] 更新API
		- query.tenantByDashboardOrgId
		- role改由api-portal提供
		- RESTFul api : /orgnode/update/notifysender
- api-dbmaster
	- [API] 更新API
		- 移除role定義
## [Fix] 
- portal
	- #31250 [DM] 新增SCADA/EdgeLink Data Connector時的文字說明有誤
	- 計算點 formula data source選不到自己
	- Query alarm level/category格式修改
- api-portal
	- 修正api-portal環境變數, 增加一組saascomposer_url
	- [DM] Create device時, 自動產生的object命名規則不一致(應該#開頭)
	- Alarm level/category API格式修改
	- 修正第二次加primitive parameter引用iFactory grateway會報錯
- dbcreator
	- PG缺少一個表 ifp_alarmevent造成machine.highLowEvents呼叫失敗

## 2.0.2 (20221014)
## [New Feature]
- Portal
	- [Home] Edge365環境新首頁
	- [Object] 可配置 ObjectType / ObjectType Category
	- [Group] Tenant User進入尚未有權限的Group時, 若檢查權限足夠, 會出現"Join to group"按鈕, 允許把自己加入該Group
		- Tenant User scope中, OrgAclScope.Gmp=manage & OrgAclScope.User=manage
	- [Parameter] 上傳 Alarm Code File & 配置Alarm Code Alarm
 
## [Update]
- Portal
	- [CMDC] 優化loading Dashboard / Menu management畫面
	- [Home] Banner APP下拉選單, 顯示 Data Management / User Management / Command Center版號
	- [Group] Group tree若登入用戶沒權限, 會顯示disable無法點擊
	- [User] 在Group直接新增非Tenant User時, 預設給該Us的Tenant Role = "Viewer"
## [Fix] 
- Tenant Service
	- [#30883] 在Tenant Management去編輯Tenant會出現error
- Portal
	-	[Data Connector] device tag若被object parameter綁定, 仍可以刪除device
		-	修正為不允許刪除 & 跳出錯誤訊息
		- 支援的Connector Type
			- ADAM
			- WISE
			- UNO
			- TPC
			- WebAccess (WISE-PaaS MQTT)
			- Edgelink
	- [Parameter] 修复第一次编辑formula时自动跳到Basic info的问题
	- [#30972] [Tenant User] disable tenant user後，登入的訊息內容有誤
	- [#30970] [DM] Advanced Settings新增語言會出現錯誤畫面
	- [#30929] [DPM] 新增相同MAC address設備時出現的提示訊息建議修改
	- [#30913] [Login] 輸入錯誤密碼後的提示訊息不明確
	- [#30882] 新增tenant後，再點switch tenant，tenant list沒有出現剛剛新增的tenant
	- [#30832] [DM] 新增object頁面的Object type欄位下拉選單展開後無內容
	- [#30803] [UI] 進人指揮中心的標題顯示錯誤
	- [#30875] [DM] 在discrete parameter設定status，刪除button格式沒置中
	- [#30862] [DM] 在Data connectors內的入站連接器清單，排序功能異常
	- [#30860] [DM] Alarm啟用/關閉圖示異常
	- [#30859] [DM] 新增設備參數頁面部分內容未翻譯
	- [#30857] [DM] 新增參數時選擇"Add from parameter profile"沒有反應
	- [#30856] [DM] 在object裡面按+新增parameter時，無法取消選單動作
	- [#30844] [DM] 在User Management對group增加User，role權限是viewGroup，save後，使用剛剛增加的user登錄後卻可以看到所有group的資料
	- [#30728] 從object management快速切換到user management/Command Center失敗
- api-portal
	- [#30843][DM] User Management增加Tenant Users，role權限是admin，save後，但group usuer卻沒自動加入
	- [#30709] 在Account Settings/User Profile，修改name後，按save會出現error
	- [#30948] [Data connectors] 可以新增相同MAC address的Edgelink設備
	- [#30867] [DM] 察看"隨著Org建立時自動產生的Object"內容為空
	- [#30846][#30845] api-portal發送mqtt 通知 "objAdd" 格式錯誤
	- [#30831] [DM] 新增child group失敗後，無法再建立同名child group
	- [#30821] [DPM] 編輯uno-ching這台設備，save後沒有跳出成功訊息，也沒失敗訊息，F12有看到error 
	- [#30818] [DM] 新增一個設備點，然後點選設備點，會出現error
	- [#30813] [DM] 在Data connectors新增SCADA - WISE-PaaS MQTT，但連線資訊不足，無法上傳成功
	- [#30809] [DPM] 新增parameter會出現out of range錯誤	
	- [#30726] DPM有上傳設備，但增加primitive parameter在設定data source卻沒資料可以綁定
- api-alarm
	- [#30817] [DPM] 設定parameter的Alarm/Event條件後，實際值有符合觸發條件但沒有觸發
	- [#30804] [DPM] 進到Event的History界面會出現get his alarm by device id failed錯誤訊息
- api-dbmaster
	- [#30847] [DM] graph panel無法看到rawdata
- evaluator
	- [DM] calculation tag運作異常


---
## 2.00.001-beta.4 (20220921)
### [Update]
#### - Portal
- [Common] update signIn and signUp ui (by shouche)
#### - api-portal
- [User] 補上 TenantUser.tenant

### [Fix]
#### - Portal
- [User] +Tenant User按鈕不起作用
#### - api-portal
- [gateway + tags] 修正dcGateways + dcTags呼叫時的performance issue
#### - dbmaster
- [GraphQL] group Id不存在, 卻回傳了group帶空字串 (應返回錯誤)

## 2.00.001-beta.3 (20220919)

### [Update]
#### - Portal
- [Inbound] 依據role中inoutbound的scope決定是否顯示add/edit/delete按鈕 (只有manage才顯示)
- 隱藏未開發完成的UI介面
	- [Group page] Hide search, filter, pagination, activity
	- [Object page] Hide search, filter, pagination, activity
	- [Tenant Users page] Hide search, filter, pagination, details, activity.
	- [Group Users page] Hide search, filter, pagination, details, activity
	- [inbound page] Hide details, activity.
	- [Roles] Hide the Add button.
#### - dbmaster
- [GraphQL] ObjectList - add objectTypeID

### [Fix]
#### - Portal
- [Parameter] 修正parameter為空時, 新增按鈕不顯示的問題
- [Parameter] datasource點加號時, 高亮藍色框, 且不可手動編輯文字
- [Group] 綁定iFactory connector的Group應該不可被刪除
- [Inbound] 加大Azure connection string顯示框, 避免太常顯示不下的問題
- [Inbound] 點選連線資訊中的MQTT Broker複製按紐, 卻複製了Port number
#### - api-portal
- [pg] 修正未釋放session造成連線失敗
- [pg] PG connection pool限制50
- [Inbound Connector] 修正沒有正確顯示online or offline
- [Connector] Delete Edgelink error in AKS
- [User] 已存在的SSO User首次被加入系統時, 沒有加入Root Tenant User中
#### - dbmaster
- [GraphQL] taginfo isnum always false
## 2.00.001-beta.2 (20220916)
### [New]
#### - Portal
- [Inbound Connector] 新版UI設計, 整合dcGateway CRUD APIs
    - Edge Software
        - Edgelink - WISE-PaaS MQTT
- [Inbound Connector] Connector列表顯示
    - 可顯示連線資訊
        - Edgelink - WISE-PaaS MQTT

### [Update]
#### - Portal
- [Parameter] Primitive Parameter支援綁定DPM device類型
    - SCADA - WISE-PaaS MQTT
    - Edgelink - WISE-PaaS MQTT
    - ADAM
    - WISE
    - UNO
    - TPC
- [Parameter] 暫時停用Alarm Code Alarm功能
#### - api-portal
- [Connector] dcGateway API支援 DcEdgelink顯示mqtt username & password
- [Common] DcSystemInfo API 補上 mqttsPort


### [Fix]
#### - Portal
- [Parameter] 修正Alarm / Event功能的UI Bug
- [Common] 修正loading樣式無反應
#### - api-portal
- [alarm] not change almflag status cause alarm not enabled
- [tag] dcGateway's tagid 重複
- [User] 新增user->新增SaaS Composer user報錯卻沒處理, 造成新增user失敗

## 2.00.001-beta.1 (20220913)
### [New]
#### - Portal
- [Parameter] 新增alarm / event分頁 (還有頁面問題, 先不要用)
    - Range Alarm
    - Complex Alarm
    - Alarm Code Alarm (Parcially complete)
- [Inbound Connector] 新版UI設計, 整合dcGateway CRUD APIs 
    - iFactory
        - Edgelink - WebAccess MQTT
        - SCADA - WebAccess MQTT
        - iFactory Connector
    - Edge Software
        - SCADA - WISE-PaaS MQTT
- [Inbound Connector] Connector列表顯示
    - 可於列表顯示DPM支援的Devices
        - ADAM / WISE / UNO / TPC
        - SCADA - WISE-PaaS MQTT
        - Edgeline - WISE-PaaS MQTT
    - 可顯示連線資訊
        - Edgelink - WebAccess MQTT 
        - SCADA - WebAccess MQTT 
        - iFactory Connector 
        - SCADA - WISE-PaaS MQTT
#### - api-portal
- [GraphQL] 新增dcTag相關APIs
    - get dcTag by tagId
    - get dcTags
    - get dcTags by searchTagId
    - get dcTags by valueType
- [GraphQL] 新增query Alarm level / Alarm Category
- [SC] update sync saascomposer
    - 新增tenant用户会主动加入SC
    - 把user加入group会同时加入SC org
- [Connector] 新增dcEdgelink的方式與DPM同步

### [Update]
#### - Portal
- [Parameter] 點擊Parameter List的刪除icon, 可刪除parameter

#### - api-portal
- [User] 新增一個User為Tenant Admin權限時, 同時將該User加入該Tenant的root group&所有子group


#### - dbmaster
- [GraphQL] 修改TagInfo of dataconnect devices取得方式
    - combine taginfo from redis rtdata and taginfo
    - blockType as filter to query tags

### [Fix]
#### - api-portal
- Get gateway assosiated group field empty
- fix groups.machines, 帶参数isStation:true没起作用

#### - dbmaster
- [etcd] lease會消失造成Federation呼叫失敗 (修改成確認lease有成功放上才算啟動成功)

## Before 20220910
### [New]
#### - api-portal (feature2-0902-7fc3be6)
- [GraphQL] 新增dcGateway相關APIs
    - query dcGateway
    - query dcGateways
    - query dcGatewayByScadaId
    - query dcGatewaysByScadaId
    - Mutation addDcGateway
    - Mutation updateDcGateway
    - Mutation.removeDcGateway
- [GraphQL] add mutation unbindGateway
- [GraphQL] add query dcSystemInfo

### [update]
#### dbmaster (feature2-0902-6228e34)
- [GraphQL] Implement gateway associatedGroup

### [Fix]
#### - Portal (develop-0830-ce3f3c34-demo-0829)
- [User] User Management進入後預設畫面顯示成role (應該顯示Tenant users)
- [Object] Object列表顯示Parameter count錯誤
- [Cmdc] User不同步造成點選Menu or Dashboard時, iFrame顯示登入畫面 (請手動先清除Browser cache)

#### - api-portal (feature2-0902-7fc3be6)
- Delete group时, mqtt少发送了删除 parameter个数为0的object, 造成沒有Redis Pub
- Release database connection at gateway and alarm controller
#### dbmaster (feature2-0902-6228e34)
- [Group] query group的parent欄位時, 如果group為root group會報錯

---
###### tags: `DataConnect`