AnsweredAssumed Answered

CA GMU

Question asked by saisuneel on Apr 17, 2019
Latest reply on Apr 23, 2019 by RemcoDekker

Hi,

 

We use GMU to migrate API Gateway service from lower environment to higher. Observed that source environment cluster wide properties and secure password are migrating as is into higher environment if service already exists in target environment.

 

We don't want to migrate properties from source environment to target environment if properties exists in target.

 

Kindly do help on GMU export and import scripts, providing scripts are as below.

 

Export:

 

####################
TARGET_FILE=$TARGET_ENV/$INTEXT/Service/$SHORTN
#
echo "Exporting Service Policy $SHORTN to $TARGET_FILE.xml"
/opt/SecureSpan/gmu/GatewayMigrationUtility.sh migrateOut --argFile /opt/SecureSpan/gmu/commonargs.props --serviceName "/$INTEXT/$SHORTN" --dest $TARGET_FILE.xml --defa
ultAction NewOrUpdate
#
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 -N --t
ype service --action NewOrExisting
#
echo "Templating Service Policy $TARGET_FILE.xml to $TARGET_FILE.properties"
/opt/SecureSpan/gmu/GatewayMigrationUtility.sh template --argFile /opt/SecureSpan/gmu/commonargs.props --bundle $TARGET_FILE.xml --template $TARGET_FILE.properties

 

 

Import:

 

echo "Importing Service Policy from $TARGET_FILE Writing output to results.xml"
/opt/SecureSpan/gmu/GatewayMigrationUtility.sh migrateIn --argFile /opt/SecureSpan/gmu/commonargs.props --bundle $TARGET_FILE.xml --template $TARGET_FILE.properties --r
esults results.xml --destFolder /$INTEXT $2 $3

 

 

Regards,

Radha

Outcomes