Publishing a Service, a data service Job and a Route - 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

Before you can execute any Service, data service Job or Route you have created in Talend Studio from Talend Administration Center, you need to publish them from Talend Studio to an Artifact Repository. To publish a Service, a data service Job and a Route you have created from Talend Studio into an Artifact Repository, you have to create a publishing task based on each of them on the Publisher page. This task can be scheduled to be published at a certain time or executed manually.

How to add publishing tasks on the Service, the data service Job and the Route

Follow these steps to add a publishing task on the Service first.

  1. On the top toolbar of the Publisher page, click Add to display the configuration panel of the task.

  2. In the Label field of the panel, type in the name of the task. Here it is airport. Fill a description in the Description field if needed.

  3. Select the project and the branch that holds the service in the Project and the Branch fields.

  4. Select Service in the Individual list and then in the Name list select the service you created in the Talend Studio, here it is airport. Select Latest in the Version list.

  5. Select the Publish as Snapshot check box.

  6. Keep the default settings of the other fields and save your task. The airport task is created.

Repeat these steps to add a publishing task on the data service Job and the Route in the same way. When creating the publishing task on the data service Job, select Job in the Individual list, For the Route, select Route.

How to add triggers on the publishing tasks

Follow these steps to add a trigger on the Service first.

  1. In the task list of the Publisher, select the task you created for the Service, here it is airport.

  2. In the Trigger view at the bottom of the page, click Add trigger... and then select Add CRON trigger in the list. The configuration panel opens.

  3. In the [Add CRON trigger] panel that opens on the right, fill in the relevant information:

    In the Label field, type in the name of your trigger, here it is trigger_airport_service.

    Fill in a description if needed.

    Click Open UI configurer to open the [Cron UI trigger configuration] dialog box.

    Select time items at which you want the task to be executed. For the Days of Month and Days of week fields, select one or more week days OR one or more dates. The other fields are mandatory. For multiple selection, press Ctrl + click.

  4. Save your changes. In the Trigger status column, you can see that the trigger is added and is ready to be launched at the specified time.

Repeat these steps to add a trigger on the data service Job and the Route.

How to execute the publishing tasks manually

Alternatively, if you did not add triggers to the publishing tasks, you can execute them manually.

To execute the publishing task on the Service:

  1. In the task list of the Publisher, select the task you created for the Service, here it is airport.

  2. Click the Publish button on the top toolbar and wait a few seconds. The code of your Service is generated with the CommandLine application and the task status changes from Ready to publish to Publishing and then Published.

Repeat these steps to publish the data service Job and the Route.

For more information on how to execute the Service, the data service Job and the Route, see Executing a Service, a data service Job and a Route.