Description

The API in this article can be used to launch G-Migration+ through GMUS.


Rest Request

A REST request is made to the GMUS to launch G-Migration+.

http://<ip>:port/rest/migrate


JSON Payload

JSON Payload to launch G-Migration+:


Example 1 - whereClause and Limit

{
  "clientAppId" : "XXXXXXXX-1e47-abcd-ba66-XXXXXXXXXXXX",
  "clientUserId": "XXXXXXXX-abcd-4284-aa45-XXXXXXXXXXXX",
  "username" : "jane.doe@gmail.com",
  "configPath": "home/username/output"
  "configName": "sample.gredb",
  "debug": true,
  "whereClause": "user.id<101",
  "limitType": "NUMBER",
  "limitValue": "300",
  "tableName": "user"
}


Example 2 - whereClause Only

{ 
  "clientAppId" : "XXXXXXXX-1e47-abcd-ba66-XXXXXXXXXXXX", 
  "clientUserId": "XXXXXXXX-abcd-4284-aa45-XXXXXXXXXXXX", 
  "username" : "jane.doe@gmail.com", 
  "configPath": "home/username/output" 
  "configName": "sample.gredb", 
  "whereClause": "user.id<101", 
  "tableName": "user" 
}


Example success response:


{  
  success": true,
}