Class OMAGServerPlatformOperationalServices
java.lang.Object
org.odpi.openmetadata.platformservices.server.OMAGServerPlatformOperationalServices
OMAGServerPlatformOperationalServices will provide support to start, manage and stop services in the OMAG Server.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionshutdownAllServers
(String userId) Temporarily deactivate any open metadata and governance services for all running servers.Terminate any running open metadata and governance services, remove the server from any open metadata cohorts and delete the server's configuration.shutdownPlatform
(String userId) Terminate this platform.
-
Constructor Details
-
OMAGServerPlatformOperationalServices
public OMAGServerPlatformOperationalServices()
-
-
Method Details
-
shutdownAllServers
Temporarily deactivate any open metadata and governance services for all running servers.- Parameters:
userId
- user that is issuing the request- Returns:
- void response or OMAGNotAuthorizedException the supplied userId is not authorized to issue this command or OMAGInvalidParameterException the serverName is invalid.
-
shutdownAndUnregisterAllServers
Terminate any running open metadata and governance services, remove the server from any open metadata cohorts and delete the server's configuration.- Parameters:
userId
- user that is issuing the request- Returns:
- void response or OMAGNotAuthorizedException the supplied userId is not authorized to issue this command or OMAGInvalidParameterException the serverName is invalid.
-
shutdownPlatform
Terminate this platform.- Parameters:
userId
- user that is issuing the request- Returns:
- void response or OMAGNotAuthorizedException the supplied userId is not authorized to issue this command or OMAGInvalidParameterException the serverName is invalid.
-