integration-tests/src/test/java/oracle/kubernetes/operator/utils/Domain.java
public void createMiiConfigMap(String cmKeyName, String cmFileKeyName) throws Exception {
    if (domainHomeSourceType.equals("FromModel")) {
      if (domainMap.containsKey(cmKeyName)) {
        if (!domainMap.containsKey(cmFileKeyName)) {
          throw new RuntimeException("FAILED: Missing " + cmFileKeyName + " when "
              + cmKeyName + " is configured");
        }
        TestUtils.createConfigMap(domainMap.get(cmKeyName).toString(),
            resultsDir + "/samples/model-in-image/"
                  + domainMap.get(cmFileKeyName), domainNS,
            " weblogic.domainUID=" + domainUid);
      }
    }
  }
/**
   * create config map with given keys for map name and file.
   * @param cmKeyName Config map key name
   * @param cmFileKeyName Config map file key name
   * @throws Exception on failure
   */
create config map with given keys for map name and file.
@param cmKeyName Config map key name
@param cmFileKeyName Config map file key name
@throws Exception on failure
create config map with given keys for map name and file . @param cmKeyName Config map key name @param cmFileKeyName Config map file key name @throws Exception on failure
public void createMiiConfigMap(String cmKeyName, String cmFileKeyName) throws Exception {
    if (domainHomeSourceType.equals("FromModel")) {
      if (domainMap.containsKey(cmKeyName)) {
        if (!domainMap.containsKey(cmFileKeyName)) {
          throw new RuntimeException("FAILED: Missing " + cmFileKeyName + " when "
              + cmKeyName + " is configured");
        }
        TestUtils.createConfigMap(domainMap.get(cmKeyName).toString(),
            resultsDir + "/samples/model-in-image/"
                  + domainMap.get(cmFileKeyName), domainNS,
            " weblogic.domainUID=" + domainUid);
      }
    }
  }
public void createMiiConfigMap ( String cmKeyName , String cmFileKeyName ) throws Exception { if ( domainHomeSourceType . equals ( "FromModel" ) ) { if ( domainMap . containsKey ( cmKeyName ) ) { if ( ! domainMap . containsKey ( cmFileKeyName ) ) { throw new RuntimeException ( "FAILED: Missing " + cmFileKeyName + " when " + cmKeyName + " is configured" ) ; } TestUtils . createConfigMap ( domainMap . get ( cmKeyName ) . toString ( ) , resultsDir + "/samples/model-in-image/" + domainMap . get ( cmFileKeyName ) , domainNS , " weblogic.domainUID=" + domainUid ) ; } } }
create config map with given keys for map name and file.
create config map with given keys for map name and file .