Class OMAGServerAdminForEngineHostServices
java.lang.Object
org.odpi.openmetadata.tokencontroller.TokenController
org.odpi.openmetadata.adminservices.server.OMAGServerAdminForEngineHostServices
OMAGServerAdminForEngineServices provides the server-side support for the services that add engine services
configuration to an OMAG Server.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddEngine(String serverName, String delegatingUserId, EngineConfig engine) Set up the list of governance engines that will use the metadata from the same metadata access server as the engine host uses for retrieving the engine configuration.clearEngineHostServicesConfig(String serverName, String delegatingUserId) Remove the configuration for an Engine Host OMAG Server in a single call.getEngineHostServicesConfiguration(String serverName, String delegatingUserId) Return the engine host services configuration including the list of engine services that are configured for this server.setEngineHostServicesConfig(String serverName, String delegatingUserId, List<EngineConfig> governanceEngines) Set up the configuration for an Engine Host OMAG Server in a single call.Methods inherited from class org.odpi.openmetadata.tokencontroller.TokenController
getUser
-
Constructor Details
-
OMAGServerAdminForEngineHostServices
public OMAGServerAdminForEngineHostServices()Default constructor
-
-
Method Details
-
addEngine
Set up the list of governance engines that will use the metadata from the same metadata access server as the engine host uses for retrieving the engine configuration.- Parameters:
serverName- local server name.delegatingUserId- external userId making requestengine- new engine- Returns:
- void response or UserNotAuthorizedException the supplied userId is not authorized to issue this command or OMAGConfigurationErrorException unexpected exception or InvalidParameterException invalid serverName parameter.
-
getEngineHostServicesConfiguration
public EngineHostServicesResponse getEngineHostServicesConfiguration(String serverName, String delegatingUserId) Return the engine host services configuration including the list of engine services that are configured for this server.- Parameters:
serverName- name of serverdelegatingUserId- external userId making request- Returns:
- engine host services configuration
-
setEngineHostServicesConfig
public VoidResponse setEngineHostServicesConfig(String serverName, String delegatingUserId, List<EngineConfig> governanceEngines) Set up the configuration for an Engine Host OMAG Server in a single call. This overrides the current values.- Parameters:
serverName- local server name.delegatingUserId- external userId making requestgovernanceEngines- full configuration for the engine host server.- Returns:
- void response UserNotAuthorizedException the supplied userId is not authorized to issue this command or OMAGConfigurationErrorException unexpected exception or InvalidParameterException invalid serverName parameter.
-
clearEngineHostServicesConfig
Remove the configuration for an Engine Host 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.
-