Configuring manual ruleset updates

You can use the administration REST API to discover and apply updates to Operational Decision Manager (ODM) rulesets.

Before you begin

Read Using Operational Decision Manager (ODM) business rules.

About this task

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

Procedure

  1. Complete the steps in one of the following tasks, according to your chosen method:
  2. Use the administration REST API to discover and apply ruleset updates manually, by making an HTTP POST call to the appropriate URL:
    • Use the following URL to refresh all policies:
      http://host:4414/apiv2/resource-managers/odm/refresh-ruleset-cache
    • Use the following URL to refresh a specific set of policies:
      http://host:4414/apiv2/resource-managers/odm/refresh-ruleset-cache?policy={myProject}:myPolicy&policy={myOtherProject}:myOtherPolicy
    • Use the following URL to refresh policies in a single project:
      http://host:4414/apiv2/resource-managers/odm/refresh-ruleset-cache?project=myProject&policy=myPolicy&policy=myOtherPolicy
  3. The REST call starts a ruleset refresh in the background, and a message confirms that the update request has been started. The ruleset update is therefore asynchronous from the REST call. After the request has been made, messages are written to the syslog when the rulesets are updated.
    For more information about using the administration REST API, see Managing resources by using the administration REST API.