Github user sinthuja commented on a diff in the pull request:

    https://github.com/apache/stratos/pull/426#discussion_r64028317
  
    --- Diff: 
products/stratos/modules/distribution/src/main/conf/drools/scaling.drl ---
    @@ -162,6 +162,10 @@ dialect "mvel"
                         boolean partitionsAvailable = true;
                         int count = 0;
     
    +                    String autoscalingReason = (numberOfRequiredInstances 
== numberOfInstancesReuquiredBasedOnRif)?"Scaling up due to RIF, [Predicted 
Value] "+rifPredictedValue+" [Threshold] 
"+rifThreshold:(numberOfRequiredInstances== 
numberOfInstancesReuquiredBasedOnMemoryConsumption)?"Scaling up due to MC, 
[Predicted Value] "+mcPredictedValue+" [Threshold] "+mcThreshold:"Scaling up 
due to LA, [Predicted Value] "+laPredictedValue+" [Threshold] "+laThreshold;
    +                    autoscalingReason += " [Number of required instances] 
"+numberOfRequiredInstances+" [Cluster Max Members] "+clusterMaxMembers+" 
[Additional instances to be created] " + additionalInstances;
    +
    --- End diff --
    
    Remove unnecessary new lines.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to