public class IntegrationDaemonConfigurationClient extends OMAGServerConfigurationClient
adminUserId, invalidParameterHandler, nullRequestBody, restClient, serverName, serverPlatformRootURL| Constructor and Description |
|---|
IntegrationDaemonConfigurationClient(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.
|
| Modifier and Type | Method and Description |
|---|---|
void |
clearAllIntegrationServices()
Disable the integration services.
|
void |
clearIntegrationService(String serviceURLMarker)
Disable the integration services.
|
void |
configureIntegrationService(IntegrationServiceConfig serviceConfig)
Add configuration for a single integration service to the server's config document.
|
void |
configureIntegrationService(String partnerOMASServerURLRoot,
String partnerOMASServerName,
String serviceURLMarker,
Map<String,Object> integrationServiceOptions,
List<IntegrationConnectorConfig> integrationConnectorConfigs)
Enable a single integration service.
|
List<RegisteredOMAGService> |
getConfiguredIntegrationServices()
Return the list of integration services for this server.
|
IntegrationServiceConfig |
getIntegrationServiceConfiguration(String serviceURLMarker)
Return the configuration for the named integration service for this server.
|
List<IntegrationServiceConfig> |
getIntegrationServicesConfiguration()
Return the configuration for the integration services in this server.
|
List<RegisteredOMAGService> |
getRegisteredIntegrationServices()
Return the list of integration services for this server.
|
void |
setIntegrationServicesConfig(List<IntegrationServiceConfig> integrationServicesConfig)
Set up the configuration for all of the open metadata integration services (OMISs).
|
addAuditLogDestination, addConsoleAuditLogDestination, addEventTopicAuditLogDestination, addFileAuditLogDestination, addSLF4JAuditLogDestination, clearAuditLogDestinations, clearServerSecurityConnection, deployOMAGServerConfig, getOMAGServerConfig, getOMAGServerInstanceConfig, getServerClassification, getServerSecurityConnection, setDefaultAuditLog, setEventBus, setMaxPageSize, setOMAGServerConfig, setOrganizationName, setServerPassword, setServerSecurityConnection, setServerType, setServerURLRoot, setServerUserIdpublic IntegrationDaemonConfigurationClient(String adminUserId, String serverName, String serverPlatformRootURL) throws OMAGInvalidParameterException
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 servicesOMAGInvalidParameterException - there is a problem creating the client-side components to issue any
REST API calls.public IntegrationDaemonConfigurationClient(String adminUserId, String serverName, String serverPlatformRootURL, String connectionUserId, String connectionPassword) throws OMAGInvalidParameterException
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 requestsOMAGInvalidParameterException - there is a problem creating the client-side components to issue any
REST API calls.public List<RegisteredOMAGService> getRegisteredIntegrationServices() throws OMAGNotAuthorizedException, OMAGInvalidParameterException, OMAGConfigurationErrorException
OMAGNotAuthorizedException - the supplied userId is not authorized to issue this command.OMAGInvalidParameterException - invalid parameter.OMAGConfigurationErrorException - unusual state in the admin server.public List<RegisteredOMAGService> getConfiguredIntegrationServices() throws OMAGNotAuthorizedException, OMAGInvalidParameterException, OMAGConfigurationErrorException
OMAGNotAuthorizedException - the supplied userId is not authorized to issue this command.OMAGInvalidParameterException - invalid parameter.OMAGConfigurationErrorException - unusual state in the admin server.public List<IntegrationServiceConfig> getIntegrationServicesConfiguration() throws OMAGNotAuthorizedException, OMAGInvalidParameterException, OMAGConfigurationErrorException
OMAGNotAuthorizedException - the supplied userId is not authorized to issue this command.OMAGInvalidParameterException - invalid parameter.OMAGConfigurationErrorException - unusual state in the admin server.public IntegrationServiceConfig getIntegrationServiceConfiguration(String serviceURLMarker) throws OMAGNotAuthorizedException, OMAGInvalidParameterException, OMAGConfigurationErrorException
serviceURLMarker - integration service name used in URLOMAGNotAuthorizedException - the supplied userId is not authorized to issue this command.OMAGInvalidParameterException - invalid parameter.OMAGConfigurationErrorException - unusual state in the admin server.public void configureIntegrationService(String partnerOMASServerURLRoot, String partnerOMASServerName, String serviceURLMarker, Map<String,Object> integrationServiceOptions, List<IntegrationConnectorConfig> integrationConnectorConfigs) throws OMAGNotAuthorizedException, OMAGInvalidParameterException, OMAGConfigurationErrorException
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 propertiesOMAGNotAuthorizedException - the supplied userId is not authorized to issue this command.OMAGInvalidParameterException - invalid parameter.OMAGConfigurationErrorException - unusual state in the admin server.public void configureIntegrationService(IntegrationServiceConfig serviceConfig) throws OMAGNotAuthorizedException, OMAGInvalidParameterException, OMAGConfigurationErrorException
serviceConfig - all values to configure an integration serviceOMAGNotAuthorizedException - the supplied userId is not authorized to issue this command.OMAGInvalidParameterException - invalid parameter.OMAGConfigurationErrorException - unusual state in the admin server.public void setIntegrationServicesConfig(List<IntegrationServiceConfig> integrationServicesConfig) throws OMAGNotAuthorizedException, OMAGInvalidParameterException, OMAGConfigurationErrorException
integrationServicesConfig - list of configuration properties for each integration service.OMAGNotAuthorizedException - the supplied userId is not authorized to issue this command.OMAGInvalidParameterException - invalid parameter.OMAGConfigurationErrorException - unusual state in the admin server.public void clearAllIntegrationServices()
throws OMAGNotAuthorizedException,
OMAGInvalidParameterException,
OMAGConfigurationErrorException
OMAGNotAuthorizedException - the supplied userId is not authorized to issue this command.OMAGInvalidParameterException - invalid parameter.OMAGConfigurationErrorException - unusual state in the admin server.public void clearIntegrationService(String serviceURLMarker) throws OMAGNotAuthorizedException, OMAGInvalidParameterException, OMAGConfigurationErrorException
serviceURLMarker - integration service name used in URLOMAGNotAuthorizedException - the supplied userId is not authorized to issue this command.OMAGInvalidParameterException - invalid parameter.OMAGConfigurationErrorException - unusual state in the admin server.Copyright © 2018–2021 LF AI & Data Foundation. All rights reserved.