Four Stars

How to deploy a Data Integration job as a Servlet

I'm relatively new to Talend, and we are using the Data Integration product.  We have successfully deployed several Talend jobs, and things are working well. 

 

Question:  is there a way to deploy a Talend job as a Servlet?  In other words, be able to call & execute the Talend job from a web URL?

 

 

Thanks

Tags (2)
2 REPLIES
Four Stars

Re: How to deploy a Data Integration job as a Servlet

If you have Talend Integration Cloud (TIC), you can deploy a Data Integration job as a webhook. There is limited documentation on how to do this and a public API that's used for calling: https://ipaas.integrationcloud.talend.com/api/swagger-ui.html#/. Hope that helps.

Four Stars

Re: How to deploy a Data Integration job as a Servlet

I can do  in this way.
(My env is TOS_DI-V6.4.1 and tomcat8.5.24)

1. In TOS, export job (job name is TestJob for example) to TestJob_0.1.war (select build type: Axis WebService(WAR)(Deprecated)).
2. Copy TestJob_0.1.war to Tomcat webapps folder(ex: C:\apache-tomcat-8.5.24\webapps).
3. Start Tomcat.
4. Specify the URL in browser as follows;

     http://localhost:8080/TestJob_0.1/services/TestJob?method=runJob

And TestJob I created in TOS can be executed on Tomcat.