[
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)