// Path: common-utils/src/main/java/com/stnetix/ariaddna/commonutils/dto/vufs/AllocationStrategy.java
// public enum AllocationStrategy {
// 
//     /** Each file has one copy*/
//     UNION {
//         @Override
//         public String toString() {
//             return "UNION";
//         }
//     },
//     /** Each file has 2 or more copy*/
//     MIRROR {
//         @Override
//         public String toString() {
//             return "MIRROR";
//         }
//     },
//     /** Each file has 3 or more copy*/
//     HA {
//         @Override
//         public String toString() {
//             return "HA";
//         }
//     }
// }


import java.util.HashSet;
import java.util.Set;
import java.util.UUID;
import com.stnetix.ariaddna.commonutils.dto.vufs.AllocationStrategy;
import com.stnetix.ariaddna.vufs.bo.Metafile;
import com.stnetix.ariaddna.vufs.exception.BlockNotExistInMetatableException;
import com.stnetix.ariaddna.vufs.exception.MetafileDoesNotExistException;
import com.stnetix.ariaddna.vufs.service.IVufsService;
    }

    @Override
    public Set<String> getAllocationByBlockUuid(String blockUuid)
            throws BlockNotExistInMetatableException {
        Set<String> allocationSet = new HashSet<>();
        for (int i = 0; i < 3; i++) {
            allocationSet.add(UUID.randomUUID().toString());
        }
        return allocationSet;
    }

    @Override
    public void setAllocationForBlockByUuid(String blockUuid, Set<String> allocationSet) {

    }

    @Override
    public boolean addMetafileAsChildToParent(Metafile childMetafile,
            String parentMetafileUuid) {
        return false;
    }

    @Override
    public boolean removeMetafileFromParent(String childMetafileUuid,
            String parentMetafileUuid) {
        return false;
    }

    @Override
// Path: common-utils/src/main/java/com/stnetix/ariaddna/commonutils/dto/vufs/AllocationStrategy.java
// public enum AllocationStrategy {
// 
//     /** Each file has one copy*/
//     UNION {
//         @Override
//         public String toString() {
//             return "UNION";
//         }
//     },
//     /** Each file has 2 or more copy*/
//     MIRROR {
//         @Override
//         public String toString() {
//             return "MIRROR";
//         }
//     },
//     /** Each file has 3 or more copy*/
//     HA {
//         @Override
//         public String toString() {
//             return "HA";
//         }
//     }
// }


// Path: allocate-service/src/test/java/com/stnetix/ariaddna/allocateservice/stub/VufsServiceStub.java
import java.util.HashSet;
import java.util.Set;
import java.util.UUID;
import com.stnetix.ariaddna.commonutils.dto.vufs.AllocationStrategy;
import com.stnetix.ariaddna.vufs.bo.Metafile;
import com.stnetix.ariaddna.vufs.exception.BlockNotExistInMetatableException;
import com.stnetix.ariaddna.vufs.exception.MetafileDoesNotExistException;
import com.stnetix.ariaddna.vufs.service.IVufsService;

    }

    @Override
    public Set<String> getAllocationByBlockUuid(String blockUuid)
            throws BlockNotExistInMetatableException {
        Set<String> allocationSet = new HashSet<>();
        for (int i = 0; i < 3; i++) {
            allocationSet.add(UUID.randomUUID().toString());
        }
        return allocationSet;
    }

    @Override
    public void setAllocationForBlockByUuid(String blockUuid, Set<String> allocationSet) {

    }

    @Override
    public boolean addMetafileAsChildToParent(Metafile childMetafile,
            String parentMetafileUuid) {
        return false;
    }

    @Override
    public boolean removeMetafileFromParent(String childMetafileUuid,
            String parentMetafileUuid) {
        return false;
    }

    @Override
    public AllocationStrategy getAllocationStrategyByMetafileUuid(String metafileUuid)