Applying a Policy
By default, a policy applies to the entire API.
Before you apply a default policy, ensure that:
Mule runtime engine (Mule) is installed with API gateway capabilities enabled.
An API configured with a basic endpoint or a proxy endpoint exists in API Manager.
A Mule application is deployed with a HTTP(s) based flow, which is linked to the API through Autodiscovery.
When Autodiscovery is correctly configured in your Mule application, your application’s API is said to be tracked by or paired to API Manager.
Autogenerated proxies handle these prerequisites in most cases. API gateway reconciles the automated policies applied to an API in API Manager during runtime.
To apply a policy:
Go to API Manager > API Administration and select the API instance from the details window.
From the left navigation, select Policies > Apply New Policy.
Expand the policy that you want to apply.
Select the policy version and click Configure Policy.
For details about the configuration parameters for each of the policies, see the specific policy documentation.