integration-tests/src/test/java/oracle/kubernetes/operator/MiiConfigUpdateBaseTest.java
protected void wdtConfigUpdateCm(String fileOrDirPath, Domain domain) {
    LoggerHelper.getLocal().log(Level.INFO, "Creating configMap...");
    // get domain UID and domain namespace name
    final String domainUid = domain.getDomainUid();
    final String domainNS = domain.getDomainNs();
    final String cmName = domainUid + configMapSuffix;
    final String label = "weblogic.domainUID=" + domainUid;

    try {
      // Re-create config map after deploying domain crd
      TestUtils.createConfigMap(cmName, fileOrDirPath, domainNS, label);
    } catch (Exception ex) {
      ex.printStackTrace();
      fail("Failed to create cm.\n", ex.getCause());
    }
  }
/**
   * Update an existing cm.
   * @param fileOrDirPath a directory path where to get model files
   * @param domain the Domain object where to update domain config values
   */
Update an existing cm.
@param fileOrDirPath a directory path where to get model files
@param domain the Domain object where to update domain config values
Update an existing cm . @param fileOrDirPath a directory path where to get model files @param domain the Domain object where to update domain config values
protected void wdtConfigUpdateCm(String fileOrDirPath, Domain domain) {
    LoggerHelper.getLocal().log(Level.INFO, "Creating configMap...");
    final String domainUid = domain.getDomainUid();
    final String domainNS = domain.getDomainNs();
    final String cmName = domainUid + configMapSuffix;
    final String label = "weblogic.domainUID=" + domainUid;
    try {
      TestUtils.createConfigMap(cmName, fileOrDirPath, domainNS, label);
    } catch (Exception ex) {
      ex.printStackTrace();
      fail("Failed to create cm.\n", ex.getCause());
    }
  }
protected void wdtConfigUpdateCm ( String fileOrDirPath , Domain domain ) { LoggerHelper . getLocal ( ) . log ( Level . INFO , "Creating configMap..." ) ; final String domainUid = domain . getDomainUid ( ) ; final String domainNS = domain . getDomainNs ( ) ; final String cmName = domainUid + configMapSuffix ; final String label = "weblogic.domainUID=" + domainUid ; try { TestUtils . createConfigMap ( cmName , fileOrDirPath , domainNS , label ) ; } catch ( Exception ex ) { ex . printStackTrace ( ) ; fail ( "Failed to create cm.\n" , ex . getCause ( ) ) ; } }
Update an existing cm.
Update an existing cm .
// get domain UID and domain namespace name // Re-create config map after deploying domain crd