def getObjUrl(self, filename):
    image_path = self.getobjectFileUri(filename)
    try:
        image_url = self.getPublicDownloadUrl(image_path)
        return image_url
    except Exception as e:
        logging.error(str(e))
        raise Exception(('Get object url failed with swift file server: ' + str(e)))
def getObjUrl(self, filename):
    image_path = self.getobjectFileUri(filename)
    try:
        image_url = self.getPublicDownloadUrl(image_path)
        return image_url
    except Exception as e:
        logging.error(str(e))
        raise Exception(('Get object url failed with swift file server: ' + str(e)))