Use Of Inclusion Functionality In OPM 12.2 (Doc ID 2255909.1)

Last updated on APRIL 18, 2017

Applies to:

Oracle Policy Automation - Version 12.2.5 and later
Information in this document applies to any platform.

Goal

On : 12.2.5 version, Oracle Policy Automation

This is in regards to the Inclusions feature that has been introduced in the OPM version 12.2. We have recently migrated our rulebases from version 10.4 to 12.2.

In the OPM version 10.4.7, we could generate .rmod file for a rulebase when we build and compile it. However this feature is not available with 12.2 version. By using the .rmod file of a rulebase in the modules folder, it could extensively be used in other rulebases.

Below is a brief about the different rulebases we have:
Common Rulebase - In order to avoid redundancy of rules, we have this rulebase which has the common rules which are applicable to rulebases 1, 2, 3 and 4.
Rulebase 1 - Besides the rules of the common rulebase, it has its own rules.
Rulebase 2 - Besides the rules of the common rulebase, it has its own rules.
Rulebase 3 - Besides the rules of the common rulebase, it has its own rules.
Rulebase 4 - Besides the rules of the common rulebase, it has its own rules.

The data model(entity structure) for all the above rulebases is the same. Some of the attributes in Rulebases 1, 2, 3 and 4 are the same as those in Common Rulebase and vice versa. We are using the .rmod file of the Common Rulebase in Rulebases 1, 2, 3 and 4.
We have migrated the rulebases from 10.4 to 12.2. We also have the local hub setup on our machines. Referring to the migration document, it seems like the .rmod feature in 10.4 no longer exists when we migrate the rulebases to 12.2 and it has been specified that the “Inclusions” feature which has been introduced in 12.2 achieves the similar functionality.
We have all the rulebases in the local hub. When we try to add the Common Rulebase as an Inclusion to the Rulebase 1, it generates hundreds of errors saying that there already exist entities and attributes with the same name. We have also observed that Inclusion feature does not allow us to include only a part of the rulebase i.e. just the rules in the rulebase and not the data model.
 

Solution

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms