You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@libcloud.apache.org by GitBox <gi...@apache.org> on 2022/05/19 21:26:04 UTC

[GitHub] [libcloud] jasonkrasavage opened a new issue, #1696: get_object_cdn_url() & get_container_cdn_url() implementation for StorageDrivers

jasonkrasavage opened a new issue, #1696:
URL: https://github.com/apache/libcloud/issues/1696

   ## Feature Request
   
   Hi all! After beginning to integrate the libcloud library into an application I am writing and attempting to use both the `get_object_cdn_url()` and `get_container_cdn_url()`, I have realized that these methods appear to not be implemented back at the base level (`libcloud/storage/base.py`) in the StorageDriver class. I am attempting to use the Google driver, which inherits from the S3 driver, which inherits from the base.py StorageDriver, and looking at these methods in there, it appears they are hardcoded to raise the `NotImplementedError`: _"get_container_cdn_url not implemented for this driver"_. You can see that [here](https://github.com/apache/libcloud/blob/trunk/libcloud/storage/base.py) on lines 399 and 430.
   
   I just wanted to confirm that I am indeed right about this, and see if there is already a roadmap that includes this feature. If not, I may be willing to take it on depending on the implications to the rest of the codebase. 
   
   **Does anyone have anything thoughts, reservations, ideas, on this?**
   
   Here is a chunk of code using a Google Cloud Storage instance to replicate this not implemented error:
   
   
   `> import libcloud`
   `> driver = libcloud.storage.drivers.google_storage.GoogleStorageDriver(key='foo', secret='bar')`
   `> driver.get_container_cdn_url('container name')`
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@libcloud.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [libcloud] harshvar2 commented on issue #1696: get_object_cdn_url() & get_container_cdn_url() implementation for StorageDrivers

Posted by "harshvar2 (via GitHub)" <gi...@apache.org>.
harshvar2 commented on issue #1696:
URL: https://github.com/apache/libcloud/issues/1696#issuecomment-1469529412

   @Kami @tonybaloney @pquerna can u please check on priority, thanks in advance.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@libcloud.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] get_object_cdn_url() & get_container_cdn_url() implementation for StorageDrivers [libcloud]

Posted by "btoro (via GitHub)" <gi...@apache.org>.
btoro commented on issue #1696:
URL: https://github.com/apache/libcloud/issues/1696#issuecomment-2017100191

   Any updates on this or will this not be supported? Seems like a core function for using GCP as as driver. 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@libcloud.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org