You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@libcloud.apache.org by Caio Romão <re...@reply.github.com> on 2011/10/21 20:34:18 UTC

[dev] [libcloud] Response hierarchy - Closes LIBCLOUD-97 (#32)

Hello,

This patchset implements two base response classes XmlResponse and JsonResponse in order to reduce code duplication and adapts the common and specialized drivers to use the new classes.

Tests passing for each commit separately.

You can merge this Pull Request by running:

  git pull https://github.com/caio/libcloud response-hierarchy

Or you can view, comment on it, or merge it online at:

  https://github.com/apache/libcloud/pull/32

-- Commit Summary --

* Implement XmlResponse and JsonResponse base classes
* Adapt common drivers to use the new {Xml,Json}Response
* Adapt specialized drivers to use {Xml,Json}Response

-- File Changes --

M libcloud/common/aws.py (16)
M libcloud/common/base.py (43)
M libcloud/common/cloudstack.py (20)
M libcloud/common/gogrid.py (18)
M libcloud/common/linode.py (16)
M libcloud/compute/drivers/bluebox.py (14)
M libcloud/compute/drivers/brightbox.py (8)
M libcloud/compute/drivers/dreamhost.py (11)
M libcloud/compute/drivers/elasticstack.py (16)
M libcloud/compute/drivers/ibm_sbc.py (11)
M libcloud/compute/drivers/opennebula.py (11)
M libcloud/compute/drivers/openstack.py (4)
M libcloud/compute/drivers/opsource.py (18)
M libcloud/compute/drivers/rimuhosting.py (10)
M libcloud/compute/drivers/slicehost.py (24)
M libcloud/compute/drivers/vcloud.py (15)
M libcloud/compute/drivers/voxel.py (12)
M libcloud/compute/drivers/vpsnet.py (15)
M libcloud/loadbalancer/drivers/rackspace.py (13)
M libcloud/storage/drivers/atmos.py (16)

-- Patch Links --

  https://github.com/apache/libcloud/pull/32.patch
  https://github.com/apache/libcloud/pull/32.diff

-- 
Reply to this email directly or view it on GitHub:
https://github.com/apache/libcloud/pull/32