Integrating a value provider into Rule Designer

After creating a value provider to retrieve and process external data dynamically, you must integrate it into Rule Designer.

About this task

You use a value provider to retrieve and process external data dynamically, to provide values for a business-specific BOM type (see Creating a value provider). To integrate a value provider into Rule Designer, you create a Rule Designer plug-in with a value info extension point.

Procedure

To integrate a value info (and value provider) into Rule Designer:

  1. Create a plug-in project that depends on the plug-in: ilog.rules.studio.model.brl.

    For help with creating a plug-in project, refer to Creating a plug-in project.

  2. In this plug-in, create an extension for ilog.rules.studio.model.brl.valueInfo.

    For help with defining a plug-in extension, refer to Defining a plug-in extension.

  3. In the extension point, set these attributes:
    • Use the key attribute to specify the name of the key you used for the property valueInfo.

    • Use the class attribute to specify the fully qualified name of the value info class.

    Note:

    Use the fully qualified name of the implementation class as the name of the key attribute. If the key is the same as the fully qualified name of the implementation class, the value info is automatically integrated into Decision Center, so no manual intervention is required.

  4. Put the value info and value provider classes into the plug-in project.
  5. Save the plug-in project.
  6. Deploy the plug-in.

    For help with deploying a plug-in, refer to Deploying a plug-in.

Results

You can now use the value info and value provider in Rule Designer.