Class IntegrationDaemonConfigurationClient
java.lang.Object
org.odpi.openmetadata.adminservices.client.OMAGServerConfigurationClient
org.odpi.openmetadata.adminservices.client.GovernanceServerConfigurationClient
org.odpi.openmetadata.adminservices.client.IntegrationDaemonConfigurationClient
IntegrationDaemonConfigurationClient provides the configuration services for integration daemons.
This involves creating a list of integration services and/or integration groups.
-
Constructor Summary
ConstructorsConstructorDescriptionIntegrationDaemonConfigurationClient(String adminUserId, String serverName, String serverPlatformRootURL) Create a new client with no authentication embedded in the HTTP request.IntegrationDaemonConfigurationClient(String adminUserId, String serverName, String serverPlatformRootURL, String connectionUserId, String connectionPassword) Create a new client that passes a connection userId and password in each HTTP request. -
Method Summary
Modifier and TypeMethodDescriptionvoidDisable the integration groups.voidDisable the integration services.voidclearIntegrationGroup(String groupQualifiedName) Remove an integration group.voidclearIntegrationService(String serviceURLMarker) Disable the integration services.voidconfigureIntegrationGroup(org.odpi.openmetadata.adminservices.configuration.properties.IntegrationGroupConfig groupConfig) Add configuration for a single integration group to the server's config document.voidconfigureIntegrationService(String partnerOMASServerURLRoot, String partnerOMASServerName, String serviceURLMarker, Map<String, Object> integrationServiceOptions, List<org.odpi.openmetadata.adminservices.configuration.properties.IntegrationConnectorConfig> integrationConnectorConfigs) Enable a single integration service.voidconfigureIntegrationService(org.odpi.openmetadata.adminservices.configuration.properties.IntegrationServiceConfig serviceConfig) Add configuration for a single integration service to the server's config document.voiddisableIntegrationService(String serviceURLMarker) Disable a single integration service.List<org.odpi.openmetadata.commonservices.ffdc.rest.RegisteredOMAGService>Return the list of integration services for this server.List<org.odpi.openmetadata.adminservices.configuration.properties.IntegrationGroupConfig>Return the configuration for the integration groups in this server.org.odpi.openmetadata.adminservices.configuration.properties.IntegrationServiceConfiggetIntegrationServiceConfiguration(String serviceURLMarker) Return the configuration for the named integration service for this server.List<org.odpi.openmetadata.adminservices.configuration.properties.IntegrationServiceConfig>Return the configuration for the integration services in this server.List<org.odpi.openmetadata.commonservices.ffdc.rest.RegisteredOMAGService>Return the list of integration services for this server.voidsetIntegrationGroupsConfig(List<org.odpi.openmetadata.adminservices.configuration.properties.IntegrationGroupConfig> integrationGroupConfigs) Set up the configuration for all the open metadata integration groups.voidsetIntegrationServicesConfig(List<org.odpi.openmetadata.adminservices.configuration.properties.IntegrationServiceConfig> integrationServicesConfig) Set up the configuration for all the open metadata integration services (OMISs).Methods inherited from class org.odpi.openmetadata.adminservices.client.OMAGServerConfigurationClient
addAuditLogDestination, addConsoleAuditLogDestination, addEventTopicAuditLogDestination, addFileAuditLogDestination, addSLF4JAuditLogDestination, clearAuditLogDestination, clearAuditLogDestinations, clearOMAGServerConfig, clearServerSecurityConnection, deployOMAGServerConfig, getOMAGServerConfig, getOMAGServerInstanceConfig, getServerClassification, getServerSecurityConnection, setAuditLogDestinations, setDefaultAuditLog, setEventBus, setMaxPageSize, setOMAGServerConfig, setOrganizationName, setServerDescription, setServerPassword, setServerSecurityConnection, setServerType, setServerURLRoot, setServerUserId, updateAuditLogDestination
-
Constructor Details
-
IntegrationDaemonConfigurationClient
public IntegrationDaemonConfigurationClient(String adminUserId, String serverName, String serverPlatformRootURL) throws org.odpi.openmetadata.adminservices.ffdc.exception.OMAGInvalidParameterException Create a new client with no authentication embedded in the HTTP request.- Parameters:
adminUserId- administrator's (end user's) userId to associate with calls.serverName- name of the server to connect toserverPlatformRootURL- the network address of the server running the admin services- Throws:
org.odpi.openmetadata.adminservices.ffdc.exception.OMAGInvalidParameterException- there is a problem creating the client-side components to issue any REST API calls.
-
IntegrationDaemonConfigurationClient
public IntegrationDaemonConfigurationClient(String adminUserId, String serverName, String serverPlatformRootURL, String connectionUserId, String connectionPassword) throws org.odpi.openmetadata.adminservices.ffdc.exception.OMAGInvalidParameterException Create a new client that passes a connection userId and password in each HTTP request. This is the userId/password of the calling server. The end user's userId is passed as the admin userId.- Parameters:
adminUserId- administrator's (end user's) userId to associate with calls.serverName- name of the server to connect toserverPlatformRootURL- the network address of the server running the admin servicesconnectionUserId- caller's system userId embedded in all HTTP requestsconnectionPassword- caller's system password embedded in all HTTP requests- Throws:
org.odpi.openmetadata.adminservices.ffdc.exception.OMAGInvalidParameterException- there is a problem creating the client-side components to issue any REST API calls.
-
-
Method Details
-
getRegisteredIntegrationServices
public List<org.odpi.openmetadata.commonservices.ffdc.rest.RegisteredOMAGService> getRegisteredIntegrationServices() throws org.odpi.openmetadata.adminservices.ffdc.exception.OMAGNotAuthorizedException, org.odpi.openmetadata.adminservices.ffdc.exception.OMAGInvalidParameterException, org.odpi.openmetadata.adminservices.ffdc.exception.OMAGConfigurationErrorExceptionReturn the list of integration services for this server.- Returns:
- list of integration service descriptions
- Throws:
org.odpi.openmetadata.adminservices.ffdc.exception.OMAGNotAuthorizedException- the supplied userId is not authorized to issue this command.org.odpi.openmetadata.adminservices.ffdc.exception.OMAGInvalidParameterException- invalid parameter.org.odpi.openmetadata.adminservices.ffdc.exception.OMAGConfigurationErrorException- unusual state in the admin server.
-
getConfiguredIntegrationServices
public List<org.odpi.openmetadata.commonservices.ffdc.rest.RegisteredOMAGService> getConfiguredIntegrationServices() throws org.odpi.openmetadata.adminservices.ffdc.exception.OMAGNotAuthorizedException, org.odpi.openmetadata.adminservices.ffdc.exception.OMAGInvalidParameterException, org.odpi.openmetadata.adminservices.ffdc.exception.OMAGConfigurationErrorExceptionReturn the list of integration services for this server.- Returns:
- list of integration service descriptions
- Throws:
org.odpi.openmetadata.adminservices.ffdc.exception.OMAGNotAuthorizedException- the supplied userId is not authorized to issue this command.org.odpi.openmetadata.adminservices.ffdc.exception.OMAGInvalidParameterException- invalid parameter.org.odpi.openmetadata.adminservices.ffdc.exception.OMAGConfigurationErrorException- unusual state in the admin server.
-
getIntegrationServicesConfiguration
public List<org.odpi.openmetadata.adminservices.configuration.properties.IntegrationServiceConfig> getIntegrationServicesConfiguration() throws org.odpi.openmetadata.adminservices.ffdc.exception.OMAGNotAuthorizedException, org.odpi.openmetadata.adminservices.ffdc.exception.OMAGInvalidParameterException, org.odpi.openmetadata.adminservices.ffdc.exception.OMAGConfigurationErrorExceptionReturn the configuration for the integration services in this server.- Returns:
- list of integration service configuration
- Throws:
org.odpi.openmetadata.adminservices.ffdc.exception.OMAGNotAuthorizedException- the supplied userId is not authorized to issue this command.org.odpi.openmetadata.adminservices.ffdc.exception.OMAGInvalidParameterException- invalid parameter.org.odpi.openmetadata.adminservices.ffdc.exception.OMAGConfigurationErrorException- unusual state in the admin server.
-
getIntegrationServiceConfiguration
public org.odpi.openmetadata.adminservices.configuration.properties.IntegrationServiceConfig getIntegrationServiceConfiguration(String serviceURLMarker) throws org.odpi.openmetadata.adminservices.ffdc.exception.OMAGNotAuthorizedException, org.odpi.openmetadata.adminservices.ffdc.exception.OMAGInvalidParameterException, org.odpi.openmetadata.adminservices.ffdc.exception.OMAGConfigurationErrorException Return the configuration for the named integration service for this server.- Parameters:
serviceURLMarker- integration service name used in URL- Returns:
- response containing the integration services configuration
- Throws:
org.odpi.openmetadata.adminservices.ffdc.exception.OMAGNotAuthorizedException- the supplied userId is not authorized to issue this command.org.odpi.openmetadata.adminservices.ffdc.exception.OMAGInvalidParameterException- invalid parameter.org.odpi.openmetadata.adminservices.ffdc.exception.OMAGConfigurationErrorException- unusual state in the admin server.
-
configureIntegrationService
public void configureIntegrationService(String partnerOMASServerURLRoot, String partnerOMASServerName, String serviceURLMarker, Map<String, Object> integrationServiceOptions, List<org.odpi.openmetadata.adminservices.configuration.properties.IntegrationConnectorConfig> integrationConnectorConfigs) throws org.odpi.openmetadata.adminservices.ffdc.exception.OMAGNotAuthorizedException, org.odpi.openmetadata.adminservices.ffdc.exception.OMAGInvalidParameterException, org.odpi.openmetadata.adminservices.ffdc.exception.OMAGConfigurationErrorExceptionEnable a single integration service.- Parameters:
partnerOMASServerURLRoot- URL root of the OMAG Server Platform where the access service used by this integration service is runningpartnerOMASServerName- name of server where the access service used by this integration service is runningserviceURLMarker- string indicating which integration service it is configuringintegrationServiceOptions- property name/value pairs used to configure the integration serviceintegrationConnectorConfigs- Connection properties- Throws:
org.odpi.openmetadata.adminservices.ffdc.exception.OMAGNotAuthorizedException- the supplied userId is not authorized to issue this command.org.odpi.openmetadata.adminservices.ffdc.exception.OMAGInvalidParameterException- invalid parameter.org.odpi.openmetadata.adminservices.ffdc.exception.OMAGConfigurationErrorException- unusual state in the admin server.
-
disableIntegrationService
public void disableIntegrationService(String serviceURLMarker) throws org.odpi.openmetadata.adminservices.ffdc.exception.OMAGNotAuthorizedException, org.odpi.openmetadata.adminservices.ffdc.exception.OMAGInvalidParameterException, org.odpi.openmetadata.adminservices.ffdc.exception.OMAGConfigurationErrorException Disable a single integration service.- Parameters:
serviceURLMarker- string indicating which integration service it is configuring- Throws:
org.odpi.openmetadata.adminservices.ffdc.exception.OMAGNotAuthorizedException- the supplied userId is not authorized to issue this command.org.odpi.openmetadata.adminservices.ffdc.exception.OMAGInvalidParameterException- invalid parameter.org.odpi.openmetadata.adminservices.ffdc.exception.OMAGConfigurationErrorException- unusual state in the admin server.
-
configureIntegrationService
public void configureIntegrationService(org.odpi.openmetadata.adminservices.configuration.properties.IntegrationServiceConfig serviceConfig) throws org.odpi.openmetadata.adminservices.ffdc.exception.OMAGNotAuthorizedException, org.odpi.openmetadata.adminservices.ffdc.exception.OMAGInvalidParameterException, org.odpi.openmetadata.adminservices.ffdc.exception.OMAGConfigurationErrorException Add configuration for a single integration service to the server's config document.- Parameters:
serviceConfig- all values to configure an integration service- Throws:
org.odpi.openmetadata.adminservices.ffdc.exception.OMAGNotAuthorizedException- the supplied userId is not authorized to issue this command.org.odpi.openmetadata.adminservices.ffdc.exception.OMAGInvalidParameterException- invalid parameter.org.odpi.openmetadata.adminservices.ffdc.exception.OMAGConfigurationErrorException- unusual state in the admin server.
-
setIntegrationServicesConfig
public void setIntegrationServicesConfig(List<org.odpi.openmetadata.adminservices.configuration.properties.IntegrationServiceConfig> integrationServicesConfig) throws org.odpi.openmetadata.adminservices.ffdc.exception.OMAGNotAuthorizedException, org.odpi.openmetadata.adminservices.ffdc.exception.OMAGInvalidParameterException, org.odpi.openmetadata.adminservices.ffdc.exception.OMAGConfigurationErrorException Set up the configuration for all the open metadata integration services (OMISs). This overrides the current values.- Parameters:
integrationServicesConfig- list of configuration properties for each integration service.- Throws:
org.odpi.openmetadata.adminservices.ffdc.exception.OMAGNotAuthorizedException- the supplied userId is not authorized to issue this command.org.odpi.openmetadata.adminservices.ffdc.exception.OMAGInvalidParameterException- invalid parameter.org.odpi.openmetadata.adminservices.ffdc.exception.OMAGConfigurationErrorException- unusual state in the admin server.
-
clearAllIntegrationServices
public void clearAllIntegrationServices() throws org.odpi.openmetadata.adminservices.ffdc.exception.OMAGNotAuthorizedException, org.odpi.openmetadata.adminservices.ffdc.exception.OMAGInvalidParameterException, org.odpi.openmetadata.adminservices.ffdc.exception.OMAGConfigurationErrorExceptionDisable the integration services. This removes all configuration for the integration daemon.- Throws:
org.odpi.openmetadata.adminservices.ffdc.exception.OMAGNotAuthorizedException- the supplied userId is not authorized to issue this command.org.odpi.openmetadata.adminservices.ffdc.exception.OMAGInvalidParameterException- invalid parameter.org.odpi.openmetadata.adminservices.ffdc.exception.OMAGConfigurationErrorException- unusual state in the admin server.
-
clearIntegrationService
public void clearIntegrationService(String serviceURLMarker) throws org.odpi.openmetadata.adminservices.ffdc.exception.OMAGNotAuthorizedException, org.odpi.openmetadata.adminservices.ffdc.exception.OMAGInvalidParameterException, org.odpi.openmetadata.adminservices.ffdc.exception.OMAGConfigurationErrorException Disable the integration services. This removes all configuration for the integration daemon.- Parameters:
serviceURLMarker- integration service name used in URL- Throws:
org.odpi.openmetadata.adminservices.ffdc.exception.OMAGNotAuthorizedException- the supplied userId is not authorized to issue this command.org.odpi.openmetadata.adminservices.ffdc.exception.OMAGInvalidParameterException- invalid parameter.org.odpi.openmetadata.adminservices.ffdc.exception.OMAGConfigurationErrorException- unusual state in the admin server.
-
getIntegrationGroupsConfiguration
public List<org.odpi.openmetadata.adminservices.configuration.properties.IntegrationGroupConfig> getIntegrationGroupsConfiguration() throws org.odpi.openmetadata.adminservices.ffdc.exception.OMAGNotAuthorizedException, org.odpi.openmetadata.adminservices.ffdc.exception.OMAGInvalidParameterException, org.odpi.openmetadata.adminservices.ffdc.exception.OMAGConfigurationErrorExceptionReturn the configuration for the integration groups in this server.- Returns:
- list of integration group configuration
- Throws:
org.odpi.openmetadata.adminservices.ffdc.exception.OMAGNotAuthorizedException- the supplied userId is not authorized to issue this command.org.odpi.openmetadata.adminservices.ffdc.exception.OMAGInvalidParameterException- invalid parameter.org.odpi.openmetadata.adminservices.ffdc.exception.OMAGConfigurationErrorException- unusual state in the admin server.
-
configureIntegrationGroup
public void configureIntegrationGroup(org.odpi.openmetadata.adminservices.configuration.properties.IntegrationGroupConfig groupConfig) throws org.odpi.openmetadata.adminservices.ffdc.exception.OMAGNotAuthorizedException, org.odpi.openmetadata.adminservices.ffdc.exception.OMAGInvalidParameterException, org.odpi.openmetadata.adminservices.ffdc.exception.OMAGConfigurationErrorException Add configuration for a single integration group to the server's config document.- Parameters:
groupConfig- all values to configure an integration group- Throws:
org.odpi.openmetadata.adminservices.ffdc.exception.OMAGNotAuthorizedException- the supplied userId is not authorized to issue this command.org.odpi.openmetadata.adminservices.ffdc.exception.OMAGInvalidParameterException- invalid parameter.org.odpi.openmetadata.adminservices.ffdc.exception.OMAGConfigurationErrorException- unusual state in the admin server.
-
setIntegrationGroupsConfig
public void setIntegrationGroupsConfig(List<org.odpi.openmetadata.adminservices.configuration.properties.IntegrationGroupConfig> integrationGroupConfigs) throws org.odpi.openmetadata.adminservices.ffdc.exception.OMAGNotAuthorizedException, org.odpi.openmetadata.adminservices.ffdc.exception.OMAGInvalidParameterException, org.odpi.openmetadata.adminservices.ffdc.exception.OMAGConfigurationErrorException Set up the configuration for all the open metadata integration groups. This overrides the current values.- Parameters:
integrationGroupConfigs- list of configuration properties for each integration group.- Throws:
org.odpi.openmetadata.adminservices.ffdc.exception.OMAGNotAuthorizedException- the supplied userId is not authorized to issue this command.org.odpi.openmetadata.adminservices.ffdc.exception.OMAGInvalidParameterException- invalid parameter.org.odpi.openmetadata.adminservices.ffdc.exception.OMAGConfigurationErrorException- unusual state in the admin server.
-
clearAllIntegrationGroups
public void clearAllIntegrationGroups() throws org.odpi.openmetadata.adminservices.ffdc.exception.OMAGNotAuthorizedException, org.odpi.openmetadata.adminservices.ffdc.exception.OMAGInvalidParameterException, org.odpi.openmetadata.adminservices.ffdc.exception.OMAGConfigurationErrorExceptionDisable the integration groups. This removes all configuration for the integration groups from the integration daemon.- Throws:
org.odpi.openmetadata.adminservices.ffdc.exception.OMAGNotAuthorizedException- the supplied userId is not authorized to issue this command.org.odpi.openmetadata.adminservices.ffdc.exception.OMAGInvalidParameterException- invalid parameter.org.odpi.openmetadata.adminservices.ffdc.exception.OMAGConfigurationErrorException- unusual state in the admin server.
-
clearIntegrationGroup
public void clearIntegrationGroup(String groupQualifiedName) throws org.odpi.openmetadata.adminservices.ffdc.exception.OMAGNotAuthorizedException, org.odpi.openmetadata.adminservices.ffdc.exception.OMAGInvalidParameterException, org.odpi.openmetadata.adminservices.ffdc.exception.OMAGConfigurationErrorException Remove an integration group. This removes all configuration for the integration group.- Parameters:
groupQualifiedName- integration group name used in URL- Throws:
org.odpi.openmetadata.adminservices.ffdc.exception.OMAGNotAuthorizedException- the supplied userId is not authorized to issue this command.org.odpi.openmetadata.adminservices.ffdc.exception.OMAGInvalidParameterException- invalid parameter.org.odpi.openmetadata.adminservices.ffdc.exception.OMAGConfigurationErrorException- unusual state in the admin server.
-