Hello,
as per you guys suggested , i made changes in my script as below
echo "Managing Mappings for Service Policy $TARGET_FILE.xml"
/opt/SecureSpan/gmu/GatewayMigrationUtility.sh manageMappings --argFile /opt/SecureSpan/gmu/commonargs.props --bundle $TARGET_FILE.xml --type ID_PROVIDER_CONFIG --action ignore --type service --action NewOrUpdate
Its working fine for the services configured with Identity provider. But having a strange message "Mapping not found"
in case of service doesn't contain any Identity provider.
Managing Mappings for Service Policy DEV/<servicename>.xml
Running..
Execution failed. Reason: Mapping not found with type=ID_PROVIDER_CONFIG and srcName=null
Templating Service Policy DEV/I160520.Int.GetMaterialDocumentFromEristat.xml to DEV/I160520.Int.GetMaterialDocumentFromEristat.properties
Running.
Template completed
Can anyone suggest a generic solution to it.