[
https://issues.apache.org/jira/browse/STRATOS-466?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13966281#comment-13966281
]
Pradeep Fernando commented on STRATOS-466:
------------------------------------------
I think, we have to handle this at thhe Java API level. I thought of using this
mechanism..
http://cxf.apache.org/docs/jax-rs-data-bindings.html#JAX-RSDataBindings-Schemavalidation
Will update the thread as i go on..
> 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
> Fix For: FUTURE
>
>
> 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)