[ https://issues.apache.org/jira/browse/STRATOS-466?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
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: https://issues.apache.org/jira/browse/STRATOS-466 > 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 (v6.2#6252)