API Management 10.4 | Using CentraSite | Policy Management | Managing Design-Time and Change-Time Policies through Command Line Interface | Purging Orphaned Policy Parameters
 
Purging Orphaned Policy Parameters
Pre-requisites:
To purge orphaned policy parameters through CentraSite Command Line Interface, you must have the CentraSite Administrator role.
Before you run the tool, we strongly recommend that you create a database backup.
In some circumstances, you may not be able to delete an object because there could be policy parameters that are internally related to the object. You can purge such policy parameters if they are no longer used in an active policy.
CentraSite provides a Java tool named PurgePolicyParameters.jar for this purpose. This command tool removes all orphaned policy parameters from the CentraSite registry.
The purged policy parameters are logged into the PurgePolicyParameters.log file.
*Run the Java tool PurgePolicyParameters.jar.
The syntax is of the format: C:\SoftwareAG\CentraSite\utilities>CentraSiteToolbox.cmd PurgePolicyParameters.jar <CentraSite URL> <admin user id> <password>
The input parameters are:
Parameter
Description
CentraSite URL
The URL of the CentraSite registry. For example, http://localhost:53307/CentraSite/CentraSite.
admin 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 admin user id.
Example (all in one line):
C:\SoftwareAG\CentraSite\utilities>CentraSiteToolbox.cmd PurgePolicyParameters.jar http://localhost:53307/CentraSite/CentraSite DOMAIN\admin pAsSw0rD

Copyright © 2015- 2019 | Software AG, Darmstadt, Germany and/or Software AG USA, Inc., Reston, VA, USA, and/or its subsidiaries and/or its affiliates and/or their licensors.
Innovation Release