Class OIFContextManager

java.lang.Object
org.odpi.openmetadata.frameworks.integration.contextmanager.IntegrationContextManager
org.odpi.openmetadata.frameworkservices.gaf.client.OIFContextManager
All Implemented Interfaces:
OpenLineageListenerManager

public class OIFContextManager extends IntegrationContextManager
OIFContextManager provides the bridge between the integration daemon services and the specific implementation of an integration context
  • Constructor Details

    • OIFContextManager

      public OIFContextManager()
      Default constructor
  • Method Details

    • initializeContextManager

      public void initializeContextManager(String localServerName, String localServiceName, String partnerOMASServerName, String partnerOMASPlatformRootURL, String userId, String secretsStoreProvider, String secretsStoreLocation, String secretsStoreCollection, int maxPageSize, AuditLog auditLog)
      Initialize server properties for the context manager.
      Overrides:
      initializeContextManager in class IntegrationContextManager
      Parameters:
      localServerName - name of this integration daemon
      localServiceName - name of calling service
      partnerOMASServerName - name of the server to connect to
      partnerOMASPlatformRootURL - the network address of the server running the OMAS REST services
      userId - caller's userId embedded in all HTTP requests
      secretsStoreProvider - secrets store connector for bearer token
      secretsStoreLocation - secrets store location for bearer token
      secretsStoreCollection - secrets store collection for bearer token
      maxPageSize - maximum number of results that can be returned on a single REST call
      auditLog - logging destination
    • createClients

      public void createClients() throws InvalidParameterException
      Suggestion for subclass to create client(s) to partner OMAS.
      Specified by:
      createClients in class IntegrationContextManager
      Throws:
      InvalidParameterException - the subclass is not able to create one of its clients
    • createEventClient

      public OpenMetadataEventClient createEventClient(String connectorId) throws InvalidParameterException
      Suggestion for subclass to create client(s) to partner OMAS.
      Specified by:
      createEventClient in class IntegrationContextManager
      Parameters:
      connectorId - used as the caller Id
      Throws:
      InvalidParameterException - the subclass is not able to create one of its clients