You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@stratos.apache.org by Pranavan135 <gi...@git.apache.org> on 2015/07/05 17:43:41 UTC

[GitHub] stratos pull request: GSoC - Curve Fitting

GitHub user Pranavan135 opened a pull request:

    https://github.com/apache/stratos/pull/382

    GSoC - Curve Fitting

    Do not merge. Tentative PR to get feedbacks for my work.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/Pranavan135/stratos CurveFittingGSoC

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/stratos/pull/382.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #382
    
----
commit 38e3e44854c94844035b2d4f1776504ecb953df8
Author: Pranavan <23...@gmail.com>
Date:   2015-06-08T11:46:01Z

    First Commit

commit 4bd3e3f3be177283584a7b8ff5105d01108ce636
Author: Pranavan <23...@gmail.com>
Date:   2015-06-08T11:54:27Z

    Methods added inside RuleTasksDelegator

commit ed69ca0331826b6e3eb8db1795358f812a30e7a9
Author: Pranavan <23...@gmail.com>
Date:   2015-06-10T12:44:11Z

    Merge remote-tracking branch 'upstream/master' into CurveFittingGSoC

commit 37ce622ce81049eaf16968996c11fcf58156c003
Author: Pranavan <23...@gmail.com>
Date:   2015-06-10T13:09:15Z

    Dependency added for Apache common math lib

commit d138c29cccc59a2e20552dec6bcf89d6273172a0
Author: Pranavan <23...@gmail.com>
Date:   2015-06-10T13:30:20Z

    Revert "Dependency added for Apache common math lib"
    
    This reverts commit 37ce622ce81049eaf16968996c11fcf58156c003.

commit eaefa66188d8d9353389077f75d2a1870b8b89bb
Author: Pranavan <23...@gmail.com>
Date:   2015-06-10T13:39:12Z

    Dependency for Math libs and CurveFittingWindowProcessor added

commit e6b6d49df24eda46fae8f44ea3d16c1102c4ab17
Author: Pranavan <23...@gmail.com>
Date:   2015-06-10T13:43:38Z

    Unwanted Log files deleted

commit 67ab5fbc4c6d07ff7c5c50407a9a0a0faf349da3
Author: Pranavan <23...@gmail.com>
Date:   2015-06-11T05:35:58Z

    Merge remote-tracking branch 'upstream/master' into CurveFittingGSoC

commit d0c93d0002f18e544f564ac85892a48ac159cfd7
Author: Pranavan <23...@gmail.com>
Date:   2015-06-11T05:38:07Z

    Window processor added

commit 0b4bc27c45682eb1da295acfd0ba0cc6af16c196
Author: Pranavan <23...@gmail.com>
Date:   2015-06-11T05:49:48Z

    Prediction value calculation method added

commit 5be5828023b8dd3cdc6848e672cf46b5e0edd5d7
Author: Pranavan <23...@gmail.com>
Date:   2015-06-11T11:28:44Z

    Merge remote-tracking branch 'upstream/master' into CurveFittingGSoC

commit 16bb7a8507f7dabee33698e1133c9d72e97fcbe6
Author: Pranavan <23...@gmail.com>
Date:   2015-06-11T14:50:52Z

    Overrided methods implemented inside CurveFinderWindowProcessor

commit 9633f8288b2533f8aa739f44904aff7224943ca7
Author: Pranavan <23...@gmail.com>
Date:   2015-06-12T03:12:54Z

    RulesTaskDelegator

commit 5fa2e658cd003a15b048c134b376fecd527a843f
Author: Pranavan <23...@gmail.com>
Date:   2015-06-12T03:13:07Z

    Merge remote-tracking branch 'upstream/master' into CurveFittingGSoC

commit 3a1f134f33dc9ffdf51288d2242bf17029bc7ac1
Author: Pranavan <23...@gmail.com>
Date:   2015-06-13T02:43:58Z

    Merge remote-tracking branch 'upstream/master' into CurveFittingGSoC

commit aec73d3bece1550af4206bfd79998b91ced0c1b0
Author: Pranavan <23...@gmail.com>
Date:   2015-06-13T02:44:54Z

    Changes

