Publishing into the Artifact repository

Talend ESB Studio User Guide

EnrichVersion
6.5
EnrichProdName
Talend ESB
task
Design and Development
EnrichPlatform
Talend Studio

Once created, you can publish your Job, Route or Service item into an Artifact repository. This Artifact repository will allow you to centralize, manage and register all the items created and to be deployed on your Talend Runtime.

Before being able to publish any item, you need to set the connection to your Artifact Repository in the Studio preferences. It can be either Talend Artifact repository that ships with Talend Administration Center, or Nexus repository. For more information, see Artifact repository preferences (Talend > Nexus > Artifact repository).

Warning

Note that a SOAP data service Job including the tESBProviderRequest component that implements a service operation is not allowed to be published independently. The Job has to be published along with the service which the Job is assigned to.

To publish your item:

  1. In the Repository tree view, select the item you want to publish into the Artifact repository.

  2. Right-click it and select Publish in the menu.

    The [Publish] wizard opens.

    The settings displayed in the Artifact Information area are read only.

    • If a custom group ID has been specified for the item in the Job or Services view, the Group ID field is automatically filled in with the custom ID.

      Otherwise,

      • If the item is a root node in the repository, the Group ID field is automatically filled in with the default group ID set in the artifact repository preference settings.

      • If the item is not a root node in the repository, by default the Group ID field is automatically filled in with the folder structure. For example: getting_started.movies.

      If needed, customize the group ID for the item in the Deployment tab of the Job or Services view.

    • The Artifact ID field is filled in with the name of the item to publish.

    • The Version field is filled in with:

      • the deployment version set in the Job or Services view of the item or in the [Project Settings] dialog box.

      • deployment version derived from the version of the item to publish if no deployment version has been set for the item.

    • Depending on whether the snapshot option is enabled for the item in the [Project Settings] dialog box or the Job or Services view:

      • If the Publish as Snapshot check box is selected, a snapshot version of the item will be published to the Snapshot repository.

      • Otherwise, a release version of the item will be published to the Release repository.

    For more information, see Customizing deployment of a Job, Route or Service and Managing deployment versions of Jobs, Routes and Services.

    Note that the Export Type options are not available when you publish a Route or a Service.

  3. The <Item> Version (the <Item> is Job, Route, or Service) field is automatically filled with the highest version of the item if more than one version of it is available. Change it by selecting the version you want from the list.

  4. If you're publishing a Job as an OSGI Bundle, select the OSGI Bundle For ESB option in the Export Type area.

    If you're publishing a standalone Job, select the Standalone Job option in the Export Type area, click Next and select the export options based on your needs.

    For more information on export types, see Importing/exporting items and building Routes and Jobs.

  5. Click Finish to publish your item in the Artifact repository.

    A confirmation wizard appears when you choose to publish a Release version artifact. Click OK to confirm it.

    Now your item is available as an artifact in the repository and can later on be retrieved for deployment and execution on your Talend Runtime. The features of the item, including the dependencies are also published.