OSGi Services
Deployment
Every deployment is bounded to the OSGi deployment directory, and installed in Talend Runtime. The deployments are linked to a unique identifier, and multiple data services and Routes can be deployed to the same Talend Runtime. However, the deployment of the same binary artifact (or a different version) multiple times to the same Talend Runtime is not supported. This means you cannot create multiple deployment tasks in Talend Cloud with the same artifact (same or different versions) and deploy these tasks to the same Talend Remote Engine.
- An Artifact (OSGi KAR to deploy)
- An environment context
- Running the KAR in Talend Runtime
Undeployment
After an OSGi Service is deployed, the only action linked to its unique identifier is undeployment. Undeployment means that the OSGi feature is undeployed from Talend Runtime and every trace of its deployment is deleted from the <OSGiExecutionDirectory>.
Recovery
If Talend Remote Engine or the host machine is stopped, every deployed OSGi is stopped and kept in the <OSGiExecutionDirectory>. When all services are started again, the OSGi is started with the same configuration as before. To avoid recovery, OSGis should be undeployed.