commit c0426f7a86eb2c71687aa4448264475e6a95a514
Author: Pranavan <23...@gmail.com>
Date:   2015-06-14T06:07:11Z

    CurveFitting n pairs =====> second order polynomial

commit 5a5811f6a731cf17e0c7002854c9465da237f410
Author: Pranavan <23...@gmail.com>
Date:   2015-06-14T06:13:10Z

    Unwanted Log files deleted

commit 736ac3dc2292a53933b0bb0bb7cfa34db7244d5c
Author: Pranavan <23...@gmail.com>
Date:   2015-06-14T17:02:50Z

    EMA started

commit 6989b694d39a8d6e5961638406ea5ad2e824b8d6
Author: Pranavan <23...@gmail.com>
Date:   2015-06-14T17:05:16Z

    Merge remote-tracking branch 'upstream/master' into CurveFittingGSoC

commit e7dd0be96d64d64c168d1b45db566dc201b4e0c3
Author: Pranavan <23...@gmail.com>
Date:   2015-06-16T13:20:15Z

    Merge remote-tracking branch 'upstream/master' into CurveFittingGSoC

commit 2be488e01fdc5bb1481dd65c8f1959fb1d9a09c1
Author: Pranavan <23...@gmail.com>
Date:   2015-06-18T15:59:06Z

    Merge remote-tracking branch 'upstream/master' into CurveFittingGSoC

commit 242e4a30b2c6b7881ebbb985a4544b277c646a66
Author: Pranavan <23...@gmail.com>
Date:   2015-06-18T17:45:39Z

    Curvefinder siddhi extension added for in flight events

commit db0ee5d13693cb8f0b7de9059bee3887b5932c09
Author: Pranavan <23...@gmail.com>
Date:   2015-06-18T17:49:35Z

    Formatted

commit fda60c21259cee660807e74e91f98183c9c9af1a
Author: Pranavan <23...@gmail.com>
Date:   2015-06-21T05:00:41Z

    Artifacts for CEP extension added

commit 2cbb276927f05792eb8955d7f0593fea73c4b721
Author: Pranavan <23...@gmail.com>
Date:   2015-06-21T05:09:38Z

    Merge remote-tracking branch 'upstream/master' into CurveFittingGSoC

commit 57b19b4702e34f56cc09d8e82ef5745a9692cd9a
Author: Pranavan <23...@gmail.com>
Date:   2015-06-21T06:25:32Z

    Stream Manager Updated

commit 62657f8e02080550ed0cbb425f35462acefc0875
Author: Pranavan <23...@gmail.com>
Date:   2015-06-22T11:38:47Z

    Merge remote-tracking branch 'upstream/master' into CurveFittingGSoC

commit 5d7a2d31fa483cc60e6e03702d168f0b58d877b8
Author: Pranavan <23...@gmail.com>
Date:   2015-06-22T13:26:52Z

    entry added to siddhi.extension

commit 8d7a74417560ddfb8e54a823166c97f0307da665
Author: Pranavan <23...@gmail.com>
Date:   2015-06-23T12:44:06Z

    Unwanted Log files deleted

----


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] stratos pull request: GSoC - Curve Fitting

