升级集成连接器
就地升级
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 现有服务所用端点相同的端点来创建新服务,并发现服务具有不同的输入参数,则请使用这些说明来更新 ThingWorx 7.4 服务。
1. 在 ThingWorx 8.0 中,使用该服务选择集成连接器事物。
2. 选择已从 ThingWorx 7.4 升级的服务。
3. 通过暂时将端点更改为其他选项来编辑该服务。然后将其更改回原始端点。
4. 保存该服务。
5. 保存该事物。