Pull Runtime deliveries from xDI Analytics
Semarchy xDI Runtime executes deliveries, which are usually pushed to a runtime to be executed. If you are running Semarchy xDI Analytics as well, you can change this behavior to pull deliveries directly from an Analytics remote repository instead.
This setup makes it possible to have more autonomous runtimes which pull their deliveries automatically, instead of needing you to push the deliveries manually every time. The increased automation pairs well with containerized services, such as xDI Runtime on Docker.
Configuration
-
Find and open the
engineParameters.xml
runtime configuration file. -
In the configuration file, find the section labeled Delivery Repositories.
-
If it does not exist yet, add a set of
repositories
XML tags:<repositories> </repositories>
-
Find and uncomment, or add, an Analytics HTTP Repository for delivery pulling inside the
repositories
tags. You can find examples in the configuration file, or in the article about runtime repositories. -
Replace quoted attribute and parameter values with your own, based on your environment. For parameter information, see the HTTP repository documentation.
Restart your runtime when you are done.
Production
When you execute deliveries, and you tell the runtime to execute deliveries from this repository, it automatically pulls deliveries from xDI Analytics before executing it.
In xDI Analytics, deploy your deliveries as usual in your delivery projects. Make sure to publish them to the environment you set in the runtime configuration file.
![Screenshot of xDI Analytics with an arrow pointing to the production environment](../_images/guides/runtime-delivery-pulling.from_analytics.webp)
You can also consult the list of available deliveries in these repositories from the Navigator view in xDI Designer and in xDI Designer.
![Screenshot of the Navigator view](../_images/guides/runtime-delivery-pulling.navigator.webp)