Logins and Passwords using Context variables

One Star

Logins and Passwords using Context variables

We have three processing environments - Dev, Test, Prod.  I have upwards of 25 database dbConnections that I need to define.  I also have the need to either select or update data in my output dbConnections.  To prevent inadvertent changes to data when I really only meant to select from the dbConnection, it appears that I may need 6 context environments, for example Dev Select, Dev Update, ...  Is there a way to better utilize the context functions without creating 6 context environments for every dbConnection?

Moderator

Re: Logins and Passwords using Context variables

Hi,
Have you already checked TalendHelpCenter:tContextLoad component or implicit tContextLoad which can modify dynamically the values of the active context?
You can get your DB connection parameter variables from a file or table.

Best regards
Sabrina
--
Don't forget to give kudos when a reply is helpful and click Accept the solution when you think you're good with it.

2019 GARTNER MAGIC QUADRANT FOR DATA INTEGRATION TOOL

Talend named a Leader.

Get your copy

OPEN STUDIO FOR DATA INTEGRATION

Kickstart your first data integration and ETL projects.

Download now

Best Practices for Using Context Variables with Talend – Part 1

Learn how to do cool things with Context Variables

Blog

Migrate Data from one Database to another with one Job using the Dynamic Schema

Find out how to migrate from one database to another using the Dynamic schema

Blog

Best Practices for Using Context Variables with Talend – Part 4

Pick up some tips and tricks with Context Variables

Blog