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

  1. Find and open the engineParameters.xml runtime configuration file.

  2. In the configuration file, find the section labeled Delivery Repositories.

  3. If it does not exist yet, add a set of repositories XML tags:

    <repositories>
    </repositories>
  4. 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.

  5. 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

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