Adding the Policy Assertion Element to the Policy Type Creating a Policy

14-4 Oracle Fusion Middleware Configuration Guide for Oracle Enterprise Repository

14.4 Adding the Policy Assertion Element to the Policy Type

A policy assertion states that conditions must be true for an asset. For example, a policy assertion might state that the asset should have a defect density rate of less that 1. Each assertion is validated individually. If the asset satisfies all assertions meaning that all assertions have a pass status in Oracle Enterprise Repository, then the asset is compliant with the applied policy. In order for the new Policy template to function properly, the Policy Assertions element must be added. This simple procedure is performed in the Type Manager. The Policy Assertions element may be added to any tab in the Policy template. The following instructions will add the Policy Assertions element to the Overview tab.

1. Select Overview in the Tabs section of the Type Manager.

Any elements already assigned to the Overview tab is listed in the Elements section of the Type Manager, as shown in Figure 14–6 . Figure 14–6 Elements Section

2. Click Add. The Select an Element Type to Add dialog is displayed.

3. Select Policy Assertions from the Element Type list, as shown in

Figure 14–7 . Figure 14–7 Select an Element Type to Add

4. Click OK. The Edit Policy Assertions dialog is displayed, as shown in

Figure 14–8 . 5. Enter a name for the Policy Assertion in the Display Name text box. The example below uses Policy Assertions as the name for the element. Figure 14–8 Edit Policy Assertions

6. Click OK. The Policy Assertions element now appears in the Elements list.

Configuring Policy Management 14-5

14.5 Creating a Policy

A Policy is a very specific type of asset, with a unique relationship to other assets. Policies are created using a Policy Type. This procedure is performed in the Asset Editor.

1. Open the File menu and click New. The Create a New Asset dialog is displayed.

2. Enter a name for the policy in the Name text box, as shown in Figure 14–9 . Figure 14–9 Create a New Asset Dialog 3. Enter a version number optional. 4. Select the appropriate policy type from the Type pull-down. 5. Select the appropriate Initial State from that pull-down.

6. Click OK. The policy opens in the Asset Editor.

Figure 14–10 Overview Tab

7. Click Add in the Policy Assertions section. The Edit dialog is displayed.

8. Fill in the Name, Description, and Technical Definition sections as appropriate. Note: Any asset type which contains Assets associated with Policies, requires the Policy Assertion element. 14-6 Oracle Fusion Middleware Configuration Guide for Oracle Enterprise Repository Figure 14–11 Edit Dialog

9. Click OK. The new policy assertion is displayed in the Policy Assertions section.

Figure 14–12 Policy Assertions

10. Repeat the procedure to add additional assertions to the policy.

14.6 Adding the Applied Asset Policies Element to a Type