Hi, There is a separate thread in the list under the subject "Validating Inputs to REST API" that discusses issues regarding current input validation 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/ -- Akila Ravihansa Perera Software Engineer WSO2 Inc. http://wso2.com Phone: +94 77 64 154 38 Blog: http://ravihansa3000.blogspot.com