Posted by lahirus <gi...@git.apache.org>.
Github user lahirus commented on a diff in the pull request:

    https://github.com/apache/stratos/pull/382#discussion_r36847922
  
    --- Diff: components/org.apache.stratos.messaging/src/main/java/org/apache/stratos/messaging/message/processor/health/stat/CurveFinderOfLoadAverageMessageProcessor.java ---
    @@ -0,0 +1,44 @@
    +package org.apache.stratos.messaging.message.processor.health.stat;
    +
    +import org.apache.commons.logging.Log;
    +import org.apache.commons.logging.LogFactory;
    +import org.apache.stratos.messaging.event.health.stat.CurveFinderOfLoadAverageEvent;
    +import org.apache.stratos.messaging.message.processor.MessageProcessor;
    +import org.apache.stratos.messaging.util.MessagingUtil;
    +
    +/**
    + * Created by pranavan on 8/9/15.
    + */
    +public class CurveFinderOfLoadAverageMessageProcessor extends MessageProcessor{
    +    private static final Log log = LogFactory.getLog(CurveFinderOfLoadAverageMessageProcessor.class);
    +    private MessageProcessor nextProcessor;
    +
    +    @Override
    +    public void setNext(MessageProcessor nextProcessor) {
    +        this.nextProcessor = nextProcessor;
    +    }
    +
    +    @Override
    +    public boolean process(String type, String message, Object object) {
    +        if (CurveFinderOfLoadAverageEvent.class.getName().equals(type)) {
    +
    +            // Parse complete message and build event
    +            CurveFinderOfLoadAverageEvent event = (CurveFinderOfLoadAverageEvent) MessagingUtil.jsonToObject
    +                    (message, CurveFinderOfLoadAverageEvent.class);
    +
    +            // Notify event listeners
    +            notifyEventListeners(event);
    +
    +            if (log.isDebugEnabled()) {
    +                log.debug(String.format("%s event processor notified listeners ... ", type));
    +            }
    +            return true;
    +        } else {
    +            if (nextProcessor != null) {
    +                return nextProcessor.process(type, message, object);
    +            } else {
    +                throw new RuntimeException(String.format("Failed to process health stat message using available message processors: [type] %s [body] %s", type, message));
    --- End diff --
    
    Have custom exceptions, not the RuntimeException


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] stratos pull request: GSoC - Curve Fitting

Posted by R-Rajkumar <gi...@git.apache.org>.
Github user R-Rajkumar commented on a diff in the pull request:

    https://github.com/apache/stratos/pull/382#discussion_r35234677
  
    --- Diff: extensions/cep/stratos-cep-extension/src/main/java/org/apache/stratos/cep/extension/CurveFinderWindowProcessor.java ---
    @@ -0,0 +1,236 @@
    +package org.apache.stratos.cep.extension;
    +
    +import org.apache.log4j.Logger;
    +import org.wso2.siddhi.core.config.SiddhiContext;
    +import org.wso2.siddhi.core.event.StreamEvent;
    +import org.wso2.siddhi.core.event.in.InEvent;
    +import org.wso2.siddhi.core.event.in.InListEvent;
    +import org.wso2.siddhi.core.event.remove.RemoveEvent;
    +import org.wso2.siddhi.core.event.remove.RemoveListEvent;
    +import org.wso2.siddhi.core.persistence.ThreadBarrier;
    +import org.wso2.siddhi.core.query.QueryPostProcessingElement;
    +import org.wso2.siddhi.core.query.processor.window.RunnableWindowProcessor;
    +import org.wso2.siddhi.core.query.processor.window.WindowProcessor;
    +import org.wso2.siddhi.core.util.collection.queue.scheduler.ISchedulerSiddhiQueue;
    +import org.wso2.siddhi.core.util.collection.queue.scheduler.SchedulerSiddhiQueue;
    +import org.wso2.siddhi.core.util.collection.queue.scheduler.SchedulerSiddhiQueueGrid;
    +import org.wso2.siddhi.query.api.definition.AbstractDefinition;
    +import org.wso2.siddhi.query.api.definition.Attribute;
    +import org.wso2.siddhi.query.api.definition.Attribute.Type;
    +import org.wso2.siddhi.query.api.expression.Expression;
    +import org.wso2.siddhi.query.api.expression.Variable;
    +import org.wso2.siddhi.query.api.expression.constant.IntConstant;
    +import org.wso2.siddhi.query.api.expression.constant.LongConstant;
    +import org.wso2.siddhi.query.api.extension.annotation.SiddhiExtension;
    +
    +import java.util.ArrayList;
    +import java.util.Iterator;
    +import java.util.List;
    +import java.util.concurrent.RejectedExecutionException;
    +import java.util.concurrent.ScheduledExecutorService;
    +import java.util.concurrent.TimeUnit;
    +
    +@SiddhiExtension(namespace = "stratos", function = "curveFitting")
    +public class CurveFinderWindowProcessor extends WindowProcessor implements RunnableWindowProcessor{
    +
    +    static final Logger log = Logger.getLogger(CurveFinderWindowProcessor.class);
    +    /**
    +     * alpha is used as the smoothing constant in exponential moving average
    +     */
    +    public static final double ALPHA = 0.8000;
    --- End diff --
    
    make this ALPHA configurable.


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] stratos pull request: GSoC - Curve Fitting

Posted by lahirus <gi...@git.apache.org>.
Github user lahirus commented on a diff in the pull request:

    https://github.com/apache/stratos/pull/382#discussion_r35230388
  
    --- Diff: components/org.apache.stratos.autoscaler/src/main/java/org/apache/stratos/autoscaler/rule/RuleTasksDelegator.java ---
    @@ -357,6 +378,12 @@ public double getLoadAveragePredictedValue(ClusterInstanceContext clusterInstanc
             }
         }
     
    +    public double getLoadAveragePredictedValue(){
    --- End diff --
    
    Minor fix. Format the code properly with spaces. 


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] stratos pull request: GSoC - Curve Fitting

Posted by Pranavan135 <gi...@git.apache.org>.
Github user Pranavan135 commented on a diff in the pull request:

    https://github.com/apache/stratos/pull/382#discussion_r35286091
  
    --- Diff: extensions/cep/stratos-cep-extension/src/main/java/org/apache/stratos/cep/extension/CurveFitter.java ---
    @@ -0,0 +1,41 @@
    +package org.apache.stratos.cep.extension;
    +
    +
    +import org.apache.commons.math3.fitting.PolynomialCurveFitter;
    +import org.apache.commons.math3.fitting.WeightedObservedPoints;
    +import org.apache.log4j.Logger;
    +
    +public class CurveFitter {
    +    private final Logger log = Logger.getLogger(CurveFitter.class);
    +    private double[] timeStampValues;
    +    private double[] dataValues;
    +
    +    public CurveFitter(double[] timeStampValues, double[] dataValues){
    +        this.timeStampValues = timeStampValues;
    +        this.dataValues = dataValues;
    +    }
    +
    +
    +    /**
    +     *fit the XValues and dataValues into a second order polynomial
    +     * @return the coefficient array of the polynomial
    +     */
    +    public double[] fit(){
    +        WeightedObservedPoints weightedObservedPoints = new WeightedObservedPoints();
    +
    +        for(int i = 0 ; i < timeStampValues.length && i < dataValues.length ; i++){
    +            weightedObservedPoints.add(timeStampValues[i], dataValues[i]);
    +        }
    +
    +        /**
    +         * create second degree polynomials from the observed points
    +         */
    +        final PolynomialCurveFitter polynomialCurveFitter = PolynomialCurveFitter.create(2);
    +        final double[] coefficients = polynomialCurveFitter.fit(weightedObservedPoints.toList());
    +
    +        log.info("Coefficients a : " + coefficients[0] + " b : " + coefficients[1] + " c : " + coefficients[2]);
    +
    +        return coefficients;
    +    }
    +
    +}
    --- End diff --
    
    License Header Added


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] stratos pull request: GSoC - Curve Fitting

Posted by Pranavan135 <gi...@git.apache.org>.
Github user Pranavan135 closed the pull request at:

    https://github.com/apache/stratos/pull/382


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] stratos pull request: GSoC - Curve Fitting

