Skip to main content Skip to complementary content

Deploying on different environments

Deployment and testing of SOAP and REST services into the various containers are now transparent, even though the three environments, that is to say the three Talend Runtimes, are on the same physical or virtual server. You can deploy artifacts from Nexus to any environment.

To make services more configurable, you can design them to include context variables in their endpoints. In this example, you have the server, port and version defined as context variables.

Procedure

  1. In the Context view in Talend Studio, define context variables for the server, port, and version of the services endpoints.

    You can use the version variable to define different versions or to reflect several environments for easy reference.

  2. In the Endpoint field of the basic settings of the cREST component, set the service endpoint URL using the context variables.
  3. Deploy the different versions of the services on different environments.

    The services automatically acquire the IP address and port of the server if you use a relative URL for the endpoint.

    The same service is deployed here in different environments with different URL patterns.

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 – please let us know!