Class CatalogIntegratorContextManager
- java.lang.Object
-
- org.odpi.openmetadata.governanceservers.integrationdaemonservices.contextmanager.IntegrationContextManager
-
- org.odpi.openmetadata.integrationservices.catalog.contextmanager.CatalogIntegratorContextManager
-
public class CatalogIntegratorContextManager extends IntegrationContextManager
CatalogIntegratorContextManager provides the bridge between the integration daemon services and the specific implementation of an integration service
-
-
Field Summary
-
Fields inherited from class org.odpi.openmetadata.governanceservers.integrationdaemonservices.contextmanager.IntegrationContextManager
auditLog, localServerPassword, localServerUserId, maxPageSize, partnerOMASPlatformRootURL, partnerOMASServerName
-
-
Constructor Summary
Constructors Constructor Description CatalogIntegratorContextManager()Default constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcreateClients()Suggestion for subclass to create client(s) to partner OMAS.voidinitializeContextManager(String partnerOMASServerName, String partnerOMASPlatformRootURL, String userId, String password, int maxPageSize, AuditLog auditLog)Initialize server properties for the context manager.voidsetContext(String connectorId, String connectorName, String metadataSourceQualifiedName, IntegrationConnector integrationConnector, PermittedSynchronization permittedSynchronization, Map<String,Object> serviceOptions)Set up the context in the supplied connector.
-
-
-
Method Detail
-
initializeContextManager
public void initializeContextManager(String partnerOMASServerName, String partnerOMASPlatformRootURL, String userId, String password, int maxPageSize, AuditLog auditLog)
Initialize server properties for the context manager.- Overrides:
initializeContextManagerin classIntegrationContextManager- Parameters:
partnerOMASServerName- name of the server to connect topartnerOMASPlatformRootURL- the network address of the server running the OMAS REST serversuserId- 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
public void createClients() throws InvalidParameterExceptionSuggestion for subclass to create client(s) to partner OMAS.- Specified by:
createClientsin classIntegrationContextManager- Throws:
InvalidParameterException- the subclass is not able to create one of its clients
-
setContext
public void setContext(String connectorId, String connectorName, String metadataSourceQualifiedName, IntegrationConnector integrationConnector, PermittedSynchronization permittedSynchronization, Map<String,Object> serviceOptions) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
Set up the context in the supplied connector. This is called between initialize() and start() on the connector.- Specified by:
setContextin classIntegrationContextManager- Parameters:
connectorId- unique identifier of the connector (used to configure the event listener)connectorName- name of connector from configmetadataSourceQualifiedName- unique name of the software server capability that represents the metadata source.integrationConnector- connector created from connection integration service configurationpermittedSynchronization- controls the direction(s) that metadata is allowed to flowserviceOptions- options from the integration service's configuration- Throws:
InvalidParameterException- the connector is not of the correct typeUserNotAuthorizedException- user not authorized to issue this requestPropertyServerException- problem accessing the property server
-
-