How to handle updates in repository items

Talend Open Studio for ESB User Guide

EnrichVersion
6.4
EnrichProdName
Talend Open Studio for ESB
task
Design and Development
EnrichPlatform
Talend Studio

You can update the metadata, context parameters that are centralized in the Repository tree view any time in order to update the database connection or the context group details, for example.

When you modify any of the parameters of an entry in the Repository tree view, all Jobs using this repository entry will be impacted by the modification. This is why the system will prompt you to propagate these modifications to all the Jobs that use the repository entry.

The following sections explain how to modify the parameters of a repository entry and how to propagate the modifications to all or some of the Jobs that use the entry in question.

How to modify a repository item

To update the parameters of a repository item, complete the following:

  1. Expand the Metadata, or Contexts node in the Repository tree view and browse to the relevant entry that you need to update.

  2. Right-click this entry and select the corresponding edit option in the contextual menu.

    A respective wizard displays where you can edit each of the definition steps for the entry parameters.

    When updating the entry parameters, you need to propagate the changes throughout numerous Jobs or all your Jobs that use this entry.

    A prompt message pops up automatically at the end of your update/modification process when you click the Finish button in the wizard.

  3. Click Yes to close the message and implement the changes throughout all Jobs impacted by these changes. For more information about the first way of propagating all your changes, see How to update impacted Jobs automatically.

    Click No if you want to close the message without propagating the changes. This will allow you to propagate your changes on the impacted Jobs manually on one by one basis. For more information on another way of propagating changes, see How to update impacted Jobs manually.

How to update impacted Jobs automatically

After you update the parameters of any item already centralized in the Repository tree view and used in different Jobs, a message will prompt you to propagate the modifications you did to all Jobs that use these parameters.

To update impacted Jobs, complete the following:

  1. In the [Modification] dialog box, click Yes to let the system scan your Repository tree view for the Jobs that get impacted by the changes you just made. This aims to automatically propagate the update throughout all your Jobs (open or not) in one click.

    The [Update Detection] dialog box displays to list all Jobs impacted by the parameters that are modified.

    Note

    You can open the [Update Detection] dialog box any time if you right-click the item centralized in the Repository tree view and select Manage Dependencies from the contextual menu. For more information, see How to update impacted Jobs manually.

  2. If needed, clear the check boxes that correspond to the Jobs you do not wish to update. You can update them any time later through the Detect Dependencies menu. For more information, see How to update impacted Jobs manually.

  3. Click OK to close the dialog box and update all selected Jobs.

How to update impacted Jobs manually

Before propagating changes in the parameters of an item centralized in the tree view throughout the Jobs using this entry, you might want to view all Jobs that are impacted by the changes. To do that, complete the following:

  1. In the Repository tree view, expand the node holding the entry you want to check what Jobs use it.

  2. Right-click the entry and select Detect Dependencies.

    A progress bar indicates the process of checking for all Jobs that use the modified metadata or context parameter. Then a dialog box displays to list all Jobs that use the modified item.

  3. Select the check boxes corresponding to the Jobs you want to update with the modified metadata or context parameter and clear those corresponding to the Jobs you do not want to update.

  4. Click OK to validate and close the dialog box.

Note

The Jobs that you choose not to update will be switched back to Built-in, as the link to the Repository cannot be maintained. It will thus keep their setting as it was before the change.