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
Fields -
Constructor Summary
ConstructorsConstructorDescriptionIntegrationGroupHandler(String integrationGroupName, IntegrationContextManager integrationContextManager, IntegrationConnectorCacheMap integrationConnectorCacheMap, String serverName, String serverUserId, GovernanceConfigurationClient configurationClient, AuditLog auditLog, int maxPageSize) Create a client-side object for managing an integration connector. -
Method Summary
Modifier and TypeMethodDescriptionReturn the context manager.Return 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 groupvoidRequest that the integration group refresh its configuration by calling the metadata server.voidrefreshConnectorConfig(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, IntegrationContextManager integrationContextManager, IntegrationConnectorCacheMap integrationConnectorCacheMap, String serverName, String serverUserId, GovernanceConfigurationClient 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.integrationContextManager- details of the context manager that creates new integration contexts for the integration connectors.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
-
getContextManager
Return the context manager.- Returns:
- context manager 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
-