You use query extensions to create business-specific query
predicates that process customized rule project items and properties.
To use them in Decision Center,
you must repackage the Decision Center archive
to integrate and declare the extended query BOM files.
About this task
Make sure you have all the necessary files to integrate
query extensions into Decision Center:
Procedure
To integrate query extensions into Decision Center:
- Package a preferences.properties file
into the
lib directory of the Decision Center archive.
- In this file, define preferences to provide information
about your query extension files. The location for each file must
be its path in the JAR file, starting with a forward slash
/.
decisioncenter.bql.bom.path - The location
of the BOM file
decisioncenter.bql.voc.base.name -
The location and base name of the vocabulary files (without the locale
suffix)
decisioncenter.bql.extender.path - The
location of the BOM extender mapping file
For example:
decisioncenter.bql.bom.path=/ilog/rules/teamserver/ext.bom
decisioncenter.bql.voc.base.name=ilog/rules/teamserver/ext
decisioncenter.bql.extender.path=/ilog/rules/teamserver/ext.properties
- Repackage the Decision Center archive,
including the preferences.properties file and
the query extension files into the archive.
The query
extensions are now implemented into your Decision Center installation.
- Deploy the Decision Center archive.