Calling metaServlet - 6.3

Talend Administration Center User Guide

EnrichVersion
6.3
EnrichProdName
Talend Big Data
Talend Big Data Platform
Talend Data Fabric
Talend Data Integration
Talend Data Management Platform
Talend Data Services Platform
Talend ESB
Talend Real-Time Big Data Platform
task
Administration and Monitoring
Deployment
EnrichPlatform
Talend Administration Center

MetaServlet is a REST webservice that allows you to administrate Talend Administration Center programmatically.

You can connect to Talend Administration Center and perform actions there by calling the metaServlet from an external scheduler. To do so:

  1. Open the Windows command line or Linux terminal, and go to the following directory:

    ./org.talend.administrator/WEB-INF/classes

  2. To call the metaServlet on Windows, run the MetaServletCaller.bat file.

    To call the metaServlet on Linux, run the MetaServletCaller.sh file.

For users who want to use metaServlet as a Web API, note that the typical URL generated by your requests reads as follows:

localhost:8080/<ApplicationPath>/metaServlet?<UserRequest>, for example

http://localhost:8080/org.talend.administrator/metaServlet?eyJhY3Rpb25OYW1lIjoiaGVscCIsImNvbW1hbmROYW1lIjoidXNlckV4aXN0In0=

Note that you first need to encode your <User Request> (JSON arguments) in Base64. For more information on how to invoke the Talend Administration Center API interactively, see the article on Talend Help Center (https://help.talend.com).