I feel naming from "partitionAlgo" to "algorithm" would be fine

On Sat, Mar 7, 2015 at 1:34 AM, Imesh Gunaratne <[email protected]> wrote:

> If everyone agrees, I would like to propose to rename "partitionAlgo" to
> "algorithm" as we have done in application policy to define the network
> partition algorithm. WDYT?
>
> On Fri, Mar 6, 2015 at 11:11 PM, Rajkumar Rajaratnam <[email protected]>
> wrote:
>
>> Hi Devs,
>>
>> I have done two minor changes in deployment policy schema.
>>
>>    1. renamed max to partitionMax in partition reference section,
>>    in-order to be compatible with 4.0.0 artifact.
>>    2. renamed networkPartition to networkPartitions (plural)
>>
>> This is the new deployment policy schema.
>>
>> {
>>    "id": "deployment-policy-1",
>>    "networkPartitions": [
>>       {
>>          "id": "network-partition-1",
>>          "partitionAlgo": "one-after-another",
>>          "partitions": [
>>             {
>>                "id": "partition-1",
>>                "partitionMax": 20
>>             }
>>          ]
>>       }
>>    ]
>> }
>>
>> Thanks.
>> --
>> Rajkumar Rajaratnam
>> Committer & PMC Member, Apache Stratos
>> Software Engineer, WSO2
>>
>> Mobile : +94777568639
>> Blog : rajkumarr.com
>>
>
>
>
> --
> Imesh Gunaratne
>
> Technical Lead, WSO2
> Committer & PMC Member, Apache Stratos
>



-- 
*Vishanth Balasubramaniam*
Software Engineer
WSO2 Inc.; http://wso2.com
lean.enterprise.middleware

mobile: *+94771737718*
about me: *http://about.me/vishanth <http://about.me/vishanth>*

Reply via email to