Class OMAGServerAdminForIntegrationDaemonServices
java.lang.Object
org.odpi.openmetadata.tokencontroller.TokenController
org.odpi.openmetadata.adminservices.server.OMAGServerAdminForIntegrationDaemonServices
OMAGServerAdminForIntegrationDaemonServices provides the server-side support for the services that
configure the specialized part of the integration daemon.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclearAllIntegrationGroups(String serverName, String delegatingUserId) Disable the integration groups.clearIntegrationDaemonServicesConfig(String serverName, String delegatingUserId) Remove the configuration for an Integration Daemon OMAG Server in a single call.clearIntegrationGroup(String serverName, String delegatingUserId, String groupId) Remove an integration group.configureIntegrationGroup(String serverName, String delegatingUserId, IntegrationGroupConfig requestBody) Enable a single registered integration group.getIntegrationDaemonServicesConfiguration(String serverName, String delegatingUserId) Return the integration daemon services configuration including the list of integration services and integration services that are configured for this server.getIntegrationGroupsConfiguration(String serverName, String delegatingUserId) Return the list of integration groups that are configured for this server.setIntegrationDaemonServicesConfig(String serverName, String delegatingUserId, IntegrationDaemonServicesConfig servicesConfig) Set up the configuration for an Integration Daemon OMAG Server in a single call.setIntegrationGroupsConfig(String serverName, String delegatingUserId, List<IntegrationGroupConfig> integrationGroupsConfig) Set up the configuration for all the open metadata integration groups.Methods inherited from class org.odpi.openmetadata.tokencontroller.TokenController
getUser
-
Constructor Details
-
OMAGServerAdminForIntegrationDaemonServices
public OMAGServerAdminForIntegrationDaemonServices()Default constructor
-
-
Method Details
-
getIntegrationGroupsConfiguration
public IntegrationGroupsResponse getIntegrationGroupsConfiguration(String serverName, String delegatingUserId) Return the list of integration groups that are configured for this server.- Parameters:
serverName- name of serverdelegatingUserId- external userId making request- Returns:
- list of access service configurations
-
configureIntegrationGroup
public VoidResponse configureIntegrationGroup(String serverName, String delegatingUserId, IntegrationGroupConfig requestBody) Enable a single registered integration group. This builds the integration group configuration for the server's config document.- Parameters:
serverName- local server name.delegatingUserId- external userId making requestrequestBody- minimum values to configure an integration group- Returns:
- void response or UserNotAuthorizedException the supplied userId is not authorized to issue this command or OMAGConfigurationErrorException the event bus has not been configured or InvalidParameterException invalid serverName parameter.
-
setIntegrationGroupsConfig
public VoidResponse setIntegrationGroupsConfig(String serverName, String delegatingUserId, List<IntegrationGroupConfig> integrationGroupsConfig) Set up the configuration for all the open metadata integration groups. This overrides the current values.- Parameters:
serverName- local server name.delegatingUserId- external userId making requestintegrationGroupsConfig- list of configuration properties for each integration group.- Returns:
- void response or UserNotAuthorizedException the supplied userId is not authorized to issue this command or InvalidParameterException invalid serverName or integrationGroupsConfig parameter.
-
clearAllIntegrationGroups
Disable the integration groups. This removes all configuration for the integration groups and disables the enterprise repository services.- Parameters:
serverName- local server name.delegatingUserId- external userId making request- Returns:
- void response or UserNotAuthorizedException the supplied userId is not authorized to issue this command or InvalidParameterException invalid serverName parameter.
-
clearIntegrationGroup
public VoidResponse clearIntegrationGroup(String serverName, String delegatingUserId, String groupId) Remove an integration group. This removes all configuration for the integration group.- Parameters:
serverName- local server name.delegatingUserId- external userId making requestgroupId- integration group id- Returns:
- void response or UserNotAuthorizedException the supplied userId is not authorized to issue this command or InvalidParameterException invalid serverName parameter.
-
getIntegrationDaemonServicesConfiguration
public IntegrationDaemonServicesResponse getIntegrationDaemonServicesConfiguration(String serverName, String delegatingUserId) Return the integration daemon services configuration including the list of integration services and integration services that are configured for this server.- Parameters:
serverName- name of serverdelegatingUserId- external userId making request- Returns:
- integration daemon services configuration
-
setIntegrationDaemonServicesConfig
public VoidResponse setIntegrationDaemonServicesConfig(String serverName, String delegatingUserId, IntegrationDaemonServicesConfig servicesConfig) Set up the configuration for an Integration Daemon OMAG Server in a single call. This overrides the current values.- Parameters:
serverName- local server name.delegatingUserId- external userId making requestservicesConfig- full configuration for the integration daemon server.- Returns:
- void response UserNotAuthorizedException the supplied userId is not authorized to issue this command or OMAGConfigurationErrorException unexpected exception or InvalidParameterException invalid serverName parameter.
-
clearIntegrationDaemonServicesConfig
public VoidResponse clearIntegrationDaemonServicesConfig(String serverName, String delegatingUserId) Remove the configuration for an Integration Daemon OMAG Server in a single call. This overrides the current values.- Parameters:
serverName- local server name.delegatingUserId- external userId making request- Returns:
- void response UserNotAuthorizedException the supplied userId is not authorized to issue this command or OMAGConfigurationErrorException unexpected exception or InvalidParameterException invalid serverName parameter.
-