Uploaded image for project: 'Libcloud'
  1. Libcloud
  2. LIBCLOUD-841

Add Temp-Url-Key arguement for generating CloudFiles TempURL

    XMLWordPrintableJSON

    Details

    • Type: New Feature
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Storage

      Description

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

      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 the temp_url_key via the API.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              evitolins Eriks Vitolins
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:

                Time Tracking

                Estimated:
                Original Estimate - 2h
                2h
                Remaining:
                Remaining Estimate - 2h
                2h
                Logged:
                Time Spent - Not Specified
                Not Specified