Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Fixed typo

...

OMRS Events are messages used to notify members of an open metadata repository cohort of changes to:

  • The membership of the open metadata repository cohort.
  • The types of metadata being managed by members of the open metadata repository cohort.
  • The changes to the metadata instances stored by each of the members of the open metadata repository cohort.

The motivation for sending OMRS Events between the membership of the open metadata repository cohort is to ensure open metadata is as widely available as security permitted and access to it is as efficient as possible.   The events are broadcast to the membership of the open metadata repository cohort through an OMRS Topic and no replies are expected.  Each member is expected to receive each event and make a local decision on whether to act on it or ignore it.

...

OMRS Event Formats

Figure 1 shows the structure of version 1 on an OMRS Event.

Image Added

 

Figure 1: OMRS Event Format (version 1)

Every event has a:

  • Timestamp - indicating the time the event was created.
  • Originator - details of the server that originated the message. 
    • The metadata collection Id is the unique identifier for an open metadata repository's metadata collection.  The only time this is not set is when a message is send from a server that does not have a local metadata repository configured.
    • The server name, type and organization are optional descriptive field used in audit logging and problem determination.
  • Version - the version number of the event (set to "OMRS V1.0" in the initial version).

 

 

Next is the category.  There are three categories of OMRS Events:

  • Registry events - used by metadata servers to register with (and unregister from) an open metadata repository cohort.
  • TypeDef events - used to exchange type definitions (TypeDefs) between members of an open metadata repository cohort to verify that there are not conflicts in the types they are using.
  • Instance events - used to synchronize updates to reference (cached) copies of metadata instances (entities and relationships) amongst the membership of an open metadata repository cohort.

The setting of the category determines which category specific section is used.  Each category specific section begins with an category specific event type that describes the type of the event, and hence the properties that will be found in the category specific section.

If the event is reporting an error, there is also an optional error section.  The error section has an error code, error message and a target metadata collection id.  The target metadata collection id indicates which member of the cohort is the target for the error message.  Other members may pick up the error and act on it as well.

The specifics of each event category are described below.

 

...

Registry Event Formats

Registry events are sent and received by the OMRS Cohort Registry.  There are the following types of registry events:

 

 

 

 

 

 

...