Software AG Products 10.5 | Using CentraSite | Runtime Governance | Virtual Service Asset Management | Managing Virtual Service Assets through CentraSite Business UI | Virtual REST Service Management | Adding Virtual REST Service to Your Asset Catalog | Adding Virtual REST Service using an Existing Native REST Service
 
Adding Virtual REST Service using an Existing Native REST Service
You can create a virtual REST service asset from an existing native REST service asset. However, if you want to configure the run-time policies for the newly created virtual service asset using CentraSite, the RuntimeComponentSetting in the centrasite.xml file must be enabled. For information on enabling run-time aspects from CentraSite, see Enabling CentraSite Run-Time Aspects.
When run-time aspects are enabled in CentraSite, then the creation of a virtual service from a native service would involve the following three steps. Else, only the first of the following three can be performed from CentraSite. In such scenario, the run-time policies can be configured from gateways to which the APIs are published.
Adding a Virtual REST Service asset from an existing Native REST Service asset, involves the following steps:
1. Creating a virtual copy (proxy) of the existing Native REST Service asset. For procedures, see Create Virtual REST Service.
2. Configuring the run-time policy actions for the Virtual REST Service asset. For procedures, see Assign Policy Actions for Virtual REST Service.
3. Implementing the virtualization of the existing Native REST Service asset, and publishing the Virtual REST Service asset to one or more gateways. For procedures, see Virtualize and Publish Virtual REST Service to Gateways.