Class IntegrationGroupHandler
java.lang.Object
org.odpi.openmetadata.governanceservers.integrationdaemonservices.handlers.IntegrationGroupHandler
The IntegrationGroupHandler is responsible for maintaining information about the integration connectors in an integration group.
-
Field Summary
-
Constructor Summary
ConstructorDescriptionIntegrationGroupHandler
(String integrationGroupName, Map<String, IntegrationContextManager> contextManagerMap, Map<String, String> integrationServiceNameMap, IntegrationConnectorCacheMap integrationConnectorCacheMap, String serverName, String serverUserId, IntegrationGroupConfigurationClient configurationClient, AuditLog auditLog, int maxPageSize) Create a client-side object for managing an integration connector. -
Method Summary
Modifier and TypeMethodDescriptionReturn the unique identifier for the integration group's entity stored in the metadata server (if known).Return the integration group name - used for error logging.Return a summary of the integration groupvoid
Request that the integration group refresh its configuration by calling the metadata server.void
refreshConnectorConfig
(String integrationConnectorGUID) Request that the integration group refreshes its configuration for a single integration connector by calling the metadata server.
-
Field Details
-
serverName
-
serverUserId
-
auditLog
-
maxPageSize
protected int maxPageSize -
integrationGroupName
-
integrationGroupGUID
-
integrationGroupProperties
-
-
Constructor Details
-
IntegrationGroupHandler
public IntegrationGroupHandler(String integrationGroupName, Map<String, IntegrationContextManager> contextManagerMap, Map<String, String> integrationServiceNameMap, IntegrationConnectorCacheMap integrationConnectorCacheMap, String serverName, String serverUserId, IntegrationGroupConfigurationClient configurationClient, AuditLog auditLog, int maxPageSize) Create a client-side object for managing an integration connector.- Parameters:
integrationGroupName
- the properties of the integration group.integrationConnectorCacheMap
- manages the dynamic map of connectors.contextManagerMap
- details of the context manager for each registered integration service.integrationServiceNameMap
- details of the full name for each registered integration service.serverName
- the name of the integration daemon server where the integration group is runningserverUserId
- user id for the server to useconfigurationClient
- client to retrieve the configurationauditLog
- logging destinationmaxPageSize
- maximum number of results that can be returned in a single request
-
-
Method Details
-
getIntegrationGroupName
Return the integration group name - used for error logging.- Returns:
- integration group name
-
getSummary
Return a summary of the integration group- Returns:
- integration group summary
-
getIntegrationGroupGUID
Return the unique identifier for the integration group's entity stored in the metadata server (if known).- Returns:
- string or null
-
refreshConfig
public void refreshConfig() throws InvalidParameterException, UserNotAuthorizedException, PropertyServerExceptionRequest that the integration group refresh its configuration by calling the metadata server. This request ensures that the latest configuration is in use.- Throws:
InvalidParameterException
- one of the parameters is null or invalid.UserNotAuthorizedException
- user id is not allowed to access configurationPropertyServerException
- problem in configuration server
-
refreshConnectorConfig
public void refreshConnectorConfig(String integrationConnectorGUID) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException Request that the integration group refreshes its configuration for a single integration connector by calling the metadata server. This request just ensures that the latest configuration is in use.- Parameters:
integrationConnectorGUID
- unique identifier of the integration connector entity- Throws:
InvalidParameterException
- one of the parameters is null or invalid.UserNotAuthorizedException
- user id is not allowed to access configurationPropertyServerException
- problem in configuration server
-