Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi all,
I need in a job dynamic connections to FTP Server.
My plan is to define connections in the management Console and get the neccessary parameters with the Talend REST API for getting connection details.
But if a parameter is encrypted, the value in the response is empty. Is there a chance to get the value for passwort to use dynamicly in my Job?
Thanks, Telge
Hi @Not defined Not defined , I am not sure I understand your requirement well, if the job is deployed to TMC and run there, why don't you use the connection defined on TMC directly.
Regards
Shong
Hi Shong,
cause I want to write an REST API. I want to sent the API a key for FTP Connection, a file mask and a directory. And the job behind the REST API should get the url and login informations for the FTP Server, connect and gets the files and transfer them to the given directory.
So the ftpserver can be different. Thats why I can not use one special connection defined in TMC.
And my idea was to use the connection information from the tmc. Otherwise I have to create my own List of connections.
Regards, Telge
Thanks for your explanation. Take a look at this API and try it.
https://api.us.cloud.talend.com/tmc/swagger/swagger-ui.html#!/connections/getConnectionDetails
I still tried this API and got an empty value for the encrypted password field.
hmm, let me take a testing and check with our developers, I will update to you.
OK, this is because the password was encrypted, if you don't encrypt the password, the password was retrieved in response. I think this is intentionally set up by Talend.
This is also my fear.