AnsweredAssumed Answered

GMU to Deploy the Service to Gateway

Question asked by rdas4 on Jun 9, 2017
Latest reply on Jun 16, 2017 by Doyle_Reece

Hi,

I am using GMU to migrateIn a service to the target gateway for an already deployed service. However, do not see the change in Cluster-Wide Properties. But if I delete the Cluster-Wide Properties and the service, then run the GMU -migrateIn command, i can see the Cluster-Wide Properties with new value and the service deployed to gateway.

 

Following are the steps:

 

1.  migrateOut the service to generate bundle.xml

   GatewayMigrationUtility.bat migrateOut --argFile gatewayprop.properties --dest "sampleServiceAPI.xml" 

   --serviceName /test/sampleServiceAPI

2. templating the sampleServiceAPI.xml and create a template.properties file

   GatewayMigrationUtility.bat template --bundle sampleServiceAPI.xml --template template.properties

 

3. Manually updated the template.properties file with new value to a Cluster-Wide Properties

4. migrateIn with --template option to deploy it.

GatewayMigrationUtility.bat migrateIn --argFile gatewayprop.properties --bundle sampleServiceAPI.xml --template template.properties --destFolder /test/sampleServiceAPI

 

need your support here to understand if --migrateIn command will update the existing service. Do i have pass any other parameter in --migrateIn command to overwrite the existing service.

 

Thanks.

Outcomes