Class DinoViewHandler
java.lang.Object
org.odpi.openmetadata.viewservices.dino.handlers.DinoViewHandler
The DinoViewHandler is initialised with the configured resource endpoints.
The handler exposes methods for functionality for the dino view
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor for DinoViewHandlerDinoViewHandler(List<org.odpi.openmetadata.adminservices.configuration.properties.ResourceEndpointConfig> resourceEndpoints) Constructor for DinoViewHandler with configured resourceEndpoints -
Method Summary
Modifier and TypeMethodDescriptiongetResourceEndpoints(String userId, String methodName) getResourceEndpoints - returns a list of the configured resource endpoints.List<org.odpi.openmetadata.commonservices.ffdc.rest.RegisteredOMAGService>platformGetAccessServiceList(String userId, String platformName, String methodName) List<org.odpi.openmetadata.viewservices.dino.api.properties.DinoServerInstance>platformGetActiveServerList(String userId, String platformName, String methodName) List<org.odpi.openmetadata.commonservices.ffdc.rest.RegisteredOMAGService>platformGetCommonServiceList(String userId, String platformName, String methodName) List<org.odpi.openmetadata.commonservices.ffdc.rest.RegisteredOMAGService>platformGetGovernanceServiceList(String userId, String platformName, String methodName) List<org.odpi.openmetadata.viewservices.dino.api.properties.DinoServerInstance>platformGetKnownServerList(String userId, String platformName, String methodName) platformGetOrigin(String userId, String platformName, String methodName) org.odpi.openmetadata.viewservices.dino.api.properties.PlatformOverviewplatformGetOverview(String userId, String platformName, String methodName) List<org.odpi.openmetadata.commonservices.ffdc.rest.RegisteredOMAGService>platformGetViewServiceList(String userId, String platformName, String methodName) org.odpi.openmetadata.viewservices.dino.api.properties.ServiceDetailsserverGetAccessServiceDetails(String userId, String serverName, String platformName, String serviceFullName, String serviceURLMarker, String methodName) List<org.odpi.openmetadata.commonservices.ffdc.rest.RegisteredOMAGService>serverGetAccessServices(String userId, String serverName, String platformName, String methodName) org.odpi.openmetadata.repositoryservices.auditlog.OMRSAuditLogReportserverGetAuditLog(String userId, String serverName, String platformName, String methodName) serverGetCohortDetails(String userId, String serverName, String platformName, String methodName) Retrieve the server's cohort descriptions and the local and remote registrations for each cohortorg.odpi.openmetadata.viewservices.dino.api.properties.EngineDetailsserverGetEngineDetails(String userId, String serverName, String platformName, String engineQualifiedName, String methodName) org.odpi.openmetadata.viewservices.dino.api.properties.ServiceDetailsserverGetEngineServiceDetails(String userId, String serverName, String platformName, String serviceURLMarker, String methodName) List<org.odpi.openmetadata.commonservices.ffdc.rest.RegisteredOMAGService>serverGetEngineServices(String userId, String serverName, String platformName, String methodName) org.odpi.openmetadata.adminservices.configuration.properties.OMAGServerConfigserverGetInstanceConfiguration(String userId, String serverName, String platformName, String methodName) org.odpi.openmetadata.viewservices.dino.api.properties.ServiceDetailsserverGetIntegrationServiceDetails(String userId, String serverName, String platformName, String serviceURLMarker, String methodName) List<org.odpi.openmetadata.commonservices.ffdc.rest.RegisteredOMAGService>serverGetIntegrationServices(String userId, String serverName, String platformName, String methodName) serverGetOrigin(String userId, String serverName, String platformName, String methodName) org.odpi.openmetadata.viewservices.dino.api.properties.ServerOverviewserverGetOverview(String userId, String serverName, String platformName, String serverInstanceName, String description, String methodName) org.odpi.openmetadata.adminservices.configuration.properties.OMAGServerConfigserverGetStoredConfiguration(String userId, String serverName, String platformName, String methodName) org.odpi.openmetadata.adminservices.rest.ServerTypeClassificationSummaryserverGetTypeClassification(String userId, String serverName, String platformName, String methodName) org.odpi.openmetadata.viewservices.dino.api.properties.ServiceDetailsserverGetViewServiceDetails(String userId, String serverName, String platformName, String serviceURLMarker, String methodName) List<org.odpi.openmetadata.commonservices.ffdc.rest.RegisteredOMAGService>serverGetViewServices(String userId, String serverName, String platformName, String methodName)
-
Constructor Details
-
DinoViewHandler
public DinoViewHandler()Default constructor for DinoViewHandler -
DinoViewHandler
public DinoViewHandler(List<org.odpi.openmetadata.adminservices.configuration.properties.ResourceEndpointConfig> resourceEndpoints) Constructor for DinoViewHandler with configured resourceEndpoints- Parameters:
resourceEndpoints- - list of resource endpoint configuration objects for this view service
-
-
Method Details
-
getResourceEndpoints
public Map<String,List<org.odpi.openmetadata.viewservices.dino.api.properties.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 org.odpi.openmetadata.viewservices.dino.api.properties.PlatformOverview platformGetOverview(String userId, String platformName, String methodName) throws org.odpi.openmetadata.viewservices.dino.api.ffdc.DinoViewServiceException - Throws:
org.odpi.openmetadata.viewservices.dino.api.ffdc.DinoViewServiceException
-
platformGetOrigin
public String platformGetOrigin(String userId, String platformName, String methodName) throws org.odpi.openmetadata.viewservices.dino.api.ffdc.DinoViewServiceException - Throws:
org.odpi.openmetadata.viewservices.dino.api.ffdc.DinoViewServiceException
-
platformGetActiveServerList
public List<org.odpi.openmetadata.viewservices.dino.api.properties.DinoServerInstance> platformGetActiveServerList(String userId, String platformName, String methodName) throws org.odpi.openmetadata.viewservices.dino.api.ffdc.DinoViewServiceException - Throws:
org.odpi.openmetadata.viewservices.dino.api.ffdc.DinoViewServiceException
-
platformGetKnownServerList
public List<org.odpi.openmetadata.viewservices.dino.api.properties.DinoServerInstance> platformGetKnownServerList(String userId, String platformName, String methodName) throws org.odpi.openmetadata.viewservices.dino.api.ffdc.DinoViewServiceException - Throws:
org.odpi.openmetadata.viewservices.dino.api.ffdc.DinoViewServiceException
-
platformGetAccessServiceList
public List<org.odpi.openmetadata.commonservices.ffdc.rest.RegisteredOMAGService> platformGetAccessServiceList(String userId, String platformName, String methodName) throws org.odpi.openmetadata.viewservices.dino.api.ffdc.DinoViewServiceException - Throws:
org.odpi.openmetadata.viewservices.dino.api.ffdc.DinoViewServiceException
-
platformGetViewServiceList
public List<org.odpi.openmetadata.commonservices.ffdc.rest.RegisteredOMAGService> platformGetViewServiceList(String userId, String platformName, String methodName) throws org.odpi.openmetadata.viewservices.dino.api.ffdc.DinoViewServiceException - Throws:
org.odpi.openmetadata.viewservices.dino.api.ffdc.DinoViewServiceException
-
platformGetGovernanceServiceList
public List<org.odpi.openmetadata.commonservices.ffdc.rest.RegisteredOMAGService> platformGetGovernanceServiceList(String userId, String platformName, String methodName) throws org.odpi.openmetadata.viewservices.dino.api.ffdc.DinoViewServiceException - Throws:
org.odpi.openmetadata.viewservices.dino.api.ffdc.DinoViewServiceException
-
platformGetCommonServiceList
public List<org.odpi.openmetadata.commonservices.ffdc.rest.RegisteredOMAGService> platformGetCommonServiceList(String userId, String platformName, String methodName) throws org.odpi.openmetadata.viewservices.dino.api.ffdc.DinoViewServiceException - Throws:
org.odpi.openmetadata.viewservices.dino.api.ffdc.DinoViewServiceException
-
serverGetOverview
public org.odpi.openmetadata.viewservices.dino.api.properties.ServerOverview serverGetOverview(String userId, String serverName, String platformName, String serverInstanceName, String description, String methodName) throws org.odpi.openmetadata.viewservices.dino.api.ffdc.DinoViewServiceException - Throws:
org.odpi.openmetadata.viewservices.dino.api.ffdc.DinoViewServiceException
-
serverGetOrigin
public String serverGetOrigin(String userId, String serverName, String platformName, String methodName) throws org.odpi.openmetadata.viewservices.dino.api.ffdc.DinoViewServiceException - Throws:
org.odpi.openmetadata.viewservices.dino.api.ffdc.DinoViewServiceException
-
serverGetTypeClassification
public org.odpi.openmetadata.adminservices.rest.ServerTypeClassificationSummary serverGetTypeClassification(String userId, String serverName, String platformName, String methodName) throws org.odpi.openmetadata.viewservices.dino.api.ffdc.DinoViewServiceException - Throws:
org.odpi.openmetadata.viewservices.dino.api.ffdc.DinoViewServiceException
-
serverGetStoredConfiguration
public org.odpi.openmetadata.adminservices.configuration.properties.OMAGServerConfig serverGetStoredConfiguration(String userId, String serverName, String platformName, String methodName) throws org.odpi.openmetadata.viewservices.dino.api.ffdc.DinoViewServiceException - Throws:
org.odpi.openmetadata.viewservices.dino.api.ffdc.DinoViewServiceException
-
serverGetInstanceConfiguration
public org.odpi.openmetadata.adminservices.configuration.properties.OMAGServerConfig serverGetInstanceConfiguration(String userId, String serverName, String platformName, String methodName) throws org.odpi.openmetadata.viewservices.dino.api.ffdc.DinoViewServiceException - Throws:
org.odpi.openmetadata.viewservices.dino.api.ffdc.DinoViewServiceException
-
serverGetCohortDetails
public Map<String,org.odpi.openmetadata.viewservices.dino.api.properties.ServerCohortDetails> serverGetCohortDetails(String userId, String serverName, String platformName, String methodName) throws org.odpi.openmetadata.viewservices.dino.api.ffdc.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:
org.odpi.openmetadata.viewservices.dino.api.ffdc.DinoViewServiceException- an error was detected and reported
-
serverGetAuditLog
public org.odpi.openmetadata.repositoryservices.auditlog.OMRSAuditLogReport serverGetAuditLog(String userId, String serverName, String platformName, String methodName) throws org.odpi.openmetadata.viewservices.dino.api.ffdc.DinoViewServiceException - Throws:
org.odpi.openmetadata.viewservices.dino.api.ffdc.DinoViewServiceException
-
serverGetIntegrationServices
public List<org.odpi.openmetadata.commonservices.ffdc.rest.RegisteredOMAGService> serverGetIntegrationServices(String userId, String serverName, String platformName, String methodName) throws org.odpi.openmetadata.viewservices.dino.api.ffdc.DinoViewServiceException - Throws:
org.odpi.openmetadata.viewservices.dino.api.ffdc.DinoViewServiceException
-
serverGetEngineServices
public List<org.odpi.openmetadata.commonservices.ffdc.rest.RegisteredOMAGService> serverGetEngineServices(String userId, String serverName, String platformName, String methodName) throws org.odpi.openmetadata.viewservices.dino.api.ffdc.DinoViewServiceException - Throws:
org.odpi.openmetadata.viewservices.dino.api.ffdc.DinoViewServiceException
-
serverGetAccessServices
public List<org.odpi.openmetadata.commonservices.ffdc.rest.RegisteredOMAGService> serverGetAccessServices(String userId, String serverName, String platformName, String methodName) throws org.odpi.openmetadata.viewservices.dino.api.ffdc.DinoViewServiceException - Throws:
org.odpi.openmetadata.viewservices.dino.api.ffdc.DinoViewServiceException
-
serverGetViewServices
public List<org.odpi.openmetadata.commonservices.ffdc.rest.RegisteredOMAGService> serverGetViewServices(String userId, String serverName, String platformName, String methodName) throws org.odpi.openmetadata.viewservices.dino.api.ffdc.DinoViewServiceException - Throws:
org.odpi.openmetadata.viewservices.dino.api.ffdc.DinoViewServiceException
-
serverGetIntegrationServiceDetails
public org.odpi.openmetadata.viewservices.dino.api.properties.ServiceDetails serverGetIntegrationServiceDetails(String userId, String serverName, String platformName, String serviceURLMarker, String methodName) throws org.odpi.openmetadata.viewservices.dino.api.ffdc.DinoViewServiceException - Throws:
org.odpi.openmetadata.viewservices.dino.api.ffdc.DinoViewServiceException
-
serverGetEngineServiceDetails
public org.odpi.openmetadata.viewservices.dino.api.properties.ServiceDetails serverGetEngineServiceDetails(String userId, String serverName, String platformName, String serviceURLMarker, String methodName) throws org.odpi.openmetadata.viewservices.dino.api.ffdc.DinoViewServiceException - Throws:
org.odpi.openmetadata.viewservices.dino.api.ffdc.DinoViewServiceException
-
serverGetAccessServiceDetails
public org.odpi.openmetadata.viewservices.dino.api.properties.ServiceDetails serverGetAccessServiceDetails(String userId, String serverName, String platformName, String serviceFullName, String serviceURLMarker, String methodName) throws org.odpi.openmetadata.viewservices.dino.api.ffdc.DinoViewServiceException - Throws:
org.odpi.openmetadata.viewservices.dino.api.ffdc.DinoViewServiceException
-
serverGetViewServiceDetails
public org.odpi.openmetadata.viewservices.dino.api.properties.ServiceDetails serverGetViewServiceDetails(String userId, String serverName, String platformName, String serviceURLMarker, String methodName) throws org.odpi.openmetadata.viewservices.dino.api.ffdc.DinoViewServiceException - Throws:
org.odpi.openmetadata.viewservices.dino.api.ffdc.DinoViewServiceException
-
serverGetEngineDetails
public org.odpi.openmetadata.viewservices.dino.api.properties.EngineDetails serverGetEngineDetails(String userId, String serverName, String platformName, String engineQualifiedName, String methodName) throws org.odpi.openmetadata.viewservices.dino.api.ffdc.DinoViewServiceException - Throws:
org.odpi.openmetadata.viewservices.dino.api.ffdc.DinoViewServiceException
-