integration-tests/src/test/java/oracle/kubernetes/operator/utils/Domain.java
public void create() throws Exception {
    StringBuffer cmd = new StringBuffer("kubectl create -f ");
    cmd.append(userProjectsDir)
        .append("/weblogic-domains/")
        .append(domainUid)
        .append("/domain.yaml");
    LoggerHelper.getLocal().log(Level.INFO, "Running " + cmd);
    ExecResult result = TestUtils.execOrAbortProcess(cmd.toString());
    String outputStr = result.stdout().trim();
    LoggerHelper.getLocal().log(Level.INFO, "Command returned " + outputStr);

    verifyDomainCreated();
  }
/**
   * Create domain crd.
   *
   * @throws Exception If failed to create domain crd
   */
Create domain crd.
@throws Exception If failed to create domain crd
Create domain crd . @throws Exception If failed to create domain crd
public void create() throws Exception {
    StringBuffer cmd = new StringBuffer("kubectl create -f ");
    cmd.append(userProjectsDir)
        .append("/weblogic-domains/")
        .append(domainUid)
        .append("/domain.yaml");
    LoggerHelper.getLocal().log(Level.INFO, "Running " + cmd);
    ExecResult result = TestUtils.execOrAbortProcess(cmd.toString());
    String outputStr = result.stdout().trim();
    LoggerHelper.getLocal().log(Level.INFO, "Command returned " + outputStr);
    verifyDomainCreated();
  }
public void create ( ) throws Exception { StringBuffer cmd = new StringBuffer ( "kubectl create -f " ) ; cmd . append ( userProjectsDir ) . append ( "/weblogic-domains/" ) . append ( domainUid ) . append ( "/domain.yaml" ) ; LoggerHelper . getLocal ( ) . log ( Level . INFO , "Running " + cmd ) ; ExecResult result = TestUtils . execOrAbortProcess ( cmd . toString ( ) ) ; String outputStr = result . stdout ( ) . trim ( ) ; LoggerHelper . getLocal ( ) . log ( Level . INFO , "Command returned " + outputStr ) ; verifyDomainCreated ( ) ; }
Create domain crd.
Create domain crd .