CentraSite 10.11 | CentraSite User’s Guide | Runtime Governance | Gateway Management | Managing Gateways through Command Line Interface | Publishing APIs to Gateways
 
Publishing APIs to Gateways
Pre-requisites:
To publish APIs to gateways through the CentraSite Command Line Interface, you must have the CentraSite Administrator role.
CentraSite provides a command tool named deploy for this purpose.
*To publish APIs to gateways
*Run the command deploy.
The syntax is of the format: C:\SoftwareAG\CentraSite\utilities>CentraSiteCommand.cmd deploy -user <USER-ID> -password <PASSWORD> [-url <CENTRASITE-URL>] -virtualService <VIRTUAL-SERVICE> -gateway <GATEWAY>
The input parameters are:
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.
VIRTUAL-SERVICE
The name or key of the virtual service you want to deploy.
GATEWAY
The gateway to which the virtual service identified by the parameter virtualService is to be deployed.