class StoragePolicyRestController extends HerdBaseController {

    @RequestMapping(value = STORAGE_POLICIES_URI_PREFIX, method = RequestMethod.POST, consumes = {"application/xml", "application/json"})
    @Secured(SecurityFunctions.FN_STORAGE_POLICIES_POST)
    public StoragePolicy createStoragePolicy(@RequestBody StoragePolicyCreateRequest request)
    {
        return storagePolicyService.createStoragePolicy(request);
    }

}