Class DinoViewHandler
- java.lang.Object
-
- org.odpi.openmetadata.viewservices.dino.handlers.DinoViewHandler
-
public class DinoViewHandler extends Object
The DinoViewHandler is initialised with the configured resource endpoints. The handler exposes methods for functionality for the dino view
-
-
Constructor Summary
Constructors Constructor Description DinoViewHandler()Default constructor for DinoViewHandlerDinoViewHandler(List<ResourceEndpointConfig> resourceEndpoints)Constructor for DinoViewHandler with configured resourceEndpoints
-
Method Summary
-
-
-
Constructor Detail
-
DinoViewHandler
public DinoViewHandler()
Default constructor for DinoViewHandler
-
DinoViewHandler
public DinoViewHandler(List<ResourceEndpointConfig> resourceEndpoints)
Constructor for DinoViewHandler with configured resourceEndpoints- Parameters:
resourceEndpoints- - list of resource endpoint configuration objects for this view service
-
-
Method Detail
-
getResourceEndpoints
public Map<String,List<ResourceEndpoint>> getResourceEndpoints(String userId, String methodName)
getResourceEndpoints - returns a list of the configured resource endpoints. Does not include discovered resource endpoints.- Parameters:
userId- userId under which the request is performedmethodName- The name of the method being invoked- Returns:
- The resource endpoints that have been configured for the view service
-
platformGetOverview
public PlatformOverview platformGetOverview(String userId, String platformName, String methodName) throws DinoViewServiceException
- Throws:
DinoViewServiceException
-
platformGetOrigin
public String platformGetOrigin(String userId, String platformName, String methodName) throws DinoViewServiceException
- Throws:
DinoViewServiceException
-
platformGetActiveServerList
public List<DinoServerInstance> platformGetActiveServerList(String userId, String platformName, String methodName) throws DinoViewServiceException
- Throws:
DinoViewServiceException
-
platformGetKnownServerList
public List<DinoServerInstance> platformGetKnownServerList(String userId, String platformName, String methodName) throws DinoViewServiceException
- Throws:
DinoViewServiceException
-
platformGetAccessServiceList
public List<RegisteredOMAGService> platformGetAccessServiceList(String userId, String platformName, String methodName) throws DinoViewServiceException
- Throws:
DinoViewServiceException
-
platformGetViewServiceList
public List<RegisteredOMAGService> platformGetViewServiceList(String userId, String platformName, String methodName) throws DinoViewServiceException
- Throws:
DinoViewServiceException
-
platformGetGovernanceServiceList
public List<RegisteredOMAGService> platformGetGovernanceServiceList(String userId, String platformName, String methodName) throws DinoViewServiceException
- Throws:
DinoViewServiceException
-
platformGetCommonServiceList
public List<RegisteredOMAGService> platformGetCommonServiceList(String userId, String platformName, String methodName) throws DinoViewServiceException
- Throws:
DinoViewServiceException
-
serverGetOverview
public ServerOverview serverGetOverview(String userId, String serverName, String platformName, String serverInstanceName, String description, String methodName) throws DinoViewServiceException
- Throws:
DinoViewServiceException
-
serverGetOrigin
public String serverGetOrigin(String userId, String serverName, String platformName, String methodName) throws DinoViewServiceException
- Throws:
DinoViewServiceException
-
serverGetTypeClassification
public ServerTypeClassificationSummary serverGetTypeClassification(String userId, String serverName, String platformName, String methodName) throws DinoViewServiceException
- Throws:
DinoViewServiceException
-
serverGetStoredConfiguration
public OMAGServerConfig serverGetStoredConfiguration(String userId, String serverName, String platformName, String methodName) throws DinoViewServiceException
- Throws:
DinoViewServiceException
-
serverGetInstanceConfiguration
public OMAGServerConfig serverGetInstanceConfiguration(String userId, String serverName, String platformName, String methodName) throws DinoViewServiceException
- Throws:
DinoViewServiceException
-
serverGetCohortDetails
public Map<String,ServerCohortDetails> serverGetCohortDetails(String userId, String serverName, String platformName, String methodName) throws DinoViewServiceException
Retrieve the server's cohort descriptions and the local and remote registrations for each cohort- Parameters:
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 invoked- Returns:
- the server type as a String Exceptions returned by the server
- Throws:
DinoViewServiceException- an error was detected and reported
-
serverGetAuditLog
public OMRSAuditLogReport serverGetAuditLog(String userId, String serverName, String platformName, String methodName) throws DinoViewServiceException
- Throws:
DinoViewServiceException
-
serverGetIntegrationServices
public List<RegisteredOMAGService> serverGetIntegrationServices(String userId, String serverName, String platformName, String methodName) throws DinoViewServiceException
- Throws:
DinoViewServiceException
-
serverGetEngineServices
public List<RegisteredOMAGService> serverGetEngineServices(String userId, String serverName, String platformName, String methodName) throws DinoViewServiceException
- Throws:
DinoViewServiceException
-
serverGetAccessServices
public List<RegisteredOMAGService> serverGetAccessServices(String userId, String serverName, String platformName, String methodName) throws DinoViewServiceException
- Throws:
DinoViewServiceException
-
serverGetViewServices
public List<RegisteredOMAGService> serverGetViewServices(String userId, String serverName, String platformName, String methodName) throws DinoViewServiceException
- Throws:
DinoViewServiceException
-
serverGetIntegrationServiceDetails
public ServiceDetails serverGetIntegrationServiceDetails(String userId, String serverName, String platformName, String serviceURLMarker, String methodName) throws DinoViewServiceException
- Throws:
DinoViewServiceException
-
serverGetEngineServiceDetails
public ServiceDetails serverGetEngineServiceDetails(String userId, String serverName, String platformName, String serviceURLMarker, String methodName) throws DinoViewServiceException
- Throws:
DinoViewServiceException
-
serverGetAccessServiceDetails
public ServiceDetails serverGetAccessServiceDetails(String userId, String serverName, String platformName, String serviceFullName, String serviceURLMarker, String methodName) throws DinoViewServiceException
- Throws:
DinoViewServiceException
-
serverGetViewServiceDetails
public ServiceDetails serverGetViewServiceDetails(String userId, String serverName, String platformName, String serviceURLMarker, String methodName) throws DinoViewServiceException
- Throws:
DinoViewServiceException
-
serverGetEngineDetails
public EngineDetails serverGetEngineDetails(String userId, String serverName, String platformName, String engineQualifiedName, String methodName) throws DinoViewServiceException
- Throws:
DinoViewServiceException
-
-