new-integration-tests/src/test/java/oracle/weblogic/kubernetes/ItUsabilityOperatorHelmChart.java
@BeforeAll
  public static void initAll(@Namespaces(3) List<String> namespaces) {
    logger = getLogger();
    // get a unique operator namespace
    logger.info("Getting a unique namespace for operator");
    assertNotNull(namespaces.get(0), "Namespace list is null");
    opNamespace = namespaces.get(0);

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

    // get a unique NGINX namespace
    logger.info("Getting a unique namespace for NGINX");
    assertNotNull(namespaces.get(2), "Namespace list is null");
    String nginxNamespace = namespaces.get(2);

    // install and verify NGINX
    logger.info("Installing and verifying NGINX");
    nginxHelmParams = installAndVerifyNginx(nginxNamespace, 0, 0);

    String nginxServiceName = nginxHelmParams.getReleaseName() + "-nginx-ingress-controller";
    logger.info("NGINX service name: {0}", nginxServiceName);
    nodeportshttp = getServiceNodePort(nginxNamespace, nginxServiceName, "http");
    logger.info("NGINX http node port: {0}", nodeportshttp);
  }
/**
   * Get namespaces for operator, domain1 and NGINX.
   * Install and verify NGINX.
   *
   * @param namespaces list of namespaces created by the IntegrationTestWatcher by the
   *                   JUnit engine parameter resolution mechanism
   */
Get namespaces for operator, domain1 and NGINX.
Install and verify NGINX.

@param namespaces list of namespaces created by the IntegrationTestWatcher by the
JUnit engine parameter resolution mechanism
Get namespaces for operator domain1 and NGINX . Install and verify NGINX . @param namespaces list of namespaces created by the IntegrationTestWatcher by the JUnit engine parameter resolution mechanism
@BeforeAll
  public static void initAll(@Namespaces(3) List<String> namespaces) {
    logger = getLogger();
    logger.info("Getting a unique namespace for operator");
    assertNotNull(namespaces.get(0), "Namespace list is null");
    opNamespace = namespaces.get(0);
    logger.info("Getting a unique namespace for WebLogic domain");
    assertNotNull(namespaces.get(1), "Namespace list is null");
    domainNamespace = namespaces.get(1);
    logger.info("Getting a unique namespace for NGINX");
    assertNotNull(namespaces.get(2), "Namespace list is null");
    String nginxNamespace = namespaces.get(2);
    logger.info("Installing and verifying NGINX");
    nginxHelmParams = installAndVerifyNginx(nginxNamespace, 0, 0);
    String nginxServiceName = nginxHelmParams.getReleaseName() + "-nginx-ingress-controller";
    logger.info("NGINX service name: {0}", nginxServiceName);
    nodeportshttp = getServiceNodePort(nginxNamespace, nginxServiceName, "http");
    logger.info("NGINX http node port: {0}", nodeportshttp);
  }
@ BeforeAll public static void initAll ( @ Namespaces ( 3 ) List < String > namespaces ) { logger = getLogger ( ) ; logger . info ( "Getting a unique namespace for operator" ) ; assertNotNull ( namespaces . get ( 0 ) , "Namespace list is null" ) ; opNamespace = namespaces . get ( 0 ) ; logger . info ( "Getting a unique namespace for WebLogic domain" ) ; assertNotNull ( namespaces . get ( 1 ) , "Namespace list is null" ) ; domainNamespace = namespaces . get ( 1 ) ; logger . info ( "Getting a unique namespace for NGINX" ) ; assertNotNull ( namespaces . get ( 2 ) , "Namespace list is null" ) ; String nginxNamespace = namespaces . get ( 2 ) ; logger . info ( "Installing and verifying NGINX" ) ; nginxHelmParams = installAndVerifyNginx ( nginxNamespace , 0 , 0 ) ; String nginxServiceName = nginxHelmParams . getReleaseName ( ) + "-nginx-ingress-controller" ; logger . info ( "NGINX service name: {0}" , nginxServiceName ) ; nodeportshttp = getServiceNodePort ( nginxNamespace , nginxServiceName , "http" ) ; logger . info ( "NGINX http node port: {0}" , nodeportshttp ) ; }
Get namespaces for operator, domain1 and NGINX.
Get namespaces for operator domain1 and NGINX .
// get a unique operator namespace // get a unique domain namespace // get a unique NGINX namespace // install and verify NGINX