D.5.3 parameters Folder

Parameters in BD Datamaps are specified as elements in an XML file.

The XSD containing a description of these elements can be found in the <OFSAAI Installed Directory>/bdf/config/ParameterSet.xsd directory.

The Parameter element defines a parameter and its value, and contains the following attributes:
  • name - The name of the parameter.
  • type - The data type of the parameter. Valid values are STRING, REAL, INTEGER, BOOLEAN, FILE, and CLASS.
  • value - The value of the parameter, which must map the type of the parameter.
  • list - A boolean value specifying that the value is a single value (false - the default) or a comma separated list of values (true).
For example:
<Parameter name="MinimumGeographyRisk" type="INTEGER" value="0"/>
<Parameter name="InternalAccountCodeList" type="STRING" value="IA,GL" list="true"/>

If the value of the parameter is a string containing characters which are not allowed in an XML attribute, then a CDATA element can be used as the element's text.

For example:
<Parameter name="PassThruExpressionSeparators" type="STRING">
<![CDATA[~: \t/#-]]>
</Parameter>

Parameters in the main BDF.xml file should not be modified. Instead, any customizations to parameter values should be placed in the <OFSAAI Installed Directory>/bdf/config/custom/BDF.xml file. Parameters can be overridden at the component level by placing them in the custom/<component>.xml file. Also, parameters can be overridden on the command line by passing the parameter name and value as parameters to the execute.sh script after the component name:

For example:
<OFSAAI Installed Directory>/bdf/scripts/execute.sh <component> [parameter name=value]*
<OFSAAI Installed Directory>/bdf/scripts/execute.sh CorrespondentBankProfile NumberOfThreads=4
When a given parameter is read by a component, the order of precedence for where the parameter value is taken from is as follows:
command line
<OFSAAI Installed Directory>/bdf/config/custom/<component>.xml
<OFSAAI Installed Directory>/bdf/config/<component>.xml
<OFSAAI Installed Directory>/bdf/config/custom/BDF.xml
<OFSAAI Installed Directory>/bdf/config/BDF.xml