/[Apache-SVN]
ViewVC logotype

Revision 1044338


Jump to revision: Previous Next
Author: mfojtik
Date: Fri Dec 10 13:05:26 2010 UTC (13 years, 4 months ago)
Changed paths: 4
Log Message:
Drivers now declare the capabilities they provide by implementing methods for each collection.

This patch makes the with_capability feature in rabbit actually work - before
this, all drivers would appear to provide most capabilities, since the check
was a simple respond_to?, and most capabilities were defined in the base_driver,
and overridden by the drivers. With this change, those empty definitions are
removed from the base_driver.

The next step is to expose the available capabilities with the entry_points.
I've started on that, but it introduces top level api changes, so I'll send
a separate message to the list for discussion.

Toby

Changed paths

Path Details
Directoryincubator/deltacloud/trunk/server/lib/deltacloud/backend_capability.rb modified , text changed
Directoryincubator/deltacloud/trunk/server/lib/deltacloud/base_driver/base_driver.rb modified , text changed
Directoryincubator/deltacloud/trunk/server/lib/deltacloud/base_driver/features.rb modified , text changed
Directoryincubator/deltacloud/trunk/server/lib/deltacloud/drivers/ec2/ec2_driver.rb modified , text changed

infrastructure at apache.org
ViewVC Help
Powered by ViewVC 1.1.26