Software AG Products 10.7 | Using CentraSite | Runtime Governance | Gateway Management | Managing Gateways through Command Line Interface | Viewing the Gateways List
 
Viewing the Gateways List
Pre-requisites:
To list the existing gateways through the CentraSite Command Line Interface, you must have the CentraSite Administrator role.
CentraSite provides a command tool named list gateway for this purpose.
*To list available gateways
*Run the command list gateway.
The syntax is of the format: C:\SoftwareAG\CentraSite\utilities>CentraSiteCommand.cmd list gateways -user <USER-ID> -password <PASSWORD> [-url <CENTRASITE-URL>]
The input parameters are:
Parameter
Description
CENTRASITE-URLurl
(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.
Example (all in one line):
C:\SoftwareAG\CentraSite\utilities>CentraSiteCommand.cmd|sh list gateways -user Administrator -password manage -url http://localhost:53307/CentraSite/CentraSite
The response to this command could be:
-------------------------GATEWAYS-------------------------
----------------------------------------------------------
Name : DevMediator
Key : uddi:95f79c00-52a9-11e4-969c-d398081308d4
Description : DevMediator
Type : Mediator
Username : Administrator
Gateway URL : http://localhost:5555
CentraSite Username : Administrator

Successfully executed the command : list gateways