Class OMAGServerPlatformOperationalServices

java.lang.Object
org.odpi.openmetadata.tokencontroller.TokenController
org.odpi.openmetadata.platformservices.server.OMAGServerPlatformOperationalServices

public class OMAGServerPlatformOperationalServices extends TokenController
OMAGServerPlatformOperationalServices will provide support to start, manage and stop services in the OMAG Server.
  • Constructor Details

    • OMAGServerPlatformOperationalServices

      public OMAGServerPlatformOperationalServices()
  • Method Details

    • shutdownAllServers

      public VoidResponse shutdownAllServers(String delegatingUserId)
      Temporarily deactivate any open metadata and governance services for all running servers.
      Parameters:
      delegatingUserId - external userId making request
      Returns:
      void response or OMAGNotAuthorizedException the supplied userId is not authorized to issue this command or OMAGInvalidParameterException the serverName is invalid.
    • shutdownAndUnregisterAllServers

      public VoidResponse shutdownAndUnregisterAllServers(String delegatingUserId)
      Terminate any running open metadata and governance services, remove the server from any open metadata cohorts and delete the server's configuration.
      Parameters:
      delegatingUserId - external userId making request
      Returns:
      void response or OMAGNotAuthorizedException the supplied userId is not authorized to issue this command or OMAGInvalidParameterException the serverName is invalid.
    • shutdownPlatform

      public VoidResponse shutdownPlatform(String delegatingUserId)
      Terminate this platform.
      Parameters:
      delegatingUserId - external userId making request
      Returns:
      void response or OMAGNotAuthorizedException the supplied userId is not authorized to issue this command or OMAGInvalidParameterException the serverName is invalid.