libcloud-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tomaz Muraus (Commented) (JIRA)" <j...@apache.org>
Subject [dev] [jira] [Commented] (LIBCLOUD-167) Rackspace Drivers: Allow Connection Kwargs in Driver Constructor
Date Thu, 15 Mar 2012 23:32:38 GMT

    [ 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

        

Mime
View raw message