new-integration-tests/src/test/java/oracle/weblogic/kubernetes/ItMiiMultiModel.java
private void createDomainResourceAndVerify(
      String domainUid,
      String domainNamespace,
      String adminServerPodName,
      String managedServerPrefix,
      String miiImage,
      String configMapName) {

    logger.info("Create the domain resource {0} in namespace {1} with ConfigMap {2}",
        domainUid, domainNamespace, configMapName);
    Domain domain = createDomainResource(domainUid, domainNamespace, adminSecretName,
        REPO_SECRET_NAME, encryptionSecretName, replicaCount, miiImage, configMapName);
    
    createDomainAndVerify(domain, domainNamespace);

    // check admin server pod is ready
    logger.info("Wait for admin server pod {0} to be ready in namespace {1}",
        adminServerPodName, domainNamespace);
    checkPodReady(adminServerPodName, domainUid, domainNamespace);

    logger.info("Check admin service {0} is created in namespace {1}",
        adminServerPodName, domainNamespace);
    checkServiceExists(adminServerPodName, domainNamespace);

    // check managed server pods are ready
    for (int i = 1; i <= replicaCount; i++) {
      logger.info("Wait for managed server pod {0} to be ready in namespace {1}",
          managedServerPrefix + i, domainNamespace);
      checkPodReady(managedServerPrefix + i, domainUid, domainNamespace);
    }

    // check managed server services created
    for (int i = 1; i <= replicaCount; i++) {
      logger.info("Check managed server service {0} is created in namespace {1}",
          managedServerPrefix + i, domainNamespace);
      checkServiceExists(managedServerPrefix + i, domainNamespace);
    }

  }
/**
   * Create a domain object with the given image, ConfigMap and other parameters, and verify that
   * the server pods and services are successfully started.
   */
Create a domain object with the given image, ConfigMap and other parameters, and verify that
the server pods and services are successfully started.
Create a domain object with the given image ConfigMap and other parameters and verify that the server pods and services are successfully started .
private void createDomainResourceAndVerify(
      String domainUid,
      String domainNamespace,
      String adminServerPodName,
      String managedServerPrefix,
      String miiImage,
      String configMapName) {
    logger.info("Create the domain resource {0} in namespace {1} with ConfigMap {2}",
        domainUid, domainNamespace, configMapName);
    Domain domain = createDomainResource(domainUid, domainNamespace, adminSecretName,
        REPO_SECRET_NAME, encryptionSecretName, replicaCount, miiImage, configMapName);
    createDomainAndVerify(domain, domainNamespace);
    logger.info("Wait for admin server pod {0} to be ready in namespace {1}",
        adminServerPodName, domainNamespace);
    checkPodReady(adminServerPodName, domainUid, domainNamespace);
    logger.info("Check admin service {0} is created in namespace {1}",
        adminServerPodName, domainNamespace);
    checkServiceExists(adminServerPodName, domainNamespace);
    for (int i = 1; i <= replicaCount; i++) {
      logger.info("Wait for managed server pod {0} to be ready in namespace {1}",
          managedServerPrefix + i, domainNamespace);
      checkPodReady(managedServerPrefix + i, domainUid, domainNamespace);
    }
    for (int i = 1; i <= replicaCount; i++) {
      logger.info("Check managed server service {0} is created in namespace {1}",
          managedServerPrefix + i, domainNamespace);
      checkServiceExists(managedServerPrefix + i, domainNamespace);
    }
  }
private void createDomainResourceAndVerify ( String domainUid , String domainNamespace , String adminServerPodName , String managedServerPrefix , String miiImage , String configMapName ) { logger . info ( "Create the domain resource {0} in namespace {1} with ConfigMap {2}" , domainUid , domainNamespace , configMapName ) ; Domain domain = createDomainResource ( domainUid , domainNamespace , adminSecretName , REPO_SECRET_NAME , encryptionSecretName , replicaCount , miiImage , configMapName ) ; createDomainAndVerify ( domain , domainNamespace ) ; logger . info ( "Wait for admin server pod {0} to be ready in namespace {1}" , adminServerPodName , domainNamespace ) ; checkPodReady ( adminServerPodName , domainUid , domainNamespace ) ; logger . info ( "Check admin service {0} is created in namespace {1}" , adminServerPodName , domainNamespace ) ; checkServiceExists ( adminServerPodName , domainNamespace ) ; for ( int i = 1 ; i <= replicaCount ; i ++ ) { logger . info ( "Wait for managed server pod {0} to be ready in namespace {1}" , managedServerPrefix + i , domainNamespace ) ; checkPodReady ( managedServerPrefix + i , domainUid , domainNamespace ) ; } for ( int i = 1 ; i <= replicaCount ; i ++ ) { logger . info ( "Check managed server service {0} is created in namespace {1}" , managedServerPrefix + i , domainNamespace ) ; checkServiceExists ( managedServerPrefix + i , domainNamespace ) ; } }
Create a domain object with the given image, ConfigMap and other parameters, and verify that
 the server pods and services are successfully started.
Create a domain object with the given image ConfigMap and other parameters and verify that the server pods and services are successfully started .
// check admin server pod is ready // check managed server pods are ready // check managed server services created