Calling metaServlet - 7.3

Talend Administration Center User Guide

EnrichVersion
7.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 MDM Platform
Talend Real-Time Big Data Platform
EnrichPlatform
Talend Administration Center
task
Administration and Monitoring

About this task

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:

Procedure

  1. Open the Windows command line or Linux terminal, and go to the following directory: ./org.talend.administrator/WEB-INF/classes.
  2. Run :
    • MetaServletCaller.bat to call the metaServlet on Windows.
    • MetaServletCaller.sh to call the metaServlet on Linux.
    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 use the Talend Administration Center API, see How Jobs are handled via Talend Administration Center.