public class ViewServerConfigurationClient extends OMAGServerConfigurationClient
adminUserId, invalidParameterHandler, nullRequestBody, restClient, serverName, serverPlatformRootURL| Modifier and Type | Method and Description |
|---|---|
void |
clearAllViewServices()
Disable the view services.
|
void |
configureAllViewService(String partnerOMASServerURLRoot,
String partnerOMASServerName,
Map<String,Object> viewServiceOptions)
Enable all registered view services with the same partner server and options.
|
void |
configureViewService(String partnerOMASServerURLRoot,
String partnerOMASServerName,
String serviceURLMarker,
Map<String,Object> viewServiceOptions)
Enable a single view service.
|
List<RegisteredOMAGService> |
getConfiguredViewServices()
Return the list of view services for this server.
|
List<ViewServiceConfig> |
getViewServicesConfiguration()
Return the configuration for the view services in this server.
|
void |
setViewServicesConfig(List<ViewServiceConfig> viewServicesConfig)
Set up the configuration for all of the open metadata view services (OMISs).
|
addAuditLogDestination, addConsoleAuditLogDestination, addEventTopicAuditLogDestination, addFileAuditLogDestination, addSLF4JAuditLogDestination, clearAuditLogDestinations, clearServerSecurityConnection, deployOMAGServerConfig, getOMAGServerConfig, getOMAGServerInstanceConfig, getServerClassification, getServerSecurityConnection, setDefaultAuditLog, setEventBus, setMaxPageSize, setOMAGServerConfig, setOrganizationName, setServerPassword, setServerSecurityConnection, setServerType, setServerURLRoot, setServerUserIdpublic List<RegisteredOMAGService> getConfiguredViewServices() 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<ViewServiceConfig> getViewServicesConfiguration() 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 configureViewService(String partnerOMASServerURLRoot, String partnerOMASServerName, String serviceURLMarker, Map<String,Object> viewServiceOptions) throws OMAGNotAuthorizedException, OMAGInvalidParameterException, OMAGConfigurationErrorException
partnerOMASServerURLRoot - URL root of the OMAG Server Platform where the access service used by this view service is runningpartnerOMASServerName - name of server where the access service used by this view service is runningserviceURLMarker - string indicating which view service it is configuringviewServiceOptions - property name/value pairs used to configure the view serviceOMAGNotAuthorizedException - the supplied userId is not authorized to issue this command.OMAGInvalidParameterException - invalid parameter.OMAGConfigurationErrorException - unusual state in the admin server.public void configureAllViewService(String partnerOMASServerURLRoot, String partnerOMASServerName, Map<String,Object> viewServiceOptions) throws OMAGNotAuthorizedException, OMAGInvalidParameterException, OMAGConfigurationErrorException
partnerOMASServerURLRoot - URL root of the OMAG Server Platform where the access service used by this view service is runningpartnerOMASServerName - name of server where the access service used by this view service is runningviewServiceOptions - property name/value pairs used to configure the view serviceOMAGNotAuthorizedException - the supplied userId is not authorized to issue this command.OMAGInvalidParameterException - invalid parameter.OMAGConfigurationErrorException - unusual state in the admin server.public void setViewServicesConfig(List<ViewServiceConfig> viewServicesConfig) throws OMAGNotAuthorizedException, OMAGInvalidParameterException, OMAGConfigurationErrorException
viewServicesConfig - list of configuration properties for each view service.OMAGNotAuthorizedException - the supplied userId is not authorized to issue this command.OMAGInvalidParameterException - invalid parameter.OMAGConfigurationErrorException - unusual state in the admin server.public void clearAllViewServices()
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.Copyright © 2018–2020 ODPi. All rights reserved.