integration-tests/src/test/java/oracle/kubernetes/operator/ItModelInImage.java
@Test
  public void testMiiWithNoConfigMap() throws Exception {
    Assumptions.assumeTrue(QUICKTEST);
    String testMethodName = new Object() {
    }.getClass().getEnclosingMethod().getName();
    logTestBegin(testMethodName);
    LoggerHelper.getLocal().log(Level.INFO,
        "Creating Domain & waiting for the script to complete execution");
    Domain domain = null;
    boolean testCompletedSuccessfully = false;
    try {
      Map<String, Object> domainMap =
          createModelInImageMap(getNewSuffixCount(), testClassName);
      domainMap.put("namespace", domainNS);
      domainMap.put("wdtModelFile", "./model.wls.yaml");
      domainMap.put("wdtModelPropertiesFile", "./model.properties");

      domain = TestUtils.createDomain(domainMap);
      // domain = new Domain(domainMap, true, false);
      domain.verifyDomainCreated();
      testCompletedSuccessfully = true;
    } finally {
      if (domain != null && (JENKINS || testCompletedSuccessfully)) {
        TestUtils.deleteWeblogicDomainResources(domain.getDomainUid());
      }
    }

    LoggerHelper.getLocal().log(Level.INFO, "SUCCESS - " + testMethodName);
  }
/**
   * Create a domain using model in image with model yaml and model properties
   * file in the image. Deploy the domain, verify the running domain has
   * the correct configuration as given in the image.
   *
   * @throws Exception exception
   */
Create a domain using model in image with model yaml and model properties
file in the image. Deploy the domain, verify the running domain has
the correct configuration as given in the image.

@throws Exception exception
Create a domain using model in image with model yaml and model properties file in the image . Deploy the domain verify the running domain has the correct configuration as given in the image . @throws Exception exception
@Test
  public void testMiiWithNoConfigMap() throws Exception {
    Assumptions.assumeTrue(QUICKTEST);
    String testMethodName = new Object() {
    }.getClass().getEnclosingMethod().getName();
    logTestBegin(testMethodName);
    LoggerHelper.getLocal().log(Level.INFO,
        "Creating Domain & waiting for the script to complete execution");
    Domain domain = null;
    boolean testCompletedSuccessfully = false;
    try {
      Map<String, Object> domainMap =
          createModelInImageMap(getNewSuffixCount(), testClassName);
      domainMap.put("namespace", domainNS);
      domainMap.put("wdtModelFile", "./model.wls.yaml");
      domainMap.put("wdtModelPropertiesFile", "./model.properties");
      domain = TestUtils.createDomain(domainMap);
      domain.verifyDomainCreated();
      testCompletedSuccessfully = true;
    } finally {
      if (domain != null && (JENKINS || testCompletedSuccessfully)) {
        TestUtils.deleteWeblogicDomainResources(domain.getDomainUid());
      }
    }
    LoggerHelper.getLocal().log(Level.INFO, "SUCCESS - " + testMethodName);
  }
@ Test public void testMiiWithNoConfigMap ( ) throws Exception { Assumptions . assumeTrue ( QUICKTEST ) ; String testMethodName = new Object ( ) { } . getClass ( ) . getEnclosingMethod ( ) . getName ( ) ; logTestBegin ( testMethodName ) ; LoggerHelper . getLocal ( ) . log ( Level . INFO , "Creating Domain & waiting for the script to complete execution" ) ; Domain domain = null ; boolean testCompletedSuccessfully = false ; try { Map < String , Object > domainMap = createModelInImageMap ( getNewSuffixCount ( ) , testClassName ) ; domainMap . put ( "namespace" , domainNS ) ; domainMap . put ( "wdtModelFile" , "./model.wls.yaml" ) ; domainMap . put ( "wdtModelPropertiesFile" , "./model.properties" ) ; domain = TestUtils . createDomain ( domainMap ) ; domain . verifyDomainCreated ( ) ; testCompletedSuccessfully = true ; } finally { if ( domain != null && ( JENKINS || testCompletedSuccessfully ) ) { TestUtils . deleteWeblogicDomainResources ( domain . getDomainUid ( ) ) ; } } LoggerHelper . getLocal ( ) . log ( Level . INFO , "SUCCESS - " + testMethodName ) ; }
Create a domain using model in image with model yaml and model properties
 file in the image.
Create a domain using model in image with model yaml and model properties file in the image .
// domain = new Domain(domainMap, true, false);