You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@libcloud.apache.org by "Dave King (Created) (JIRA)" <ji...@apache.org> on 2012/03/15 13:13:37 UTC
[dev] [jira] [Created] (LIBCLOUD-167) Rackspace Drivers: Allow Connection
Kwargs in Driver Constructor
Rackspace Drivers: Allow Connection Kwargs in Driver Constructor
----------------------------------------------------------------
Key: LIBCLOUD-167
URL: https://issues.apache.org/jira/browse/LIBCLOUD-167
Project: Libcloud
Issue Type: New Feature
Reporter: Dave King
Priority: Minor
The OpenStack Compute Driver allows specifying various connection arguments in its constructor, such as auth url/base url/auth version.
Currently when instantiating drivers that use different connections I am just making new classes, this would remove that need.
This updates the Rackspace DNS, Loadbalancer, and Storage drivers with the same functionality. I investigated using a mixin briefly here but ran into failures in the tests, let me know if you would prefer me to investigate this further.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[dev] [jira] [Updated] (LIBCLOUD-167) Rackspace Drivers: Allow Connection
Kwargs in Driver Constructor
Posted by "Dave King (Updated) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/LIBCLOUD-167?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dave King updated LIBCLOUD-167:
-------------------------------
Attachment: libcloud-167.patch
First attempt at a patch.
I believe this also fixes a bug where forcing the base_url would no long work for the cloud files driver (it was assigning a string to a tuple).
> Rackspace Drivers: Allow Connection Kwargs in Driver Constructor
> ----------------------------------------------------------------
>
> Key: LIBCLOUD-167
> URL: https://issues.apache.org/jira/browse/LIBCLOUD-167
> Project: Libcloud
> Issue Type: New Feature
> Reporter: Dave King
> Priority: Minor
> Attachments: libcloud-167.patch
>
>
> The OpenStack Compute Driver allows specifying various connection arguments in its constructor, such as auth url/base url/auth version.
> Currently when instantiating drivers that use different connections I am just making new classes, this would remove that need.
> This updates the Rackspace DNS, Loadbalancer, and Storage drivers with the same functionality. I investigated using a mixin briefly here but ran into failures in the tests, let me know if you would prefer me to investigate this further.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[dev] [jira] [Updated] (LIBCLOUD-167) Rackspace Drivers: Allow Connection
Kwargs in Driver Constructor
Posted by "Dave King (Updated) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/LIBCLOUD-167?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dave King updated LIBCLOUD-167:
-------------------------------
Attachment: libcloud-167-attempt-2.patch
Introduce OpenStackDriverMixin for handling shared connection kwargs between drivers that pass constructor kwargs to OpenStackBaseConnection.
> Rackspace Drivers: Allow Connection Kwargs in Driver Constructor
> ----------------------------------------------------------------
>
> Key: LIBCLOUD-167
> URL: https://issues.apache.org/jira/browse/LIBCLOUD-167
> Project: Libcloud
> Issue Type: New Feature
> Reporter: Dave King
> Priority: Minor
> Attachments: libcloud-167-attempt-2.patch, libcloud-167.patch
>
>
> The OpenStack Compute Driver allows specifying various connection arguments in its constructor, such as auth url/base url/auth version.
> Currently when instantiating drivers that use different connections I am just making new classes, this would remove that need.
> This updates the Rackspace DNS, Loadbalancer, and Storage drivers with the same functionality. I investigated using a mixin briefly here but ran into failures in the tests, let me know if you would prefer me to investigate this further.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[dev] [jira] [Resolved] (LIBCLOUD-167) Rackspace Drivers: Allow
Connection Kwargs in Driver Constructor
Posted by "Tomaz Muraus (Resolved) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/LIBCLOUD-167?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tomaz Muraus resolved LIBCLOUD-167.
-----------------------------------
Resolution: Fixed
Sweet, merged, thanks!
> Rackspace Drivers: Allow Connection Kwargs in Driver Constructor
> ----------------------------------------------------------------
>
> Key: LIBCLOUD-167
> URL: https://issues.apache.org/jira/browse/LIBCLOUD-167
> Project: Libcloud
> Issue Type: New Feature
> Reporter: Dave King
> Priority: Minor
> Attachments: libcloud-167-attempt-2.patch, libcloud-167.patch
>
>
> The OpenStack Compute Driver allows specifying various connection arguments in its constructor, such as auth url/base url/auth version.
> Currently when instantiating drivers that use different connections I am just making new classes, this would remove that need.
> This updates the Rackspace DNS, Loadbalancer, and Storage drivers with the same functionality. I investigated using a mixin briefly here but ran into failures in the tests, let me know if you would prefer me to investigate this further.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[dev] [jira] [Updated] (LIBCLOUD-167) Rackspace Drivers: Allow Connection
Kwargs in Driver Constructor
Posted by "Tomaz Muraus (Updated) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/LIBCLOUD-167?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tomaz Muraus updated LIBCLOUD-167:
----------------------------------
Fix Version/s: 0.9.1
> Rackspace Drivers: Allow Connection Kwargs in Driver Constructor
> ----------------------------------------------------------------
>
> Key: LIBCLOUD-167
> URL: https://issues.apache.org/jira/browse/LIBCLOUD-167
> Project: Libcloud
> Issue Type: New Feature
> Reporter: Dave King
> Priority: Minor
> Fix For: 0.9.1
>
> Attachments: libcloud-167-attempt-2.patch, libcloud-167.patch
>
>
> The OpenStack Compute Driver allows specifying various connection arguments in its constructor, such as auth url/base url/auth version.
> Currently when instantiating drivers that use different connections I am just making new classes, this would remove that need.
> This updates the Rackspace DNS, Loadbalancer, and Storage drivers with the same functionality. I investigated using a mixin briefly here but ran into failures in the tests, let me know if you would prefer me to investigate this further.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[dev] [jira] [Commented] (LIBCLOUD-167) Rackspace Drivers: Allow
Connection Kwargs in Driver Constructor
Posted by "Tomaz Muraus (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/LIBCLOUD-167?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13230705#comment-13230705 ]
Tomaz Muraus commented on LIBCLOUD-167:
---------------------------------------
I would prefer to use a mixin class, because in the current patch there is a lot of copy and pasted code which just makes it harder to maintain.
> Rackspace Drivers: Allow Connection Kwargs in Driver Constructor
> ----------------------------------------------------------------
>
> Key: LIBCLOUD-167
> URL: https://issues.apache.org/jira/browse/LIBCLOUD-167
> Project: Libcloud
> Issue Type: New Feature
> Reporter: Dave King
> Priority: Minor
> Attachments: libcloud-167.patch
>
>
> The OpenStack Compute Driver allows specifying various connection arguments in its constructor, such as auth url/base url/auth version.
> Currently when instantiating drivers that use different connections I am just making new classes, this would remove that need.
> This updates the Rackspace DNS, Loadbalancer, and Storage drivers with the same functionality. I investigated using a mixin briefly here but ran into failures in the tests, let me know if you would prefer me to investigate this further.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira