This procedure describes how to create a policy.
- Invoke the Policy Wizard following the navigation details
- In the first page of the wizard specify the Studio project, instance
Namespace, and also specify the target for this Policy.
- Select the Project and the Namespace you want to associate to
the policy.
- Enter the Name for the policy.
- Select the Target for the policy using the Browse button. Using
the Browse button invokes a dialog box which shows all available objects on
which you can create policies.
- Select the appropriate type and instance.
- Click OK.
- Select the Start Date and the End Date for this by double clicking
on the date.
- Click Next.
- This page of the wizard provides policy content.
- Select the appropriate option based on the whether you want
the policy to be activated with all or any one of the criteria below.
- Click Add; this brings up a dialog box where you can select
the objects.
- Select the Object Type from the list.
- Select the desired instance from the list.
- Repeat the process for the number of instances you want to add.
- Click OK.
- This page of the wizard provides policy content. Select the appropriate
option, based on whether you want the policy to be enabled with all the criteria
set as true; or only a select number of criteria set as true.
- Click Add to bring up an object selection dialog box.
- Select the Content Type.
- Select the comparison operation.
- Click Add Content. This brings up another dialog box
with and an editor tailored to the assertion type you selected for your content.
- Enter the values for your assertion properties using the provided
controls.
- Click OK. This brings you back to the Content Selection
dialog.
- Click OK. This brings you back to the Policy Wizard.
- Repeat the process to add more content. .
- Click Finish.
Once this process is complete the policy is created. You must add
the Contract (Assertions) to the policy using the Editor. For details on Working with assertions refer to the Adding assertions topic.
Navigation
Right-click