Policy validation processing does not end
search cancel

Policy validation processing does not end

book

Article ID: 74774

calendar_today

Updated On:

Products

CA API Gateway

Issue/Introduction

When loading (opening, importing, etc.) policies in the Policy Manager, the state of "Validating policy" may last for a very long time. In addition, the Policy Manager cannot load and it may hang. There are about 90 items.

Environment

All supported versions of the API Gateway

Cause

When there are too many assertions in a policy, validation may a long time and may cause hanging in the Policy Manager.

In the case of reading multiple policy fragments, it takes a very long time because each fragment included in a policy is validated separately each time it is used.

Resolution

​• If there are many assertions defined in your policies, disable Policy Validation in the Policy Manager.
        steps:
        Select  [file] ->  [Preferences] of the Menu
        Uncheck "Policy Validation Feedback" in [Preferences]
        Add check "Policy Validation Feedback" again if it is necessary to verify with another policy etc.

• If more than one policy fragment is used, replace the policy fragment with the encapsulated assertion

REF: https://techdocs.broadcom.com/us/en/ca-enterprise-software/layer7-api-management/api-gateway/10-1/services-and-policies/working-with-policies/validate-a-policy.html