Name mapping
The TREP adapter can be configured to map its internal namespace to a different external namespace. This can either be used to simply make it a valid object name for an external source, or to create a complex directory structure of objects.
add-pattern
Type: Function
Default: None
Syntax: add-pattern <trep-pattern> <caplin-platform-pattern>
add-pattern
maps a TREP namespace to a Caplin Platform namespace.
Both patterns may include one wildcard (*), positioned at the beginning or at the end of the pattern. The wildcard matches 0 or more characters.
The default configured TREP service for the TREP Adapter is If you have deployed the TREP Adapter to the Deployment Framework, you don’t need to edit the above configuration items directly. Instead, edit the configuration variables |
Example:
add-pattern ELEKTRON_DD/* /I/*
The example above maps the TREP namespace ELEKTRON_DD
to the Caplin Platform namespace /I
. As an example application of this mapping, the TREP Adapter would map Caplin Platform requests for the subject /I/VOD.L
to the TREP symbol ELEKTRON_DD/VOD.L
.
See also: