Configuring automatic ruleset updates

You can configure IBM® App Connect Enterprise to discover and apply updates to Operational Decision Manager (ODM) rulesets automatically, by setting properties in an ODMServer policy.

Before you begin

Read Using Operational Decision Manager (ODM) business rules.

About this task

To discover and apply ruleset updates automatically, complete the following steps:

Procedure

  1. Complete the steps in one of the following tasks, according to your chosen method:
  2. Set the following properties in the ODMServer policy that is specified by your ODMRules or JavaCompute node:
    1. Set the Ruleset refresh mode property to polling.
    2. Optional: Set the polling interval that you require by specifying a value (in seconds) in the Ruleset refresh polling interval property.
      The default value for this property is 600 seconds (10 minutes).
    For more information, see ODM Server policy.
  3. Deploy the ODMServer policy. For more information about policies, see Overriding properties at run time with policies and Policies overview.
  4. Run the flows that use the ODMServer policy as usual.

    When a ruleset has been updated in the rule execution server or in the local file system, the updated ruleset is discovered and applied automatically when the polling interval expires. When the update has completed, a message is written to the syslog, and the changes to the ruleset are applied automatically to the flows that use it.