Software AG Products 10.5 | Using CentraSite | Runtime Governance | Consumer Management | Run-Time Consumer Registration Scenarios | Scenario B: Virtual Service without API Consumption Settings and with Evaluate Policy Actions
 
Scenario B: Virtual Service without API Consumption Settings and with Evaluate Policy Actions
Prerequisites for scenario B:
*The asset should be an instance of the virtual type - Virtual Service, Virtual REST Service, Virtual XML Service.
*Make sure that the API consumption settings is not configured for the asset.
*An Evaluate * policy action is included in the asset's run-time configuration.
*To register as a consumer of an asset for Scenario B:
1. In CentraSite Business UI, access the Advanced Search panel in one of the following ways:
*Click the Browse link that is located in the upper-left corner of the menu bar.
*Click the Search icon that is located next to the Scope list. The default search scope is Assets.
2. In the Additional Search Criteria list, select Asset Types.
3. To search for the list of asset types, click Choose.
4. In the Choose Asset Types dialog box, follow these steps:
a. Click the chevron next to Everything option button.
b. In the list of asset types, select any of the Virtual Service type for whose instance you want to register the consumers.
c. Click OK.
This displays a list of the Virtual Service assets that were defined using the selected types, and that are available to you in the Search Results page.
5. Click a Virtual Service asset you want to consume.
This opens the Virtual Service Details page. Also, the actions bar displays a set of actions that are available for working with the displayed virtual service.
6. On the action bar of the Virtual Service Details page, click Consume.
7. In the Consume Asset dialog box, you can do one of the following:
*Register an existing asset as consumer of the Virtual Service asset.
*Create a new Application asset and register the newly created Application asset as consumer of the Virtual Service asset. To do so, follow these steps:
1. Click the Create Application asset link.
2. Provide the appropriate information for each of the displayed data fields.
Note:
The list of identifiers is dynamically loaded depending upon the Evaluate policy actions that are defined for the Virtual Service asset.
3. Click Create to add the new Application asset to CentraSite.
8. To remove an asset that is currently selected for consumption, hover over the asset you want to remove. The Delete icon appears.
a. Click Delete.
A confirmation message stating that the selected asset will be removed from the selection list appears.
b. Click Yes to confirm.
9. In the Reason for Request field, type the reason for requesting consumption of the Virtual Service asset.
This comment is visible to all designated approvers who review the consumer registration request for the Virtual Service asset.
10. Click Consume.
If there are any approvals configured for the consumer registration process, then a consumer registration request is sent to the designated list of approvers. Otherwise, the selected consumers are immediately registered with the Virtual Service asset and the registration is reflected through the Consumers count in the Basic Information profile.