new-integration-tests/src/test/java/oracle/weblogic/kubernetes/ItStickySession.java
@BeforeAll
  public static void init(@Namespaces(3) List<String> namespaces) {
    logger = getLogger();
    // create standard, reusable retry/backoff policy
    withStandardRetryPolicy = with().pollDelay(2, SECONDS)
        .and().with().pollInterval(10, SECONDS)
        .atMost(5, MINUTES).await();

    // get a unique Voyager namespace
    logger.info("Get a unique namespace for Voyager");
    assertNotNull(namespaces.get(0), "Namespace list is null");
    String voyagerNamespace = namespaces.get(0);

    // get a unique operator namespace
    logger.info("Get a unique namespace for operator");
    assertNotNull(namespaces.get(1), "Namespace list is null");
    opNamespace = namespaces.get(1);

    // get a unique domain namespace
    logger.info("Get a unique namespace for WebLogic domain");
    assertNotNull(namespaces.get(2), "Namespace list is null");
    domainNamespace = namespaces.get(2);

    // install and verify Voyager
    voyagerHelmParams =
        installAndVerifyVoyager(voyagerNamespace, cloudProvider, enableValidatingWebhook);

    // install and verify operator
    installAndVerifyOperator(opNamespace, domainNamespace);

    // create and verify WebLogic domain image using model in image with model files
    String imageName = createAndVerifyDomainImage();

    // create and verify one cluster domain
    logger.info("Create domain and verify that it's running");
    createAndVerifyDomain(imageName);

    // map to save HTTP response data
    httpAttrMap = new HashMap<String, String>();
    httpAttrMap.put("sessioncreatetime", "(.*)sessioncreatetime>(.*)</sessioncreatetime(.*)");
    httpAttrMap.put("sessionid", "(.*)sessionid>(.*)</sessionid(.*)");
    httpAttrMap.put("servername", "(.*)connectedservername>(.*)</connectedservername(.*)");
    httpAttrMap.put("count", "(.*)countattribute>(.*)</countattribute(.*)");
  }
/**
   * Install Voyager and operator, create a custom image using model in image with model files
   * and create a one cluster domain.
   *
   * @param namespaces list of namespaces created by the IntegrationTestWatcher by the
   *                   JUnit engine parameter resolution mechanism
   */
Install Voyager and operator, create a custom image using model in image with model files
and create a one cluster domain.

@param namespaces list of namespaces created by the IntegrationTestWatcher by the
JUnit engine parameter resolution mechanism
Install Voyager and operator create a custom image using model in image with model files and create a one cluster domain . @param namespaces list of namespaces created by the IntegrationTestWatcher by the JUnit engine parameter resolution mechanism
@BeforeAll
  public static void init(@Namespaces(3) List<String> namespaces) {
    logger = getLogger();
    withStandardRetryPolicy = with().pollDelay(2, SECONDS)
        .and().with().pollInterval(10, SECONDS)
        .atMost(5, MINUTES).await();
    logger.info("Get a unique namespace for Voyager");
    assertNotNull(namespaces.get(0), "Namespace list is null");
    String voyagerNamespace = namespaces.get(0);
    logger.info("Get a unique namespace for operator");
    assertNotNull(namespaces.get(1), "Namespace list is null");
    opNamespace = namespaces.get(1);
    logger.info("Get a unique namespace for WebLogic domain");
    assertNotNull(namespaces.get(2), "Namespace list is null");
    domainNamespace = namespaces.get(2);
    voyagerHelmParams =
        installAndVerifyVoyager(voyagerNamespace, cloudProvider, enableValidatingWebhook);
    installAndVerifyOperator(opNamespace, domainNamespace);
    String imageName = createAndVerifyDomainImage();
    logger.info("Create domain and verify that it's running");
    createAndVerifyDomain(imageName);
    httpAttrMap = new HashMap<String, String>();
    httpAttrMap.put("sessioncreatetime", "(.*)sessioncreatetime>(.*)</sessioncreatetime(.*)");
    httpAttrMap.put("sessionid", "(.*)sessionid>(.*)</sessionid(.*)");
    httpAttrMap.put("servername", "(.*)connectedservername>(.*)</connectedservername(.*)");
    httpAttrMap.put("count", "(.*)countattribute>(.*)</countattribute(.*)");
  }
@ BeforeAll public static void init ( @ Namespaces ( 3 ) List < String > namespaces ) { logger = getLogger ( ) ; withStandardRetryPolicy = with ( ) . pollDelay ( 2 , SECONDS ) . and ( ) . with ( ) . pollInterval ( 10 , SECONDS ) . atMost ( 5 , MINUTES ) . await ( ) ; logger . info ( "Get a unique namespace for Voyager" ) ; assertNotNull ( namespaces . get ( 0 ) , "Namespace list is null" ) ; String voyagerNamespace = namespaces . get ( 0 ) ; logger . info ( "Get a unique namespace for operator" ) ; assertNotNull ( namespaces . get ( 1 ) , "Namespace list is null" ) ; opNamespace = namespaces . get ( 1 ) ; logger . info ( "Get a unique namespace for WebLogic domain" ) ; assertNotNull ( namespaces . get ( 2 ) , "Namespace list is null" ) ; domainNamespace = namespaces . get ( 2 ) ; voyagerHelmParams = installAndVerifyVoyager ( voyagerNamespace , cloudProvider , enableValidatingWebhook ) ; installAndVerifyOperator ( opNamespace , domainNamespace ) ; String imageName = createAndVerifyDomainImage ( ) ; logger . info ( "Create domain and verify that it's running" ) ; createAndVerifyDomain ( imageName ) ; httpAttrMap = new HashMap < String , String > ( ) ; httpAttrMap . put ( "sessioncreatetime" , "(.*)sessioncreatetime>(.*)</sessioncreatetime(.*)" ) ; httpAttrMap . put ( "sessionid" , "(.*)sessionid>(.*)</sessionid(.*)" ) ; httpAttrMap . put ( "servername" , "(.*)connectedservername>(.*)</connectedservername(.*)" ) ; httpAttrMap . put ( "count" , "(.*)countattribute>(.*)</countattribute(.*)" ) ; }
Install Voyager and operator, create a custom image using model in image with model files
 and create a one cluster domain.
Install Voyager and operator create a custom image using model in image with model files and create a one cluster domain .
// create standard, reusable retry/backoff policy // get a unique Voyager namespace // get a unique operator namespace // get a unique domain namespace // install and verify Voyager // install and verify operator // create and verify WebLogic domain image using model in image with model files // create and verify one cluster domain // map to save HTTP response data