Posted by lahirus <gi...@git.apache.org>.
Github user lahirus commented on a diff in the pull request:

    https://github.com/apache/stratos/pull/382#discussion_r36823119
  
    --- Diff: components/org.apache.stratos.messaging/src/main/java/org/apache/stratos/messaging/event/health/stat/MemberCurveFinderOfLoadAverageEvent.java ---
    @@ -0,0 +1,37 @@
    +package org.apache.stratos.messaging.event.health.stat;
    +
    +import org.apache.stratos.messaging.event.Event;
    +
    +/**
    --- End diff --
    
    Remove author tag


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] stratos pull request: GSoC - Curve Fitting

Posted by R-Rajkumar <gi...@git.apache.org>.
Github user R-Rajkumar commented on a diff in the pull request:

    https://github.com/apache/stratos/pull/382#discussion_r35234774
  
    --- Diff: extensions/cep/stratos-cep-extension/src/main/java/org/apache/stratos/cep/extension/ExponentialMovingAverage.java ---
    @@ -0,0 +1,32 @@
    +package org.apache.stratos.cep.extension;
    +
    +/**
    + * class to demonstrate how EMA works
    + */
    +public class ExponentialMovingAverage {
    +    public Double value;
    +
    +    /**
    +     * smooth the value with respect to the previous value
    +     * @param value
    +     * @return
    +     */
    +    public double getAverage(double value){
    +        if(this.value == null){
    +            this.value = value;
    +            return value;
    +        }
    +
    +        /**
    +         * calculating smoothed value
    +         */
    +        double newValue = CurveFinderWindowProcessor.ALPHA * value + (1.0 - CurveFinderWindowProcessor.ALPHA)*value;
    +        this.value = newValue;
    +
    +        return newValue;
    +    }
    +
    +    public Double getValue() {
    +        return value;
    +    }
    +}
    --- End diff --
    
    add the licence header to this class 


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] stratos pull request: GSoC - Curve Fitting

