You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@stratos.apache.org by "Nirmal Fernando (JIRA)" <ji...@apache.org> on 2014/10/14 06:37:34 UTC

[jira] [Commented] (STRATOS-892) Each Cluster Monitor should verify the properties passed to it and throw an exception if a validation fails

    [ https://issues.apache.org/jira/browse/STRATOS-892?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14170510#comment-14170510 ] 

Nirmal Fernando commented on STRATOS-892:
-----------------------------------------

Fixed in  da2c792059a40c2d0b873c347acbbf4db4d2b274

With this fix, exception will be thrown to the upstream. Sample:

stratos> update-subscription myphp --resource-path /Volumes/wso2/stratos-4.1.0/M1/manual-scaling.json 
Error [code =  400, message =  KUBERNETES_REPLICAS_MIN should be less than KUBERNETES_REPLICAS_MAX . But 21 is not less than 20.]

> Each Cluster Monitor should verify the properties passed to it and throw an exception if a validation fails
> -----------------------------------------------------------------------------------------------------------
>
>                 Key: STRATOS-892
>                 URL: https://issues.apache.org/jira/browse/STRATOS-892
>             Project: Stratos
>          Issue Type: Improvement
>          Components: Autoscaler
>    Affects Versions: 4.1.0 M2
>            Reporter: Nirmal Fernando
>            Assignee: Nirmal Fernando
>             Fix For: 4.1.0 M3
>
>
> Currently, this API doesn't allow a Cluster Monitor to throw any exception to the upstream on an invalid argument.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)