Class OMAGServerPlatformActiveServices
java.lang.Object
org.odpi.openmetadata.platformservices.server.OMAGServerPlatformActiveServices
OMAGServerPlatformActiveServices allow an external caller to determine which servers are active on the
platform and the services that are active within them.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.odpi.openmetadata.platformservices.rest.ServerListResponsegetActiveServerList(String userId) Return the list of OMAG Servers that are active on this OMAG Server Platform.org.odpi.openmetadata.serveroperations.rest.ServerServicesListResponsegetActiveServicesForServer(String userId, String serverName) Return the list of services that are active on a specific OMAG Server that is active on this OMAG Server Platform.org.odpi.openmetadata.commonservices.ffdc.rest.RegisteredOMAGServicesResponsegetAllRegisteredServices(String userId) Return the list of all services that are registered (supported) in this OMAG Server Platform.org.odpi.openmetadata.commonservices.ffdc.rest.OCFConnectorTypeResponsegetConnectorType(String userId, String connectorProviderClassName) Return the connector type for the requested connector provider after validating that the connector provider is available on the OMAGServerPlatform's class path.org.odpi.openmetadata.platformservices.rest.ServerListResponsegetKnownServerList(String userId) Return the list of OMAG Servers that have run or are running in this OMAG Server Platform.getPlatformStartTime(String userId) Return the start time for this instance of the platform.org.odpi.openmetadata.commonservices.ffdc.rest.RegisteredOMAGServicesResponsegetRegisteredAccessServices(String userId) Return the list of access services that are registered (supported) in this OMAG Server Platform and can be configured in a metadata access point or metadata server.org.odpi.openmetadata.commonservices.ffdc.rest.RegisteredOMAGServicesResponsegetRegisteredCommonServices(String userId) Return the list of common services that are registered (supported) in this OMAG Server Platform.org.odpi.openmetadata.commonservices.ffdc.rest.RegisteredOMAGServicesResponsegetRegisteredEngineServices(String userId) Return the list of engine services that are registered (supported) in this OMAG Server Platform and can be configured in an engine hosting OMAG server.org.odpi.openmetadata.commonservices.ffdc.rest.RegisteredOMAGServicesResponseReturn the list of governance services that are registered (supported) in this OMAG Server Platform and can be configured as part of a governance server.org.odpi.openmetadata.commonservices.ffdc.rest.RegisteredOMAGServicesResponseReturn the list of integration services that are implemented in this OMAG Server Platform and can be configured in an integration daemon.org.odpi.openmetadata.commonservices.ffdc.rest.RegisteredOMAGServicesResponsegetRegisteredViewServices(String userId) Return the list of view services that are registered (supported) in this OMAG Server Platform and can be configured in a view server.org.odpi.openmetadata.serveroperations.rest.ServerStatusResponsegetServerStatus(String userId, String serverName) Return information about when the server has been active.org.odpi.openmetadata.commonservices.ffdc.rest.BooleanResponseisServerKnown(String userId, String serverName) Return a flag to indicate if this server has ever run on this OMAG Server Platform.org.odpi.openmetadata.commonservices.ffdc.rest.VoidResponseshutdownPlatform(String userId) Shutdown this OMAG Server Platform.
-
Constructor Details
-
OMAGServerPlatformActiveServices
public OMAGServerPlatformActiveServices()
-
-
Method Details
-
getPlatformStartTime
Return the start time for this instance of the platform.- Parameters:
userId- calling user- Returns:
- start date/time
-
getRegisteredAccessServices
public org.odpi.openmetadata.commonservices.ffdc.rest.RegisteredOMAGServicesResponse getRegisteredAccessServices(String userId) Return the list of access services that are registered (supported) in this OMAG Server Platform and can be configured in a metadata access point or metadata server.- Parameters:
userId- calling user- Returns:
- list of service descriptions
-
getRegisteredEngineServices
public org.odpi.openmetadata.commonservices.ffdc.rest.RegisteredOMAGServicesResponse getRegisteredEngineServices(String userId) Return the list of engine services that are registered (supported) in this OMAG Server Platform and can be configured in an engine hosting OMAG server.- Parameters:
userId- calling user- Returns:
- list of service descriptions
-
getRegisteredIntegrationServices
public org.odpi.openmetadata.commonservices.ffdc.rest.RegisteredOMAGServicesResponse getRegisteredIntegrationServices(String userId) Return the list of integration services that are implemented in this OMAG Server Platform and can be configured in an integration daemon.- Parameters:
userId- calling user- Returns:
- list of service descriptions
-
getRegisteredViewServices
public org.odpi.openmetadata.commonservices.ffdc.rest.RegisteredOMAGServicesResponse getRegisteredViewServices(String userId) Return the list of view services that are registered (supported) in this OMAG Server Platform and can be configured in a view server.- Parameters:
userId- calling user- Returns:
- list of service descriptions
-
getRegisteredGovernanceServices
public org.odpi.openmetadata.commonservices.ffdc.rest.RegisteredOMAGServicesResponse getRegisteredGovernanceServices(String userId) Return the list of governance services that are registered (supported) in this OMAG Server Platform and can be configured as part of a governance server.- Parameters:
userId- calling user- Returns:
- list of service descriptions
-
getRegisteredCommonServices
public org.odpi.openmetadata.commonservices.ffdc.rest.RegisteredOMAGServicesResponse getRegisteredCommonServices(String userId) Return the list of common services that are registered (supported) in this OMAG Server Platform. These services are use in all types of servers.- Parameters:
userId- calling user- Returns:
- list of service descriptions
-
getAllRegisteredServices
public org.odpi.openmetadata.commonservices.ffdc.rest.RegisteredOMAGServicesResponse getAllRegisteredServices(String userId) Return the list of all services that are registered (supported) in this OMAG Server Platform.- Parameters:
userId- calling user- Returns:
- list of service descriptions
-
getConnectorType
public org.odpi.openmetadata.commonservices.ffdc.rest.OCFConnectorTypeResponse getConnectorType(String userId, String connectorProviderClassName) Return the connector type for the requested connector provider after validating that the connector provider is available on the OMAGServerPlatform's class path. This method is for tools that are configuring connectors into an Egeria server. It does not validate that the connector will load and initialize.- Parameters:
userId- calling userconnectorProviderClassName- name of the connector provider class- Returns:
- ConnectorType bean or exceptions that occur when trying to create the connector
-
isServerKnown
public org.odpi.openmetadata.commonservices.ffdc.rest.BooleanResponse isServerKnown(String userId, String serverName) Return a flag to indicate if this server has ever run on this OMAG Server Platform.- Parameters:
userId- calling userserverName- server of interest- Returns:
- flag
-
getKnownServerList
public org.odpi.openmetadata.platformservices.rest.ServerListResponse getKnownServerList(String userId) Return the list of OMAG Servers that have run or are running in this OMAG Server Platform.- Parameters:
userId- calling user- Returns:
- list of OMAG server names
-
getActiveServerList
public org.odpi.openmetadata.platformservices.rest.ServerListResponse getActiveServerList(String userId) Return the list of OMAG Servers that are active on this OMAG Server Platform.- Parameters:
userId- name of the user making the request- Returns:
- list of server names
-
getServerStatus
public org.odpi.openmetadata.serveroperations.rest.ServerStatusResponse getServerStatus(String userId, String serverName) Return information about when the server has been active.- Parameters:
userId- name of the user making the requestserverName- name of the server of interest- Returns:
- details of the server status
-
getActiveServicesForServer
public org.odpi.openmetadata.serveroperations.rest.ServerServicesListResponse getActiveServicesForServer(String userId, String serverName) Return the list of services that are active on a specific OMAG Server that is active on this OMAG Server Platform.- Parameters:
userId- name of the user making the requestserverName- name of the server of interest- Returns:
- List of service names
-
shutdownPlatform
Shutdown this OMAG Server Platform.- Parameters:
userId- name of the user making the request- Returns:
- List of service names
-