Enabling Dynamic Services
This page provides a guide to using the new Dynamic Services feature in Platform 8.
Available from: Platform 8
Overview
Dynamic Services is a new feature in Platform 8 that enables adapters to configure Liberator and Transformer with routing rules at the time of peer connection.
For a more detailed overview, see the Dynamic Services feature overview.
Converting a static data-service to a dynamic data-service
The steps in this section use the following basic deployment as a worked example:
Follow the steps below:
-
In the Liberator configuration, remove the static
add-peer
andadd-data-service
configuration associated with the adapter PricingAdapter1:If PricingAdapter1 is packaged as a Caplin Platform Blade, the Liberator configuration you need to remove will likely be in the rttpd.conf
file in the blade. -
In the Liberator’s rttpd.conf file, define an API key and grant the key at least the
ds-dynamic-service
privilege (seeadd-apikey
):If PricingAdapter1 is packaged as a Caplin Platform Blade, don’t accidentally put the API key definition above in the rttpd.conf
file in the adapter blade. API key definitions belong in the Liberator’s own configuration. -
In the PricingAdapter1
datasource.conf
file, specify the API key in theadd-peer
configuration for the connection to Liberator1 (seeadd-peer::apikey
): -
In the PricingAdapter1
datasource.conf
file, define the data-service that will be provided to Liberator1 at the time of peer connection (seeadd-provided-data-service
):
See also: