Open Metadata Archive

An open metadata archive is a document containing open metadata type definitions and instances.

The open metadata archive has two types:

Structure of an open metadata archive

The logical structure of an open metadata is shown in Figure 1:

Figure 1

Figure 1: Logical Structure of an Open Metadata Archive

Figure 2 shows how the instances are linked together. Entities are stored as EntityDetail structures. Relationships are stored as Relationship structures and link to their entities through the embedded entity proxies. The entities will include their classifications. However for classifications that are attached to entities that are not included in the archive, they are stored in an ClassificationEntityExtension structure.

Figure 2

Figure 2: Instance structures in an Open Metadata Archive

Typically open metadata archives are encoded in JSON format and stored in a file. Figure 3 show an example of the archiveProperties header from the Common Information Model Archive.

          "archiveName":"Cloud Information Model (CIM) glossary and concept model",
          "archiveDescription":"Data types for commerce focused cloud applications.",
          "originatorName":"The Cloud Information Model",
          "originatorLicense":"Apache 2.0",

Figure 3: Example of an open metadata archive header encoded in JSON

However, both the format and storage method can be changed by changing the open metadata archive connector.

Processing Design

Open metadata archives are introduced into the server through the admin services either provided as part of the contents of the server’s configuration document or through the operational command that added the archive directly into the running server’s repository. These entry points are shown as (1) and (2) respectively on Figure 1.

Figure 4

Figure 4: Processing of an open metadata archive

The archive is passed to the repository services’ Operational Services which in turn passes it on to the Archive Manager. Type information is passed to the Repository Content Manager. Both the Types and Instances are passed to the local repository (if there is one).

If the server is connected to the cohort, the new content is send as notifications to the rest of the cohort.

Archive Load Order

The archive loads in the following order:

Further information

More information about open metadata archives can be found in the open-metadata-archives module.

In addition these articles may be of interest:

License: CC BY 4.0, Copyright Contributors to the ODPi Egeria project.