search cancel

Migration of Injection Filters

book

Article ID: 202030

calendar_today

Updated On:

Products

CA API Gateway API SECURITY CA API Gateway Precision API Monitoring Module for API Gateway (Layer 7) CA API Gateway Enterprise Service Manager (Layer 7) STARTER PACK-7 CA Microgateway

Issue/Introduction

Gateway is unable to show changes in injection filter if policy is imported and exported using import-export functionality of the policy manager.

Environment

Component : API GATEWAY

Resolution

The import of the injection filters can be carried out using restman.

The video shows the below steps discussed.

1. Goto /restman/1.0/bundle  GET and do a GET call to source gateway.

Change the  policy id , replace it with the policy id which is to be migrated. 

2. Copy the response as shows in video which makes the body for next step.

The body should start and end with following xml element <l7:Bundle xmlns:l7="http://ns.l7tech.com/2010/04/gateway-management">....     </l7:Bundle>

4. Copy  body from step 2  to /restman/1.0/bundle PUT call , make the request with "test" parameter true 

Check  mapping action - actionTaken="UpdatedExisting" for type="CUSTOM_KEY_VALUE_STORE"/>

5. Once its was confirmed that in above step  action taken value is "UpdatedExisting" the "test" parameter can be made to false and actual migration can be performed.
 

Additional Information

Restman can be configured using

https://techdocs.broadcom.com/us/en/ca-enterprise-software/layer7-api-management/api-gateway/10-0/apis-and-toolkits/rest-management-api.html

 

Attachments

1603703930117__injection-filter-migration.tvs get_app