通过代理服务器测试并应用月度更新 - 8.0

Talend安装指南

Version
8.0
Language
中文(简体)
Operating system
Windows
Subscription type
订阅
Product
Talend Big Data
Talend Big Data Platform
Talend Data Fabric
Talend Data Integration
Talend Data Management Platform
Talend Data Services Platform
Talend ESB
Talend MDM Platform
Talend Real-Time Big Data Platform
Module
Talend Activity Monitoring Console
Talend Administration Center
Talend Artifact Repository
Talend CommandLine
Talend Data Preparation
Talend Data Stewardship
Talend ESB
Talend Identity and Access Management
Talend Installer
Talend JobServer
Talend Log Server
Talend MDM Server
Talend MDM Web UI
Talend Runtime
Talend SAP RFC Server
Talend Studio
Content
安装和升级
Last publication date
2022-10-30

在测试和应用 Talend Studio 月度更新时,建议使用具有 Sonatype Nexus 或 JFrog Artifactory 的代理服务器来控制通过管理员帐户应用的更新,并一次将其应用于多个 Talend Studio 实例。

开始之前

  • 请确保您已安装和配置 Sonatype Nexus 或 JFrog Artifactory。下述步骤中,<repo-server> 为您的 Sonatype Nexus 或 JFrog Artifactory 服务器的 IP 地址或主机名。
  • 所有共享同一工程的 Talend Studio 实例必须更新到同一版本。确保与您的团队就要使用的版本保持一致。
  • 下述步骤中,Studio_Prod 为生产环境的 Talend Studio 实例,Studio_Test 为用于测试的 Talend Studio 实例。

关于此任务

假设,作为管理员您想在 Talend Studio 上测试某一月度更新并将更新应用到几个不同的 Talend Studio 实例上。

步骤

  1. 对于 Sonatype Nexus,创建一个 raw 格式的 proxy 存储库,对于 JFrog Artifactory,创建一个 genericmaven 格式的 virtual 存储库,用于测试月度更新,并为存储库适当命名,如 repo-202204
  2. 将此存储库链接到您想测试的 Talend Studio 月度更新,例如 https://update.talend.com/Studio/8/updates/R2022-04
  3. 如果您要测试并应用 Talend 提供的 8.0 R2022-04 Talend Studio 月度更新或更高版本,操作如下:
    1. 安装一新的测试专用 Talend Studio 实例,比如 Studio_Test,并启动。
    2. Window > Preferences > Talend > Update settings(窗口 > 首选项 > Talend > 更新设置)视图中,设置更新的 URL,示例中的为 http://<repo-server>/repo-202204

      有关如何配置更新 URL 的更多信息,请参阅Configuring update repositories (英文版)

    3. 在顶部工具栏中,点击 Feature Manager (特性管理器),安装月度更新并重启 Talend Studio
    4. 打开需要测试迁移的远程工程。
      弹出 Migrate projects or test (迁移工程或测试) 向导。
    5. 选择 Test (测试) 并单击 Next (下一步)。
    6. Branch name suffix (分支名称后缀) 输入框中为您的测试分支输入名称后缀,然后单击 Finish (完成)。
      测试分支被自动创建。您的工程在上自动迁移到新版本,Talend Studio 在测试分支上以本地模式打开您工程。

      注意,如果您的工程引用了其它分支上的工程,Talend Studio 同时还为每个分支上的引用工程创建一个测试分支。所有的引用工程都在测试分支上迁移到新版本,主工程则自动引用测试分支上的引用工程。

    7. 单击 Repository (存储库) 树状视图上的顶部菜单栏,然后选择从下拉菜单中选择 Push (推送) 将在本地测试分支上所作的更改推送到远端。
      注意,如果您的工程引用了其它工程,默认情况下 Talend Studio 只推送主工程。但是,当测试工程迁移时,Talend Studio 会在创建测试分支后首次推送时,推送所有的测试分支上的主工程和引用工程。
    8. 使用 Talend Studio 或持续集成工具,在测试分支上对工程进行测试。
  4. 如果您要测试并应用 Talend 提供的 8.0 R2022-03 Talend Studio 月度更新或较低版本,操作如下:
    1. 在生产环境的 Talend Studio 实例(例如 Studio_Prod)中,基于生产分支创建一个测试分支,例如 branch_test
      注意,如果您的工程引用了其它分支上的工程,在 Studio_Test 中测试任何工程的迁移之前,您首先需要在 Studio_Prod 中为每个涉及到的分支创建一个测试分支,然后在 Studio_Prod 中打开测试分支上的主工程,并通过引用测试分支上的每个工程来更新其引用工程设置。

      有关更多信息,请参阅根据选定的源创建新分支。您也可以使用 Git 创建一个没有 Talend Studio 的分支。

    2. 安装一新的测试专用 Talend Studio 实例,比如 Studio_Test,并启动。
    3. Window > Preferences > Talend > Update settings(窗口 > 首选项 > Talend > 更新设置)视图中,设置更新的 URL,示例中的为 http://<repo-server>/repo-202204

      有关如何配置更新 URL 的更多信息,请参阅Configuring update repositories (英文版)

    4. 在顶部工具栏中,点击 Feature Manager (特性管理器),安装月度更新并重启 Talend Studio
    5. 在测试分支(本例中的 branch_test)上打开远程工程。
      注意,如果您的工程有引用工程,所有的引用工程必须先于主工程进行迁移。
    6. 在弹出的对话框中,点击 OK (确定) 将您的工程迁移到测试分支上的新版本。
    7. 使用 Talend Studio 或持续集成工具,在测试分支上对工程进行测试。
  5. 如果您没有为 Talend Studio 月度更新创建生产环境存储库:对于 Sonatype Nexus,创建一个 raw 格式的 group 存储库,对于 JFrog Artifactory,创建一个 genericmaven 格式的 virtual 存储库,并为存储库适当命名,如 repo-prod
  6. 将生产环境存储库链接到用于验证月度更新的存储库 (本例中为 repo-202204)。
  7. 如果还没为生产环境设置更新 URL,请在每个需要更新的 Talend Studio 实例的 Window > Preferences > Talend > Update settings(窗口 > 首选项 > Talend > 更新设置)视图中,设置更新的 URL,示例中的为 http://<repo-server>/repo-prod
    更新 URL 正确设置后,您可以通过点击顶部工具栏的 Feature Manager (特性管理器) 按钮获取并安装月度更新。