CentraSite Documentation : Working with the CentraSite Business UI : Managing Governance Rules : Using CentraSite with webMethods API-Portal : Retry Mechanism : Changing the Default Values for Retry Mechanism
Changing the Default Values for Retry Mechanism
You can view and change the values of numberOfRetries and retryIntervals using the command line interface CentraSiteCommand.cmd (Windows) or CentraSiteCommand.sh (UNIX) of CentraSiteCommand. The tool is located in the directory <CentraSiteInstallDir>/utilities.
Use the get ApiPortalConfig command to read the values set for numberOfRetries and retryIntervals.
The syntax of the command is:
C:\SoftwareAG\CentraSite\utilities>CentraSiteCommand.cmd get ApiPortalConfig [-url <CENTRASITE-URL>] -user <USER-ID> -password <PASSWORD> [-file <CONFIG-FILE>]
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.
-file
Name of the xml file where numberOfRetries and retryIntervals values are saved. You can change the values in this file. If you are saving the file in a different location other than <CentraSiteInstallDir>/utilities, provide the absolute file path.
Example:
C:\SoftwareAG\CentraSite\utilities>CentraSiteCommand.cmd get ApiPortalConfig -url http://localhost:53307/CentraSite/CentraSite -user Administrator -password manage -file C:\CentraSite\configuration\test.xml
The response to this command could be:
Executing the command : get ApiPortalConfig
Successfully executed the command : get ApiPortalConfig
Use the set ApiPortalConfig to set the new values for numberOfRetries and retryIntervals..
The syntax of the command is:
C:\SoftwareAG\CentraSite\utilities>CentraSiteCommand.cmd set ApiPortalConfig [-url <CENTRASITE-URL>] -user <USER-ID> -password <PASSWORD> -file <CONFIG-FILE>
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.
-file
Name of the xml file where numberOfRetries and retryIntervals values are changed. If the file is in a different location other than <CentraSiteInstallDir>/utilities, provide the absolute file path.
Example:
C:\SoftwareAG\CentraSite\utilities>CentraSiteCommand.cmd set ApiPortalConfig -url http://localhost:53307/CentraSite/CentraSite -user Administrator -password manage -file C:\CentraSite\configuration\test.xml
The response to this command could be:
Executing the command : set ApiPortalConfig
Successfully executed the command : set ApiPortalConfig
Copyright © 2005-2016 Software AG, Darmstadt, Germany.

Product LogoContact Support   |   Community   |   Feedback