Skip to content

This component is complete and can be used. The interfaces will be supported until the function is removed from the project via the deprecation process. There will be ongoing extensions to this function, but it will be done to ensure backward compatibility as far as possible. If there is a need to break backward compatibility, this will be discussed and reviewed in the community, with a documented timeline.

Generic handlers module

The generic handlers provide services to translate OMAS requests built around that service's private beans into calls to the repository services (through the repository handler). The aim is to reduce the coding needed in the specific handlers used by the Open Metadata Access Services (OMASs) and ensuring security and visibility of assets and other sensitive objects are managed correctly.

The OMAS is responsible for providing the bean implementation and a converter object that can convert the content of entities and relationships retrieved through the repository services into the OMAS's beans.

The generic handlers take simple properties on create and update methods. They pack these properties into InstanceProperties objects and then pass them to the repository services to update the relevant entities/relationships/classifications in the repository.

When instances are retrieved through the repository services, the generic handlers use the OMAS's converters to return the appropriate beans to return on the API.

The generic handlers also support the linking and unlinking of entities in the repositories through the maintenance of relationships as well as managing classifications.

A key part of the capability of the generic handlers is to manage the authorization calls to Open Metadata Security verifier and to ensure assets (and any linked entities that are anchored to it making them logically part of its lifecycle) are only visible when they are members of the supported zones.

Finally, the generic handlers maintain the LatestChange classification on anchor Referenceables and the Anchors classification vor all entities that are anchored to a referenceable.

Further information

Raise an issue or comment below