Deleting Assets
Pre-requisites:
To delete an asset through the CentraSite Command Line Interface, you must have the CentraSite Administrator role.
In some circumstances, you may not be able to delete an asset because internal objects that reference it cannot be deleted. This can happen when there are internal references to an asset even though the asset is no longer in association with any other objects.
CentraSite provides a Java tool named CentraSiteDeleteAsset.jar for this purpose.
To delete assets
Run the Java tool CentraSiteDeleteAsset.jar. The syntax is of the format: C:\SoftwareAG\CentraSite\utilities>CentraSiteToolbox.cmd CentraSiteDeleteAsset.jar <arg1_CentraSite_DB_URL> <arg2_Administrator_User> <arg3_Administrator_User_Password> <arg4_UUID_of_asset_to_be_deleted>
The input parameters are:
Parameter | Description |
<arg1_CentraSite_DB_URL> | The URL of the CentraSite registry. For example, http://localhost:53307/CentraSite/CentraSite. |
<arg2_Administrator_User> | The user ID of a registered CentraSite user who has the CentraSite Administrator role. For example, Administrator. |
<arg3_Administrator_User_Password> | The password for the CentraSite user identified by the parameter <arg2_Administrator_User>. |
<arg4_UUID_of_asset_to_be_deleted> | The ID of the asset you want to delete. You can specify the UDDI key of the asset using an optional prefix "uddi:". |
Example (all in one line):
C:\SoftwareAG\CentraSite\utilities>CentraSiteToolbox.cmd CentraSiteDeleteAsset.jar http://localhost:53307/CentraSite/CentraSite DOMAIN\\admin pAsSw0rD "uddi:3fb8dbd0-6122-11e5-933f-e8830d260cc1"