Cloud API Services Platform
Cloud Big Data
Cloud Big Data Platform
Cloud Data Fabric
Cloud Data Integration
Cloud Data Management Platform
Before you begin
The artifact is open in Talend Studio and the Contexts tab below the design workspace is selected.
If this tab does not show in Talend Studio, click , and select Context.
About this task
- Click the [+] button at the bottom of the Context view to add a line in the table.
Define the context parameter following the pattern
resource_directory_<parameter_name>, all in
Use resource_directory_synonym in this example as you want to set the path to the synonym index directory.
- Set the type of the parameter to String.
- In the Value field, set the path to the synonym directory which is stored in the Talend Studio folder <Studio>/addons/data/synonym/.
Select the first tSynonymSearch component in the artifact,
and in the Component view set the context of the relative path
to the index file in the synonym directory.
- Do the same and set the context of the relative path to the idx_ISO3_country_name file in the second tSynonymSearch component, and to idx_ISO2_country_name in the third tSynonymSearch component.
Publish the artifact to the web application.
The values of the resource parameters are not published to the cloud with the artifact.