ComputeResourceResource computeHostResource)
throws AppCatalogException {
Map<FileSystems, String> fileSystems = description.getFileSystems();
if (fileSystems != null && !fileSystems.isEmpty()) {
for (FileSystems key : fileSystems.keySet()) {
ComputeResourceFileSystemResource computeResourceFileSystemResource = new ComputeResourceFileSystemResource();
computeResourceFileSystemResource.setComputeHostResource(computeHostResource);
computeResourceFileSystemResource.setComputeResourceId(computeHostResource.getResourceId());
computeResourceFileSystemResource.setFileSystem(key.toString());
computeResourceFileSystemResource.setPath(fileSystems.get(key));
computeResourceFileSystemResource.save();
}
}
}