GMU migration: I am migrating policies and services from Dev to QA. It is giving me conflict like " name (must be unique)" even after ignoring "ENCAPSULATED ASSERTION" in manage mappings. I am getting this error as id's of encapsulated assertions are different on Dev and QA. Please help me how to get rid of this error.Note: Folder is my deployable unit i.e the stuff which I am migrating is inside the folder.
Can you please clarify for us how you have your migrateIn and migrateOut commands set up and what your configuration is for the GMU migration? This should help us determine what's going on, or at least get closer to understanding it.
Very broadly though, the "name (must be unique)” error is caused when the name of the service is the same as one that already exists, and you need to manage it's mappings for it to recognize it. In your case, it sounds like you have an encapsulated assertion (let's call it "EncapA”) in Dev, and an encapsulated assertion in QA also called "EncapA” but the GMU is likely not able to recognize these are the same thing, so it raises the error that you see.
Without seeing your GMU configuration, I suspect you'll need to be adding these to your manageMappings portion of the GMU.
I hope the above helps.
This is how GMU script is being used.
You might need to use --encassAsPolicyDependency option to migrateOut the dependent encapsulated assertion, and you might need to replace the existing one while migrateIn.
I got this working after ignoring the policy using following command.
.\GatewayMigrationUtility.bat manageMappings --bundle $tempFolder\All_Entities --type POLICY -N --action Ignore --outputFile $tempFolder\overrideMappings.xml