I think this is due to recent changes done to validate JSON definitions. This has been discussed in thread with subject [1]. AFAIU, the problem here is that we have here is that we allow overriding on these parameters in several places.
1. Validating Inputs to REST API On Mon, Apr 28, 2014 at 12:48 PM, Nirmal Fernando <nirmal070...@gmail.com>wrote: > Very strange. Is this the trunk version? > > On Mon, Apr 28, 2014 at 3:16 AM, Akila Ravihansa Perera > <raviha...@wso2.com> wrote: > > Managed to fix it with the following json: > > > > { > > "id": "P1", > > "provider": "openstack", > > "property": [ > > { > > "name": "region", > > "value": "RegionOne" > > }, > > { > > "name": "partitionMin", > > "value": "1" > > } > > ], > > "partitionMin": "1", > > "partitionMax":"3" > > } > > > > > > But why have we made partitionMin and partitionMax properties > > mandatory in partition deployment step? This doesn't comply with what > > we have on the Wiki. > > > https://cwiki.apache.org/confluence/display/STRATOS/4.0.0+Sample+Partition+Definition > > > > > > > > On Mon, Apr 28, 2014 at 12:31 PM, Akila Ravihansa Perera > > <raviha...@wso2.com> wrote: > >> Hi, > >> > >> I get this error when trying to deploy a new partition. > >> > >> org.xml.sax.SAXParseException; columnNumber: 0; > >> cvc-complex-type.2.4.b: The content of element 'partition' is not > >> complete. One of '{property, partitionMin}' is expected. > >> > >> My partition deployment json: > >> > >> { > >> "id": "P1", > >> "provider": "openstack", > >> "property": [ > >> { > >> "name": "region", > >> "value": "RegionOne" > >> } > >> ] > >> } > >> > >> I'm on OpenStack Havana and end point URLs are all set in > >> cloud-controller.xml. This happened when I tried installing Stratos > >> today using a clean maven build. Anyone else having this problem? > >> > >> Thanks. > >> > >> -- > >> Akila Ravihansa Perera > >> Software Engineer > >> WSO2 Inc. > >> http://wso2.com > >> > >> Phone: +94 77 64 154 38 > >> Blog: http://ravihansa3000.blogspot.com > > > > > > > > -- > > Akila Ravihansa Perera > > Software Engineer > > WSO2 Inc. > > http://wso2.com > > > > Phone: +94 77 64 154 38 > > Blog: http://ravihansa3000.blogspot.com > > > > -- > Best Regards, > Nirmal > > Nirmal Fernando. > PPMC Member & Committer of Apache Stratos, > Senior Software Engineer, WSO2 Inc. > > Blog: http://nirmalfdo.blogspot.com/ >