You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@stratos.apache.org by "Akila (JIRA)" <ji...@apache.org> on 2015/07/16 18:57:05 UTC
[jira] [Closed] (STRATOS-663) REST API Schema Validation is not
complete for Partition Deployment
[ https://issues.apache.org/jira/browse/STRATOS-663?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Akila closed STRATOS-663.
-------------------------
Resolution: Fixed
Fix Version/s: 4.1.0
> REST API Schema Validation is not complete for Partition Deployment
> -------------------------------------------------------------------
>
> Key: STRATOS-663
> URL: https://issues.apache.org/jira/browse/STRATOS-663
> Project: Stratos
> Issue Type: Bug
> Components: Stratos Manager
> Reporter: Imesh Gunaratne
> Fix For: 4.1.0
>
>
> It seems like REST API schema validation is not complete for partition deployment:
> Partition definition:
> {
> "id": "ec2-southeast-1",
> "partitionMin": 1,
> "partitionMax": 2,
> "provider": "ec2",
> "property": [
> {
> "name": "region",
> "value": "ap-southeast-1"
> }
> ]
> }
> Error:
> TID: [0] [STRATOS] [2014-06-01 21:01:23,909] WARN {org.apache.cxf.jaxrs.provider.AbstractJAXBProvider} - javax.xml.bind.UnmarshalException
> - with linked exception:
> [org.xml.sax.SAXParseException: cvc-complex-type.2.4.a: Invalid content was found starting with element 'partitionMin'. One of '{provider}' is expected.]
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)