SOA Governance and API Management : Administering CentraSite : Basic Operations : Usage of the CentraSite Command Tools : Publishing and Unpublishing APIs to and from Gateways from the Command Line : Publishing APIs to Gateways
Publishing APIs to Gateways
Use the deploy command to deploy the virtual instance of an API to the gateway (for example, webMethods Mediator).
The syntax for the command is:
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
-url
(Optional). The URL of the CentraSite registry. Default value is http://localhost:53307.
-user
The user ID of a registered CentraSite user. For example, a user who has the CentraSite Administrator role.
-password
The password for the registered CentraSite user identified by the parameter user.
-virtualService
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.
Example:
C:\SoftwareAG\CentraSite\utilities>CentraSiteCommand.cmd deploy -url http://localhost:53305/CentraSite/CentraSite -user Administrator -password manage -virtualService TripPinService -gateway DevMediator
The response to this command could be:
Executing the command : deploy

Successfully executed the command : deploy
Copyright © 2015- 2016 Software AG, Darmstadt, Germany.

Product LogoContact Support   |   Community   |   Feedback