CentraSite 10.5 | CentraSite User’s Guide | Runtime Governance | Virtual Service Asset Management | Managing Virtual Service Assets through the Command Line Interface | Bulk Deploying Virtual Services to Gateway
 
Bulk Deploying Virtual Services to Gateway
Pre-requisites:
To deploy (that is, publish) multiple virtual services to an API Gateway or a Mediator gateway through the CentraSite CLI, you must have the CentraSite Administrator role.
CentraSite provides a command tool named bulk deploy for this purpose.
*To deploy multiple virtual services through the command line
*Run the command bulk deploy.
The syntax is of the format: C:\SoftwareAG\CentraSite\utilities>CentraSiteCommand.cmd bulk deploy [-url <CENTRASITE-URL>] -user <USER-ID> -password <PASSWORD> -gateway <GATEWAY> -deploytimeout <DEPLOY_TIMEOUT> -deploybatchsize <DEPLOY_BATCH_SIZE>
The input parameters are:
Input Parameter
Description
CENTRASITE-URL
(Optional). The URL of the CentraSite registry. For example, http://localhost:53307/CentraSite/CentraSite.
USER-ID
The user ID of a registered CentraSite user who has the CentraSite Administrator role. For example, Administrator.
PASSWORD
The password for the CentraSite user identified by the parameter USER-ID.
GATEWAY
The gateway to which all the virtual services are to be deployed.
DEPLOY_TIMEOUT
(Optional). The maximum time, in seconds, allowed for the deployment operation to respond. If the deployment operation does not respond before this timeout, the operation is rolled back. By default, DEPLOY_TIMEOUT is set to 60 seconds.
DEPLOY_BATCH_SIZE
(Optional). The maximum number of virtual services to be deployed to the gateway before a syncpoint is taken. By default, DEPLOY_BATCH_SIZE is set to 50.
Example (all in one line):
C:\SoftwareAG\CentraSite\utilities>CentraSiteCommand.cmd bulk deploy -url http://localhost:53307/CentraSite/CentraSite -user Administrator -password manage -gateway Gateway1 -deploytimeout 60 -deploybatchsize 50