You can use the administration REST API to discover and apply updates to Operational
Decision Manager (ODM) rulesets.
About this task
To discover and apply ruleset updates manually, complete the following steps:
Procedure
-
Complete the steps in one of the following tasks, according to your chosen method:
-
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
-
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.