A metadata repository is a store of metadata. A metadata repository that stores the open metadata instances defined by the Open Metadata Repository Services (OMRS) natively is called an open metadata repository.
Home metadata repositories¶
The metadata repository where a metadata entity, relationship or classification is created is called its home repository.
Metadata can only be updated and deleted in its home repository
These shared copies are called reference copies.
Reference copies are read-only
Update requests to a reference copy are automatically redirected to the home repository by the OMRS, without the caller being aware.
Every metadata repository in a cohort has a unique identifier called the local metadata collection id. This identifier is set up in the server configuration and shared when this server connects to a cohort.
When metadata is shared by OMRS, each element is tagged with the metadata collection id of its home repository. OMRS is able to route update requests to the right server by comparing the metadata collection id in the metadata instance with the cohort registration information passed between members of the cohort when they connect.
A metadata collection refers to a set of open metadata instances that are being maintained and accessed as a coherent set of information. These instances are explicitly typed using open metadata type definitions (TypeDefs).
Typically, metadata collections are stored in a single metadata repository. However, the Open Metadata Access Services (OMASs) provide access to a federated metadata collection called the enterprise metadata collection.
Enterprise metadata collection¶
The enterprise metadata collection is the metadata collection that is the combination of metadata from all metadata collections held by the open metadata repositories that are members of the same open metadata repository cohorts as the server where the enterprise repository services are enabled.
Metadata collection id¶
Every metadata repository has a unique identifier called the local-metadata-collection-id. This identifier is assigned automatically during the configuration of the local repository but can be overridden through administrative commands.
A new local metadata collection id is assigned when the local repository is set up
In the following server configuration, the local metadata collection id is
It also appears in an audit log message written at start up.
OMRS-AUDIT-0001 The Open Metadata Repository Services (OMRS) is initializing : : : OMRS-AUDIT-0003 The local repository is initializing with metadata collection id 1b96495f-82d3-4224-9fdd-31bcb84c224c
If the server is connected to a cohort, the local cohort registry sends the local metadata collection id and a registration event like the following:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53
Raise an issue or comment below