升級整合連接器
就地升級
1. 在 ThingWorx 中,停止 Integration Runtime 微服務與 Tomcat。
2. /ThingworxStorage/esapi 移除 validation.properties 檔案。
3. 從您的 Tomcat 安裝目錄刪除 thingworx.war 檔案。
4. 在新版本的 ThingWorx 中,執行 thingworxPostgresSchemaUpdatex.x-to-x.x.bat
5. 將新版本的 thingworx.war 檔案複製到 Tomcat 安裝目錄。
6. 啟動 Tomcat。
7. 當您登入 ThingWorx 的新版本時,會從舊版本遷移整合連接器、API 對應與服務。
使用匯出/匯入升級
1. 在 ThingWorx 中,確定 Integration Runtime 微服務正在執行。
2. 從 ThingWorx 匯出 AllEntities 檔案。
a. 在 ThingWorx Composer 中,選取「匯入/匯出」 > 「匯出」 > 「至檔案」
b. 「實體」標籤下,確認已選取「匯出類型」欄位中的「二進位」,然後按一下「匯出」
如此即會將所有實體匯出至檔案 AllEntities.xml
3. 在 ThingWorx 的新版本中,Integration Runtime 微服務不應處於執行中狀態。
4. AllEntities 檔案匯入 ThingWorx 的新版本。
a. 在 ThingWorx Composer 中,選取「匯入/匯出」 > 「匯入」 > 「從檔案」
b. 選取「實體」按鈕。
c. 「單一檔案」標籤下,瀏覽至 AllEntities.xml
d. 請務必核取「包括子系統」核取方塊,以便匯入「整合子系統」及其資料。
e. 按一下「匯入」
從 ThingWorx 7.4 升級的指示
在 ThingWorx 8.0 中,某些服務可能有新的參數類型。如果您在 ThingWorx 8.0 中建立新服務,且此新服務的端點與 ThingWorx 7.4 中用於現有服務的端點相同,但該服務的輸入參數不同,請使用下列指示來更新 7.4 服務。
1. 在 ThingWorx 8.0 中,請使用服務選取整合連接器物件。
2. 選取已從 ThingWorx 7.4 升級的服務。
3. 暫時將端點變更為不同的選項,以編輯服務。然後變更回原始端點。
4. 儲存服務。
5. 儲存物件。