GMU with respect to Policy Revision and Policy Version
search cancel

GMU with respect to Policy Revision and Policy Version

book

Article ID: 247160

calendar_today

Updated On:

Products

CA API Gateway

Issue/Introduction

Do the policy revision and version numbers affect the migration algorithm in any way? The Policy/PolicyDetail/Service/ServiceDetail version attributes and the policy "revision" property and the service "policyRevision" property are the values in question.

Environment

API Gateway: 9.X, 10.X

Resolution

You can do one of the following options:

OPTION #1: In the bundle XML file, set the policyRevision and version attributes to 0 before performing the migrateIn operation.
NOTE: Policy revision history doesn't get migrated, so you don't have to worry about version conflicts if you choose this option. In the future, as long as there are no changes to GMU (where we decide to migrate the policy revision history), this course of action should be fine. 

OPTION #2: Make no changes to the policyRevision and version attributes before performing the migrateIn operation.
NOTE: The migrateIn will automatically reset these attributes.

After the migrateIn operation, the policyRevision attribute will be set to 1 (even if you set the value to 0) and policy attribute will be set to 0.