Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hello Everyone,
Can someone explain me how to load database parameters from an external properties file in Talend instead of context variables? I also want to encrypt the datbase password for enhanced security? I see there are tfileinputpropertiesfile and tcontextload properties to achieve this but can show me the data flow to get a clear idea?
Hi,
In the context details, you can pass different file paths for different environments. Then you can read the data from there and pass to variables. From that point onwards, the flow will be same.
Warm Regards,
Nikhil Thampi
Please appreciate our Talend community members by giving Kudos for sharing their time for your query. If your query is answered, please mark the topic as resolved 🙂
Hello denis,
Thanks for the reply.
Yes, I want to separate DEV, QA and PROD contexts in diff properties file so that i can run the job in different environment as needed? Do you have an example for me that helps me understand better?
Hi,
In the context details, you can pass different file paths for different environments. Then you can read the data from there and pass to variables. From that point onwards, the flow will be same.
Warm Regards,
Nikhil Thampi
Please appreciate our Talend community members by giving Kudos for sharing their time for your query. If your query is answered, please mark the topic as resolved 🙂
Thanks Nikhil and Fdenis.