libcloud-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eriks Vitolins (JIRA)" <>
Subject [jira] [Created] (LIBCLOUD-841) Add Temp-Url-Key arguement for generating CloudFiles TempURL
Date Fri, 29 Jul 2016 04:13:20 GMT
Eriks Vitolins created LIBCLOUD-841:

             Summary: Add Temp-Url-Key arguement for generating CloudFiles TempURL
                 Key: LIBCLOUD-841
             Project: Libcloud
          Issue Type: New Feature
          Components: Storage
            Reporter: Eriks Vitolins

Since TempURLs can be generated locally without communication with the API, it's redundant
and slow to request the API for metadata during each call to `CloudFilesStorageDriver.ex_get_object_temp_url()`.

I propose an optional argument to allow calls this method to to supply the temp_url_key

ex_get_object_temp_url(self, obj, method='GET', timeout=60):
changed to..
ex_get_object_temp_url(self, obj, method='GET', timeout=60, temp_url_key=None):

If supplied it would replace the logic for requesting it via the API.

This message was sent by Atlassian JIRA

View raw message