stratos-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pradeep Fernando (JIRA)" <>
Subject [jira] [Updated] (STRATOS-466) Validate autoscale and deployment policy in cartridge subscription
Date Fri, 18 Apr 2014 06:50:16 GMT


Pradeep Fernando updated STRATOS-466:

    Attachment: 0001-fixing-STRATOS-466.patch

I have introduced,

BadRequestException mapper and a GenericExceptionMapper classes in this patch.

I engaged JAXBSchemaValidationHandler to the JSONProvider and it checks the incoming message
against the schemas found under schema.xsd file. If not matchd, the handler throws BadRequestException,
which is then get mapped by the exceptionMappers. 

> Validate autoscale and deployment policy in cartridge subscription 
> -------------------------------------------------------------------
>                 Key: STRATOS-466
>                 URL:
>             Project: Stratos
>          Issue Type: Bug
>          Components: Stratos Manager
>    Affects Versions: 4.0.0 M7
>            Reporter: Manula Chathurika Thantriwatte
>            Assignee: Pradeep Fernando
>            Priority: Critical
>             Fix For: 4.0.0
>         Attachments: 0001-fixing-STRATOS-466.patch
> Currently in cartridge subscription we are providing autoscale policy and deployment
policy. But this isn't validate in manager side. If user enter invalid autoscale policy or
deployment policy it'll apply and subscribe. But after subscription autoscaler gives the null
pointer exception.

This message was sent by Atlassian JIRA

View raw message