stratos-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Pradeep Fernando <pradee...@gmail.com>
Subject Re: Error - The content of element 'partition' is not complete. One of '{property, partitionMin}' is expected.
Date Wed, 30 Apr 2014 05:31:10 GMT
I havent added,

tenantInfo
Cartridge subscription
MultitenantService

schemas. I'm adding them now. Will be using sample messages in wiki as my
inputs.

thanks


On Wed, Apr 30, 2014 at 10:48 AM, Pradeep Fernando <pradeep@wso2.com> wrote:

> 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 <udara@wso2.com> 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" <nirmal070125@gmail.com>
>> 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 <chsnow123@gmail.com> 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
>



-- 
Pradeep Fernando.
http://pradeepfernando.blogspot.com/

Mime
View raw message