Hi,

I have notice some typo issue on deployment policy sample, [1]

{
    "id":"isuruh-ec2",
    "partitionGroup":{
       "id":"ec2",
       "partitionAlgo":"one-after-another",
       "partition":[
            {
              "id":"P1",
              "partitionMax":"3",
              "partitionMin":"1"
            }
        ]
    }
}

AFAIK *partitionGroup* should be an array of objects instead of an object.
Seems REST
endpoint return it correctly.

[1]
https://cwiki.apache.org/confluence/display/STRATOS/4.1.0-M4+Prerequisites+for+Testing+Grouping+With+VMs#id-4.1.0-M4PrerequisitesforTestingGroupingWithVMs-Step1-Deploypartitiondefinitions

Thank you,

Regards,

*Dakshika Jayathilaka*
Software Engineer
WSO2, Inc.
lean.enterprise.middleware
0771100911
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to