incubator-deltacloud-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tobias Crawley <tcraw...@redhat.com>
Subject [PATCH 0/2] Rudimentary API capability reporting
Date Mon, 08 Nov 2010 20:27:56 GMT
This patch adds /api/capabilities, which currently lists the operations
available in the collection. The next step would be for the client to parse
and use this info.

Tobias Crawley (2):
  Move actual capability test out to its own method.
  Added simple capability reporting to the API.

 server/lib/deltacloud/backend_capability.rb |    6 ++++-
 server/server.rb                            |   29 +++++++++++++++++++++++++-
 server/views/api/capabilities.html.haml     |   14 +++++++++++++
 server/views/api/capabilities.xml.haml      |    6 +++++
 server/views/api/show.html.haml             |    4 +-
 server/views/api/show.xml.haml              |    2 +-
 6 files changed, 55 insertions(+), 6 deletions(-)
 create mode 100644 server/views/api/capabilities.html.haml
 create mode 100644 server/views/api/capabilities.xml.haml

-- 
1.7.2.3


Mime
View raw message