new-integration-tests/src/test/java/oracle/weblogic/kubernetes/ItScaleMiiDomainNginx.java
private void scaleClusterAndVerifyWithWLDF(String clusterName,
                                             int replicasBeforeScale,
                                             int replicasAfterScale,
                                             List<String> managedServersBeforeScale,
                                             String scalingAction) {
    String curlCmdForWLDFScript = generateCurlCmd(clusterName, WLDF_OPENSESSION_APP_CONTEXT_ROOT);

    scaleAndVerifyCluster(clusterName, domainUid, domainNamespace,
        domainUid + "-" + clusterName + "-" + MANAGED_SERVER_NAME_BASE,
        replicasBeforeScale, replicasAfterScale, false, 0, opNamespace, opServiceAccount,
        true, DOMAIN_HOME, scalingAction, 1,
        WLDF_OPENSESSION_APP, curlCmdForWLDFScript, curlCmd, managedServersBeforeScale);
  }
/**
   * Scale a cluster using WLDF policy.
   *
   * @param clusterName               cluster name to scale
   * @param replicasBeforeScale       number of servers in cluster before scaling
   * @param replicasAfterScale        number of servers in cluster after scaling
   * @param managedServersBeforeScale list of managed servers in the cluster before scale
   * @param scalingAction             scale action, accepted value: scaleUp or scaleDown
   */
Scale a cluster using WLDF policy.
Scale a cluster using WLDF policy .
private void scaleClusterAndVerifyWithWLDF(String clusterName,
                                             int replicasBeforeScale,
                                             int replicasAfterScale,
                                             List<String> managedServersBeforeScale,
                                             String scalingAction) {
    String curlCmdForWLDFScript = generateCurlCmd(clusterName, WLDF_OPENSESSION_APP_CONTEXT_ROOT);
    scaleAndVerifyCluster(clusterName, domainUid, domainNamespace,
        domainUid + "-" + clusterName + "-" + MANAGED_SERVER_NAME_BASE,
        replicasBeforeScale, replicasAfterScale, false, 0, opNamespace, opServiceAccount,
        true, DOMAIN_HOME, scalingAction, 1,
        WLDF_OPENSESSION_APP, curlCmdForWLDFScript, curlCmd, managedServersBeforeScale);
  }
private void scaleClusterAndVerifyWithWLDF ( String clusterName , int replicasBeforeScale , int replicasAfterScale , List < String > managedServersBeforeScale , String scalingAction ) { String curlCmdForWLDFScript = generateCurlCmd ( clusterName , WLDF_OPENSESSION_APP_CONTEXT_ROOT ) ; scaleAndVerifyCluster ( clusterName , domainUid , domainNamespace , domainUid + "-" + clusterName + "-" + MANAGED_SERVER_NAME_BASE , replicasBeforeScale , replicasAfterScale , false , 0 , opNamespace , opServiceAccount , true , DOMAIN_HOME , scalingAction , 1 , WLDF_OPENSESSION_APP , curlCmdForWLDFScript , curlCmd , managedServersBeforeScale ) ; }
Scale a cluster using WLDF policy.
Scale a cluster using WLDF policy .