public class EngineHostConfigurationClient extends OMAGServerConfigurationClient
adminUserId, invalidParameterHandler, nullRequestBody, restClient, serverName, serverPlatformRootURL| Constructor and Description |
|---|
EngineHostConfigurationClient(String adminUserId,
String serverName,
String serverPlatformRootURL)
Create a new client with no authentication embedded in the HTTP request.
|
EngineHostConfigurationClient(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 |
clearAllEngineServices()
Disable the engine services.
|
void |
clearEngineDefinitionsClientConfig()
Clear the configuration for the metadata server that provides the governance engine definitions through the
Governance Engine OMAS.
|
void |
clearEngineHostServices()
Clear the configuration for the engine host services.
|
void |
clearEngineService(String serviceURLMarker)
Disable the engine services.
|
void |
configureEngineService(EngineServiceConfig serviceConfig)
Add configuration for a single engine service to the server's config document.
|
void |
configureEngineService(String partnerOMASServerURLRoot,
String partnerOMASServerName,
String serviceURLMarker,
Map<String,Object> engineServiceOptions,
List<EngineConfig> engines)
Enable a single engine service.
|
List<RegisteredOMAGService> |
getConfiguredEngineServices()
Return the list of engine services for this server.
|
EngineHostServicesConfig |
getEngineHostServicesConfiguration()
Return the configuration for the complete engine host services in this server.
|
EngineServiceConfig |
getEngineServiceConfiguration(String serviceURLMarker)
Return the configuration for the named engine service for this server.
|
List<RegisteredOMAGService> |
getRegisteredEngineServices()
Return the list of engine services for this server.
|
void |
setEngineDefinitionsClientConfig(OMAGServerClientConfig clientConfig)
Set up the name and platform URL root for the metadata server running the Governance Engine OMAS that provides
the governance engine definitions used by the engine services.
|
void |
setEngineHostServicesConfig(EngineHostServicesConfig engineHostServicesConfig)
Set up the configuration for the Engine Host Services in an Engine Host OMAG Server in a single call.
|
void |
setEngineServicesConfig(List<EngineServiceConfig> engineServicesConfig)
Set up the configuration for all of the open metadata engine services (OMESs).
|
addAuditLogDestination, addConsoleAuditLogDestination, addEventTopicAuditLogDestination, addFileAuditLogDestination, addSLF4JAuditLogDestination, clearAuditLogDestinations, clearServerSecurityConnection, deployOMAGServerConfig, getOMAGServerConfig, getOMAGServerInstanceConfig, getServerClassification, getServerSecurityConnection, setDefaultAuditLog, setEventBus, setMaxPageSize, setOMAGServerConfig, setOrganizationName, setServerPassword, setServerSecurityConnection, setServerType, setServerURLRoot, setServerUserIdpublic EngineHostConfigurationClient(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 EngineHostConfigurationClient(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> getRegisteredEngineServices() 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> getConfiguredEngineServices() 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 EngineHostServicesConfig getEngineHostServicesConfiguration() 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 EngineServiceConfig getEngineServiceConfiguration(String serviceURLMarker) throws OMAGNotAuthorizedException, OMAGInvalidParameterException, OMAGConfigurationErrorException
serviceURLMarker - engine 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 setEngineDefinitionsClientConfig(OMAGServerClientConfig clientConfig) throws OMAGNotAuthorizedException, OMAGInvalidParameterException, OMAGConfigurationErrorException
clientConfig - URL root and server name for the metadata server.OMAGNotAuthorizedException - the supplied userId is not authorized to issue this command.OMAGInvalidParameterException - invalid parameter.OMAGConfigurationErrorException - unusual state in the admin server.public void configureEngineService(String partnerOMASServerURLRoot, String partnerOMASServerName, String serviceURLMarker, Map<String,Object> engineServiceOptions, List<EngineConfig> engines) throws OMAGNotAuthorizedException, OMAGInvalidParameterException, OMAGConfigurationErrorException
partnerOMASServerURLRoot - URL root of the OMAG Server Platform where the access service used by this engine service is runningpartnerOMASServerName - name of server where the access service used by this engine service is runningserviceURLMarker - string indicating which engine service it is configuringengineServiceOptions - property name/value pairs used to configure the engine serviceengines - list of qualified names of the engines and optional user informationOMAGNotAuthorizedException - the supplied userId is not authorized to issue this command.OMAGInvalidParameterException - invalid parameter.OMAGConfigurationErrorException - unusual state in the admin server.public void configureEngineService(EngineServiceConfig serviceConfig) throws OMAGNotAuthorizedException, OMAGInvalidParameterException, OMAGConfigurationErrorException
serviceConfig - all values to configure an engine serviceOMAGNotAuthorizedException - the supplied userId is not authorized to issue this command.OMAGInvalidParameterException - invalid parameter.OMAGConfigurationErrorException - unusual state in the admin server.public void setEngineServicesConfig(List<EngineServiceConfig> engineServicesConfig) throws OMAGNotAuthorizedException, OMAGInvalidParameterException, OMAGConfigurationErrorException
engineServicesConfig - list of configuration properties for each engine service.OMAGNotAuthorizedException - the supplied userId is not authorized to issue this command.OMAGInvalidParameterException - invalid parameter.OMAGConfigurationErrorException - unusual state in the admin server.public void setEngineHostServicesConfig(EngineHostServicesConfig engineHostServicesConfig) throws OMAGNotAuthorizedException, OMAGInvalidParameterException, OMAGConfigurationErrorException
engineHostServicesConfig - governance engine definition client config and list of configuration properties for each engine service.OMAGNotAuthorizedException - the supplied userId is not authorized to issue this command.OMAGInvalidParameterException - invalid parameter.OMAGConfigurationErrorException - unusual state in the admin server.public void clearEngineHostServices()
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 clearEngineDefinitionsClientConfig()
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 clearAllEngineServices()
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 clearEngineService(String serviceURLMarker) throws OMAGNotAuthorizedException, OMAGInvalidParameterException, OMAGConfigurationErrorException
serviceURLMarker - engine 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.