Journey Manager (JM) The transaction engine for the platform. | System Manager / DevOps | All versions This feature is related to all versions.
Manager comes with the dynamic data service (DDS) to retrieve required data dynamically, often from external systems. This service can be called by forms to obtain data dynamically while they are being filled in, for example, data lookup or validation using external services. The dynamic data service performs a lookup using a GroovyGroovy is a powerful scripting language which runs on the Java Virtual Machine. Across theTemenos Journey Manager platform, Groovy is used to create services in Manager. These services are primarily used to create plug-in style systems that interact with Manager. script configured as one of the service's parameters. You can easily change the lookup behavior by modifying this service parameter, without a restart or rebuild of your Manager server.
Maestro forms use DDS as one of the methods to obtain form data dynamically. For more information, see dynamic data in forms.
To configure the dynamic data service:
String invoke(SvcDef svcDef, Txn txn, HttpServletRequest request, User user) {
...
def endPoint = svcDef.svcConn.endpoint
...
}
def serviceConnection = serviceDefinition.connection
def endPoint = serviceConnection.endpointValue
You can retrieve a parameter using the following code:
String invoke(SvcDef svcDef, Txn txn, HttpServletRequest request, User user) {
...
def zipConnectionName = svcDef
.paramsMap
.get('GetInfoByZip Connection Name')
...
}
def zipConnectionName = serviceParameters.get('GetInfoByZip Connection Name')
DDS services require a request log key, which is session specific, to be provided unless the services run in test mode. This provides some protection against CSRFCross-site request forgery (CSRF), also known as one-click attack or session riding, is a type of malicious exploit of a website where unauthorized commands are transmitted from a user that the web application trusts.. DDS services are not directly related to forms, so you can call any within your organization unless the setting to enable calling after submission is set the submission related to the request log are not be in a finished state. Form Functions has a stronger security model when they are mapped to the form definition. For more information CSRF, see how to configure modules.
Next, learn how to configure a service with multiple endpoints to external services.