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, 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) Remove the configuration for an Engine Host OMAG Server in a single call.getEngineHostServicesConfiguration(String serverName) Return the engine host services configuration including the list of engine services that are configured for this server.setEngineHostServicesConfig(String serverName, 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.engine- 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
Return the engine host services configuration including the list of engine services that are configured for this server.- Parameters:
serverName- name of server- Returns:
- engine host services configuration
-
setEngineHostServicesConfig
public VoidResponse setEngineHostServicesConfig(String serverName, 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.governanceEngines- 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.- Returns:
- void response UserNotAuthorizedException the supplied userId is not authorized to issue this command or OMAGConfigurationErrorException unexpected exception or InvalidParameterException invalid serverName parameter.
-