0 / 0
Synchronize the data policy service (DPS) category caches

Synchronize the data policy service (DPS) category caches

For performance purpose, the data policy service (DPS) keeps a copy of glossary categories in caches. To find all glossary categories, you can use the list all governance types method in the Watson Data API. When categories are created, updated, or deleted, the glossary service publishes RabbitMQ events to reflect these changes. The DPS listens to these events and update the caches. However, in some rare occasions, the message might be lost when RabbitMQ service is down or too busy. You can use the Watson Data API to update the cache.

You can run the following REST API method during downtime that has no category changes to help avoid unexpected enforcement results during the run and also avoid inaccurate cache updates:

For more information to create the ${token}, see Creating an IAM bearer token topic.

curl -v -k -X GET --header "Content-Type: application/json"
  --header "Accept: application/json"
  --header "Authorization: Bearer ${token}"
    "${uri}/v3/enforcement/governed_items/sync/category"

Parent topic: Troubleshooting IBM Knowledge Catalog

Generative AI search and answer
These answers are generated by a large language model in watsonx.ai based on content from the product documentation. Learn more