Skip to main content Skip to complementary content
Close announcements banner

Calling metaServlet

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.

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – let us know how we can improve!