Publishing a Route or Data Service Job as a Microservice (Spring-boot) for ESB Docker image - Cloud

Talend Cloud API Services Platform Studio User Guide

author
Talend Documentation Team
EnrichVersion
Cloud
EnrichProdName
Talend Cloud
task
Design and Development
EnrichPlatform
Talend Management Console
Talend Studio
Talend Studio allows you to publish your Routes and Data Service Jobs into a Docker registry.

Procedure

  1. Open the Route or Job that you want to build as a Microservice Docker image in the design work space. In the Deployment view of the Job tab, from the Build Type list, select RouteMicroservice for Routes and Microservice for ESB for Jobs. Save the Route or Job.
  2. In the Repository tree view, select the Route or Job item you want to publish into a Docker registry.
  3. Right-click it and select Publish in the menu.
  4. In the Publish wizard, select Docker Image as the export type, and click Next.
  5. Select the Only export the default context option to export only the default context used in the Route or Job.
  6. Select Local or specify a remote address based on your Docker engine installation.
    Warning: If you select the Remote option, make sure that Docker deamon is started with a remote port.
  7. Specify your Docker image name, and image tag.
    By default, the image name is derived from the project name and Route or Job name, and the image tag is derived from the version of the Route or Job. You can specify a new name and tag here or customize the default settings globally in Project Settings. For more information, see Customizing Docker images build settings.
    Warning: Underscore characters are not supported in Docker image names, therefore make sure the Docker image name value does not contain underscore characters.
  8. Specify your user name and password.
  9. Click Finish to start publishing your Docker image to the specified Docker registry.