Posted by Pranavan135 <gi...@git.apache.org>.
Github user Pranavan135 commented on a diff in the pull request:

    https://github.com/apache/stratos/pull/382#discussion_r35286076
  
    --- Diff: components/org.apache.stratos.autoscaler/src/main/java/org/apache/stratos/autoscaler/rule/RuleTasksDelegator.java ---
    @@ -357,6 +378,12 @@ public double getLoadAveragePredictedValue(ClusterInstanceContext clusterInstanc
             }
         }
     
    +    public double getLoadAveragePredictedValue(){
    --- End diff --
    
    Resolved


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] stratos pull request: GSoC - Curve Fitting

Posted by Pranavan135 <gi...@git.apache.org>.
Github user Pranavan135 commented on a diff in the pull request:

    https://github.com/apache/stratos/pull/382#discussion_r35286099
  
    --- Diff: extensions/cep/stratos-cep-extension/src/main/java/org/apache/stratos/cep/extension/ExponentialMovingAverage.java ---
    @@ -0,0 +1,32 @@
    +package org.apache.stratos.cep.extension;
    +
    +/**
    + * class to demonstrate how EMA works
    + */
    +public class ExponentialMovingAverage {
    +    public Double value;
    +
    +    /**
    +     * smooth the value with respect to the previous value
    +     * @param value
    +     * @return
    +     */
    +    public double getAverage(double value){
    +        if(this.value == null){
    +            this.value = value;
    +            return value;
    +        }
    +
    +        /**
    +         * calculating smoothed value
    +         */
    +        double newValue = CurveFinderWindowProcessor.ALPHA * value + (1.0 - CurveFinderWindowProcessor.ALPHA)*value;
    +        this.value = newValue;
    +
    +        return newValue;
    +    }
    +
    +    public Double getValue() {
    +        return value;
    +    }
    +}
    --- End diff --
    
    License Header Added


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] stratos pull request: GSoC - Curve Fitting

Posted by R-Rajkumar <gi...@git.apache.org>.
Github user R-Rajkumar commented on a diff in the pull request:

    https://github.com/apache/stratos/pull/382#discussion_r35234743
  
    --- Diff: extensions/cep/stratos-cep-extension/src/main/java/org/apache/stratos/cep/extension/CurveFitter.java ---
    @@ -0,0 +1,41 @@
    +package org.apache.stratos.cep.extension;
    +
    +
    +import org.apache.commons.math3.fitting.PolynomialCurveFitter;
    +import org.apache.commons.math3.fitting.WeightedObservedPoints;
    +import org.apache.log4j.Logger;
    +
    +public class CurveFitter {
    +    private final Logger log = Logger.getLogger(CurveFitter.class);
    +    private double[] timeStampValues;
    +    private double[] dataValues;
    +
    +    public CurveFitter(double[] timeStampValues, double[] dataValues){
    +        this.timeStampValues = timeStampValues;
    +        this.dataValues = dataValues;
    +    }
    +
    +
    +    /**
    +     *fit the XValues and dataValues into a second order polynomial
    +     * @return the coefficient array of the polynomial
    +     */
    +    public double[] fit(){
    +        WeightedObservedPoints weightedObservedPoints = new WeightedObservedPoints();
    +
    +        for(int i = 0 ; i < timeStampValues.length && i < dataValues.length ; i++){
    +            weightedObservedPoints.add(timeStampValues[i], dataValues[i]);
    +        }
    +
    +        /**
    +         * create second degree polynomials from the observed points
    +         */
    +        final PolynomialCurveFitter polynomialCurveFitter = PolynomialCurveFitter.create(2);
    +        final double[] coefficients = polynomialCurveFitter.fit(weightedObservedPoints.toList());
    +
    +        log.info("Coefficients a : " + coefficients[0] + " b : " + coefficients[1] + " c : " + coefficients[2]);
    +
    +        return coefficients;
    +    }
    +
    +}
    --- End diff --
    
    add the licence header to this class 


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] stratos pull request: GSoC - Curve Fitting

