Migrate service which has same srcId on the destination gateway
search cancel

Migrate service which has same srcId on the destination gateway

book

Article ID: 393682

calendar_today

Updated On:

Products

CA API Gateway

Issue/Introduction

How do we migrate a service which has same srcId on the destination gateway using GMU?

Environment

All Supported API Gateway versions.

Resolution

The srcId is unique value and has to be different for each and every entity which is created on gateway.

To migrateIn a service using GMU to destination gateway, you need to correct the mapping for srcId entry with "AlwaysCreateNew" action.

That will update/create the service with new srcId on the destination gateway.

Sample mapping command.

GatewayMigrationUtility.bat manageMappings --bundle output.xml --type SERVICE--srcId <exsisting_srcId> --targetName --action AlwaysCreateNew

Additional Information

Refer to Rest Management API documentation.

https://<gatewayhost>:8443/restman/1.0/doc/home.html