integration-tests/src/test/java/oracle/kubernetes/operator/utils/Domain.java
public void shutdownManagedServerUsingServerStartPolicy(String msName) throws Exception {
    LoggerHelper.getLocal().log(Level.INFO, "About to shutdown managed server <" + msName + ">");
    String patchStr =
        "'{\"spec\":{\"managedServers\":[{\"serverName\":\""
            + msName
            + "\",\"serverStartPolicy\":\"NEVER\"}]}}' ";
    TestUtils.kubectlpatch(domainUid, domainNS, patchStr);

    TestUtils.checkPodDeleted(domainUid + "-" + msName, domainNS);
  }
/**
   * Shut down a ms by setting serverStartPolicy to NEVER.
   *
   * @param msName - a managed server name to be stopped
   * @throws Exception If fails to shutdown the server
   */
Shut down a ms by setting serverStartPolicy to NEVER.
@param msName - a managed server name to be stopped
@throws Exception If fails to shutdown the server
Shut down a ms by setting serverStartPolicy to NEVER . @param msName - a managed server name to be stopped @throws Exception If fails to shutdown the server
public void shutdownManagedServerUsingServerStartPolicy(String msName) throws Exception {
    LoggerHelper.getLocal().log(Level.INFO, "About to shutdown managed server <" + msName + ">");
    String patchStr =
        "'{\"spec\":{\"managedServers\":[{\"serverName\":\""
            + msName
            + "\",\"serverStartPolicy\":\"NEVER\"}]}}' ";
    TestUtils.kubectlpatch(domainUid, domainNS, patchStr);
    TestUtils.checkPodDeleted(domainUid + "-" + msName, domainNS);
  }
public void shutdownManagedServerUsingServerStartPolicy ( String msName ) throws Exception { LoggerHelper . getLocal ( ) . log ( Level . INFO , "About to shutdown managed server <" + msName + ">" ) ; String patchStr = "'{\"spec\":{\"managedServers\":[{\"serverName\":\"" + msName + "\",\"serverStartPolicy\":\"NEVER\"}]}}' " ; TestUtils . kubectlpatch ( domainUid , domainNS , patchStr ) ; TestUtils . checkPodDeleted ( domainUid + "-" + msName , domainNS ) ; }
Shut down a ms by setting serverStartPolicy to NEVER.
Shut down a ms by setting serverStartPolicy to NEVER .