CentraSite Documentation : Working with the CentraSite Business UI : Managing Governance Rules : Working with Run-Time Policies : Adding a Run-Time Policy to CentraSite : Creating a New Run-Time Policy
Creating a New Run-Time Policy
Perform these steps to create a run-time policy and save it to CentraSite.
To create a run-time policy
1. In the activity bar, click Manage Governance Rules.
When you do this, you see a list of all of the currently defined run-time policies. Also, the action bar shows the set of actions that are available for working with policies.
2. In the actions bar of the Search Results page, click Add Policy. This displays the Create Run-Time Policy page in which you can enter the required information for the policy.
3. In Create Run-Time Policy (Step 1 of 3), specify the basic details and scope for the new policy.
a. Complete the following fields as necessary:
In this field...
Do the following...
Name
Enter a name for the new policy. A policy name can contain any character (including spaces). A policy name does not need to be unique within the registry. However, to reduce ambiguity, you should avoid giving multiple policies the same name. As a best practice, we recommend that you adopt appropriate naming conventions to ensure that policies are distinctly named within your organization.
Description
Optional. Enter a description for the new policy. This description appears when a user displays a list of policies in the user interface.
Version
Optional. Specify a version identifier for the new policy.
Note:  
The version identifier does not need to be numeric.
Examples:
0.0a
1.0.0 (beta)
Pre-release 001
V1-2007.04.30
The version identifier you enter here is the policy's public, user-assigned version identifier.
Apply policy to all organizations
Enable the Apply policy to all organizations checkbox if you want to apply the policy to the specified services in all organizations.
Note:  
The Apply policy to all organizations checkbox appears if you belong to the CentraSite Administrator role.
For more information about the Apply policy to all organizations property, see System-Wide versus Organization-Specific Policy Enforcement.
Apply Policy to Organization
Alternatively, select an organization to which the policy applies.
Note:  
The Apply Policy to Organization list contains the names of all organizations if you belong to the API Runtime Provider role.
For more information about the Apply Policy to Organization property, see System-Wide versus Organization-Specific Policy Enforcement.
b. In the Filters panel, specify the scope of the policy.
a. In the Applicable Types section, select the virtual types of APIs to which this policy applies. Choose one of the following:
*Virtual Service
*Virtual REST Service
*Virtual XML Service
*Virtual OData Service
b. In the Filter Criteria section, specify additional selection criteria to narrow the set of APIs to which this policy applies. For procedures, see Refining the Policy Scope.
c. Click Next.
4. In Create Run-Time Policy (Step 2 of 3), do the following:
a. Choose the actions that you want CentraSite to execute when it applies this policy.
If necessary, you can click Previous to return to Create Run-Time Policy (Step 1 of 3) and change your scope.
Click Save to save the run-time policy.
b. Configure the parameters for each action on the Message Flow area. For procedures, see Configuring Policy Action Parameters.
c. Click Next.
5. In Create Run-Time Policy (Step 3 of 3), do the following:
a. In the Available Gateways list, mark the checkbox next to the name of each gateway (for example, webMethods Mediator) you want to publish the policy. (You can select multiple gateways.)
b. Review the virtual APIs that are in the scope of this policy and already published to the selected gateways.
c. If necessary, you can click Previous to return to Create Run-Time Policy (Step 2 of 3) and modify your action parameters.
d. Activate the policy when you are ready to put it into effect. For procedures, see Activating a Run-Time Policy.
Copyright © 2005-2016 Software AG, Darmstadt, Germany.

Product LogoContact Support   |   Community   |   Feedback