Choreo Connect API Policies¶
Choreo Connect supports API policies at the HTTP method level for request and response flows. Follow the steps given below to add policies to an API.
- Open the ESB Publisher Portal.
- Select the API.
- Click Policies under API Configurations in the left menu.
- Select Choreo Connect as the Gateway type.
- Then, drag and drop the policies to the relevant flow in the required order.
- Scroll to the bottom of the page, click the arrow next to Save, and click Save and deploy.
Following are the policies supported by Choreo Connect.
Request flow policies¶
- Add header
- Remove header
- Remove Query Parameter
- Rewrite Resource Path
- Change HTTP Method
- Validate Request with OPA
- Call Interceptor Service
Response flow policies¶
- Add header
- Remove header
- Call Interceptor Service
See also¶
- Attaching Policies
- API Policies Overview
- Policy to Validate Request with Open Policy Agent
- Custom Policies
- Message Transformation with Interceptors
- Request Flow Custom Filters