Skip to main content Skip to complementary content

Defining context variables for Talend Data Stewardship instances

Use Talend Data Stewardship connection parameters to define context variables and pass them to the Job at runtime to decide onto which Talend Data Stewardship instance to populate with your data.

About this task

This procedure shows how to define a context group and its context variables in the Talend Studio repository before importing it to the Context view of the Job.

Procedure

  1. Right-click the Contexts node in the Repository tree view and select Create context from the menu.
  2. In the open wizard, enter a name, purpose, and description for the new context group. Call it TdsServerContextGroup in this example.
  3. Click Next and start defining the context variables.
    A default context environment named Default is created.
  4. Click Manage environments.
    The Manage context environments window opens.
  5. Rename the context Default to Test and create a new context named Production.
  6. Click OK to validate your context definition.
    The newly created contexts Test and Production are shown in the context variables table.
  7. Add the following three context variables by clicking the [+] button below the table, specifying their names and types, and entering their values under each context.
    • TdsServerURL of String type, which represents the URL of a Talend Data Stewardship instance.
    • TdsServerUsername of String type, which represents the username for accessing a Talend Data Stewardship instance.
    • TdsServerPassword of Password type, which represents the password for accessing a Talend Data Stewardship instance.

    You need to enter the URL and Username values between double quotation marks and enter the Password value without double quotation marks.

  8. Click Finish to close the wizard and create the group under the Contexts node.
  9. Open the Context view under the Job in the design workspace.
    If you can not see the Context view, select Window > Show view > Talend > Context.
  10. Drop the new group from the Repository to the Context view.

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – please let us know!