You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@stratos.apache.org by "Imesh Gunaratne (JIRA)" <ji...@apache.org> on 2014/06/01 17:36:01 UTC
[jira] [Updated] (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 ]
Imesh Gunaratne updated STRATOS-663:
------------------------------------
Description:
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.]
was:
It seems like REST API schema validation is not complete for partition deployment:
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.]
> 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
> Affects Versions: 4.1.0
> Reporter: Imesh Gunaratne
>
> 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.2#6252)