You can update the metadata, context or joblets 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.
Talend Studio also provides advanced analyzing capabilities, namely impact analysis and data lineage, on repository items. For more information, see How to analyze repository items.
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.
To update the parameters of a repository item, complete the following:
Expand the Metadata, or Contexts, or Joblets Designs node in the Repository tree view and browse to the relevant entry that you need to update.
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.
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.
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:
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.
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.
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.
Click OK to close the dialog box and update all selected Jobs.
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:
In the Repository tree view, expand the node holding the entry you want to check what Jobs use it.
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.
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.
Click OK to validate and close the dialog box.
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.