Software AG Products 10.11 | Using CentraSite | Runtime Governance | Virtual Service Asset Management | Managing Virtual Service Assets through CentraSite Business UI | Virtual REST Service Management | Deleting Virtual REST Services
 
Deleting Virtual REST Services
If you are not the owner of a Virtual REST Service asset, you cannot delete the Virtual REST Service unless you have Full permission on the Virtual REST Service (granted though either a role-based permission or instance-level permission).
The following general guidelines apply when deleting a (Virtual) Service asset in CentraSite Control:
*A Virtual REST Service can only be deleted if it is not the target of an association from another registry object.
*When you delete a Virtual REST Service, CentraSite removes the catalog entry for the Virtual REST Service (that is, it removes the instance of the Virtual REST Service from CentraSite's object database). Also note that:
*The performance metrics and event information of the Virtual REST Service are also deleted.
Note:
When you delete the Virtual REST Service, this information is deleted by the built-in action Delete RuntimeEvents and RuntimeMetrics of Service, which is installed with CentraSite.
*When you delete a composite Virtual REST Service, all of its nonshared components are also deleted.
*Deleting a Virtual REST Service will not remove:
*Other assets to which the Virtual REST Service refers (unless the reference is to an asset that is a nonshared component of the Virtual REST Service you are deleting). For example, if you are deleting a Virtual REST Service which has a Consumes or Consumed By relationship with other services in the registry, the related services will not be deleted.
*Supporting documents that are attached to the Virtual REST Service.
*Earlier versions of the Virtual REST Service. Only the latest version of the Virtual REST Service can be deleted; to remove earlier versions, they must be purged.
*You cannot delete a Virtual REST Service if:
*The Virtual REST Service is in a pending state (for example, awaiting approval).
*Any user in your CentraSite registry is currently modifying the Virtual REST Service.
*To delete Virtual REST Service assets
1. In CentraSite Business UI, access the Advanced Search panel in one of the following ways:
*Click the Browse link in the upper-left corner of the menu bar.
*Click the Search icon next to the Scope list. The default search scope is Assets.
This displays a list of assets in the Search Results page.
2. In the Additional Search Criteria list, select Asset Types.
3. To search for the assets of type, Virtual REST Service, click Choose.
4. In the Choose Asset Types dialog box, select the Assets option button, and then follow these steps:
a. Click the chevron next to Assets option button.
b. In the displayed list of asset types, select Virtual REST Service.
c. Click OK.
A list of defined Virtual REST Service assets is displayed in the Search Results page.
5. Select one or multiple Virtual REST Services you want to delete.
6. On the actions bar of the Search Results page, click Delete.
You can also delete a single Virtual REST Service assets from the actions bar of its details page.
7. When you are prompted to confirm the delete operation, click Yes.
Note:
If you have selected a set of Virtual REST Services, where one or multiple Virtual REST Services are in a pending state (for example, awaiting approval), CentraSite ignores the pending list of Virtual REST Services, and deletes any remaining Virtual REST Services for which you have the required permission.