stratos-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nirmal Fernando (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (STRATOS-892) Each Cluster Monitor should verify the properties passed to it and throw an exception if a validation fails
Date Tue, 14 Oct 2014 04:37:34 GMT

    [ 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)

Mime
View raw message