public class OMAGServerPlatformInstanceMap extends Object
| Constructor and Description |
|---|
OMAGServerPlatformInstanceMap()
Constructor for instances - used by service instances to get access to the platform map
|
| Modifier and Type | Method and Description |
|---|---|
List<String> |
getActiveServerList(String userId)
Return the list of OMAG Servers running in this OMAG Server Platform.
|
List<String> |
getActiveServiceListForServer(String userId,
String serverName)
Return the list of services running in an OMAG Server that is running on this OMAG Server Platform.
|
List<RegisteredOMAGService> |
getAllRegisteredServices(String userId)
Return the list of services that are registered (supported) in this OMAG Server Platform
and can be configured as part of a server.
|
List<String> |
getKnownServerList(String userId)
Return the list of OMAG Servers that have run or are running in this OMAG Server Platform.
|
List<RegisteredOMAGService> |
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.
|
List<RegisteredOMAGService> |
getRegisteredCommonServices(String userId)
Return the list of common services that are registered (supported) in this OMAG Server Platform
and can be configured as part of a server.
|
List<RegisteredOMAGService> |
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.
|
List<RegisteredOMAGService> |
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.
|
List<RegisteredOMAGService> |
getRegisteredIntegrationServices(String userId)
Return the list of access services that are registered (supported) in this OMAG Server Platform
and can be configured in an integration daemon.
|
List<RegisteredOMAGService> |
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.
|
Date |
getServerEndTime(String userId,
String serverName)
Return the time this server instance last ended (or null if it is still running).
|
List<OMAGServerInstanceHistory> |
getServerHistory(String userId,
String serverName)
Return the time this server instance last started.
|
Date |
getServerStartTime(String userId,
String serverName)
Return the time this server instance last started.
|
String |
getServerType(String userId,
String serverName,
String serviceOperationName)
Return the type of server.
|
boolean |
isServerActive(String userId,
String serverName)
Return whether a particular server is active (running) in the platform.
|
boolean |
isServerKnown(String userId,
String serverName)
Return whether a particular server is registered with the platform.
|
void |
shutdownServerInstance(String userId,
String serverName,
String methodName)
Shutdown the server instance.
|
OpenMetadataServerSecurityVerifier |
startUpServerInstance(String localServerUserId,
String serverName,
AuditLog auditLog,
Connection connection)
Start up the server with the requested security.
|
public OMAGServerPlatformInstanceMap()
public List<RegisteredOMAGService> getRegisteredAccessServices(String userId) throws UserNotAuthorizedException
userId - calling userUserNotAuthorizedException - user not authorizedpublic List<RegisteredOMAGService> getRegisteredEngineServices(String userId) throws UserNotAuthorizedException
userId - calling userUserNotAuthorizedException - user not authorizedpublic List<RegisteredOMAGService> getRegisteredIntegrationServices(String userId) throws UserNotAuthorizedException
userId - calling userUserNotAuthorizedException - user not authorizedpublic List<RegisteredOMAGService> getRegisteredViewServices(String userId) throws UserNotAuthorizedException
userId - calling userUserNotAuthorizedException - user not authorizedpublic List<RegisteredOMAGService> getRegisteredGovernanceServices(String userId) throws UserNotAuthorizedException
userId - calling userUserNotAuthorizedException - user not authorizedpublic List<RegisteredOMAGService> getRegisteredCommonServices(String userId) throws UserNotAuthorizedException
userId - calling userUserNotAuthorizedException - user not authorizedpublic List<RegisteredOMAGService> getAllRegisteredServices(String userId) throws UserNotAuthorizedException
userId - calling userUserNotAuthorizedException - user not authorizedpublic String getServerType(String userId, String serverName, String serviceOperationName) throws InvalidParameterException, UserNotAuthorizedException
userId - calling user or null if it is an anonymous requestserverName - name of the serverInvalidParameterException - the serverName is not known.UserNotAuthorizedException - the user is not authorized to issue the request.public boolean isServerActive(String userId, String serverName) throws UserNotAuthorizedException
userId - calling user or null if it is an anonymous requestserverName - name of the serverUserNotAuthorizedException - the user is not authorized to issue the request.public boolean isServerKnown(String userId, String serverName) throws UserNotAuthorizedException
userId - calling user or null if it is an anonymous requestserverName - name of the serverUserNotAuthorizedException - the user is not authorized to issue the request.public Date getServerStartTime(String userId, String serverName) throws InvalidParameterException, UserNotAuthorizedException
userId - calling user or null if it is an anonymous requestserverName - name of the serverInvalidParameterException - the serverName is not known.UserNotAuthorizedException - the user is not authorized to issue the request.public Date getServerEndTime(String userId, String serverName) throws InvalidParameterException, UserNotAuthorizedException
userId - calling user or null if it is an anonymous requestserverName - name of the serverInvalidParameterException - the serverName is not known.UserNotAuthorizedException - the user is not authorized to issue the request.public List<OMAGServerInstanceHistory> getServerHistory(String userId, String serverName) throws InvalidParameterException, UserNotAuthorizedException
userId - calling user or null if it is an anonymous requestserverName - name of the serverInvalidParameterException - the serverName is not known.UserNotAuthorizedException - the user is not authorized to issue the request.public OpenMetadataServerSecurityVerifier startUpServerInstance(String localServerUserId, String serverName, AuditLog auditLog, Connection connection) throws InvalidParameterException
localServerUserId - userId for local serverserverName - name of the serverauditLog - logging destinationconnection - connection properties for open metadata security connector for server (can be null for no security)InvalidParameterException - the connection is invalidpublic void shutdownServerInstance(String userId, String serverName, String methodName) throws InvalidParameterException, PropertyServerException
userId - calling userserverName - name of the unknown servermethodName - calling methodInvalidParameterException - server name is not knownPropertyServerException - server still has active services - logic errorpublic List<String> getActiveServerList(String userId) throws UserNotAuthorizedException
userId - calling userUserNotAuthorizedException - the user is not authorized to issue the request.public List<String> getKnownServerList(String userId) throws UserNotAuthorizedException
userId - calling userUserNotAuthorizedException - the user is not authorized to issue the request.public List<String> getActiveServiceListForServer(String userId, String serverName) throws InvalidParameterException, UserNotAuthorizedException
userId - calling userserverName - name of the serverInvalidParameterException - the server name is not knownUserNotAuthorizedException - the user is not authorized to issue the request.Copyright © 2018–2021 LF AI & Data Foundation. All rights reserved.