Implementing the configuration file and Groovy script
To implement continuous delivery, you need to implement two files:
- a configuration file that describes the list of tasks that are identified to be deployed into the concerned testing or other environments. The configuration file provides the required parameters for the MestaServlet APIs to manage the task (create, update, deploy) in a text format that a script file can parse and generate the necessary Metaservlet request API. The parameters are used to create Triggers for FileBased, Cron or Simple types. You can provide these parameters in different formats: txt, CSV, JSON.
- a Groovy script that uses this task description file to create the Base64 encoded message needed to invoke the MetaServlet API to create all the tasks in the Talend Administration Center portal.
About this task
The whole procedure and sample files are available in Data Integration and ESB Task Deployer course on Talend Academy (Talend Academy subscription required).