new-integration-tests/src/test/java/oracle/weblogic/kubernetes/actions/TestActions.java
public static boolean restartManagedServerUsingServerStartPolicy(String domainUid,
                                                                   String namespace,
                                                                   String serverName) throws ApiException {
    boolean serverStopped = shutdownManagedServerUsingServerStartPolicy(domainUid, namespace, serverName);
    boolean serverStarted = startManagedServerUsingServerStartPolicy(domainUid, namespace, serverName);

    return serverStopped && serverStarted;
  }
/**
   * Patch domain to restart a WebLogic server by changing its serverStartPolicy properties.
   *
   * @param domainUid unique domain identifier
   * @param namespace name of the namespace
   * @param serverName name of the WebLogic server to start
   * @return true if patching domain operation succeeds or false if the operation fails
   * @throws ApiException if Kubernetes client API call fails
   **/
Patch domain to restart a WebLogic server by changing its serverStartPolicy properties.
Patch domain to restart a WebLogic server by changing its serverStartPolicy properties .
public static boolean restartManagedServerUsingServerStartPolicy(String domainUid,
                                                                   String namespace,
                                                                   String serverName) throws ApiException {
    boolean serverStopped = shutdownManagedServerUsingServerStartPolicy(domainUid, namespace, serverName);
    boolean serverStarted = startManagedServerUsingServerStartPolicy(domainUid, namespace, serverName);
    return serverStopped && serverStarted;
  }
public static boolean restartManagedServerUsingServerStartPolicy ( String domainUid , String namespace , String serverName ) throws ApiException { boolean serverStopped = shutdownManagedServerUsingServerStartPolicy ( domainUid , namespace , serverName ) ; boolean serverStarted = startManagedServerUsingServerStartPolicy ( domainUid , namespace , serverName ) ; return serverStopped && serverStarted ; }
Patch domain to restart a WebLogic server by changing its serverStartPolicy properties.
Patch domain to restart a WebLogic server by changing its serverStartPolicy properties .