The OCF, as the name suggests, is an open framework for supporting connectors. Connectors support access to remote assets such as data sets, APIs and software components. OCF Connectors also provide access to metadata about the asset and they may call the Governance Action Framework (GAF) to execute appropriate governance actions related to the use of these assets in real-time.
There are a number of key components within the OCF:
Connector - this is a Java object for accessing an asset and its related metadata and governance functions.
Connector Broker - this is a generic factory for all OCF connectors. See docs for more information.
Connector Provider - this is a factory for a specific type of connector. It is used by the Connector Broker.
The OCF provides the interface schema and base class implementation for these components.
The Java implementation is located in packages
org.odpi.openmetadata.ocf - Java interface and base classes for Connector and Connector Provider plus the implementation of the Connector Broker.
org.odpi.openmetadata.ocf.ffdc - Implementation of the OCF’s error codes and exceptions.
org.odpi.openmetadata.ocf.properties - Implementation of the properties for connections and connected assets. These are simple POJO objects.
The ConnectedAsset OMAS supports the retrieval of connection and connected asset properties from the open metadata repository/repositories.
The AssetConsumer OMAS embeds the OCF to provide client-side support for connectors.
The Open Metadata Repository Services (OMRS) makes extensive use of OCF connectors for accessing open metadata repository servers and other resources. These connectors are collectively called the OMRS Connectors.