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

Reply via email to