Deploy into Runtime by coping KAR/JAR into deploy folder - Cloud - 8.0

ESB REST

Version
Cloud
8.0
Language
English
Product
Talend Big Data
Talend Big Data Platform
Talend Data Fabric
Talend Data Integration
Talend Data Management Platform
Talend Data Services Platform
Talend ESB
Talend MDM Platform
Talend Real-Time Big Data Platform
Module
Talend Studio
Content
Data Governance > Third-party systems > ESB components > ESB REST components
Data Quality and Preparation > Third-party systems > ESB components > ESB REST components
Design and Development > Third-party systems > ESB components > ESB REST components
Last publication date
2024-02-20
If you deploy the service into Talend Runtime by coping the KAR/JAR into <TalendRuntimePath>/deploy folder, you can change the service endpoint by creating a configuration file in <TalendRuntimePath>/etc called <JobName>.cfg which contains a single line, for example:
context = Default

The service will be available in the following endpoints in different context.

Context Available endpoint

Default

http://localhost:8040/services/contacts

dev http://localhost:8040/services/dev/contacts
test http://localhost:8040/services/test/contacts

In order to ensure that the service starts in the correct context, you need create the <JobName>.cfg file with the correct context setting before putting the KAR/JAR file into the <TalendRuntimePath>/deploy folder.