public class ViewServerConfigurationClient extends OMAGServerConfigurationClient
adminUserId, invalidParameterHandler, nullRequestBody, restClient, serverName, serverPlatformRootURL| Constructor and Description |
|---|
ViewServerConfigurationClient(String adminUserId,
String serverName,
String serverPlatformRootURL)
Create a new client with no authentication embedded in the HTTP request.
|
ViewServerConfigurationClient(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 |
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<RegisteredOMAGService> |
getRegisteredViewServices()
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 ViewServerConfigurationClient(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 ViewServerConfigurationClient(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> getRegisteredViewServices() 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> 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–2021 LF AI & Data Foundation. All rights reserved.