Class OIFContextManager
java.lang.Object
org.odpi.openmetadata.frameworks.integration.contextmanager.IntegrationContextManager
org.odpi.openmetadata.frameworkservices.oif.client.contextmanager.OIFContextManager
- All Implemented Interfaces:
OpenLineageListenerManager
OIFContextManager provides the bridge between the integration daemon services and
the specific implementation of an integration context
-
Field Summary
Fields inherited from class org.odpi.openmetadata.frameworks.integration.contextmanager.IntegrationContextManager
auditLog, connectedAssetClient, governanceConfiguration, localServerName, localServerPassword, localServerUserId, localServiceName, maxPageSize, openGovernanceClient, openIntegrationClient, openMetadataClient, openMetadataEventClient, partnerOMASPlatformRootURL, partnerOMASServerName
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
Suggestion for subclass to create client(s) to partner OMAS.createEventClient
(String connectorId) Suggestion for subclass to create client(s) to partner OMAS.void
initializeContextManager
(String localServerName, String localServiceName, String partnerOMASServerName, String partnerOMASPlatformRootURL, String userId, String password, int maxPageSize, AuditLog auditLog) Initialize server properties for the context manager.Methods inherited from class org.odpi.openmetadata.frameworks.integration.contextmanager.IntegrationContextManager
publishOpenLineageRunEvent, publishOpenLineageRunEvent, registerListener, setContext, setUpMetadataSource
-
Constructor Details
-
OIFContextManager
public OIFContextManager()Default constructor
-
-
Method Details
-
initializeContextManager
public void initializeContextManager(String localServerName, String localServiceName, String partnerOMASServerName, String partnerOMASPlatformRootURL, String userId, String password, int maxPageSize, AuditLog auditLog) Initialize server properties for the context manager.- Overrides:
initializeContextManager
in classIntegrationContextManager
- Parameters:
localServerName
- name of this integration daemonlocalServiceName
- name of calling servicepartnerOMASServerName
- name of the server to connect topartnerOMASPlatformRootURL
- the network address of the server running the OMAS REST servicesuserId
- caller's userId embedded in all HTTP requestspassword
- caller's userId embedded in all HTTP requestsmaxPageSize
- maximum number of results that can be returned on a single REST callauditLog
- logging destination
-
createClients
Suggestion for subclass to create client(s) to partner OMAS.- Specified by:
createClients
in classIntegrationContextManager
- 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 classIntegrationContextManager
- Parameters:
connectorId
- used as the caller Id- Throws:
InvalidParameterException
- the subclass is not able to create one of its clients
-