new-integration-tests/src/test/java/oracle/weblogic/kubernetes/ItUsabilityOperatorHelmChart.java
private void verifySampleAppAccessThroughNginx() {

    List<String> managedServerNames = new ArrayList<>();
    for (int i = 1; i <= replicaCount; i++) {
      managedServerNames.add(MANAGED_SERVER_NAME_BASE + i);
    }

    // check that NGINX can access the sample apps from all managed servers in the domain
    String curlCmd =
        String.format("curl --silent --show-error --noproxy '*' -H 'host: %s' http://%s:%s/sample-war/index.jsp",
            ingressHostList.get(0), K8S_NODEPORT_HOST, nodeportshttp);
    assertThat(callWebAppAndCheckForServerNameInResponse(curlCmd, managedServerNames, 50))
        .as("Verify NGINX can access the sample app from all managed servers in the domain")
        .withFailMessage("NGINX can not access the sample app from one or more of the managed servers")
        .isTrue();
  }
/**
   * Verify the sample app can be accessed from all managed servers in the domain through NGINX.
   */
Verify the sample app can be accessed from all managed servers in the domain through NGINX.
Verify the sample app can be accessed from all managed servers in the domain through NGINX .
private void verifySampleAppAccessThroughNginx() {
    List<String> managedServerNames = new ArrayList<>();
    for (int i = 1; i <= replicaCount; i++) {
      managedServerNames.add(MANAGED_SERVER_NAME_BASE + i);
    }
    String curlCmd =
        String.format("curl --silent --show-error --noproxy '*' -H 'host: %s' http://%s:%s/sample-war/index.jsp",
            ingressHostList.get(0), K8S_NODEPORT_HOST, nodeportshttp);
    assertThat(callWebAppAndCheckForServerNameInResponse(curlCmd, managedServerNames, 50))
        .as("Verify NGINX can access the sample app from all managed servers in the domain")
        .withFailMessage("NGINX can not access the sample app from one or more of the managed servers")
        .isTrue();
  }
private void verifySampleAppAccessThroughNginx ( ) { List < String > managedServerNames = new ArrayList < > ( ) ; for ( int i = 1 ; i <= replicaCount ; i ++ ) { managedServerNames . add ( MANAGED_SERVER_NAME_BASE + i ) ; } String curlCmd = String . format ( "curl --silent --show-error --noproxy '*' -H 'host: %s' http://%s:%s/sample-war/index.jsp" , ingressHostList . get ( 0 ) , K8S_NODEPORT_HOST , nodeportshttp ) ; assertThat ( callWebAppAndCheckForServerNameInResponse ( curlCmd , managedServerNames , 50 ) ) . as ( "Verify NGINX can access the sample app from all managed servers in the domain" ) . withFailMessage ( "NGINX can not access the sample app from one or more of the managed servers" ) . isTrue ( ) ; }
Verify the sample app can be accessed from all managed servers in the domain through NGINX.
Verify the sample app can be accessed from all managed servers in the domain through NGINX .
// check that NGINX can access the sample apps from all managed servers in the domain