class StoragePolicyRestController extends HerdBaseController {

    @RequestMapping(value = STORAGE_POLICIES_URI_PREFIX + "/namespaces/{namespace}/storagePolicyNames/{storagePolicyName}",
        method = RequestMethod.GET)
    @Secured(SecurityFunctions.FN_STORAGE_POLICIES_GET)
    public StoragePolicy getStoragePolicy(@PathVariable("namespace") String namespace, @PathVariable("storagePolicyName") String storagePolicyName)
    {
        return storagePolicyService.getStoragePolicy(new StoragePolicyKey(namespace, storagePolicyName));
    }

}