new-integration-tests/src/test/java/oracle/weblogic/kubernetes/ItVoyagerSample.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);

    final String cloudProvider = "baremetal";
    final boolean enableValidatingWebhook = false;

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

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

    // create and verify one cluster domain
    logger.info("Create domain and verify that it's running");
    createAndVerifyDomain();
  }
/**
   * Install operator, create a one cluster domain and install Voyager.
   *
   * @param namespaces list of namespaces created by the IntegrationTestWatcher by the
   *                   JUnit engine parameter resolution mechanism
   */
Install operator, create a one cluster domain and install Voyager.
@param namespaces list of namespaces created by the IntegrationTestWatcher by the
JUnit engine parameter resolution mechanism
Install operator create a one cluster domain and install Voyager . @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);
    final String cloudProvider = "baremetal";
    final boolean enableValidatingWebhook = false;
    voyagerHelmParams =
      installAndVerifyVoyager(voyagerNamespace, cloudProvider, enableValidatingWebhook);
    installAndVerifyOperator(opNamespace, domainNamespace);
    logger.info("Create domain and verify that it's running");
    createAndVerifyDomain();
  }
@ 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 ) ; final String cloudProvider = "baremetal" ; final boolean enableValidatingWebhook = false ; voyagerHelmParams = installAndVerifyVoyager ( voyagerNamespace , cloudProvider , enableValidatingWebhook ) ; installAndVerifyOperator ( opNamespace , domainNamespace ) ; logger . info ( "Create domain and verify that it's running" ) ; createAndVerifyDomain ( ) ; }
Install operator, create a one cluster domain and install Voyager.
Install operator create a one cluster domain and install Voyager .
// 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 one cluster domain