public class DinoViewHandler extends Object
| Constructor and Description |
|---|
DinoViewHandler(List<ResourceEndpointConfig> resourceEndpoints)
Constructor for the DinoViewHandler
~Store the configured endpoints
|
public DinoViewHandler(List<ResourceEndpointConfig> resourceEndpoints)
public Map<String,List<ResourceEndpoint>> getResourceEndpoints(String userId, String methodName)
userId - userId under which the request is performedmethodName - The name of the method being invoked
This method will return the resource endpoints that have been configured for the view servicepublic PlatformOverview platformGetOverview(String userId, String platformName, String methodName) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
public String platformGetOrigin(String userId, String platformName, String methodName) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
public List<DinoServerInstance> platformGetActiveServerList(String userId, String platformName, String methodName) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
public List<DinoServerInstance> platformGetKnownServerList(String userId, String platformName, String methodName) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
public List<RegisteredOMAGService> platformGetAccessServiceList(String userId, String platformName, String methodName) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
public List<RegisteredOMAGService> platformGetViewServiceList(String userId, String platformName, String methodName) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
public List<RegisteredOMAGService> platformGetGovernanceServiceList(String userId, String platformName, String methodName) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
public List<RegisteredOMAGService> platformGetCommonServiceList(String userId, String platformName, String methodName) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
public ServerOverview serverGetOverview(String userId, String serverName, String platformName, String serverInstanceName, String description, String methodName) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException, RepositoryErrorException
public String serverGetOrigin(String userId, String serverName, String platformName, String methodName) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
public ServerTypeClassificationSummary serverGetTypeClassification(String userId, String serverName, String platformName, String methodName) throws InvalidParameterException, OMAGInvalidParameterException, OMAGNotAuthorizedException, OMAGConfigurationErrorException
public OMAGServerConfig serverGetStoredConfiguration(String userId, String serverName, String platformName, String methodName) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
public OMAGServerConfig serverGetInstanceConfiguration(String userId, String serverName, String platformName, String methodName) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
public Map<String,ServerCohortDetails> serverGetCohortDetails(String userId, String serverName, String platformName, String methodName) throws InvalidParameterException, UserNotAuthorizedException
userId - userId under which the request is performedserverName - The name of the server to interrogateplatformName - The name of the platform the server can be reached atmethodName - The name of the method being invokedInvalidParameterException - one of the parameters is null or invalid.UserNotAuthorizedException - user is not authorized to perform the requested operationpublic OMRSAuditLogReport serverGetAuditLog(String userId, String serverName, String platformName, String methodName) throws UserNotAuthorizedException, InvalidParameterException
Copyright © 2018–2020 ODPi. All rights reserved.