private static List<Partition> getPartitionList(org.apache.stratos.cloud.controller.stub.deployment.partition.Partition[]
partitions) {
List<Partition> partitionList = new ArrayList<Partition>();
for (int i = 0 ; i < partitions.length ; i++) {
Partition partition = new Partition();
partition.id = partitions[i].getId();
partition.provider = partitions[i].getProvider();
partition.partitionMin = partitions[i].getPartitionMin();
partition.partitionMax = partitions[i].getPartitionMax();
if (partitions[i].getProperties() != null) {