Posted by lahirus <gi...@git.apache.org>.
Github user lahirus commented on a diff in the pull request:

    https://github.com/apache/stratos/pull/382#discussion_r35230422
  
    --- Diff: components/org.apache.stratos.messaging/src/main/java/org/apache/stratos/messaging/event/health/stat/CurveFinderOfLoadAverageEvent.java ---
    @@ -0,0 +1,54 @@
    +/*
    + * Licensed to the Apache Software Foundation (ASF) under one
    + * or more contributor license agreements.  See the NOTICE file
    + * distributed with this work for additional information
    + * regarding copyright ownership.  The ASF licenses this file
    + * to you under the Apache License, Version 2.0 (the
    + * "License"); you may not use this file except in compliance
    + * with the License.  You may obtain a copy of the License at
    + *
    + *     http://www.apache.org/licenses/LICENSE-2.0
    + *
    + * Unless required by applicable law or agreed to in writing,
    + * software distributed under the License is distributed on an
    + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
    + * KIND, either express or implied.  See the License for the
    + * specific language governing permissions and limitations
    + * under the License.
    + */
    +
    +package org.apache.stratos.messaging.event.health.stat;
    +
    +import org.apache.stratos.messaging.event.Event;
    +
    +
    +public class CurveFinderOfLoadAverageEvent extends Event{
    --- End diff --
    
    Minor formatting issue mentioned earlier.


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] stratos pull request: GSoC - Curve Fitting

Posted by Pranavan135 <gi...@git.apache.org>.
Github user Pranavan135 commented on the pull request:

    https://github.com/apache/stratos/pull/382#issuecomment-135147029
  
    New PR created with updated changes. Closing this one.


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] stratos pull request: GSoC - Curve Fitting

Posted by Pranavan135 <gi...@git.apache.org>.
Github user Pranavan135 commented on a diff in the pull request:

    https://github.com/apache/stratos/pull/382#discussion_r35286080
  
    --- Diff: components/org.apache.stratos.messaging/src/main/java/org/apache/stratos/messaging/event/health/stat/CurveFinderOfLoadAverageEvent.java ---
    @@ -0,0 +1,54 @@
    +/*
    + * Licensed to the Apache Software Foundation (ASF) under one
    + * or more contributor license agreements.  See the NOTICE file
    + * distributed with this work for additional information
    + * regarding copyright ownership.  The ASF licenses this file
    + * to you under the Apache License, Version 2.0 (the
    + * "License"); you may not use this file except in compliance
    + * with the License.  You may obtain a copy of the License at
    + *
    + *     http://www.apache.org/licenses/LICENSE-2.0
    + *
    + * Unless required by applicable law or agreed to in writing,
    + * software distributed under the License is distributed on an
    + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
    + * KIND, either express or implied.  See the License for the
    + * specific language governing permissions and limitations
    + * under the License.
    + */
    +
    +package org.apache.stratos.messaging.event.health.stat;
    +
    +import org.apache.stratos.messaging.event.Event;
    +
    +
    +public class CurveFinderOfLoadAverageEvent extends Event{
    --- End diff --
    
    Resolved


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---