You define a set of linking rules in a linking rules file. A linking rules file contains a set of linking rules that Metadata Manager uses to link objects in a pair of resources.
The type of linking rules file that you create depends on whether you want to create linking rules for a pair of models or a pair of resources.
Define a linking rule set for a pair of models when you want to apply the same linking rules to different resources associated with the models. For example, you develop a custom model, "CustomETL." You need to link objects in CustomETL resources with objects in Oracle resources. You can create a set of linking rules that allow you to link objects in any CustomETL resource with objects in any Oracle resource.
To define a linking rule set for a pair of models, create the following types of linking rules files:
Rule set definition file
An XML file that defines a linking rule set for a pair of models. A rule set definition file takes a parameter file that identifies the pair of resources to which to apply the linking rules. The rule set definition file must conform to the structure of the rule set definition file XML schema definition (XSD).
After you create a rule set definition file, you upload it on the
Model
tab. Metadata Manager associates the rule set definition with the source and target model identified in the file.
Rule set parameter file
An XML file that specifies the pair of resources to which to apply a rule set definition. It also contains parameter values for resource-specific attributes such as connection names and table names. The rule set parameter file must conform to the structure of the rule set parameter file XSD.
After you create a rule set parameter file, you upload it to the source resource or the target resource on the
Load
tab. When you upload the file, Metadata Manager creates a rule set for the resources. To create the rule set, Metadata Manager substitutes the parameters defined in the rule set definition file with the parameter values defined in the rule set parameter file.
Define a linking rule set for a pair of resources when you want to apply the linking rules to specific resources. For example, you want to link objects in resource "BusinessGlossary1" with objects in resource "Oracle1."
To define a linking rule set for a specific pair of resources, create the following type of linking rules file:
Rule set file
An XML file that defines a linking rule set for pair of resources. The rule set file must conform to the structure of the rule set file XSD.
After you create a rule set file, you upload it to the source resource or the target resource on the
Load
tab.
You define linking rule sets in rule set definition files and in rule set files. Rule syntax is identical in both file types except that rules in rule set definition files can contain parameters. The parameters represent resource-specific attributes such as connection names, package names, and string literals such as table names.