Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Added patterns

...

Every OMRS connector supports the Open Connector Framework (OCF).  This means that they use connections to define the network address and user credentials necessary to access a specific instance of a metadata repository. 

If an OMRS Connector is included in the Apache Atlas build, then it can be called directly from an OMAS API, or from the Enterprise OMRS Connector, or from the OMRS Adapter (more details in figure 1).   When the OMRS Connector is not included in the Atlas build, it can be called from the OMRS Adapter.

Figure 1 shows some potential patterns for the use of OMRS Connectors to access different types of metadata repositories.  The letters above each pattern (A, ..., GD) refer to the notes below beside the diagram.

 

Image Modified

A

The Local Atlas OMRS Local Connector is hosted in the Apache Atlas server and calls the local internal metadata repository API. Every Atlas server will have one of these connectors.
BThe OMRS REST Connector translates calls to its interface to calls the OMRS REST API of a remote metadata repository.  Apache Atlas servers support the OMRS REST API, and other metadata repositories may also implement this interface too.
CMetadata repositories that have their own API can create a connector to translate OMRS calls to call to their API.  The IGC OMRS Connector is an example of this type OMRS connector written to support a specific metadata repository that is not Apache Atlas.  This OMRS Connector will be included in the Apache Atlas build so it can be called directly from and OMAS API, the Enterprise OMRS Connector or the OMRS Adapter.
DThe Enterprise OMRS Connector (see here for more details) converts each call to its interface to a call to each of the OMRS connectors that it is configured to work with.  It then aggregates the results together for form the response to its call.C

 

...

Together the OMRS Connectors provide a flexible way to make calls to many types of metadata repositories.    Figure 2 illustrates these OMRS connectors in action.  Since OMRS connectors are Java, those that are committed into the Atlas build can be hosted directly in the Atlas server.  Additional connectors can be built by anyone and these can be assessed through the OMRS REST interface.

Image Added

Figure 2: Using the OMRS Connectors to access metadata in a metadata repository cluster

 

The notes below correspond to the numbers on the diagram in figure 2.

  1. There are many OMAS APIs, each designed for a different type of consumer.  Each OMAS API has a simple, bean-like Java interface for applications to call (or the application may use the OMAS REST API directly).
  2. The OMAS REST APIs provide JSON versions of the objects supported in the OMAS APIs.  The OMAS Java Server classes implement the REST APIs.  Each Java Server Class uses the connector broker to acquire an OMRS Connector.
  3. The Local Atlas OMRS Connector provides access to the local metadata repository.
  4. This local repository includes a graphDB accessed through TinkerPop.
  5. The Enterprise OMRS is able to aggregate metadata from multiple metadata repositories in response to a single request for metadata.  It does this by replicating the request across multiple downstream OMRS Connectors and then aggregating and correlating the results.
  6. The Enterprise OMRS Connector is typically configured to call the local Atlas Repository for creates.  Updates go to the repository where the metadata entity was created.
  7. In addition, the Enterprise OMRS may be configured to call other metadata repositories using OMRS Connector implementations that have been built into the Atlas runtime.  In this example,  (7) shows an OMRS connector that can call IBM’s Information Governance Catalog (IGC).
  8. The IGC OMRS Connector will translate OMRS calls into IGC REST calls.
  9. For calls to remote Atlas Servers, and other servers that have OMRS connectors that are not included into the Atlas runtime, the Enterprise OMRS Connector will use the OMRS REST Connector.  This connector translates OMRS connector requests into remote OMRS REST calls. 
  10. The OMRS REST Connector may also be called from the OMAS Java Server classes to pass-through metadata requests to a remote metadata server.
  11. Every Atlas runtime supports the OMRS REST APIs.
  12. When an Atlas runtime received an OMRS REST call, it is passed to the local Atlas OMRS connector and is executed against the local metadata repository.
  13. The OMRS REST Connector can be used to connect to an adapter for other types of metadata repositories.  
  14. The adapter would host an OMRS Connector to the metadata repository.  This provides a solution for OMRS Connector implementations that are not (yet) integrated into the Atlas build.  The downside of this approach is the additional network hop that the adapter introduces.
  15. An OMRS REST Connector can be incorporated into other metadata repositories to enable them to query Atlas metadata.  Typically the repository will use the Enterprise OMRS Connector to ensure it is reaching as much metadata as possible
  16. This includes IBM’s Information Governance Catalog (IGC).

 

Together the OMRS Connectors provide a flexible way to federate calls to many types of metadata repositories. 

 

...

 

...