Hi Nirmal, Yes there is space for improvements. I used sample json files i used to come up with this schemas. I will look in to this. But feel free to improve the schema .
thanks On Wed, Apr 30, 2014 at 8:10 AM, Udara Liyanage <[email protected]> wrote: > PartitionMin was a property we had in partition.json early which has moved > to deploymentPolicy now. > > The schema should be corrected. > > > Touched, not typed. Erroneous words are a feature, not a typo. > On Apr 30, 2014 4:10 AM, "Nirmal Fernando" <[email protected]> wrote: > >> These schemas seem not correct and the master seems not stable at all. >> :-( >> >> @Mari we need a wiki space to next release (4.0<) right? >> >> >> On Wed, Apr 30, 2014 at 4:04 AM, chris snow <[email protected]> wrote: >> >>> I have just switched to master from RC1. Where I was able to save >>> this partition definition before: >>> >>> { >>> "id": "P1", >>> "provider": "openstack", >>> "property": [ >>> { >>> "name": "region", >>> "value": "RegionOne" >>> } >>> ] >>> } >>> >>> Now, it causes the error: >>> >>> The content of element 'partition' is not complete. One of >>> '{property, partitionMin}' is expected. >>> >>> There is a schema [1] that requires partitionMin (and partitionMax) - >>> does the wiki [2] just need to be updated to define those required >>> elements? >>> >>> Many thanks, >>> >>> Chris >>> >>> --- >>> [1] >>> https://github.com/apache/incubator-stratos/blob/master/components/org.apache.stratos.rest.endpoint/src/main/webapp/stratos/WEB-INF/schemas/schema.xsd >>> [2] >>> https://cwiki.apache.org/confluence/display/STRATOS/4.0.0+Sample+Partition+Definition >>> >> >> >> >> -- >> Best Regards, >> Nirmal >> >> Nirmal Fernando. >> PPMC Member & Committer of Apache Stratos, >> Senior Software Engineer, WSO2 Inc. >> >> Blog: http://nirmalfdo.blogspot.com/ >> > -- *Pradeep Fernando* Associate Technical Lead;WSO2 Inc.; http://wso2.com blog: http://pradeepfernando.blogspot.com m: +94776603662
