CoreLoggerFactory.getInstance().getLogger(LOGGER_NAME).info("{}",MessageFormatter.format("Done creating container with name {}",containerName).getMessage());
returntrue;
}catch(BlobStorageExceptionex){
throwhandleBlobStoreException(500,"Failed to create blob container",ex);
}
}
/**
* @param dataPartitionId Data partition id
* @param containerName Name of the storage container
* @return boolean indicating whether the deletion of the given container was successful or not.
CoreLoggerFactory.getInstance().getLogger(LOGGER_NAME).info("{}",MessageFormatter.format("Done deleting container with name {}",containerName).getMessage());
returntrue;
}catch(BlobStorageExceptionex){
throwhandleBlobStoreException(500,"Failed to delete blob container",ex);
}
}
/**
* @param dataPartitionId Data partition id
* @param filePath Path of file (blob) for which SAS token needs to be generated