Class LineageIntegratorContextManager

    • Constructor Detail

      • LineageIntegratorContextManager

        public LineageIntegratorContextManager()
        Default constructor
    • Method Detail

      • initializeContextManager

        public void initializeContextManager​(String partnerOMASServerName,
                                             String partnerOMASPlatformRootURL,
                                             String userId,
                                             String password,
                                             Map<String,​Object> serviceOptions,
                                             int maxPageSize,
                                             AuditLog auditLog)
        Initialize server properties for the context manager.
        Overrides:
        initializeContextManager in class IntegrationContextManager
        Parameters:
        partnerOMASServerName - name of the server to connect to
        partnerOMASPlatformRootURL - the network address of the server running the OMAS REST servers
        userId - caller's userId embedded in all HTTP requests
        password - caller's userId embedded in all HTTP requests
        serviceOptions - options from the integration service's configuration
        maxPageSize - maximum number of results that can be returned on a single REST call
        auditLog - logging destination
      • registerListener

        public void registerListener​(OpenLineageEventListener listener)
        The listener is implemented by the integration connector. Once it is registered with the context, its processOpenLineageRunEvent() method is called each time an open lineage event is published to the Lineage Integrator OMIS.
        Specified by:
        registerListener in interface OpenLineageListenerManager
        Parameters:
        listener - listener to call
      • publishOpenLineageRunEvent

        public void publishOpenLineageRunEvent​(String rawEvent)
        Pass the incoming openLineage event to all connectors that are listening.
        Specified by:
        publishOpenLineageRunEvent in interface OpenLineageListenerManager
        Parameters:
        rawEvent - JSON payload containing the open lineage event