integration-tests/src/test/java/oracle/kubernetes/operator/utils/Domain.java
public void appendOverridesConfigMapAndApply() throws Exception {
    if (!domainMap.containsKey("overridesConfigMap")) {
      throw new RuntimeException("FAILED: Missing overridesConfigMap in domain map");
    }
    String domainYaml =
        (String)domainMap.get("userProjectsDir")
            + "/weblogic-domains/"
            + domainMap.get("domainUID")
            + "/domain.yaml";

    String contentToAppend = "  overridesConfigMap: " + domainMap.get("overridesConfigMap");
    Files.write(Paths.get(domainYaml), contentToAppend.getBytes(), StandardOpenOption.APPEND);
    TestUtils.execOrAbortProcess("kubectl apply -f " + domainYaml, true);
  }
/**
   * append overridesConfigMap to domain.yaml and apply.
   * @throws Exception on failure
   */
append overridesConfigMap to domain.yaml and apply.
@throws Exception on failure
append overridesConfigMap to domain . yaml and apply . @throws Exception on failure
public void appendOverridesConfigMapAndApply() throws Exception {
    if (!domainMap.containsKey("overridesConfigMap")) {
      throw new RuntimeException("FAILED: Missing overridesConfigMap in domain map");
    }
    String domainYaml =
        (String)domainMap.get("userProjectsDir")
            + "/weblogic-domains/"
            + domainMap.get("domainUID")
            + "/domain.yaml";
    String contentToAppend = "  overridesConfigMap: " + domainMap.get("overridesConfigMap");
    Files.write(Paths.get(domainYaml), contentToAppend.getBytes(), StandardOpenOption.APPEND);
    TestUtils.execOrAbortProcess("kubectl apply -f " + domainYaml, true);
  }
public void appendOverridesConfigMapAndApply ( ) throws Exception { if ( ! domainMap . containsKey ( "overridesConfigMap" ) ) { throw new RuntimeException ( "FAILED: Missing overridesConfigMap in domain map" ) ; } String domainYaml = ( String ) domainMap . get ( "userProjectsDir" ) + "/weblogic-domains/" + domainMap . get ( "domainUID" ) + "/domain.yaml" ; String contentToAppend = "  overridesConfigMap: " + domainMap . get ( "overridesConfigMap" ) ; Files . write ( Paths . get ( domainYaml ) , contentToAppend . getBytes ( ) , StandardOpenOption . APPEND ) ; TestUtils . execOrAbortProcess ( "kubectl apply -f " + domainYaml , true ) ; }
append overridesConfigMap to domain.yaml and apply.
append overridesConfigMap to domain . yaml and apply .